AWK Mode: make auto-newline work when there's "==" in the pattern.
[emacs.git] / lisp / ChangeLog
blobea69865c79f00bad5e9e422df7c58ffc14cab7f1
1 2012-09-08  Alan Mackenzie  <acm@muc.de>
3         AWK Mode: make auto-newline work when there's "==" in the pattern.
4         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
5         correctly.
6         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3): Test
7         more rigorously for "=" token.
9 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
11         * progmodes/ruby-mode.el (ruby-match-expression-expansion): Only
12         fail when reached LIMIT.
14 2012-09-08  Chong Yidong  <cyd@gnu.org>
16         * dired.el (dired-mode-map): Don't bind M-=.
18         * dired-aux.el (dired-diff): Use backup file as default.
20 2012-09-08  Drew Adams  <drew.adams@oracle.com>
22         * subr.el (add-to-history): Fix delete usage (Bug#12314).
24 2012-09-08  Chong Yidong  <cyd@gnu.org>
26         * subr.el (syntax-after, syntax-class): Doc fix.
28 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
30         * window.el (display-buffer-in-previous-window): New buffer
31         display action function.
33         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
34         (debugger-previous-window): New variable.
35         (debug): Rewrite using display-buffer-in-previous-window,
36         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
38 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
40         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
42 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
44         * progmodes/python.el (python-shell-send-string):
45         When default-directory is remote, create temp file on remote
46         filesystem.
47         (python-shell-send-file): When file is remote, pass local view of
48         file paths to remote Python interpreter.  (Bug#12340)
50 2012-09-07  Chong Yidong  <cyd@gnu.org>
52         * window.el (switch-to-buffer): Doc fix (Bug#12181).
54         * files.el (after-find-file): Don't fail on a read-only buffer if
55         require-final-newline is `visit' or `visit-save' (Bug#11156).
57         * subr.el (read-char-choice): Allow quitting via ESC ESC.
59         * userlock.el (ask-user-about-supersession-threat):
60         Use read-char-choice (Bug#12093).
62 2012-09-07  Chong Yidong  <cyd@gnu.org>
64         * subr.el (buffer-narrowed-p): New function.
66         * ses.el (ses-widen):
67         * simple.el (count-words--buffer-message):
68         * net/browse-url.el (browse-url-of-buffer): Use it
70         * simple.el (count-words-region): Don't signal an error if there
71         is a non-nil prefix arg and the mark is not set.
73         * help.el (describe-key-briefly): Allow the message to be seen
74         when invoked from the minibuffer (Bug#7014).
76 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
78         * progmodes/ruby-mode.el (ruby-end-of-defun)
79         (ruby-beginning-of-defun): Simplify, allow indentation before
80         block beginning and end keywords.
81         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
82         (ruby-end-of-defun): Expect that the point is at the beginning of
83         the defun.
85 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
87         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
88         (bug#12367).
89         (cl--make-usage-args): Strip _ from argument names.
91 2012-09-06  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
93         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
94         obsolete alias speedbar-key-map.
95         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
96         (vhdl-index-menu-init): Don't use obsolete variable
97         font-lock-maximum-size.
99 2012-09-06  Chong Yidong  <cyd@gnu.org>
101         * frame.el (window-system-version): Mark as obsolete.
103         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
104         of obsolete variable speedbar-key-map.
106 2012-09-06  Juri Linkov  <juri@jurta.org>
108         * replace.el (replace-lax-whitespace): New defcustom.
109         (query-replace, query-replace-regexp, query-replace-regexp-eval)
110         (replace-string, replace-regexp): Mention it in docstrings.
111         (perform-replace, replace-highlight): Let-bind
112         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
113         to the values of replace-lax-whitespace and regexp-flag.
114         Don't let-bind search-whitespace-regexp.  (Bug#10885)
116         * isearch.el (isearch-query-replace): Let-bind
117         replace-lax-whitespace instead of let-binding
118         replace-search-function and replace-re-search-function.
119         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
120         and isearch-regexp-lax-whitespace to lazy-highlight variables.
121         (isearch-toggle-symbol): Set isearch-regexp to nil
122         in isearch-word mode (like in isearch-toggle-word).
124 2012-09-06  Juri Linkov  <juri@jurta.org>
126         * replace.el (replace-search-function)
127         (replace-re-search-function): Set default values to nil.
128         (perform-replace): Let-bind isearch-related variables based on
129         replace-related values, call `isearch-search-fun' and let-bind
130         the result to `search-function'.  Remove code that sets
131         `search-function' and `search-string' separately for
132         `delimited-flag'.
133         (replace-highlight): Add new argument `delimited-flag' and
134         rename other arguments to the names used in `perform-replace'.
135         Let-bind `isearch-word' to the argument `delimited-flag'.
136         (Bug#10885, bug#10887)
138 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
140         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
141         ruby-beginning-of-indent, simplify, allow all keywords to have
142         indentation before them.
143         (ruby-beginning-of-indent): Adjust for above.  Search until the
144         found point is not inside a string or comment.
145         (ruby-font-lock-keywords): Allow symbols to start with "@"
146         character, give them higher priority than variables.
147         (ruby-syntax-propertize-function)
148         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
149         matchers.  Expression expansions are not comments when inside a
150         string, and there comment syntax status is irrelevant.
151         (ruby-match-expression-expansion): New function.  Check that
152         expression expansion is inside a string, and it's not escaped.
153         (ruby-font-lock-keywords): Use it.
155 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
157         * help.el (temp-buffer-max-height): New default value.
158         (temp-buffer-resize-frames): New option.
159         (resize-temp-buffer-window): Optionally resize frame.
161         * window.el (fit-frame-to-buffer-bottom-margin): New option.
162         (fit-frame-to-buffer): New function.
164 2012-09-05  Glenn Morris  <rgm@gnu.org>
166         * emulation/cua-rect.el (cua--init-rectangles):
167         * textmodes/picture.el (picture-mode-map):
168         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
169         like forward-char and backward-char.  (Bug#12317)
171 2012-09-05  Leo Liu  <sdl.web@gmail.com>
173         * progmodes/flymake.el (flymake-warning-re): New variable.
174         (flymake-parse-line): Use it.
176 2012-09-05  Glenn Morris  <rgm@gnu.org>
178         * calendar/holidays.el (holiday-christian-holidays):
179         Rename an entry.  (Bug#12289)
181 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
183         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
184         (bug#12222).
186 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
188         * loadup.el: Load macroexp.  Remove hack.
189         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
190         (macroexp--expand-all): Use it to get better warnings.
191         (macroexp--backtrace, macroexp--trim-backtrace-frame)
192         (internal-macroexpand-for-load): New functions.
193         (macroexp--pending-eager-loads): New var.
194         (emacs-startup-hook): New hack to replace one in loadup.el.
195         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
196         (cl--compiler-macro-cXXr): Move to top, before they can be used.
197         (cl-psetf): Simplify.
198         (cl-defstruct): Add indent rule.
200 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
202         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
203         over `user-mail-address' for the SMTP MAIL FROM envelope.
204         (smtpmail-via-smtp): Ditto.
206 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
208         * progmodes/ruby-mode.el: Clean up keybindings.
209         (ruby-mode-map): Don't bind ruby-electric-brace,
210         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
211         backward-kill-word, reindent-then-newline-and-indent.
212         (ruby-mark-defun): Remove.
213         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
214         (ruby-mode): Set local beginning-of-defun-function and
215         end-of-defun-function values.
217 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
219         * window.el (temp-buffer-window-setup-hook)
220         (temp-buffer-window-show-hook): New hooks.
221         (temp-buffer-window-setup, temp-buffer-window-show)
222         (with-temp-buffer-window): New functions.
223         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
224         (special-display-popup-frame): Make sure the window used shows BUFFER.
226         * help.el (temp-buffer-resize-mode): Fix doc-string.
227         (resize-temp-buffer-window): New optional argument WINDOW.
229         * files.el (recover-file, save-buffers-kill-emacs):
230         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
232 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
234         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
235         remote definition of `default-directory', ensure we can connect.
237 2012-09-02  Juri Linkov  <juri@jurta.org>
239         Toggle whitespace matching mode with M-s SPC.
240         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
242         * isearch.el (search-whitespace-regexp): Doc fix.
243         Remove cons cell customization.
244         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
245         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
246         New variables.
247         (isearch-forward, isearch-forward-regexp): Doc fix.
248         (isearch-toggle-lax-whitespace): New command.
249         (search-forward-lax-whitespace, search-backward-lax-whitespace)
250         (re-search-forward-lax-whitespace)
251         (re-search-backward-lax-whitespace): New functions.
252         (isearch-whitespace-regexp): Remove function.
253         (isearch-query-replace): Let-bind replace-search-function and
254         replace-re-search-function.
255         (isearch-occur): Let-bind search-spaces-regexp according to the
256         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
257         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
258         condition for C-q SPC.
259         (isearch-search-fun-default): Use new functions mentioned above.
260         (isearch-search-forward, isearch-search-backward): Remove functions.
261         (isearch-search): Don't let-bind search-spaces-regexp.
262         (isearch-lazy-highlight-space-regexp): Remove variable.
263         (isearch-lazy-highlight-lax-whitespace)
264         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
265         (isearch-lazy-highlight-new-loop): Use them.
266         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
268 2012-09-02  Chong Yidong  <cyd@gnu.org>
270         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
272 2012-09-02  Glenn Morris  <rgm@gnu.org>
274         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
276 2012-09-01  Glenn Morris  <rgm@gnu.org>
278         * term.el: Tidy up menu definitions.
279         (term-mode-map): Use easymenu for In/Out, Complete menus.
280         (term-pager-break-map): Initialize in the defvar.
281         (term-terminal-menu, term-signals-menu): Define with easymenu.
282         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
283         (term-pager-menu): New, extracted from term-process-pager.
284         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
285         (term-update-mode-line): Propertize line/char and page items.
286         (term-process-pager): Move keymap initialization elsewhere.
288 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
290         * window.el (switch-to-prev-buffer): Handle additional values of
291         BURY-OR-KILL argument.  Don't switch in minibuffer window.
292         (switch-to-next-buffer): Don't switch in minibuffer window.
293         (quit-restore-window): New function based on quit-window.
294         Handle additional values of former KILL argument.
295         (quit-window): Call quit-restore-window with appropriate
296         interpretation of KILL argument.
297         (display-buffer-below-selected): New buffer display action
298         function.
300 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
302         * minibuffer.el (completion-at-point-functions): Complete docstring
303         (bug#12254).
305 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
307         Better seed support for (random).
308         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
309         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
310         * play/mpuz.el, play/tetris.el, play/zone.el:
311         * calc/calc-comb.el (math-init-random-base):
312         * play/blackbox.el (bb-init-board):
313         * play/life.el (life):
314         * server.el (server-use-tcp):
315         * type-break.el (type-break):
316         Remove unnecessary call to (random t).
317         * net/sasl.el (sasl-unique-id-function):
318         Change (random t) to (random), now that the latter is more random.
319         * play/life.el (life-initialized): Remove no-longer-needed var.
321 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
323         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
324         Consider frame's buffer predicate when choosing the buffer.
325         (Bug#12081)
327 2012-08-30  Richard Stallman  <rms@gnu.org>
329         * simple.el (special-mode-map): Delete binding for `z'.
331 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
333         * progmodes/compile.el (compilation-always-kill): Doc fix.
335 2012-08-30  Chong Yidong  <cyd@gnu.org>
337         * window.el (display-buffer-reuse-frames): Make the obsolescence
338         message more informative.
340 2012-08-30  Glenn Morris  <rgm@gnu.org>
342         * paren.el (show-paren-delay):
343         Add a :set function.  Doc fix.  (Bug#12297)
345 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
347         * progmodes/compile.el (compilation-always-kill): New var.
348         (compilation-start): Use it.
350 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
352         * simple.el (read-only-mode): Move from files.el for bootstrapping.
353         * files.el (read-only-mode): Move to simple.el.
355         * files.el (read-only-mode): New minor mode.
356         (toggle-read-only): Use it and mark obsolete.
357         (find-file--read-only):
358         * vc/vc.el (vc-next-action, vc-checkout):
359         * vc/vc-cvs.el (vc-cvs-checkout):
360         * obsolete/vc-mcvs.el (vc-mcvs-update):
361         * ffap.el (ffap--toggle-read-only): Update callers.
363 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
365         * eshell/esh-ext.el (eshell-external-command): Do not examine
366         remote shell scripts.
367         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
369         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
370         "/usr/local/sbin".
372 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
374         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
376 2012-08-28  Leo Liu  <sdl.web@gmail.com>
378         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
379         completion-at-point.  (Bug#12220)
381         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
383         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
385 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
387         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
388         be buffer-local; add delete-trailing-whitespace (bug#12259).
390 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
392         * progmodes/hideif.el (hif-compress-define-list):
393         Fix typo.  (Bug#11951)
395 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
397         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
398         buffer local setting.
400         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
401         rcirc-encode-coding-system.
403 2012-08-28  Leo Liu  <sdl.web@gmail.com>
405         * net/rcirc.el (rcirc-split-message): New function.
406         (rcirc-send-message): Use it.  (Bug#12051)
408 2012-08-28  Juri Linkov  <juri@jurta.org>
410         * info.el (Info-fontify-node): Hide empty lines at the end of
411         the node.  (Bug#12272)
413 2012-08-27  Drew Adams  <drew.adams@oracle.com>
415         * dired.el (dired-pop-to-buffer): Make window start at beginning
416         of buffer (Bug#12281).
418 2012-08-26  Chong Yidong  <cyd@gnu.org>
420         * window.el (special-display-regexps, special-display-frame-alist)
421         (special-display-buffer-names, special-display-function)
422         (display-buffer-reuse-frames): Mark as obsolete.
424         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
426         * help.el (help-print-return-message): Don't treat
427         display-buffer-reuse-frames specially.
429 2012-08-26  Chong Yidong  <cyd@gnu.org>
431         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
432         New variable, replacing gdb-frame-parameters.
433         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
434         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
435         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
436         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
437         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
438         the functions directly with gdb-display-buffer-other-frame-action.
439         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
440         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
441         (gdb-display-stack-buffer, gdb-display-locals-buffer)
442         (gdb-display-registers-buffer): Define directly.
443         (def-gdb-display-buffer): Macro deleted.
444         (gdb-display-buffer): Remove second and third args, callers don't
445         use them.  Defer to the default display-buffer behavior, apart
446         from making windows dedicated.
447         (gdb-setup-windows): Don't call display-buffer unnecessarily.
449         * progmodes/gud.el (gud-display-line): Just use display-buffer.
451         * window.el (display-buffer-pop-up-frame): Handle a
452         pop-up-frame-parameters alist entry.
453         (display-buffer): Document it.
455 2012-08-26  Chong Yidong  <cyd@gnu.org>
457         * isearch.el (search-whitespace-regexp): Make string and nil
458         values apply to both ordinary and regexp search.  Allow a cons
459         cell value to distinguish between the two.
460         (isearch-whitespace-regexp, isearch-search-forward)
461         (isearch-search-backward): New functions.
462         (isearch-occur, isearch-search-fun-default, isearch-search)
463         (isearch-lazy-highlight-new-loop): Use them.
464         (isearch-forward, isearch-forward-regexp): Doc fix.
466 2012-08-26  Chong Yidong  <cyd@gnu.org>
468         * faces.el (help-argument-name): Always inherit from italic
469         (Bug#12213).
471 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
473         * window.el (window--even-window-heights): Even heights when
474         WINDOW and the selected window form a vertical combination.
475         (display-buffer-use-some-window): Provide that window used gets
476         sized back by quit-window.  (Bug#11880) and (Bug#12091)
478 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
480         Fix file time stamp problem with bzr and CVS (Bug#12001).
481         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
482         in the file's time stamp, since the version control system loses
483         that information.
485 2012-08-22  Juri Linkov  <juri@jurta.org>
487         * info.el (Info-fontify-node): Hide the suffix of the
488         Info file name in the header line.  (Bug#12187)
490 2012-08-22  Glenn Morris  <rgm@gnu.org>
492         * calendar/cal-tex.el (cal-tex-weekly-common):
493         Restore leading blank page.
495 2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
497         * misc.el (forward-to-word, backward-to-word): Activate or extend
498         the region under `shift-select-mode'.  (Bug#12231)
500 2012-08-22  Bastien Guerry  <bzg@gnu.org>
502         * progmodes/executable.el (executable-prefix): Set to "#!" instead
503         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
504         gives details on why the space is never needed.
506 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
508         * window.el (walk-window-tree, window-with-parameter):
509         New optional argument MINIBUF to control whether these functions
510         should run on the minibuffer window.
511         (window-at-side-list): Don't operate on minibuffer window.
512         (window-in-direction): Simplify and rewrite doc-string.
513         (window--size-ignore): Rename to window--size-ignore-p.
514         Update callers.
515         (display-buffer-in-atom-window, window--major-non-side-window)
516         (window--major-side-window, display-buffer-in-major-side-window)
517         (delete-side-window, display-buffer-in-side-window):
518         New functions.
519         (window--side-check, window-deletable-p, delete-window)
520         (delete-other-windows, split-window): Handle side windows and
521         atomic windows appropriately.
522         (window--display-buffer): Call display-buffer-record-window also
523         when the window buffer did not change.
525 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
527         * help-fns.el (help-fns--key-bindings):
528         Abbreviate non-symbol remap targets.  (Bug#12174)
530 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
532         * dired.el (dired-mark-remembered): Don't clobber point.
533         (Bug#11795)
535 2012-08-22  Glenn Morris  <rgm@gnu.org>
537         * progmodes/bug-reference.el (bug-reference): New custom group.
538         (bug-reference-bug-regexp): Make it a defcustom.
540 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
542         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
543         (js-paren-indent-offset, js-square-indent-offset)
544         (js-curly-indent-offset): Add :safe (Bug#12257).
546 2012-08-22  Edward O'Connor  <hober0@gmail.com>
548         * json.el (json-key-format): Add error properties.
549         (json-encode-key): New function.
550         (json-encode-hash-table, json-encode-alist, json-encode-plist):
551         Use json-encode-key.
553 2012-08-22  Glenn Morris  <rgm@gnu.org>
555         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
556         (cal-tex-leftday, cal-tex-rightday): Remove functions.
557         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
558         Update for above change.
560 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
562         * cus-face.el (custom-face-attributes): Fix customize type for the
563         :underline attribute.  (Bug#11805)
565 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
567         * window.el (window-point-1, set-window-point-1): Remove.
568         (window-in-direction, record-window-buffer)
569         (set-window-buffer-start-and-point, split-window-below)
570         (window--state-get-1, display-buffer-record-window):
571         Replace calls to window-point-1 and set-window-point-1 by calls to
572         window-point and set-window-point respectively.
574 2012-08-21  Glenn Morris  <rgm@gnu.org>
576         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
577         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
578         Use it.
580         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
581         (cal-tex-shortday): New function.
582         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
583         (cal-tex-cursor-filofax-daily): Use the above.
585         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
586         New functions.
587         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
588         (cal-tex-cursor-filofax-week): Use them.
590         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
591         New constants.
592         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
593         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
595         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
596         (cal-tex-end-document): Don't rely on buffer name.
598         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
599         Use cal-tex-vspace.
600         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
601         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
602         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
603         Use cal-tex-arg.
605         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
606         (cal-tex-cursor-week, cal-tex-cursor-week2)
607         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
608         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
609         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
610         (cal-tex-insert-preamble, cal-tex-b-document)
611         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
612         Improve cal-tex-cmd usage.
614         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
615         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
616         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
617         (cal-tex-weekly-paper): New function.
618         (cal-tex-cursor-week, cal-tex-cursor-week2)
619         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
620         (cal-tex-cursor-day): Use it.
622         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
623         (cal-tex-cursor-filofax-week): Remove leading blank page.
625         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
626         Add autoload cookie.  For now at least, don't use color, since
627         no other cal-tex function does.
629         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
630         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
631         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
633 2012-08-21  Juri Linkov  <juri@jurta.org>
635         * info.el (Info-file-attributes): New variable.
636         (info-insert-file-contents): Add file attributes to
637         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
638         `Info-toc-nodes' when previous modtime of the Info file is less
639         than new modtime.
640         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
641         of info.el.  (Bug#12230)
643 2012-08-20  Glenn Morris  <rgm@gnu.org>
645         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
646         * calendar/holidays.el (calendar-holiday-list):
647         Report errors with display-warning rather than beep'n'sleep.
649 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
651         * net/tramp.el (tramp-accept-process-output): Accept only output
652         from PROC.  Otherwise, process filters and sentinels might be
653         confused.  (Bug#12145)
655 2012-08-20  Chong Yidong  <cyd@gnu.org>
657         * descr-text.el (describe-text-properties-1): Use overlays-in to
658         report on empty overlays (Bug#3322).
660 2012-08-20  Glenn Morris  <rgm@gnu.org>
662         * mail/rmailout.el (rmail-output-read-file-name):
663         Trap and report errors in rmail-output-file-alist elements.
665         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
666         since most non-font-lock faces are not also variables).
668 2012-08-20  Edward Reingold  <reingold@iit.edu>
670         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
671         New function.  (Bug12160)
673 2012-08-19  Glenn Morris  <rgm@gnu.org>
675         * mail/rmailout.el (rmail-output-read-file-name):
676         Fix previous change (when the alist is nil or does not match).
678 2012-08-19  Chong Yidong  <cyd@gnu.org>
680         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
681         (Bug#12228).
683 2012-08-18  Chong Yidong  <cyd@gnu.org>
685         * simple.el (yank-handled-properties): New defcustom.
686         (yank-excluded-properties): Add font-lock-face and category.
687         (yank): Doc fix.
689         * subr.el (remove-yank-excluded-properties):
690         Obey yank-handled-properties.  The special handling of font-lock-face
691         and category is now done this way, instead of being hard-coded.
692         (insert-for-yank-1): Remove font-lock-face handling.
693         (yank-handle-font-lock-face-property)
694         (yank-handle-category-property): New function.
696 2012-08-17  Glenn Morris  <rgm@gnu.org>
698         * mail/rmailout.el (rmail-output-read-file-name):
699         Check rmail-output-file-alist against the full message body
700         in the correct rmail buffer.  (Bug#12214)
702 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
704         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
705         Eliminate superfluous prompt.  (Bug#12203)
707 2012-08-17  Chong Yidong  <cyd@gnu.org>
709         * mouse.el (mouse-appearance-menu): If x-select-font returns a
710         font spec, set the font directly (Bug#3228).
712 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
714         * window.el (delete-window): Fix last fix.
716 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
718         * window.el (window-valid-p): Move to window.c.
719         (window-child, window-child-count, window-last-child)
720         (window-normalize-window, window-combined-p)
721         (window-combinations, window-atom-root, window-min-size)
722         (window-sizable, window-sizable-p, window-size-fixed-p)
723         (window-min-delta, window-max-delta, window--resizable)
724         (window--resizable-p, window-resizable, window-total-size)
725         (window-full-height-p, window-full-width-p, window-body-size)
726         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
727         (minimize-window, window-deletable-p, delete-window)
728         (delete-other-windows, set-window-buffer-start-and-point)
729         (next-buffer, previous-buffer, split-window, balance-windows-2)
730         (set-window-text-height, window-buffer-height)
731         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
732         (truncated-partial-width-window-p): Minor code adjustments.
733         In doc-strings state whether the argument window has to denote a
734         live, valid or any window.
736 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
738         * progmodes/subword.el (subword-forward-function)
739         (subword-backward-function, subword-forward-regexp)
740         (subword-backward-regexp): New variables.
741         (subword-forward, subword-forward-internal, subword-backward-internal):
742         Use new variables, eg so that different "word" definitions
743         can be easily used.  (Bug#11411)
745 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
747         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
748         for composite selectors.
749         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
750         operation just because we can't find a previous revision.
752 2012-08-15  Chong Yidong  <cyd@gnu.org>
754         * frame.el (set-frame-font): Accept font objects.
756 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
758         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
760 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
762         * man.el (Man-overstrike-face, Man-underline-face)
763         (Man-reverse-face): Remove variables.
764         (Man-overstrike, Man-underline, Man-reverse): New faces.
765         (Man-fontify-manpage): Use them instead of the variables.
766         (Man-cleanup-manpage): Comment change.
767         (Man-ansi-color-map): New variable.
768         (Man-fontify-manpage): Use it.
769         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
771         Implement ANSI SGR parameters 22-27 (bug#12146).
772         * ansi-color.el (ansi-colors): Doc fix.
773         (ansi-color-context, ansi-color-context-region): Doc fix.
774         (ansi-color--find-face): New function.
775         (ansi-color-apply, ansi-color-apply-on-region): Use it.
776         Rename the local variable `face' to `codes' since it is now a list of
777         ansi codes.  Doc fix.
778         (ansi-color-get-face): Remove.
779         (ansi-color-parse-sequence): New function, derived from
780         ansi-color-get-face.
781         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
782         codes 22-27.
784 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
786         * subr.el (read-passwd): Allow use from a minibuffer.
788 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
790         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
791         inside comments and strings as identifiers.
793         * progmodes/gud.el (gud-tooltip-print-command): Quote the
794         expression to evaluate.  This allows to evaluate expressions with
795         embedded whitespace.
796         (gud-tooltip-tips): Add a blank before the newline in the
797         message-box text, for the benefit of message-box emulation on
798         MS-Windows.
800         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
801         messages from GDB, pop them up in a tooltip to give feedback to
802         user.
803         (gdb-tooltip-print-1): Quote the expression to evaluate.
804         This allows to evaluate expressions with embedded whitespace.
805         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
806         if the TTY name is nil or empty (which happens when communicating
807         with the inferior via pipes, e.g. on MS-Windows).
808         (gdb-internals): If GDB sends a "&\n" empty debugging message,
809         don't send that to the GUD buffer.
811 2012-08-14  Glenn Morris  <rgm@gnu.org>
813         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
814         Optimize away setq-default with no args, as for setq.  (Bug#12195)
816 2012-08-14  Chong Yidong  <cyd@gnu.org>
818         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
820         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
821         (Bug#12085).
823 2012-08-14  Glenn Morris  <rgm@gnu.org>
825         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
827 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
829         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
830         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
831         Use cached shell name.
833 2012-08-14  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
835         * progmodes/python.el (python-shell-send-string):
836         (python-shell-send-setup-code): Do not use `format' with `message'.
838 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
840         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
841         (ruby-percent-literal-beg-re): New constant.
842         (ruby-syntax-general-delimiters-goto-beg): Rename to
843         `ruby-syntax-enclosing-percent-literal', improve literal type check.
844         (ruby-syntax-propertize-general-delimiters): Rename to
845         `ruby-syntax-propertize-percent-literal', it's a shorter and more
846         popular term.  Adjust comments everywhere.
847         (ruby-syntax-propertize-percent-literal): Only propertize when not
848         inside a simple string or comment.  When the literal is unclosed,
849         leave the text after it unpropertized.
850         (ruby-syntax-methods-before-regexp): New constant.
851         (ruby-syntax-propertize-function): Use it to recognize regexps.
852         Don't look at the text after regexp, just use the whitelist.
854 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
856         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
857         non-nil always load the compiled file if it exists.  (Bug#12197)
859 2012-08-14  Chong Yidong  <cyd@gnu.org>
861         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
862         (hi-lock-set-pattern): When deciding whether to use font lock or
863         overlays, look at font-lock-mode instead of font-lock-fontified
864         (Bug#12168).
865         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
866         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
868 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
870         * subr.el (internal--after-with-selected-window): Fix typo
871         (Bug#12193).
873 2012-08-14  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
875         Use `completion-table-dynamic' for completion functions.
876         * progmodes/python.el
877         (python-shell-completion--do-completion-at-point)
878         (python-shell-completion--get-completions):
879         Remove functions.
880         (python-shell-completion-complete-at-point): New function.
881         (python-completion-complete-at-point): Use it.
883 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
885         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
886         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
888 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
890         * subr.el (function-get): Refine `autoload' arg so it can also
891         autoload functions for gv.el (bug#12191).
892         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
893         autoloads macros.
895         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
896         Prefer pcase-let over destructuring-bind.
897         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
898         Also, remove whitespace as we go, rather than after accumulating the
899         various places.
901         * subr.el (internal--before-with-selected-window)
902         (internal--after-with-selected-window): Fix typo seleted->selected.
903         (with-selected-window): Adjust callers.
904         Reported by Dmitry Gutov <dgutov@yandex.ru>.
906 2012-08-13  Bastien Guerry  <bzg@gnu.org>
908         * window.el (special-display-popup-frame): Minor docstring
909         enhancement.  (Bug#12172)
911 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
913         * tar-mode.el (tar-header-data-end): Only ignore size for files of
914         type 1-6.
915         (tar-header-block-summarize, tar-get-descriptor): Handle pax
916         extended headers.
918         * files.el (hack-local-variables-filter): Remove useless eval.
920 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
922         * subr.el (with-selected-window): Fix last change.
924 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
926         * subr.el (internal--before-with-seleted-window)
927         (internal--after-with-seleted-window): New functions.
928         (with-selected-window): Use them, to replace dependency on
929         tty-top-frame.
931 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
933         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
934         binding for `newline'.
935         (ruby-move-to-block): When moving backward, stop at block opening,
936         not indentation.
937         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
938         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
939         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
940         `ruby-toggle-block'.
942 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
944         * ibuffer.el (ibuffer-do-toggle-read-only):
945         * dired.el (dired-toggle-read-only):
946         * buff-menu.el (Buffer-menu-toggle-read-only):
947         * bindings.el (mode-line-toggle-read-only):
948         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
950 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
952         * descr-text.el (describe-char): Put the overlays over the
953         "displayed as" character.
955 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
957         * calc/calc-units.el (math-default-units-table): Give an
958         initial value.
959         (math-put-default-units): Add options to put composite units and
960         unit systems in the default units table.
961         (calc-convert-units): Send composite units to
962         `math-put-default-units' when appropriate.
964 2012-08-11  Glenn Morris  <rgm@gnu.org>
966         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
968         * tutorial.el (help-with-tutorial):
969         * emacs-lisp/copyright.el (copyright-update-directory):
970         * emacs-lisp/autoload.el (autoload-find-generated-file)
971         (autoload-find-file): Disable local eval: (for insurance).
973         * files.el (hack-local-variables-filter): If an eval: form is not
974         known to be safe, and enable-local-variables is :safe, then ignore
975         the form totally, as is done for non-eval forms.  (Bug#12155)
976         This is CVE-2012-3479.
978 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
980         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
981         (rx-form): Simplify.
983 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
985         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
986         ?, _, and : are symbol constituents, ! is not (but kinda should be).
987         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
988         (ruby-syntax-propertize-function): Adjust for changes in
989         `ruby-syntax-propertize-heredoc'.
991 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
993         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
994         binding (use `M-;' instead).
995         (ruby-singleton-class-p): New function.
996         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
998 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1000         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
1002 2012-08-10  Chong Yidong  <cyd@gnu.org>
1004         * progmodes/python.el (python-shell-get-process-name): Don't mess
1005         with same-window-buffer-names.
1007         * eshell/eshell.el (eshell-add-to-window-buffer-names)
1008         (eshell-remove-from-window-buffer-names): Make obsolete.
1009         (eshell-buffer-name, eshell-unload-hook): Don't use them.
1010         (eshell): Just use pop-to-buffer-same-window instead.
1012 2012-08-10  Chong Yidong  <cyd@gnu.org>
1014         * bindings.el: Bind M-= back to count-words-region.
1016         * simple.el (count-words-region): Accept a prefix arg for acting
1017         on the entire buffer.
1018         (count-words--buffer-message): New helper function.
1020 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1022         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
1023         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
1024         (event-start, event-end): Use posn-at-point to return a more
1025         informative posn.
1026         (posnp): New function.
1027         * mouse.el (popup-menu-normalize-position): Use it.
1029 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
1031         * mouse.el (popup-menu-normalize-position): New function.
1032         (popup-menu): Use `popup-menu-normalize-position' to normalize
1033         the form for POSITION argument.
1035         * term/x-win.el (x-menu-bar-open):
1036         Use the value returend from (posn-at-point) as position
1037         passed to `popup-menu'.
1039 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
1041         * calc/calccomp.el (math-compose-expr): Add extra argument
1042         indicating that parentheses should be put around products in
1043         denominators.  Give multiplication precedence over division during
1044         composition.
1046 2012-08-09  Chong Yidong  <cyd@gnu.org>
1048         * man.el (Man-switches, Man-sed-command, Man-awk-command)
1049         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
1050         (Man-untabify-command, manual-program): Convert to defcustom
1051         (Bug#10429).
1053         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
1055         * descr-text.el (describe-char): Don't insert extra newlines
1056         (Bug#10127).
1058         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
1059         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
1061         * align.el (align-region): Delete temporary markers (Bug#10047).
1062         Plus some code cleanups.
1064 2012-08-09  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1066         * progmodes/python.el (python-pdbtrack-tracked-buffer)
1067         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
1068         (python-shell-internal-last-output): Use make-local-variable
1069         instead of make-variable-buffer-local.
1071 2012-08-09  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1073         * progmodes/python.el: Enhancements to forward-sexp.
1074         (python-nav-forward-sexp): Rename from
1075         python-nav-forward-sexp-function.
1076         (python-nav--forward-sexp, python-nav--backward-sexp):
1077         New functions.
1079 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
1081         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
1082         modes and simplification modes.
1084 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1086         * delsel.el (delete-selection-pre-hook): Don't propagate the
1087         file-supersession signals (bug#12161).
1089 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1091         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
1092         (cl-map-extents): Add compatibility aliases (bug#12135).
1094 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
1096         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
1097         tests by `ignore-error'.
1098         (tramp-find-shell): Open also a new shell, when cache is already
1099         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
1101 2012-08-08  Juri Linkov  <juri@jurta.org>
1103         * bookmark.el: Add `defaults' property to the bookmark record.
1104         (bookmark-current-buffer): Doc fix.
1105         (bookmark-make-record): Add `defaults' property with default values
1106         to the bookmark record.
1107         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
1108         with `bookmark-insert-current-bookmark'.
1109         (bookmark-set): Get `defaults' property from the bookmark record
1110         and use it in `read-from-minibuffer'.
1111         (bookmark-insert-current-bookmark): Remove function.
1113         * info.el (Info-bookmark-make-record): Add `defaults' property
1114         with values of canonical Info node name, the current Info file
1115         name and the current Info node name.  (Bug#12107)
1117 2012-08-08  Juri Linkov  <juri@jurta.org>
1119         * files.el (basic-save-buffer): Use `buffer-name' as the default
1120         of `read-file-name' when buffer is not visiting a file (bug#12128).
1122 2012-08-08  Juri Linkov  <juri@jurta.org>
1124         * info.el (Info-isearch-search): Doc fix.
1125         (Info-search): Change search-failed message from "initial node" to
1126         "end of node" (bug#12078).
1127         (Info-isearch-search): Change `isearch-string-state' to
1128         `isearch--state-string'.
1130 2012-08-08  Glenn Morris  <rgm@gnu.org>
1132         * language/persian.el: Remove file.
1133         * language/misc-lang.el: Move unique part of persian.el here.
1134         * loadup.el: Remove language/persian.
1136 2012-08-08  Ă“scar Fuentes  <ofv@wanadoo.es>
1138         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
1140 2012-08-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1142         * progmodes/python.el Fixed defsubst warning.
1143         (python-syntax-context) Rename from python-info-ppss-context.
1144         (python-syntax-context-type): Rename from
1145         python-info-ppss-context-type.
1146         (python-syntax-comment-or-string-p): Rename from
1147         python-info-ppss-comment-or-string-p.
1149 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
1151         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
1153 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
1155         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
1156         a defcustom that is quoted with backquote.
1158         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
1159         Fix handling of interactive spec when the body uses return.
1160         (math-do-arg-check, math-define-function-body): Use backquote forms.
1161         * calc/calc-ext.el (math-defcache): Likewise.
1162         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
1163         * allout.el (allout-new-exposure): Likewise.
1164         * calc/calcalg2.el (math-tracing-integral): Likewise.
1165         * info.el (Info-last-menu-item): Likewise.
1166         * emulation/vip.el (vip-loop): Likewise.
1167         * textmodes/artist.el (artist-funcall): Likewise.
1168         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
1169         Construct menu-item directly.
1171         * progmodes/autoconf.el (font-lock-syntactic-keywords):
1172         Don't declare.
1174 2012-08-07  Chong Yidong  <cyd@gnu.org>
1176         * simple.el (deactivate-mark): Preserve text properties when
1177         saving the primary selection (Bug#8384).
1179 2012-08-07  Kevin Ryde  <user42@zip.com.au>
1181         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
1182         (woman-parse-numeric-value): On a bad .IP line, issue a warning
1183         and continue processing (Bug#12110).
1185 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1187         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
1188         syntax-propertize-function (bug#10095).
1190 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1192         * help-fns.el (help-fns--key-bindings, help-fns--signature)
1193         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
1194         describe-function-1.
1195         (describe-function-1): Use them.  Move compiler macro after sig.
1196         (help-fns--compiler-macro): Use function-get.  Assume we're already in
1197         standard-output.  Adjust layout to new call order.
1199         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
1200         re-binding a symbol that has a symbol-macro (bug#12119).
1202 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
1204         * language/persian.el: New file.  (Bug#11812)
1205         * loadup.el: Add language/persian.el.
1207 2012-08-06  Chong Yidong  <cyd@gnu.org>
1209         * window.el (window--maybe-raise-frame): New function.
1210         (window--display-buffer): Split off from here.
1211         (display-buffer-reuse-window, display-buffer-pop-up-frame)
1212         (display-buffer-pop-up-window, display-buffer-use-some-window):
1213         Obey an inhibit-switch-frame action alist entry.
1214         (display-buffer): Update doc.
1216         * replace.el (occur-after-change-function): Avoid losing focus by
1217         using the inhibit-switch-frame display parameter (Bug#12139).
1219 2012-08-06  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1221         Make internal shell process buffer names start with space.
1222         * progmodes/python.el (python-shell-make-comint): Add optional
1223         argument INTERNAL.
1224         (run-python-internal): Use it.
1225         (python-shell-internal-get-or-create-process): Check for new
1226         internal buffer names.
1228 2012-08-06  Glenn Morris  <rgm@gnu.org>
1230         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
1231         Do less getting and setting of environment variables.
1233 2012-08-05  Chong Yidong  <cyd@gnu.org>
1235         * proced.el (proced): Add substitution string to docstring to
1236         trigger autoloading of the proced library on C-h f (Bug#1768).
1238         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
1239         Don't show defvars which have no second argument (Bug#8638).
1241         * imenu.el (imenu-generic-expression): Move documentation here
1242         from imenu--generic-function.
1243         (imenu--generic-function): Refer to imenu-generic-expression.
1245 2012-08-05  Vegard Ă˜ye  <vegard_oye@hotmail.com>  (tiny change)
1247         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
1248         indentation declaration.
1249         (viper-loop): Add indentation declaration (Bug#7025).
1251 2012-08-05  Chong Yidong  <cyd@gnu.org>
1253         * help-fns.el (describe-variable): Add hyperlink for
1254         directory-local variables files.  Improve buffer-local and
1255         permanent-local reporting; suggested by MON KEY (Bug#6644).
1257         * help-mode.el (help-dir-local-var-def): New button type.
1259         * files.el (kill-buffer-hook): Provide a defvar.
1261 2012-08-05  Glenn Morris  <rgm@gnu.org>
1263         * eshell/esh-ext.el (eshell/addpath):
1264         Also update eshell-path-env.  (Bug#12013)
1266 2012-08-05  Chong Yidong  <cyd@gnu.org>
1268         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
1270         * fringe.el (fringe-styles): Add docstring.
1271         (fringe--check-mode): New function.
1272         (set-fringe-mode, set-fringe-style): Use it.
1273         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
1275         * files.el (set-auto-mode): Fix invalid setq call.
1277 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1279         * isearch.el: Misc simplification; use defstruct.
1280         (isearch-mode-map): Dense maps now work like sparse ones.
1281         (isearch--state): New defstruct.
1282         (isearch-string-state, isearch-message-state, isearch-point-state)
1283         (isearch-success-state, isearch-forward-state)
1284         (isearch-other-end-state, isearch-word-state, isearch-error-state)
1285         (isearch-wrapped-state, isearch-barrier-state)
1286         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
1287         replaced by defstruct's accessors.
1288         (isearch--set-state): Rename from isearch-top-state and change
1289         calling convention.
1290         (isearch-push-state): Use new isearch--get-state.
1291         (isearch-toggle-word): Disable regexp when enabling word.
1292         (isearch-message-prefix): Remove unused arg _c-q-hack.
1293         (isearch-message-suffix): Remove unused arg _ellipsis.
1295 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
1297         * simple.el (list-processes--refresh): For a server use :host or
1298         :local as the address.
1299         (list-processes): Doc fix.
1301 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>  (tiny change)
1303         * lisp/mpc.el: Support password in host argument.
1304         (mpc--proc-connect): Parse and use new password element.
1305         Set mpc-proc variable instead of returning process.
1306         (mpc-proc): Adjust accordingly.
1308 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
1310         * whitespace.el (whitespace-display-mappings): Use Unicode
1311         codepoints, instead of emacs-mule codepoints.  See
1312         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
1313         for the details.
1315         * files.el (file-truename): Don't skip symlink-chasing part on
1316         windows-nt.  Incorporate the resolution of 8+3 short aliases on
1317         Windows into the loop that recursively chases symlinks.
1318         Compare directory and its parent case-insensitively on MS-Windows and
1319         MS-DOS.
1321 2012-08-03  Chong Yidong  <cyd@gnu.org>
1323         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
1325         * sort.el (sort-regexp-fields): Doc fix.
1327 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
1329         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
1330         labels regex position point at the expected place.
1332 2012-08-03  MON KEY  <monkey@sandpframing.com>
1334         * net/imap.el (imap-interactive-login, imap-authenticate)
1335         (imap-mailbox-lsub, imap-mailbox-list)
1336         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
1337         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
1338         (imap-parse-response): Doc fix.
1340 2012-08-03  JoĂ£o TĂ¡vora  <joaotavora@gmail.com>
1342         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
1343         if sexp scanning does not move point (Bug#5734).
1345 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
1347         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
1348         Add listings, minted, and ctable packages.
1349         (reftex-label-alist-builtin): Move listings, minted, and ctable
1350         entries before LaTeX.
1351         (reftex-label-alist): Docfix.
1353 2012-08-02  Bastien Guerry  <bzg@gnu.org>
1355         * replace.el (occur): Fix docstring (bug#12122).
1357 2012-08-02  Glenn Morris  <rgm@gnu.org>
1359         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
1361 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
1363         Obsolete alias inactivate-current-input-method-function (Bug#10150).
1364         * international/mule-cmds.el: Create
1365         inactivate-current-input-method-function as an obsolete alias for
1366         deactivate-current-input-method-function.  See Katsumi Yamaoka in
1367         <http://bugs.gnu.org/10150#46>.
1369 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
1371         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
1372         of nested `if's.
1374 2012-08-01  Glenn Morris  <rgm@gnu.org>
1376         * progmodes/autoconf.el (autoconf-definition-regexp):
1377         Add AH_TEMPLATE, adjust submatch numbering.
1378         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
1379         (autoconf-current-defun-function): Update for above change.
1380         (autoconf-current-defun-function): First skip to end of current word.
1382 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
1384         * calendar/cal-html.el (cal-html-insert-agenda-days):
1385         Fix typo.  (Bug#12018)
1387 2012-07-31  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1389         Shell processes: enhancements to startup and CEDET compatibility.
1390         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
1391         (python-shell-make-comint): accept-process-output at startup.
1392         (run-python-internal): Set inferior-python-mode-hook to nil.
1393         (python-shell-internal-get-or-create-process): call sit-for.
1394         (python-preoutput-result): Add obsolete alias.
1395         (python-shell-internal-send-string): Use it.
1396         (python-shell-send-setup-code): Remove call to
1397         accept-process-output.
1399 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
1401         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
1402         (Bug#12108)
1404 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
1406         * calc-mode.el (calc-basic-simplification-mode): Rename from
1407         `calc-limited-simplification-mode'.
1408         (calc-alg-simplification-mode): New function.
1409         (calc-set-simplify-mode):  Adjust message.
1411         * calc.el (calc-set-mode-line): Adjust mode line display for
1412         basic simplification mode.
1414         * calc-help.el (calc-m-prefix-help): Update help message.
1416         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
1417         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
1419 2012-07-31  Bastien Guerry  <bzg@gnu.org>
1421         * man.el (man): Fix comment.  (bug#12101)
1423 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
1425         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
1426         Don't return a non-nil value when no suitable buffer was found.
1428 2012-07-31  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1430         * progmodes/python.el (run-python-internal): Disable font lock for
1431         internal shells.
1433 2012-07-30  Stefan Merten  <smerten@oekonux.de>
1435         * rst.el: Silence `checkdoc-ispell'.
1436         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1437         (rst-official-version, rst-official-cvs-rev)
1438         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
1439         (rst-mode-map): New key binding.
1441 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
1443         Update .PHONY listings in makefiles.
1444         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
1445         autoloads, update-subdirs, updates, bzr-update, update-authors,
1446         compile-onefile, compile-calc, backup-compiled-files,
1447         compile-after-backup, compile-one-process, mh-autoloads,
1448         bootstrap-clean, distclean, maintainer-clean.
1450 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
1452         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
1453         (calc-set-mode-line): Don't display "AlgSimp ".
1455         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
1456         (calc-lim-simplify-mode): New function.
1457         (calc-set-simplify-mode): Default to 'alg.
1458         (calc-default-simplify-mode): Make algebraic simplifications
1459         the default.
1461         * calc/calc-ext.el (calc-init-extensions): Remove binding for
1462         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
1464         * calc/calc-help.el (calc-m-prefix-help): Change messages to
1465         indicate new simplification modes.
1467         * calc/README: Mention new default simplification mode.
1469         * calc/calc.el (math-normalize-error): New variable.
1470         (math-normalize): Set `math-normalize-error' to t
1471         when there's an error.
1473         * calc/calc-alg.el (math-simplify): Don't simplify when
1474         `math-normalize' returns an error.
1476 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
1478         * international/mule-cmds.el (set-locale-environment): Revert last
1479         change, since display-graphic-p returns nil when this function is
1480         called during startup.  Instead...
1482         * term/w32console.el (terminal-init-w32console): ...setup the
1483         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
1485 2012-07-29  Juri Linkov  <juri@jurta.org>
1487         * simple.el (goto-line): Don't display default line number in the
1488         prompt because it should be displayed by `read-number' (bug#9952).
1489         Add the current line number to the defaults of `goto-line' to
1490         allow its easier modification by users with `M-n' (bug#9201).
1492         * subr.el (read-number): Support multiple default values like in
1493         other minibuffer reading functions.  Replace `read' with
1494         `string-to-number' for consistency with `number-to-string'.
1496 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
1498         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
1499         * emulation/viper-init.el (viper-deactivate-input-method-action):
1500         Rename from viper-inactivate-input-method-action.
1501         (viper-deactivate-input-method):
1502         Rename from viper-inactivate-input-method.
1503         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
1504         * international/mule-cmds.el (deactivate-input-method):
1505         Rename from inactivate-input-method.
1506         Also run input-method-deactivate-hook.
1507         (deactivate-current-input-method-function):
1508         Rename from inactivate-current-input-method-function.
1509         (input-method-deactivate-hook): New hook.
1510         (input-method-inactivate-hook): Mark obsolete.
1511         (inactivate-input-method): Mark obsolete.
1513         * international/quail.el (quail-activate):
1514         Also run quail-deactivate-hook.
1515         (quail-deactivate): Rename from quail-inactivate.
1516         * international/robin.el (robin-activate):
1517         Also run robin-deactivate-hook.
1518         (robin-deactivate): Rename from robin-inactivate.
1520 2012-07-29  Chong Yidong  <cyd@gnu.org>
1522         * simple.el (indicate-copied-region): New function.
1523         (kill-ring-save): Split off from here.
1525         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
1526         (kill-rectangle): Set deactivate-mark to t on read-only error.
1528         * register.el (copy-to-register, copy-rectangle-to-register):
1529         Deactivate the mark, and use indicate-copied-region (Bug#10056).
1530         (append-to-register, prepend-to-register):
1531         Call 2012-07-29  Juri Linkov  <juri@jurta.org>
1533         * simple.el (async-shell-command-buffer): New defcustom.
1534         (shell-command): Use it.  (Bug#4719)
1536 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
1538         * international/mule-cmds.el (set-locale-environment): In a
1539         console session on MS-Windows, set up keyboard and terminal
1540         encoding from the OEM codepage, not the ANSI codepage.
1541         (Bug#12055)
1543 2012-07-28  Chong Yidong  <cyd@gnu.org>
1545         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
1546         gdb-get-location.
1548 2012-07-28  Leo Liu  <sdl.web@gmail.com>
1550         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
1551         the alist (bug#12029).
1553 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
1555         * makefile.w32-in (custom-deps, finder-data, updates, compile)
1556         (compile-always, compile-first)
1557         ($(lisp)/calendar/cal-loaddefs.el)
1558         ($(lisp)/calendar/diary-loaddefs.el)
1559         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1560         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
1561         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
1562         instead of on update-subdirs.
1563         (bootstrap-clean): Delete $(lisp)/subdirs.el.
1565 2012-07-28  Chong Yidong  <cyd@gnu.org>
1567         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
1568         directory if vc-deduce-backend returns nil (Bug#7350).
1570         * simple.el (delete-trailing-lines): New option.
1571         (delete-trailing-whitespace): Obey it (Bug#11879).
1573 2012-07-28  David Engster  <deng@randomsample.de>
1575         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
1576         Explanation of new 'symbol-qnames feature in doc-strings.
1577         (xml-maybe-do-ns): Return expanded names as plain symbols if
1578         'symbol-qnames was provided in XML-NS argument (Bug#11916).
1579         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
1581 2012-07-27  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1583         Consistent completion in inferior python with emacs -nw.
1584         * progmodes/python.el (inferior-python-mode): replace "<tab>"
1585         binding in inferior-python-mode-map with "\t".
1586         (python-shell-completion-complete-at-point)
1587         (python-completion-complete-at-point): Remove interactive spec.
1589 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
1591         * calc/calccomp.el (math-compose-expr): Undo previous change.
1593 2012-07-27  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1595         * progmodes/python.el (python-mode-map): Add keybinding for
1596         run-python.
1597         (python-shell-make-comint): Fix pop-to-buffer call.
1598         (run-python): Autoload.  New arg SHOW.
1599         (python-shell-get-or-create-process): Do not pop python process
1600         buffer.
1602 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
1604         * notifications.el (notifications-on-action-signal)
1605         (notifications-on-closed-signal): Use also the bus address for the map.
1606         (notifications-notify, notifications-close-notification)
1607         (notifications-get-capabilities):  Add optional argument BUS.
1609 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
1611         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1612         Add support for the lstlisting and minted environments, and for the
1613         ctable macro.
1614         * textmodes/reftex.el (reftex-compile-variables): Also recognize
1615         labels written in keyvals syntax.
1617 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
1619         * calc/calccomp.el (math-compose-expr): Use parentheses when
1620         there is a product in the denominator of a fraction.
1622 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
1624         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
1625         ($(lisp)/calendar/diary-loaddefs.el)
1626         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
1627         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
1628         Fixes failures in parallel bootstrap because subdirs.el is being
1629         rewritten while the autoload files are built at the same time,
1630         which needs to load subdirs.el.
1632 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
1634         * mouse.el (popup-menu): Fix doc-string and re-indent code.
1635         (mouse-drag-line): Don't exit tracking when a switch-frame or
1636         switch-window event occurs (Bug#12006).
1638 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1640         * mouse.el (popup-menu): Fix last change.
1642 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1644         Autoload from Lisp with more care.  Follow aliases when looking for
1645         function properties.
1646         * subr.el (autoloadp): New function.
1647         (symbol-file): Use it.
1648         (function-get): New function.
1649         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
1650         autoload-do-load.
1651         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
1652         (lisp-indent-function):
1653         * emacs-lisp/gv.el (gv-get):
1654         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
1655         * emacs-lisp/byte-opt.el (byte-optimize-form):
1656         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
1657         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
1658         Use function-get.
1659         * emacs-lisp/cl.el: Don't propagate function properties any more.
1661         * speedbar.el (speedbar-add-localized-speedbar-support):
1662         * emacs-lisp/disass.el (disassemble-internal):
1663         * desktop.el (desktop-load-file):
1664         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
1665         (describe-function-1):
1666         * emacs-lisp/find-func.el (find-function-noselect):
1667         * emacs-lisp/elp.el (elp-instrument-function):
1668         * emacs-lisp/advice.el (ad-has-proper-definition):
1669         * apropos.el (apropos-safe-documentation, apropos-macrop):
1670         * emacs-lisp/debug.el (debug-on-entry):
1671         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
1672         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1673         * calc/calc.el (name): Use autoloadp & autoload-do-load.
1675 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
1677         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
1678         function, not an obsolete variable (Bug#12046).
1680 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
1682         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
1684 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
1686         * emacs-lisp/pp.el (pp-display-expression): Select old selected
1687         window only if it is still live (Bug#12034).
1689 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
1691         * subr.el (redirect-frame-focus): Add advertised calling
1692         convention (Bug#12030).
1694 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
1696         Prefer typical American spelling for "acknowledgment".
1697         * vc/add-log.el (change-log-acknowledgment): Rename from
1698         change-log-acknowledgement, with an alias for the old name.
1700 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
1702         * calc-alg.el (math-simplify-divide): Don't cross multiply
1703         in an equation when the lhs is a variable.
1705 2012-07-24  Julien Danjou  <julien@danjou.info>
1707         * net/netrc.el (netrc-find-service-number, netrc-store-data):
1708         Remove, unused.
1710 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
1712         * startup.el (command-line): Don't display an empty user name in
1713         the error message about non-existent home directory, when
1714         init-file-user was set to an empty string.  See
1715         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
1716         for the details and context.
1718 2012-07-22  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
1720         * ses.el (ses-cell-formula-aset): New macro.
1721         (ses-cell-references-aset): New macro.
1722         (ses-cell-p): New function.
1723         (ses-rename-cell): Do no longer rely on complex operations like
1724         ses-cell-set-formula or ses-set-cell to change the cell and handle
1725         the undo at the same time, but rather use lower level new macros
1726         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
1727         the undo directly. Refresh the mode line.
1729 2012-07-21  Leo Liu  <sdl.web@gmail.com>
1731         * progmodes/cc-cmds.el (c-defun-name):
1732         Use match-string-no-properties instead for consistency.
1734 2012-07-20  Leo Liu  <sdl.web@gmail.com>
1736         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
1737         (Bug#7879)
1739         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
1741 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1743         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
1744         * progmodes/bug-reference.el, misearch.el: Provide themselves
1745         (bug#11915).
1747         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
1748         of narrowed buffer (bug#11966).
1750 2012-07-20  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
1752         * ses.el (ses-rename-cell): Set new name also in reference list of
1753         cells of which the renamed cell depends.
1755 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
1757         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
1758         to check whether menu-bar is shown or not.  If not shown,
1759         show the menu-bar as a popup menu instead of using tmm.
1760         * mouse.el (popup-menu): Accept `point' as `position' argument.
1762 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
1764         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
1765         up inside string symbol literal (bug#11923).
1767 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
1769         * startup.el (fancy-startup-text): Read the whole tutorial, not
1770         just its first 256 bytes.  Prevents gibberish in display of the
1771         tutorial title.
1773 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
1775         Drop idle buffer compaction due to an absence of the
1776         proved efficiency.
1777         * compact.el: Remove.
1779 2012-07-19  Sam Steingold  <sds@gnu.org>
1781         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
1782         vc-bzr-pull & vc-bzr-merge-branch.
1783         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
1784         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
1785         for consistency with compilation-error-regexp-alist.
1786         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
1787         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
1788         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
1789         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
1791 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1793         * emacs-lisp/chart.el: Use lexical-binding.
1794         (chart-emacs-storage): Don't hardcode the list of entries.
1796 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
1798         Next round of tweaks caused by Fgarbage_collect changes.
1799         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
1801 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
1803         Compact buffers when idle.
1804         * compact.el: New file.
1806 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1808         * subr.el (eventp): Presume that if it looks vaguely like an event,
1809         it's an event (bug#10190).
1811 2012-07-19  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1813         Enhancements to ppss related code (thanks Stefan).
1814         * progmodes/python.el (python-indent-context)
1815         (python-indent-calculate-indentation, python-indent-dedent-line)
1816         (python-indent-electric-colon, python-nav-forward-block)
1817         (python-mode-abbrev-table)
1818         (python-info-assignment-continuation-line-p): Simplify checks
1819         for ppss context.
1820         (python-info-continuation-line-p): Cleanup.
1821         (python-info-ppss-context): Do not catch 'quote.
1822         (python-info-ppss-context-type)
1823         (python-info-ppss-comment-or-string-p): Simplify.
1825 2012-07-18  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1827         * progmodes/python.el: Enhancements to eldoc support.
1828         (python-info-current-symbol): New function.
1829         (python-eldoc-at-point): Use python-info-current-symbol.
1830         (python-info-current-defun): Fix cornercase on first defun scan.
1831         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1832         and signal error when no inferior python process is available.
1834 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
1836         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1837         assume it's always t.
1838         (vc-git-registered): Remove caching, the function is only called
1839         once.
1840         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1842 2012-07-18  Chong Yidong  <cyd@gnu.org>
1844         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1846         * simple.el (count-words): Report on narrowing (Bug#9959).
1848         * bindings.el: Bind M-= to count-words.
1850         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1852 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
1854         * progmodes/sh-script.el (sh-imenu-generic-expression):
1855         Capture a function with `function' keyword and without parentheses
1856         like "function FOO" (bug#11856).
1858 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
1860         * window.el (split-window-sensibly): Make WINDOW argument
1861         optional.
1863 2012-07-18  Chong Yidong  <cyd@gnu.org>
1865         * subr.el (keyboard-translate): Doc fix (Bug#7261).
1867         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1868         and make C-x 8 RET exit isearch (Bug#11439).
1870         * international/iso-transl.el: Move isearch-mode-map key
1871         definitions to isearch.el.
1873 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1875         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1876         (eieio-defclass): Use gv-define-setter when possible.
1878 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
1880         Reflect recent changes in Fgarbage_collect.
1881         * emacs-lisp/chart.el (chart-emacs-storage): Change to
1882         reflect new format of data returned by Fgarbage_collect.
1884 2012-07-17  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1886         New utility functions + python-info-ppss-context fix (Bug#11910).
1887         * progmodes/python.el (python-info-beginning-of-block-statement-p)
1888         (python-info-ppss-comment-or-string-p): New functions.
1889         (python-info-ppss-context): Small fix for string check.
1891 2012-07-17  Juri Linkov  <juri@jurta.org>
1893         * dired-aux.el (dired-do-async-shell-command): Doc fix.
1894         (dired-do-async-shell-command): Don't add `*' at the end of the
1895         command (Bug#11815).
1896         (dired-do-shell-command): Doc fix.
1897         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1898         Join the individual commands using either "&" or ";" as the
1899         separator depending on the values of these trailing characters.
1900         At the end re-add the trailing "&".  (Bug#10598)
1902         * simple.el (async-shell-command): Sync the interactive spec with
1903         `shell-command'.  Doc fix.
1904         (shell-command): Doc fix.
1906 2012-07-17  Juri Linkov  <juri@jurta.org>
1908         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
1910 2012-07-17  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1912         Final renames and doc fixes for movement commands (bug#11899).
1913         * progmodes/python.el (python-nav-beginning-of-statement):
1914         Rename from python-nav-statement-start.
1915         (python-nav-end-of-statement): Rename from
1916         python-nav-statement-end.
1917         (python-nav-beginning-of-block): Rename from
1918         python-nav-block-start.
1919         (python-nav-end-of-block): Rename from python-nav-block-end.
1921 2012-07-17  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1923         * progmodes/python.el (python-shell-send-string-no-output):
1924         Allow accept-process-output to quit, keeping shell process ready for
1925         future interactions (Bug#11868).
1927 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1929         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1931         * emacs-lisp/elint.el (elint-find-args-in-code):
1932         Use help-function-arglist, so as to handle lexical byte-code.
1934         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1935         change (bug#11826).
1937 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1939         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1940         Avoid spuriously marking the buffer as modified because of c-is-sws.
1942         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1943         as not-a-comment (bug#11946).
1945         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1946         for uninterned vars.
1948         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1949         Use read-event since we don't really want to read chars but bytes.
1951         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1952         $$..$$ but also $..$ using regexps (bug#11953).
1953         Use tex-verbatim for \url and \path.
1954         (tex-font-lock-keywords): Define as defconst like the others.
1955         (tex-common-initialization): Don't use font-lock-syntax-table any more.
1957 2012-07-16  RenĂ© Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
1959         * international/mule-cmds.el (ucs-insert): Make it an obsolete
1960         alias for insert-char.
1962 2012-07-16  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1964         * progmodes/python.el: Simplified imenu implementation.
1965         (python-nav-jump-to-defun): Remove command.
1966         (python-mode-map): Use `imenu' instead.
1967         (python-nav-list-defun-positions-cache)
1968         (python-imenu-include-defun-type, python-imenu-make-tree)
1969         (python-imenu-subtree-root-label, python-imenu-index-alist):
1970         Remove vars.
1971         (python-nav-list-defun-positions, python-nav-read-defun)
1972         (python-imenu-tree-assoc, python-imenu-make-element-tree)
1973         (python-imenu-make-tree, python-imenu-create-index):
1974         Remove functions.
1975         (python-mode): Update to interact with imenu by setting
1976         `imenu-extract-index-name-function' only.
1978 2012-07-16  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
1980         * progmodes/python.el: Enhancements to navigation commands.
1981         (python-nav-backward-sentence)
1982         (python-nav-forward-sentence): Remove.
1983         (python-nav-backward-statement, python-nav-forward-statement)
1984         (python-nav-statement-start, python-nav-statement-end)
1985         (python-nav-backward-block, python-nav-forward-block)
1986         (python-nav-block-start, python-nav-block-end)
1987         (python-nav-forward-sexp-function)
1988         (python-info-current-line-comment-p)
1989         (python-info-current-line-empty-p): New functions.
1990         (python-indent-context): Use `python-nav-statement-start'.
1992 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
1994         * eshell/em-ls.el (eshell/ls): Use `apply'.
1996         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1997         multi-hops, instead of Tramp internals.
1999         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
2001         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
2002         when F1 and F2 are located on different hosts.
2004 2012-07-14  Chong Yidong  <cyd@gnu.org>
2006         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
2007         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
2008         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
2009         (xterm-mouse--read-event-sequence-1000)
2010         (xterm-mouse--read-event-sequence-1006): New functions.  For old
2011         mouse protocol, handle M-mouse-X events correctly.
2012         (xterm-mouse-event): New arg specifying mouse protocol.
2013         (turn-on-xterm-mouse-tracking-on-terminal)
2014         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
2015         sequence to toggle extended coordinates on newer XTerms.
2016         This appears to be harmless on terminals which do not support this.
2018 2012-07-14  Leo Liu  <sdl.web@gmail.com>
2020         Add fringe bitmap indicators for flymake.  (Bug#11253)
2021         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
2022         (flymake-make-overlay): New arg BITMAP.
2023         (flymake-error-bitmap, flymake-warning-bitmap)
2024         (flymake-fringe-indicator-position): New user variables.
2026         * fringe.el: New bitmap exclamation-mark.
2028 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
2030         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
2031         also (Bug#7879).
2033 2012-07-14  Chong Yidong  <cyd@gnu.org>
2035         * electric.el (electric-pair-post-self-insert-function): Fix pair
2036         insertion in empty-region case (Bug#11520).
2038 2012-07-14  Chong Yidong  <cyd@gnu.org>
2040         * bindings.el: Consolidate ctl-x-r-map bindings.
2041         Bind copy-rectangle-as-kill to C-x r w.
2043         * rect.el, register.el: Move bindings to bindings.el.
2045 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
2047         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
2049 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
2051         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
2053 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
2055         * bindings.el (top): Use `mapc' instead of `mapcar'.
2057         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
2059 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
2061         * progmodes/sql.el (sql-comint): Suppress the check for program on
2062         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
2063         (Bug#11908)
2065 2012-07-13  Chong Yidong  <cyd@gnu.org>
2067         * bindings.el: Assign a non-nil permanent-local property to
2068         per-buffer variables which lack a default value (Bug#11930).
2070         * help-fns.el (describe-variable): In the "automatically becomes
2071         local" notice, take note of permanent-local variables.
2073 2012-07-13  Chong Yidong  <cyd@gnu.org>
2075         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
2076         to allow printing the message when called from Lisp.
2078         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2079         Remove toggle-read-only.
2081         * bs.el (bs-toggle-readonly):
2082         * buff-menu.el (Buffer-menu-toggle-read-only):
2083         Remove with-no-warnings around toggle-read-only.
2085         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
2086         Remove with-no-warnings around toggle-read-only.
2087         (ffap-read-only, ffap-read-only-other-window)
2088         (ffap-read-only-other-frame): Callers changed.
2090         * help-mode.el: Don't require view package.
2091         (help-mode-finish): Set buffer-read-only instead of calling
2092         toggle-read-only.
2094         * bindings.el (mode-line-toggle-read-only):
2095         * dired.el (dired-toggle-read-only):
2096         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
2097         with non-nil second arg.
2099         * emacs-lisp/eieio-custom.el (eieio-customize-object):
2100         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
2101         directly.
2103 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
2105         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
2106         not incf.
2108 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2110         More CL cleanups and reduction of use of cl.el.
2111         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
2112         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
2113         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
2114         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
2115         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
2116         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
2117         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
2118         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
2119         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
2120         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
2121         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
2122         * eshell/em-cmpl.el, eshell/em-banner.el:
2123         * calendar/parse-time.el: Use cl-lib.
2124         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
2125         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
2126         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
2127         * term/ns-win.el, term.el, shell.el, ps-samp.el:
2128         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
2129         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
2130         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
2131         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
2132         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
2133         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
2134         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
2135         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
2136         `lambda' rather than with `quote'.
2137         (eshell-do-opt): Adjust accordingly.
2138         (eshell-process-option): Simplify.
2139         * eshell/esh-var.el:
2140         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
2141         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
2142         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
2143         to `pcase--dontcare'.
2144         * emacs-lisp/cl.el (labels): Mark obsolete.
2145         (cl--letf, letf): Move to cl-lib.
2146         (cl--letf*, letf*): Remove.
2147         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
2148         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
2149         (cl-progv): Rewrite.
2150         (cl--letf, cl-letf): Move from cl.el.
2151         (cl-letf*): New macro.
2152         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
2154 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
2156         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
2158 2012-07-11  Chong Yidong  <cyd@gnu.org>
2160         * vc/log-edit.el (log-edit-vc-backend): New variable.
2161         (log-edit): Doc fix.
2163         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
2164         argument of log-edit to set up all local variables.
2165         (vc-start-logentry): New optional arg specifying VC backend.
2167         * vc/vc.el (vc-checkin): Use it.
2168         (vc-deduce-fileset): Handle Log Edit buffers.
2169         (vc-diff): Make first argument optional too.
2171         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
2173 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
2175         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
2176         command, just in case.  The function is not needed anymore.
2177         (eshell-external-command): Do not call `eshell-remote-command'.
2179 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2181         Reduce use of (require 'cl).
2182         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
2183         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
2184         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
2185         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
2186         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
2187         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
2188         * battery.el, avoid.el, abbrev.el: Use cl-lib.
2189         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
2190         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
2191         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
2192         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
2193         * calculator.el, autorevert.el, apropos.el: Don't require CL.
2194         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
2195         (byte-compile-unfold-bcf, byte-compile-check-variable):
2196         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
2197         (byte-compile-nilconstp):
2198         * emacs-lisp/autoload.el (make-autoload): Use pcase.
2199         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
2201         * emacs-lisp/gv.el (cond): Make it a valid place.
2202         (if): Simplify slightly.
2204         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
2205         (pcase--self-quoting-p): New function.
2206         (pcase--u1): Use it.
2208 2012-07-10  Glenn Morris  <rgm@gnu.org>
2210         * emacs-lisp/authors.el (authors-fixed-entries):
2211         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
2213 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
2215         Rename configure.in to configure.ac (Bug#11603).
2216         * emacs-lisp/authors.el (authors-canonical-file-name):
2217         * progmodes/autoconf.el (autoconf-mode):
2218         Prefer configure.ac to configure.in.
2220 2012-07-08  Chong Yidong  <cyd@gnu.org>
2222         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
2223         Implement the mouse-1-click-follows-link handling properly.
2225         * info.el (Info-link-keymap): Use follow-link mechanism for
2226         header-line links (Bug#374).
2228         * simple.el (deactivate-mark): Do not set the primary selection
2229         if another program has acquired it (Bug#11772).
2231 2012-07-07  Kevin Ryde  <user42@zip.com.au>
2233         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
2234         (woman-decode-region): Replace escaped-escapes without destroying
2235         bold or underline (Bug#11552).
2236         (woman2-process-escapes): Handle nofill regions (Bug#11591).
2238 2012-07-07  Chong Yidong  <cyd@gnu.org>
2240         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
2241         (interprogram-cut-function, interprogram-paste-function):
2242         Mention that we typically mean the clipboard.
2244 2012-07-06  Glenn Morris  <rgm@gnu.org>
2246         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
2248         * files.el (toggle-read-only): Restrict message to interactive use.
2250 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
2252         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
2254         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
2256 2012-07-06  Glenn Morris  <rgm@gnu.org>
2258         * Makefile.in (compile-one-process): Rename from "recompile".
2260         * Makefile.in (bzr-update): "compile" is the same as "recompile
2261         autoloads", but parallelizable, so use that instead.
2263 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
2265         * window.el (quit-window): Always restore window height when
2266         it's saved in quit-restore parameter (Bug#11810).
2268 2012-07-06  Glenn Morris  <rgm@gnu.org>
2270         * simple.el (kill-whole-line): Doc tweak.
2272 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
2274         * files.el (file-relative-name): Compare file names
2275         case-insensitively if on MS-Windows or MS-DOS, or if
2276         read-file-name-completion-ignore-case is non-nil.  Don't use
2277         case-fold-search for this purpose.  (Bug#11827)
2279 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
2281         * calendar/cal-dst.el (calendar-current-time-zone):
2282         Return calendar-current-time-zone-cache if non-nil.
2284 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
2285 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
2287         * calendar/cal-dst.el (calendar-current-time-zone):
2288         Return calendar-current-time-zone-cache if non-nil.
2290 2012-07-06  Glenn Morris  <rgm@gnu.org>
2292         * Makefile.in (cvs-update): Remove old alias.
2294 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
2296         Sync with Tramp 2.2.6-pre.
2298         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
2299         compatible declaration.
2301         * net/tramp-cmds.el (tramp-append-tramp-buffers):
2302         Protect `list-load-path-shadows' call.
2304         * net/tramp-compat.el (top): Require packages, which aren't
2305         autoloaded anymore for XEmacs.  Protect call of
2306         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
2307         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
2308         it hurts at least for SXEmacs.
2309         (tramp-compat-temporary-file-directory): In XEmacs, there is no
2310         standard-value for `temporary-file-directory'.
2312         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
2313         Redirect stderr to /dev/null.
2314         (tramp-sh-handle-write-region): uid and gid can be floats.
2315         Reported by Russell Sim <russell.sim@gmail.com>.
2316         (tramp-sh-handle-vc-registered): Hide errors.
2317         (tramp-vc-file-name-handler): Use dummy results for `process-file'
2318         and `start-file-process'.
2319         (tramp-maybe-open-connection): Check also whether `non-essential'
2320         is bound.
2322 2012-07-04  Chong Yidong  <cyd@gnu.org>
2324         * xml.el (xml--parse-buffer): Use xml-syntax-table.
2325         (xml-parse-tag): Likewise, and avoid changing entity tables.
2326         (xml-syntax-table): Define from scratch, making sure not to give
2327         x2000 and other Unicode spaces whitespace syntax, since those are
2328         not spaces in XML.
2329         (xml-parse-fragment): Delete unused function.
2330         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
2331         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
2332         (xml-entity-ref, xml-pe-reference-re)
2333         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
2334         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
2335         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
2336         (xml-entity-value-re): Use syntax references in regexps where
2337         possible; no need to define inside a let-binding.
2338         (xml-parse-dtd): Use xml-pe-reference-re.
2339         (xml-entity-or-char-ref-re): New defconst.
2340         (xml-parse-string, xml-substitute-special): Use it.
2342 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2344         * files.el (locate-dominating-file): Allow `name' to be a predicate.
2345         (find-file--read-only): New function.
2346         (find-file-read-only, find-file-read-only-other-window)
2347         (find-file-read-only-other-frame): Use it.
2348         (insert-file-contents-literally): Don't `fset'.
2349         (get-free-disk-space): Use locate-dominating-file.
2351         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
2352         function is already compiled.
2354         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
2356 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
2358         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
2359         files on the same host.
2361 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
2363         * help-fns.el (describe-function-1): Only call
2364         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
2366 2012-07-03  Chong Yidong  <cyd@gnu.org>
2368         * xml.el: Protect parser against XML bombs.
2369         (xml-entity-expansion-limit): New variable.
2370         (xml-parse-string, xml-substitute-special): Use it.
2371         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
2373 2012-07-03  Glenn Morris  <rgm@gnu.org>
2375         * progmodes/bug-reference.el (bug-reference-bug-regexp):
2376         Allow linking to specific messages in debbugs reports (eg 123#5).
2378 2012-07-02  Chong Yidong  <cyd@gnu.org>
2380         * xml.el: Fix entity and character reference expansion, allowing
2381         them to expand into markup as per XML spec.
2382         (xml-default-ns): New variable.
2383         (xml-entity-alist): Use XML spec definitions for lt and amp.
2384         (xml-parse-region): Make first two arguments optional.
2385         Discard text properties.
2386         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
2387         All callers changed.
2388         (xml-parse-tag): Call xml-parse-tag-1.  For backward
2389         compatibility, this function should not modify buffer contents.
2390         (xml-parse-tag-1): Fix opening-tag regexp.
2391         (xml-parse-string): Rewrite, handling entity and character
2392         references properly.
2393         (xml--entity-replacement-text): Signal an error if a parameter
2394         entity is undefined.
2396 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2398         * comint.el (comint-output-filter): Filter out repeated prompts.
2400         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
2401         and file-name-absolute-p.
2402         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
2403         internal calls.
2405 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
2407         Spelling fixes.
2408         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
2409         Rename from byte-compile--refiy-function.  All uses changed.
2411 2012-07-01  Chong Yidong  <cyd@gnu.org>
2413         * xml.el (xml--parse-buffer): New function.  Move most of
2414         xml-parse-region here.
2415         (xml-parse-region): Copy region into a temporary buffer, since
2416         parameter entity substitution requires changing buffer contents.
2417         Use xml--parse-buffer.
2418         (xml-parse-file): Use xml--parse-buffer.
2419         (xml-parse-dtd): Make parameter entity substitution work right.
2420         Use proper regexps for ELEMENT declarations (Bug#7172).
2422 2012-06-30  Glenn Morris  <rgm@gnu.org>
2424         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
2426         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
2427         Remove outdated and unnecessary dbus declarations.
2429 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
2431         * emacs-lisp/timer.el (timer-until): Subtract results of
2432         float-time, instead of taking float-time of the result of
2433         time-subtract, since float-time signals an error for negative time
2434         arguments.
2436 2012-06-30  Chong Yidong  <cyd@gnu.org>
2438         * xml.el (xml-*-re): Convert defvars into defconsts, and
2439         eval-and-compile them so eval-and-compile works on derivatives.
2440         (xml--entity-replacement-text): Use eval-and-comple.
2442 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
2444         * vc/vc-git.el (vc-git-registered): Use cache property
2445         `git-registered'.
2446         (vc-git-mode-line-string): Call `vc-working-revision' instead of
2447         `vc-git-working-revision' in order to benefit from the cache.
2448         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
2450 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
2452         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2453         removed (likely outside Emacs).  (Bug#11757)
2455 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2457         * emacs-lisp/cl-lib.el: Require macroexp.
2459 2012-06-30  Chong Yidong  <cyd@gnu.org>
2461         * xml.el: Implement XML parameter entities.
2462         (xml-parameter-entity-alist): New variable.
2463         (xml-parse-region, xml-parse-fragment): Preserve previous values
2464         of xml-entity-alist and xml-parameter-entity-alist, so that
2465         repeated calls on different documents do not change them.
2466         (xml-parse-tag): Fix doctype regexp.
2467         (xml--entity-replacement-text): New function.
2468         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
2469         properly requires url retrieval which is unimplemented.
2470         (xml-escape-string): Doc fix.
2472 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2474         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
2476 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
2478         * fringe.el (fringe-mode): Doc fix.
2480 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
2482         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
2483         is non-nil.
2484         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
2485         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
2487 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
2489         * calendar/cal-dst.el (calendar-current-time-zone):
2490         Return calendar-current-time-zone-cache if non-nil.
2492 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
2494         * progmodes/which-func.el (which-func-format):
2495         Add mouse-face.  (Bug#11698)
2497 2012-06-29  Leo Liu  <sdl.web@gmail.com>
2499         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
2501 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2503         * minibuffer.el (minibuffer-confirm-exit-commands):
2504         Add completion-at-point (bug#11725).
2506 2012-06-29  Glenn Morris  <rgm@gnu.org>
2508         * progmodes/f90.el (f90-font-lock-keywords-2):
2509         Add some preprocessor elements.  (Bug#10499)
2511 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2513         * progmodes/cperl-mode.el (cperl-update-syntaxification):
2514         Use syntax-propertize (bug#11739).
2516 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
2518         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
2520 2012-06-28  Julien Danjou  <julien@danjou.info>
2522         * term.el (term-handle-colors-array): Use a set of new faces to
2523         color the terminal.  Also uses :inverse-video property.
2524         (term-default-fg-color): Set to nil by default, deprecate in favor
2525         of `term-face'.
2526         (term-default-bg-color): Set to nil by default, deprecate in favor
2527         of `term-face'.
2528         (term-current-face): Use `term-face' by default.
2529         (term-bold-attribute): Variable deleted.
2531 2012-06-28  Glenn Morris  <rgm@gnu.org>
2533         * simple.el (completion-list-mode-finish):
2534         Don't use toggle-read-only.  (Since completion-list-mode has
2535         a special mode-class, it wasn't doing anything extra anyway.)
2537 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2539         Make inlining of other-mode interpreted functions work (bug#11799).
2540         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
2541         (byte-compile): Use it to fix compilation of lexical-binding closures.
2542         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
2543         function, if needed.
2545 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2547         * help-mode.el (help-make-xrefs): Don't just withstand
2548         cyclic-variable-indirection but any error in documentation-property.
2550         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
2551         memory use.
2552         * bindings.el (bindings--define-key): New function.
2553         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
2554         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
2555         * bindings.el: Use it to purecopy define-key bindings.
2557         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
2559         * emacs-lisp/cl.el (flet): Mark obsolete.
2560         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
2561         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
2562         * progmodes/js.el (js-c-fill-paragraph):
2563         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
2564         (ebrowse-switch-member-buffer-to-derived-class):
2565         * play/5x5.el (5x5-solver): Use cl-flet.
2567         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
2568         (cl--symbol-function): New macro.
2569         (cl--letf, cl--letf*): Use it.
2571         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
2572         Strip "toggle-" if any.
2574 2012-06-27  Glenn Morris  <rgm@gnu.org>
2576         * info.el (Info-default-directory-list): Move here from paths.el.
2577         * paths.el: Remove file, which is now empty.
2578         * loadup.el: No longer load "paths".
2580         * custom.el (custom-initialize-delay): Doc fix.
2582         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2583         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2584         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2585         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2586         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2587         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
2588         * eshell/eshell.el (eshell-defgroup): Remove alias.
2590 2012-06-27  Chong Yidong  <cyd@gnu.org>
2592         * help.el (help-enable-auto-load): New variable.
2594         * help-fns.el (help-fns--autoloaded-p): New function.
2595         (describe-function-1): Refer to a function as "autoloaded" if it
2596         was autoloaded at any time in the past.  Perform autoloading if
2597         help-enable-auto-load is non-nil.
2599 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
2601         * makefile.w32-in (compile, compile-always): Depend on
2602         update-subdirs, not on subdirs.el.  Otherwise, several different
2603         sub-targets of 'bootstrap' running in parallel could
2604         simultaneously write to subdirs.el, producing a garbled file.
2606 2012-06-26  Sam Steingold  <sds@gnu.org>
2608         * files.el (file-name-base): New convenience function.
2609         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
2610         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
2611         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
2612         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
2613         * textmodes/ispell.el, textmodes/reftex-ref.el:
2614         * textmodes/tex-mode.el: Use it.
2615         Did not touch cedet and org because they are maintained elsewhere.
2617 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
2619         * calendar/calendar.el (calendar-exit): Don't try to delete or
2620         iconify last frame.  See:
2621         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
2623 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
2625         * server.el (server-process-filter): Remember dir in the
2626         process's `server-client-directory' properties.
2628 2012-06-24  Chong Yidong  <cyd@gnu.org>
2630         * xml.el (xml-parse-tag): Correctly handle comment embedded in
2631         non-tag text.
2633 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
2635         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
2637 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2639         * help-fns.el (describe-variable): Don't croak when doc is not found.
2640         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
2641         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
2642         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
2643         * emacs-lisp/smie.el (smie-next-sexp): CSE.
2644         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
2645         ((lambda ..) ..).
2646         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
2648 2012-06-23  Chong Yidong  <cyd@gnu.org>
2650         * info.el (Info-mouse-follow-link): Accept symbol values of
2651         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
2652         (Info-fontify-node): Use Info-link-keymap for all navigation
2653         buttons, with link-args property to perform the desired action.
2654         (Info-link-keymap): Doc fix.
2655         (Info-next-link-keymap, Info-prev-link-keymap)
2656         (Info-up-link-keymap): Delete now-unused keymaps.
2658 2012-06-23  Chong Yidong  <cyd@gnu.org>
2660         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
2662         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
2663         system abbrevs.
2665         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
2667 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2669         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
2670         (bug#11719).
2672         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
2673         the requote function doesn't work properly (bug#11714).
2675 2012-06-23  Glenn Morris  <rgm@gnu.org>
2677         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
2679 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2681         Further GV/CL cleanups.
2682         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
2683         gv-expander.
2684         (gv--defun-declaration): New function.
2685         (defun-declarations-alist): Use it.
2686         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
2687         (gv-place): Autoload.
2688         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
2689         original definition of dotimes and dolist.
2690         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
2691         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
2692         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
2693         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2694         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
2695         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
2696         to the function's definition.
2697         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
2698         * window.el:
2699         * files.el:
2700         * faces.el:
2701         * env.el: Don't use CL.
2703 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
2705         Support higher-resolution time stamps (Bug#9000).
2707         * calendar/time-date.el (with-decoded-time-value): New arg
2708         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
2709         (encode-time-value): New optional arg PICO.  New type 3.
2710         (time-to-seconds) [!float-time]: Support the new picoseconds
2711         component if it's used.
2712         (seconds-to-time, time-subtract, time-add):
2713         Support ps-resolution time stamps as well.
2715         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
2716         (timerp): Timer vectors now have length 9, not 8.
2717         (timer--time): Support new-style (4-part) time stamps.
2718         (timer-next-integral-multiple-of-time): Time stamps now have
2719         picosecond resolution, so take a bit more care about rounding.
2720         (timer-relative-time, timer-inc-time): New optional arg psecs.
2721         (timer-set-time-with-usecs): Set psecs to 0.
2722         (timer--activate): Check psecs component, too.
2724         * proced.el (proced-time-lessp): Support ps-resolution stamps.
2726 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2728         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
2729         Move the non-essential binding to the post/pre-command-hook where it is
2730         more obviously correct.
2732         * subr.el (read-passwd): Don't use a history at all.
2733         * savehist.el (savehist-save): Remove password saved accidentally
2734         because of the above bug.
2736 2012-06-22  Bastien Guerry  <bzg@gnu.org>
2738         * files.el (toggle-read-only): Display a message telling whether
2739         the buffer is read-only or not (bug#11726).
2741 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2743         * emacs-lisp/gv.el: New file.
2744         * subr.el (push, pop): Extend to generalized variables.
2745         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
2746         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
2747         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
2748         gv-define-simple-setter, and gv-define-expander.
2749         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
2750         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
2751         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
2752         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
2753         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
2754         gv-letplace.
2755         (cl-defstruct): Don't define setf-method any more.
2756         * emacs-lisp/cl.el (flet): Don't autoload.
2757         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
2758         (define-setf-expander, defsetf, define-modify-macro)
2759         (cl-struct-setf-expander): Move from cl-lib.el.
2760         * emacs-lisp/syntax.el:
2761         * emacs-lisp/ewoc.el:
2762         * emacs-lisp/smie.el:
2763         * emacs-lisp/cconv.el:
2764         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
2765         (timer--time): Use gv-define-simple-setter.
2766         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
2767         to avoid coding-system problems in subr.el.  Adjust all users.
2768         (macroexp--maxsize, macroexp-small-p): New functions.
2769         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
2770         * scroll-bar.el (scroll-bar-mode):
2771         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
2772         (normal-erase-is-backspace-mode): Don't use the `eq' place.
2773         * winner.el (winner-configuration, winner-make-point-alist)
2774         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
2775         * files.el (locate-file-completion-table): Avoid list*.
2777 2012-06-22  Chong Yidong  <cyd@gnu.org>
2779         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
2780         (dired-create-files): Doc fix (Bug#11329).
2781         (dired-do-copy): Doc fix (Bug#11334).
2782         (dired-mark-read-string): Doc fix (Bug#11553).
2784         * dired.el (dired-recursive-copies, dired-recursive-deletes):
2785         Doc fix (Bug#11326).
2786         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
2787         (dired-dwim-target): Doc fix.
2789         * wdired.el (wdired-mode): Doc fix.
2791 2012-06-22  Glenn Morris  <rgm@gnu.org>
2793         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
2794         (pcmpl-rpm-cache-stamp-file): New constant.
2795         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
2796         (pcmpl-rpm-packages): Optionally cache list of packages.
2798         * pcmpl-rpm.el (pcmpl-rpm): New group.
2799         (pcmpl-rpm-query-options): New option.
2800         (pcmpl-rpm-packages): No need to inline it.
2801         Use pcmpl-rpm-query-options.
2803         * calendar/calendar.el (calendar-in-read-only-buffer):
2804         Avoid some needless mode changes.
2806 2012-06-21  Chong Yidong  <cyd@gnu.org>
2808         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
2809         (desktop-path): Remove . from the default value (Bug#10977).
2810         (desktop-read): Use user-emacs-directory if desktop-path is nil.
2812 2012-06-20  Chong Yidong  <cyd@gnu.org>
2814         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2816 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
2818         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2819         (bug#11201).
2821 2012-06-20  Chong Yidong  <cyd@gnu.org>
2823         * term.el (term-window-width): Handle the case of a missing right
2824         fringe (Bug#8837).
2825         (term-check-size): Use window-text-height (Bug#5445).
2826         (term-mode): Use define-derived-mode.  Minor cleanups.
2827         Set font-lock-defaults (Bug#7692).
2828         (term-move-columns, term-insert-char, term-emulate-terminal)
2829         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
2831 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
2833         * net/ange-ftp.el (ange-ftp-get-passwd):
2834         Bind `enable-recursive-minibuffers'.
2835         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2837 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
2839         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2841 2012-06-19  Glenn Morris  <rgm@gnu.org>
2843         * progmodes/python.el (python-mode): Derive from prog-mode.
2845 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
2847         * emulation/edt.el (edt-default-menu-bar-update-buffers)
2848         (edt-user-menu-bar-update-buffers): New functions.
2849         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2851 2012-06-19  Chong Yidong  <cyd@gnu.org>
2853         * subr.el (with-selected-window): Preserve the selected window's
2854         terminal's top-frame (Bug#4702).
2856         * window.el (save-selected-window): Likewise.
2858 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2860         * progmodes/python.el (python-rx-constituents): Move backquote.
2861         (python-skeleton-define, python-define-auxiliary-skeleton):
2862         Use `declare'.
2864 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
2866         * minibuffer.el (read-file-name-default): Revert the patch from
2867         2012-06-17.
2869 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2871         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2872         (pcase--u1, pcase--q1): Don't use apply-partially.
2874 2012-06-18  Glenn Morris  <rgm@gnu.org>
2876         * progmodes/python.el (python-proc, python-buffer)
2877         (python-send-receive, python-send-string): Fix obsolete versions.
2879 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
2881         * window.el (special-display-p): Completely remove stringp
2882         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2884 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
2886         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2888         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2890         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2891         * net/tramp-sh.el (tramp-maybe-open-connection):
2892         Throw if `non-essential' is non-nil.
2894 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
2896         * window.el (special-display-p): Signal an error if BUFFER-NAME
2897         is not a string (Bug#11713).
2899 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
2901         * progmodes/python.el (python-info-beginning-of-backslash):
2902         Rename from python-info-beginning-of-backlash, as a spelling fix.
2904 2012-06-17  Chong Yidong  <cyd@gnu.org>
2906         * term.el (term-emulate-terminal): If term-check-size is called,
2907         move point to the process mark without resetting point (Bug#4635).
2909 2012-06-17  Glenn Morris  <rgm@gnu.org>
2911         * international/mule-cmds.el (mule-menu-keymap)
2912         (set-language-environment, set-locale-environment): Doc tweaks.
2914 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
2916         * cus-face.el (custom-face-attributes): Add wave-style underline
2917         attribute.
2918         * faces.el (set-face-attribute): Update docstring to describe
2919         wave-style underline attribute.
2921 2012-06-16  Chong Yidong  <cyd@gnu.org>
2923         * term/xterm.el (terminal-init-xterm): Discard input before
2924         querying background mode (Bug#10959).
2926 2012-06-16  Stefan Merten  <smerten@oekonux.de>
2928         * textmodes/rst.el: Added and corrected some comments.
2929         (rst-re-alist-def): Improve symbol syntax.
2930         (rst-mode-syntax-table): Correct syntax entries.
2931         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2932         (rst-official-version, rst-official-cvs-rev): Update version
2933         information.
2935 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
2937         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2938         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2940 2012-06-15  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2942         * progmodes/python.el: New python.el merge.
2943         (python-guess-indent): Obsolete var.
2944         (python-indent-guess-indent-offset): New defcustom.
2945         (python-indent): Obsolete var.
2946         (python-indent-offset): New defcustom.
2947         (python-python-command, python-jython-command): Delete var.
2948         (python-shell-interpreter): New defcustom.
2949         (python-pdbtrack-do-tracking-p): Delete var.
2950         (python-pdbtrack-activate): New defcustom.
2951         (python-use-skeletons): Obsolete var.
2952         (python-skeleton-autoinsert): New defcustom.
2953         (inferior-python-filter-regexp, python-continuation-offset)
2954         (python-honour-comment-indentation, python-indent-string-contents)
2955         (python-jython-packages, python-mode-hook)
2956         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2957         (python-shell-prompt-alist)
2958         (python-source-modes): Delete defcustoms.
2959         (python-check-buffer-name, python-eldoc-setup-code)
2960         (python-eldoc-string-code, python-ffap-setup-code)
2961         (python-ffap-string-code, python-fill-comment-function)
2962         (python-fill-decorator-function, python-fill-paren-function)
2963         (python-fill-string-function, python-imenu-include-defun-type)
2964         (python-imenu-make-tree, python-imenu-subtree-root-label)
2965         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2966         (python-shell-compilation-regexp-alist)
2967         (python-shell-completion-module-string-code)
2968         (python-shell-completion-pdb-string-code)
2969         (python-shell-completion-setup-code)
2970         (python-shell-completion-string-code)
2971         (python-shell-enable-font-lock, python-shell-exec-path)
2972         (python-shell-extra-pythonpaths)
2973         (python-shell-internal-buffer-name, python-shell-interpreter-args)
2974         (python-shell-process-environment)
2975         (python-shell-prompt-block-regexp)
2976         (python-shell-prompt-output-regexp)
2977         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2978         (python-shell-send-setup-max-wait, python-shell-setup-codes)
2979         (python-shell-virtualenv-path): New defcustoms.
2980         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2981         (inferior-python-mode-syntax-table, python--prompt-regexp)
2982         (python-buffer, python-command python-python-command)
2983         (python-default-template, python-imports, python-indent-index)
2984         (python-indent-list, python-indent-list-length)
2985         (python-mode-running, python-pdbtrack-is-tracking-p)
2986         (python-preoutput-continuation, python-preoutput-leftover)
2987         (python-preoutput-result, python-preoutput-skip-next-prompt)
2988         (python-prev-dir/file, python-recursing)
2989         (python-saved-check-command, python-version-checked)
2990         (python-which-func-length-limit)
2991         (view-return-to-alist): Delete vars.
2992         (python-check-custom-command, python-dotty-syntax-table)
2993         (python-imenu-index-alist, python-indent-current-level)
2994         (python-indent-dedenters, python-indent-levels)
2995         (python-nav-beginning-of-defun-regexp)
2996         (python-nav-list-defun-positions-cache)
2997         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2998         (python-shell-internal-buffer)
2999         (python-skeleton-available): New vars.
3000         (def-python-skeleton): Delete macro.
3001         (python-skeleton-define): New macro.
3002         (python-define-auxiliary-skeleton, python-rx): New macros.
3003         (python-insert-class): Delete command.
3004         (python-skeleton-class): New command.
3005         (python-insert-def): Delete command.
3006         (python-skeleton-def): New command.
3007         (python-insert-for): Delete command.
3008         (python-skeleton-for): New command.
3009         (python-insert-if): Delete command.
3010         (python-skeleton-if): New command.
3011         (python-insert-try/except, python-insert-try/finally): Delete commands.
3012         (python-skeleton-try): New command.
3013         (python-insert-while): Delete command.
3014         (python-skeleton-while): New command.
3015         (python-backspace): Delete command.
3016         (python-indent-dedent-line-backspace): New command.
3017         (python-electric-colon): Delete command.
3018         (python-indent-electric-colon): New command.
3019         (python-guess-indent): Delete command.
3020         (python-indent-guess-indent-offset): New command.
3021         (python-shift-left): Delete command.
3022         (python-indent-shift-left): New command.
3023         (python-shift-right): Delete command.
3024         (python-indent-shift-right): New command.
3025         (python-find-function): Delete command.
3026         (python-nav-jump-to-defun): New command.
3027         (python-next-statement): Delete command.
3028         (python-nav-forward-sentence): New command.
3029         (python-previous-statement): Delete command.
3030         (python-nav-backward-sentence): New command.
3031         (python-fill-paragraph): Delete command.
3032         (python-fill-paragraph-function): New command.
3033         (python-send-buffer): Delete command.
3034         (python-shell-send-buffer): New command.
3035         (python-send-defun): Delete command.
3036         (python-shell-send-defun): New command.
3037         (python-send-region, python-send-region-and-go): Delete commands.
3038         (python-shell-send-region)
3039         (python-shell-switch-to-shell): New commands.
3040         (python-send-string): Delete command.
3041         (python-shell-send-string): New command.
3042         (python-switch-to-python): Delete command.
3043         (python-shell-switch-to-shell): New command.
3044         (python-describe-symbol): Delete command.
3045         (python-eldoc-at-point): New command.
3046         (python--set-prompt-regexp, python-args-to-list)
3047         (python-after-info-look, python-check-version)
3048         (python-check-comint-prompt, python-find-imports)
3049         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
3050         (python-unload-function, python-expand-template)
3051         (python-maybe-jython, python-preoutput-filter)
3052         (python-pdbtrack-get-source-buffer)
3053         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
3054         (python-pdbtrack-toggle-stack-tracking)
3055         (python-pdbtrack-track-stack-file, python-initial-text)
3056         (python-first-word, python-comment-line-p, python-send-command)
3057         (python-setup-brm, python-sentinel, python-set-proc)
3058         (python-skip-out, python-input-filter, python-outdent-p)
3059         (python-outline-level, python-backslash-continuation-line-p)
3060         (python-end-of-block, python-end-of-statement, python-mark-block)
3061         (python-beginning-of-block, python-beginning-of-statement)
3062         (python-blank-line-p, python-beginning-of-string)
3063         (python-open-block-statement-p): Delete functions.
3064         (python-indent-line, python-indent-line-1): Delete functions.
3065         (python-indent-line): New function.
3066         (python-indentation-levels): Delete function.
3067         (python-indent-calculate-levels): New function.
3068         (python-proc): Delete function.
3069         (python-shell-get-process): New function.
3070         (python-send-receive): Delete function.
3071         (python-shell-send-string-no-output): New function.
3072         (python-module-path): Delete function.
3073         (python-ffap-module-path): New function.
3074         (python-completion-at-point)
3075         (python-symbol-completions): Delete functions.
3076         (python-completion-complete-at-point): New function.
3077         (python-load-file): Delete function.
3078         (python-shell-send-file): New function.
3079         (python-calculate-indentation): Delete function.
3080         (python-indent-calculate-indentation): New function.
3081         (python-skip-comments/blanks): Delete function.
3082         (python-util-forward-comment): New function.
3083         (python-continuation-line-p): Delete function.
3084         (python-info-continuation-line-p): New function.
3085         (python-which-func, python-current-defun): Delete function.
3086         (python-info-current-defun): New function.
3087         (python-beginning-of-defun): Delete function.
3088         (python-nav-beginning-of-defun): New function.
3089         (python-close-block-statement-p)
3090         (python-block-end-p): Delete function.
3091         (python-info-closing-block): New function.
3092         (python-comint-output-filter-function)
3093         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
3094         (python-fill-comment, python-fill-decorator, python-fill-paren)
3095         (python-fill-string, python-imenu-make-element-tree)
3096         (python-imenu-make-tree, python-imenu-tree-assoc)
3097         (python-indent-context, python-indent-dedent-line)
3098         (python-indent-line-function)
3099         (python-indent-post-self-insert-function)
3100         (python-indent-toggle-levels)
3101         (python-info-assignment-continuation-line-p)
3102         (python-info-beginning-of-backlash)
3103         (python-info-block-continuation-line-p)
3104         (python-info-closing-block-message)
3105         (python-info-line-ends-backslash-p)
3106         (python-info-looking-at-beginning-of-defun)
3107         (python-info-ppss-context, python-info-ppss-context-type)
3108         (python-nav-list-defun-positions, python-nav-read-defun)
3109         (python-nav-sentence-end, python-nav-sentence-start)
3110         (python-pdbtrack-comint-output-filter-function)
3111         (python-pdbtrack-set-tracked-buffer)
3112         (python-shell-calculate-exec-path)
3113         (python-shell-calculate-process-environment)
3114         (python-shell-completion--do-completion-at-point)
3115         (python-shell-completion--get-completions)
3116         (python-shell-completion-complete-at-point)
3117         (python-shell-completion-complete-or-indent)
3118         (python-shell-get-or-create-process)
3119         (python-shell-get-process-name)
3120         (python-shell-internal-get-or-create-process)
3121         (python-shell-internal-get-process-name)
3122         (python-shell-internal-send-string, python-shell-make-comint)
3123         (python-shell-parse-command, python-shell-send-setup-code)
3124         (python-skeleton-add-menu-items)
3125         (python-util-clone-local-variables, python-util-position)
3126         (run-python-internal, python-indentation-levels)
3127         (python-nav-beginning-of-defun)
3128         (python-completion-complete-at-point): New functions.
3129         (run-python): Change arguments.  New API requirements.
3131 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3133         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
3134         (bug#11649).
3136         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
3137         (macroexp--expand-all): Use it.
3139         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
3140         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
3141         Use `cl-function' instead.
3143 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
3145         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
3146         Suggested by Stefan Monnier while discussing bug#11657.
3148 2012-06-14  Sam Steingold  <sds@gnu.org>
3150         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
3152 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
3154         * play/doctor.el (doctor-doc): Remove parameter and use
3155         doctor-sent instead of sent.
3156         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
3158 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3160         * files.el: Require cl-lib.
3161         (file-name-non-special): Replace case -> cl-case.
3163         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
3165         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
3166         mapping from #' to function*.
3168 2012-06-13  Chong Yidong  <cyd@gnu.org>
3170         * mouse.el (mouse-drag-track): Do not set the mark if the user
3171         releases the mouse without selecting anything (Bug#11588).
3173 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3175         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
3176         as well (bug#11646).
3178         * loadup.el: Count byte-code functions as well.
3180         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
3181         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
3183         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
3184         (bug#11649).  Add cl-defun and cl-defmacro.
3186 2012-06-13  Drew Adams  <drew.adams@oracle.com>
3188         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3189         Fix last change.
3191 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
3193         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
3194         Otherwise, it blocks in batch mode.
3196 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
3198         * help-mode.el (bookmark-make-record-default): Declare.
3200 2012-06-13  Chong Yidong  <cyd@gnu.org>
3202         * emacs-lisp/package.el (list-packages): Compute a list of
3203         packages that are newly-available since the last list-packages
3204         invocation.
3205         (package-menu--new-package-list): New var.
3206         (package-menu--generate, package-menu--print-info)
3207         (package-menu--status-predicate, package-menu-mark-install):
3208         Handle new status label "new".
3210 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3212         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
3213         conversion to backquotes.
3215 2012-06-12  Chong Yidong  <cyd@gnu.org>
3217         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
3218         Rename from gud-inhibit-global-bindings.
3220         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
3222         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
3223         hook from nxml-glyph-set-hook.
3225         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
3226         declaration.
3228         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
3230         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
3231         Convert to defcustom.
3233 2012-06-12  Drew Adams  <drew.adams@oracle.com>
3235         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
3236         New functions.
3237         (help-mode): Use them.
3239 2012-06-11  Glenn Morris  <rgm@gnu.org>
3241         * progmodes/fortran.el (fortran-font-lock-keywords-3):
3242         Use preprocessor face for directives.
3243         (fortran-directive-re): Doc fix.
3245 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3247         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
3248         conversion to backquotes (bug#11652).
3250         Fix compiler-expansion of CL's cXXr functions (bug#11673).
3251         * emacs-lisp/cl-lib.el (cl--defalias): New function.
3252         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
3253         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
3254         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
3255         (cl-ninth, cl-tenth): Mark them as inlinable.
3256         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
3257         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
3258         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
3259         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
3260         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
3261         (cl-list*, cl-adjoin): Don't put an autoload manually.
3262         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
3263         (cl--compiler-macro-list*): Add autoload cookie.
3264         (cl--compiler-macro-cXXr): New function.
3266         * help-fns.el (help-fns--compiler-macro): New function extracted from
3267         describe-function-1; follow aliases and use `compiler-macro' property.
3268         (describe-function-1): Use it.
3270 2012-06-11  Chong Yidong  <cyd@gnu.org>
3272         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
3273         is uninstalled, if imagemagick is installed.
3275 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3277         * emacs-lisp/cl-lib.el: Use lexical-binding.
3278         (cl-map-extents, cl-maclisp-member): Remove.
3279         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
3280         (cl--set-substring, cl--block-wrapper, cl--block-throw)
3281         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
3282         * emacs-lisp/cl-extra.el: Use lexical-binding.
3283         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
3284         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
3285         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
3286         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
3287         * emacs-lisp/cl-seq.el: Use lexical-binding.
3288         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
3289         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
3290         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
3291         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
3292         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
3293         CL's internals.
3295 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
3297         Sync with Tramp 2.2.6-pre.
3299         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
3300         `print-length' and `print-level' to nil, in order to avoid
3301         truncation.  Reported by Christopher Schmidt
3302         <christopher@ristopher.com>.
3304         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
3306         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
3307         New defmacro.
3308         (tramp-compat-copy-directory): Add optional argument
3309         COPY-CONTENTS.  It is not handled yet.
3311         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
3312         (tramp-ftp-file-name-p): Simplify.
3314         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
3315         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
3316         connection vector.
3318         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
3319         (tramp-methods): Do not use `tramp-password-end-of-line'.
3320         (tramp-completion-function-alist-putty): Handle UNIX case.
3321         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
3322         (tramp-do-file-attributes-with-stat)
3323         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
3324         gid as real numbers.  They could run out of integer range on cygwin.
3325         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
3326         (tramp-sh-handle-expand-file-name): Handle hops.
3327         (tramp-open-connection-setup-interactive-shell):
3328         Use `tramp-cleanup'.  Move check for busyboxes ...
3329         (tramp-find-shell): ... here.  Simplify implementation.
3330         Set "remote-shell" property also for alternative shells.
3331         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
3332         If failing, a regular file would be written otherwise.
3333         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
3334         (tramp-find-inline-encoding): Cache the coding commands in the
3335         process cache.  Apply test command on the remote side, if defined.
3336         (tramp-find-inline-compress): Cache the compress commands in the
3337         process cache.
3338         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
3339         when requested.  Handle hops.
3340         (tramp-current-connection): New defvar.
3341         (tramp-maybe-open-connection): Use `tramp-cleanup'.
3342         Throw `suppress', if there was a failed connection shortly before.
3343         Handle user interrupt.  (Bug#10187)
3344         (tramp-get-inline-compress, tramp-get-inline-coding):
3345         Read connection properties from the process cache.
3347         * net/tramp-smb.el (tramp-smb-server-version)
3348         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
3349         New defconsts.
3350         (tramp-smb-prompt): Extend for powershell prompt.
3351         (tramp-smb-file-name-handler-alist): Add handlers for
3352         `process-file', `shell-command' and `start-file-process'.
3353         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
3354         (tramp-smb-winexe-shell-command-switch): New defcustoms.
3355         (tramp-smb-file-name-p): Simplify.
3356         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
3357         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
3358         (tramp-smb-shell-quote-argument): New defuns.
3359         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
3360         Implement using "tar".  By this, time-stamps are preserved.
3361         (tramp-smb-handle-copy-file): Handle also the case of directories.
3362         (tramp-smb-do-file-attributes-with-stat)
3363         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
3364         Use `tramp-get-connection-buffer').
3365         (tramp-smb-handle-rename-file): Use "rename", when source and
3366         target are on the same share.
3367         (tramp-smb-maybe-open-connection): Handle wrong passwords.
3368         Use `tramp-smb-server-version'.
3369         (tramp-smb-wait-for-output): Remove prompt.
3371         * net/tramp.el (top): Require 'cl.
3372         (tramp-methods, tramp-rsh-end-of-line):
3373         Remove `tramp-password-end-of-line' from docstring.
3374         (tramp-save-ad-hoc-proxies): New defcustom.
3375         (tramp-completion-function-alist): Adapt docstring.
3376         (tramp-default-password-end-of-line): Remove defcustom.
3377         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
3378         (tramp-user-regexp, tramp-file-name-regexp-unified)
3379         (tramp-file-name-regexp-url): Extend regexp by hop separator.
3380         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
3381         (tramp-remote-file-name-spec-regexp): New defconst.
3382         (tramp-file-name-structure): Extend structure for hops.
3383         (tramp-get-method-parameter): Move up.
3384         (tramp-file-name-p, tramp-dissect-file-name)
3385         (with-parsed-tramp-file-name): Handle hops.
3386         (tramp-file-name-hop): New defun.
3387         (tramp-make-tramp-file-name): New optional arg HOP.
3388         (tramp-message-show-progress-reporter-message): New defvar.
3389         (tramp-with-progress-reporter): Use it.  We cannot use
3390         `tramp-message-show-message' here, because this suppresses also
3391         error buffers.
3392         (tramp-error-with-buffer): Suppress buffer view, if
3393         `tramp-message-show-message' is nil.
3394         Use `tramp-get-connection-buffer'.
3395         (tramp-cleanup): New defun.
3396         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
3397         (tramp-file-name-handler): If `debug-on-error' is set, propagate
3398         an error unchanged.
3399         (tramp-completion-handle-file-name-all-completions): Handle hops.
3400         Fix an error when called from ido.
3401         (tramp-completion-dissect-file-name): Use better local variable
3402         name.  Add hop to the vector.
3403         (tramp-handle-insert-file-contents): Use progress-reporter for the
3404         whole scenario.
3405         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
3406         to `t'.
3407         (tramp-check-for-regexp): Simplify search.
3408         (tramp-enter-password): Remove it.  Move implementation ...
3409         (tramp-action-password): ... here.
3410         (tramp-mode-string-to-int, tramp-local-host-p)
3411         (tramp-make-tramp-temp-file, tramp-read-passwd)
3412         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
3413         Set tramp-autoload cookie.
3415         * net/trampver.el: Update release number.
3417 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
3418             Michael Albinus  <michael.albinus@gmx.de>
3420         * net/tramp.el (tramp-set-completion-function): Fix docstring.
3421         (tramp-parse-group, tramp-parse-file)
3422         (tramp-parse-shostkeys-sknownhosts): New defuns.
3423         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
3424         (tramp-parse-shosts-group, tramp-parse-sconfig)
3425         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
3426         (tramp-parse-sknownhosts, tramp-parse-hosts)
3427         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
3428         Use them.
3429         (tramp-parse-passwd-group, tramp-parse-netrc-group)
3430         (tramp-parse-putty-group): Don't narrow.
3431         (tramp-parse-putty): Make a loop.
3432         (tramp-file-name-handler): Catch the `suppress' signal.
3434 2012-06-11  Chong Yidong  <cyd@gnu.org>
3436         * image.el (imagemagick-register-types): Put the ImageMagick entry
3437         at the end of image-type-file-name-regexps.
3439 2012-06-11  Johan BockgĂ¥rd  <bojohan@gnu.org>
3441         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
3442         (pcase, pcase-let*, pcase-dolist): Use them.
3444 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3446         * emacs-lisp/pcase.el (pcase--let*): New function.
3447         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
3448         (pcase--expand): Use macroexp-let².
3450 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3452         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
3453         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
3454         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
3455         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
3456         * emacs-lisp/derived.el: Use pcase instead of `cl'.
3457         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
3459 2012-06-10  Glenn Morris  <rgm@gnu.org>
3461         * mail/rmail.el (rmail-yank-current-message): Leave point at
3462         correct position.  (Bug#11660)
3464 2012-06-10  Chong Yidong  <cyd@gnu.org>
3466         * allout-widgets.el: Fix code header.
3468 2012-06-10  Chong Yidong  <cyd@gnu.org>
3470         * cus-edit.el (customize-changed-options-previous-release):
3471         Bump to 24.1.
3473 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
3475         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
3477 2012-06-09  Chong Yidong  <cyd@gnu.org>
3479         * ebuff-menu.el (electric-buffer-list): Preserve header line.
3481 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
3483         * window.el (special-display-popup-frame): Don't use
3484         window--display-buffer (Bug#11651).
3486 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
3488         Fix parallel builds: make sure loaddefs.el is not being written
3489         while Lisp files are compiled.
3490         (compile): Don't depend on 'mh-autoloads'.
3491         (compile-CMD, compile-SH): Depend on 'autoloads'.
3492         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
3494         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
3496 2012-06-09  Chong Yidong  <cyd@gnu.org>
3498         * face-remap.el (face-remap-add-relative, face-remap-set-base)
3499         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
3500         Doc fixes (Bug#11225).
3502 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3504         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
3505         a function if there's a clear indication that it has a compiler-macro.
3506         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
3507         (macro-declarations-alist): Add arglist to declaration functions.
3508         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
3509         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
3510         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
3511         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
3512         Also add autoload to find the compiler macro.
3513         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
3514         (cl--compiler-macro-member, cl--compiler-macro-assoc)
3515         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
3516         (cl--compiler-macro-get): New functions, replacing calls to
3517         cl-define-compiler-macro.
3518         (cl-typep) [compiler-macro]: Use macroexp-let².
3520 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
3522         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
3523         string properly, fixes Bug#11473.
3525 2012-06-08  Chong Yidong  <cyd@gnu.org>
3527         * faces.el (set-face-attribute): Doc fix.
3528         (modify-face): Don't use :bold and :italic.
3529         (error, warning, success): Tweak definitions.
3531         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
3532         (custom-modified, custom-set, custom-changed, custom-themed)
3533         (custom-saved, custom-button, custom-button-mouse)
3534         (custom-button-pressed, custom-state, custom-comment-tag)
3535         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
3536         (custom-group-subtitle): Use new-style face specs.
3537         (custom-invalid-face, custom-rogue-face, custom-modified-face)
3538         (custom-set-face, custom-changed-face, custom-saved-face)
3539         (custom-button-face, custom-button-pressed-face)
3540         (custom-documentation-face, custom-state-face)
3541         (custom-comment-face, custom-comment-tag-face)
3542         (custom-variable-tag-face, custom-variable-button-face)
3543         (custom-face-tag-face, custom-group-tag-face-1)
3544         (custom-group-tag-face): Remove obsolete face alias.
3546         * epa.el (epa-validity-high, epa-validity-medium)
3547         (epa-validity-low, epa-mark, epa-field-name, epa-string)
3548         (epa-field-name, epa-field-body):
3549         * font-lock.el (font-lock-comment-face, font-lock-string-face)
3550         (font-lock-keyword-face, font-lock-builtin-face)
3551         (font-lock-function-name-face, font-lock-variable-name-face)
3552         (font-lock-type-face, font-lock-constant-face):
3553         * ido.el (ido-first-match, ido-only-match, ido-subdir)
3554         (ido-virtual, ido-indicator, ido-incomplete-regexp):
3555         * speedbar.el (speedbar-button-face, speedbar-file-face)
3556         (speedbar-directory-face, speedbar-tag-face)
3557         (speedbar-selected-face, speedbar-highlight-face)
3558         (speedbar-separator-face):
3559         * whitespace.el (whitespace-newline, whitespace-space)
3560         (whitespace-hspace, whitespace-tab, whitespace-trailing)
3561         (whitespace-line, whitespace-space-before-tab)
3562         (whitespace-space-after-tab, whitespace-indentation)
3563         (whitespace-empty):
3564         * emulation/cua-base.el (cua-global-mark):
3565         * eshell/em-prompt.el (eshell-prompt):
3566         * net/newst-plainview.el (newsticker-new-item-face)
3567         (newsticker-old-item-face, newsticker-immortal-item-face)
3568         (newsticker-obsolete-item-face, newsticker-date-face)
3569         (newsticker-statistics-face, newsticker-default-face):
3570         * net/newst-reader.el (newsticker-feed-face)
3571         (newsticker-extra-face, newsticker-enclosure-face):
3572         * net/newst-treeview.el (newsticker-treeview-face)
3573         (newsticker-treeview-new-face, newsticker-treeview-old-face)
3574         (newsticker-treeview-immortal-face)
3575         (newsticker-treeview-obsolete-face)
3576         (newsticker-treeview-selection-face):
3577         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
3578         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
3579         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
3580         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
3581         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
3582         (nxml-outline-active-indicator, nxml-outline-ellipsis):
3583         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
3584         (mpuz-text):
3585         * progmodes/vera-mode.el (vera-font-lock-number)
3586         (vera-font-lock-function, vera-font-lock-interface):
3587         * textmodes/table.el (table-cell): Use new-style face specs, and
3588         don't use the old :bold and :italic attributes.
3590         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
3591         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
3592         (ebrowse-member-class, ebrowse-progress): Likewise.
3593         (ebrowse-tree-mark-face, ebrowse-root-class-face)
3594         (ebrowse-file-name-face, ebrowse-default-face)
3595         (ebrowse-member-attribute-face, ebrowse-member-class-face)
3596         (ebrowse-progress-face): Remove obsolete faces.
3598         * progmodes/flymake.el (flymake-errline, flymake-warnline):
3599         Inherit from error and warning faces respectively.
3601         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3602         Likewise.
3603         (flyspell-incorrect-face, flyspell-duplicate-face):
3604         Remove obsolete aliases.
3606 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
3608         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3609         Avoid infloop.
3611 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3613         * startup.el (argv, argi): Make lexically scoped.
3614         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
3615         * emacs-lisp/cl-macs.el: Use lexical-binding.
3616         Rename cl-bind-* to cl--bind-*.
3617         * files.el: Don't require `cl' since it doesn't use it.
3618         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
3620 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
3622         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
3623         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
3624         instead of calling external sort utility.
3625         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
3627 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
3629         * descr-text.el (describe-char): Mention how to insert the
3630         character, if the current input method doesn't support it.
3631         See the discussion in this thread for the details:
3632         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
3634 2012-06-08  Sam Steingold  <sds@gnu.org>
3636         * bindings.el (global-map): Bind XF86Forward to next-buffer and
3637         XF86Back to previous-buffer.
3638         (minibuffer-local-map): Bind them to next-history-element and
3639         previous-history-element respectively.
3640         * help-mode.el (help-mode-map): Bind them to help-go-forward and
3641         help-go-back respectively.
3642         * info.el (Info-mode-map): Bind them to Info-history-forward and
3643         Info-history-back respectively.
3644         These are the keys next to Up on the ThinkPad keyboard.
3646 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3648         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
3649         * emacs-lisp/cl-macs.el: Provide itself.
3650         (cl--labels-convert-cache): New var.
3651         (cl--labels-convert): New function.
3652         (cl-flet, cl-labels): New implementation with new semantics, relying on
3653         lexical-binding.
3654         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
3655         (cl-closure-vars, cl--function-convert-cache)
3656         (cl--function-convert): Move from cl-macs.el.
3657         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
3658         rename by removing the "cl-" prefix.
3659         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
3661 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3663         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
3664         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
3665         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
3666         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
3667         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
3668         (cl-hash-table-count): Add old compatibility aliases.
3670         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
3671         Use macroexpand-all-environment instead.
3672         (cl--old-macroexpand): New var.
3673         (cl--sm-macroexpand): New function.
3674         (cl-symbol-macrolet): Use it during macro expansion.
3675         (cl--function-convert-cache): New var.
3676         (cl--function-convert): New function, extracted from
3677         cl-macroexpand-all.
3678         (cl-lexical-let): Use it.
3680         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
3681         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
3682         (cl-member): Remove old alias.
3684         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
3685         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
3686         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
3687         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
3688         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
3689         (cl-macroexpand-cmacs): Remove var.
3690         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
3691         Use macroexpand-all instead.
3693 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3695         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
3696         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
3697         (macroexp-copyable-p): New functions and macros.
3698         * emacs-lisp/edebug.el (edebug-unwrap):
3699         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
3700         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
3701         (pcase--let*): Remove.
3702         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
3703         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
3704         macroexp-const-p instead.
3705         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
3707         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
3708         instead of "cl-" for internal definitions.  Use macroexp-const-p.
3709         (cl-old-bc-file-form): Remove var.
3710         (cl-const-exprs-p): Remove fun.
3711         (cl-labels, cl-macrolet): Use backquote.
3712         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
3713         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
3714         (cl-define-setf-expander): Rename from cl-define-setf-method.
3715         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
3717         * international/mule-cmds.el: Don't require CL.
3718         (view-hello-file): Don't use `letf'.
3720 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3722         * tmm.el (tmm-prompt): Use string-prefix-p.
3723         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
3724         (tmm-add-prompt): Use minibuffer-completion-help.
3725         (tmm-delete-map): Remove.
3727         * subr.el (kbd): Make it its own function.
3729 2012-06-07  Stefan Merten  <smerten@oekonux.de>
3731         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
3732         Silence compiler warnings.  Fix versions.
3733         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
3734         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
3735         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
3736         (rst-package-emacs-version-alist): Correct Emacs version to
3737         represent major merge with upstream.
3738         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
3740 2012-06-06  Glenn Morris  <rgm@gnu.org>
3742         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
3743         Only print environment variables if set.
3745 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3747         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
3748         (macroexp--cons): Rename from maybe-cons.
3749         (macroexp--accumulate): Rename from macroexp-accumulate.
3750         (macroexp--all-forms): Rename from macroexpand-all-forms.
3751         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
3752         (macroexp--expand-all): Rename from macroexpand-all-1.
3754 2012-06-06  Sam Steingold  <sds@gnu.org>
3756         * calendar/calendar.el (calendar-in-read-only-buffer):
3757         Call `special-mode' to enable the standard read-only keybindings.
3759 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3761         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
3762         with "loading" messages (bug#11635).
3764 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
3766         * files.el (enable-remote-dir-locals): New option.
3767         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
3769         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
3770         Ensure, that the temp directory is local.
3772         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
3773         `temporary-file-directory'.
3775         * progmodes/python.el (python-send-region): Ensure, that the
3776         temporary file is created also in the remote case.
3778 2012-06-06  Glenn Morris  <rgm@gnu.org>
3780         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
3781         (vc-rcs-update-changelog): Use it.
3783         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
3785         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
3786         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
3787         (vc-sccs-diff): Replace use of the external vcdiff script.
3789 2012-06-05  Glenn Morris  <rgm@gnu.org>
3791         * ledit.el: Move to obsolete/.
3793 2012-06-05  Sam Steingold  <sds@gnu.org>
3795         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
3796         patch (Bug#11140).
3798 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3800         * emacs-lisp/cust-print.el: Move to obsolete.
3802         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
3803         compiler-macro expansion.
3805         Add native compiler-macro support.
3806         * emacs-lisp/macroexp.el (macroexpand-all-1):
3807         Support compiler-macros directly.  Properly follow aliases and apply
3808         the compiler macros more thoroughly.
3809         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
3810         macroexpand now properly follows aliases.
3811         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3812         (cl-compiler-macroexpand): Use new prop.
3813         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3815         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3817 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
3819         * window.el (get-lru-window, get-mru-window, get-largest-window):
3820         New argument NOT-SELECTED to avoid picking the selected window.
3821         (window--display-buffer-1, window--display-buffer-2): Replace by
3822         new function window--display-buffer
3823         (display-buffer-same-window, display-buffer-reuse-window)
3824         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3825         Use window--display-buffer.
3826         (display-buffer-use-some-window): Remove temporary dedication
3827         hack by calling get-lru-window and get-largest-window with
3828         NOT-SELECTED argument non-nil.  Call window--display-buffer.
3830 2012-06-05  Glenn Morris  <rgm@gnu.org>
3832         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3833         Replace external vcdiff script.
3835 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3837         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3839 2012-06-04  Chong Yidong  <cyd@gnu.org>
3841         * image.el (imagemagick-types-inhibit): Revert last change.
3842         Add INFO and M.
3843         (imagemagick-enabled-types): Remove CIN and EPS*.
3845 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3847         * emacs-lisp/cl-lib.el: Rename from cl.el.
3848         * emacs-lisp/cl.el: New compatibility file.
3849         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3850         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3851         to obey the "cl-" prefix.
3852         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3854 2012-06-03  Glenn Morris  <rgm@gnu.org>
3856         * emacs-lisp/authors.el (authors-aliases): Addition.
3858         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3859         Fix :version.
3861 2012-06-03  Stefan Merten  <smerten@oekonux.de>
3863         * textmodes/rst.el: Add comments.
3864         (rst-transition, rst-adornment): New faces.
3865         (rst-adornment-faces-alist): Make default safe to reevaluate.
3866         Fixes
3867         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3868         Improve customization tags.
3869         (rst-define-level-faces): Clarify meaning.
3871 2012-06-03  Chong Yidong  <cyd@gnu.org>
3873         * progmodes/compile.el (compilation-mode-line-fail)
3874         (compilation-mode-line-run, compilation-mode-line-exit):
3875         New faces.
3876         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3878 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
3880         * progmodes/which-func.el (which-func-update-ediff-windows):
3881         New function.  Use it in ediff-select-hook (Bug#11478).
3883 2012-06-03  Chong Yidong  <cyd@gnu.org>
3885         * bindings.el: Remove explicit help text from format-mode-line.
3886         It is now supplied by mode-line-default-help-echo.
3887         (mode-line-front-space, mode-line-end-spaces)
3888         (mode-line-misc-info): New variables.
3889         (mode-line-modes, mode-line-position): Move the default value to
3890         the variable definition.
3891         (mode-line-default-help-echo): New defcustom.
3892         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3893         (mode-line-modified-help-echo): New functions.
3894         (mode-line-mule-info, mode-line-modified): Use them.
3895         (mode-line-eol-desc, propertized-buffer-identification):
3896         Consistency fixes for help text.
3897         (mode-line-coding-system-map): Allow using mouse-3 to invoke
3898         set-buffer-file-coding-system (Bug#289).
3899         (mode-line-mule-info-help-echo): Update help text.
3901 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3903         * simple.el (execute-extended-command): Set real-this-command
3904         (bug#11506).
3906 2012-06-02  Chong Yidong  <cyd@gnu.org>
3908         Remove incorrect uses of "modeline" in comments, docstrings, and
3909         function/variable names (Bug#10329).
3911         * cus-edit.el (mode-line):
3912         * dframe.el (dframe-mouse-hscroll):
3913         * emacs-lisp/re-builder.el:
3914         * emacs-lisp/easy-mmode.el (define-minor-mode):
3915         * frame.el (set-frame-name):
3916         * help.el (lookup-minor-mode-from-indicator):
3917         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3918         * progmodes/cc-cmds.el (c-toggle-auto-newline)
3919         (c-toggle-hungry-state):
3920         * progmodes/antlr-mode.el (antlr-language-alist):
3921         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3922         * progmodes/vhdl-mode.el (vhdl-mode):
3923         * progmodes/which-func.el (which-func, which-func-cleanup-function):
3924         * term/ns-win.el (ns-face-at-pos):
3925         * term/sup-mouse.el (sup-mouse-report):
3926         * textmodes/flyspell.el (flyspell-mode-line-string):
3927         * textmodes/ispell.el (ispell-highlight-face):
3928         * textmodes/reftex-global.el:
3929         * vc/vc-arch.el (vc-arch-mode-line-string):
3930         * vc/vc-cvs.el (vc-cvs-mode-line-string):
3931         * vc/vc-git.el (vc-git-mode-line-string):
3932         * vc/vc-hooks.el (vc-display-status)
3933         (vc-default-mode-line-string):
3934         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3936         * ansi-color.el (ansi-color-faces-vector): Change default faces.
3938         * dired.el (dired-sort-set-mode-line): Rename from
3939         dired-sort-set-modeline.  All callers changed.
3941         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3942         eshell-status-in-modeline.
3944         * foldout.el (foldout-mode-line-string): Rename from
3945         foldout-modeline-string.  All callers changed.
3946         (foldout-update-mode-line): Rename from foldout-update-modeline.
3948         * subr.el (redraw-modeline): Make into obsolete alias.
3950         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3951         timeclock-modeline-display.  Make old name an alias.
3952         (timeclock-update-mode-line): Likewise.  All callers changed.
3953         (timeclock-mode-line-display): No need to check before using
3954         add-hook.
3955         (timeclock-relative, timeclock-day-over-hook)
3956         (timeclock-use-elapsed, timeclock-mode-string)
3957         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3959         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3960         crisp-mode-modeline-string.
3962         * play/solitaire.el (solitaire-build-mode-line): Rename from
3963         solitaire-build-modeline.  All callers changed.
3965         * play/zone.el (zone-hiding-mode-line): Rename from
3966         zone-hiding-modeline.  All callers changed.
3967         (zone): Remove unusued `modeline-hidden-level' property.
3969         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3970         xscheme-modeline-initialize.  All callers changed.
3972         * strokes.el (strokes-lighter): Rename from
3973         strokes-modeline-string.
3975         * textmodes/sgml-mode.el (html-face-tag-alist)
3976         (html-tag-face-alist): Use mode-line face instead of obsolete
3977         alias modeline.
3979 2012-06-02  Stefan Merten  <smerten@oekonux.de>
3981         * textmodes/rst.el: Always require `cl'.
3982         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
3984 2012-06-02  Chong Yidong  <cyd@gnu.org>
3986         * image.el (imagemagick-enabled-types): Rename from
3987         imagemagick-types-enable.  Add many more types.
3988         (imagemagick-types-inhibit): Change default to nil.
3989         (imagemagick-filter-types): Caller changed.
3991 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3993         * emacs-lisp/cl-macs.el: Use backquotes.
3994         (cl-transform-function-property): Use eval-and-compile rather than
3995         abusing `require'.
3996         (defstruct): Use declare-function instead of with-no-warnings.
3998         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3999         (byte-compile-output-docform): Re-add the print-circle bindings.
4000         (byte-compile-fix-header): Use #$ just because it's shorter.
4001         (byte-compile-output-file-form): Remove defun/defmacro.
4003 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
4005         * simple.el (choose-completion): Remove now obsolete binding for
4006         owindow.
4008 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
4010         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
4011         in order to avoid "Stack overflow in regexp matcher".
4013 2012-05-31  Glenn Morris  <rgm@gnu.org>
4015         * image.el: For clarity, call imagemagick-register-types at
4016         top-level, rather than relying on a custom :initialize.
4017         (imagemagick-types-enable): New option.  (Bug#11557)
4018         (imagemagick-filter-types): New function.  (Bug#7406)
4019         (imagemagick-register-types): Use imagemagick-filter-types.
4020         If disabling support, remove elements altogether rather
4021         than using an impossible regexp.
4022         (imagemagick-types-inhibit): Give it the default init function.
4024 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4026         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
4027         Handle arbitrary file name lengths (Bug#11585).
4029 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
4031         * desktop.el (desktop-read): Clear previous and next buffers for
4032         all windows and bury *Messages* buffer (bug#11556).
4034 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4036         Add `declare' for `defun'.  Align `defmacro's with it.
4037         * emacs-lisp/easy-mmode.el (define-minor-mode)
4038         (define-globalized-minor-mode): Don't autoload the var definitions.
4039         * emacs-lisp/byte-run.el: Use lexical-binding.
4040         (defun-declarations-alist, macro-declarations-alist): New vars.
4041         (defmacro, defun): Use them.
4042         (make-obsolete, define-obsolete-function-alias)
4043         (make-obsolete-variable, define-obsolete-variable-alias):
4044         Use `declare'.
4045         (macro-declaration-function): Mark obsolete.
4046         * emacs-lisp/autoload.el: Use lexical-binding.
4047         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
4049 2012-05-30  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
4051         * textmodes/ispell.el (ispell-with-no-warnings):
4052         Define as a macro.
4053         (ispell-kill-ispell, ispell-change-dictionary):
4054         Use `called-interactively-p' for Emacs instead of obsolete
4055         `interactive-p'.
4057 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4059         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
4060         (macro-declaration-function): Move var from C code.
4061         (macro-declaration-function): Define function with defalias.
4062         * emacs-lisp/macroexp.el (macroexpand-all-1):
4063         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
4064         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
4065         defun/defmacro any more.
4066         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
4067         Provide fallback for unknown arglist.
4068         (byte-compile-arglist-warn): Change calling convention.
4069         (byte-compile-output-file-form): Move print-vars binding.
4070         (byte-compile-output-docform): Simplify accordingly.
4071         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
4072         (byte-compile-defmacro-declaration): Remove.
4073         (byte-compile-file-form-defmumble): Generalize to defalias.
4074         (byte-compile-output-as-comment): Return byte-positions.
4075         Simplify callers accordingly.
4076         (byte-compile-lambda): Use `assert'.
4077         (byte-compile-defun, byte-compile-defmacro): Remove.
4078         (byte-compile-file-form-defalias):
4079         Use byte-compile-file-form-defmumble.
4080         (byte-compile-defalias-warn): Remove.
4082 2012-05-29  Stefan Merten  <smerten@oekonux.de>
4084         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
4085         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
4087         (rst-mode-abbrev-table): Merge definition.
4088         (rst-mode): Make sure `font-lock-defaults' is buffer local.
4089         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
4091 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
4093         * calendar/icalendar.el
4094         (icalendar-export-region): Export UID properly.
4096 2012-05-29  Leo Liu  <sdl.web@gmail.com>
4097         * calendar/icalendar.el (icalendar-import-format):
4098         Add `icalendar-import-format-uid' (Bug#11525).
4099         (icalendar-import-format-uid): New.
4100         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
4101         Export UID.
4103 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4105         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
4106         different alternative patterns.
4107         (pcase-codegen): Be more careful to preserve identity.
4108         (pcase--u1): Don't forget to mark vars as used.
4110         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
4111         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
4112         (byte-compile-from-buffer): ...rather than here.
4114         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
4115         functions from byte-compile-function-environment.
4117 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
4119         * window.el (window-deletable-p): Avoid deleting the root window
4120         of a frame with an active minibuffer.
4122 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
4124         * simple.el (choose-completion): Use quit-window (Bug#11567).
4126 2012-05-29  Chong Yidong  <cyd@gnu.org>
4128         * whitespace.el (whitespace-cleanup): Fix usage of
4129         whitespace-empty-at-bob-regexp (Bug#11492).
4131 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4133         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
4134         revert (Bug#11488).
4136 2012-05-29  Juri Linkov  <juri@jurta.org>
4138         * isearch.el (isearch-mode-map): Bind `M-s _' to
4139         `isearch-toggle-symbol'.  Bind `M-s c' to
4140         `isearch-toggle-case-fold'.
4141         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
4142         (isearch-forward): Add `M-s _' to the docstring.
4143         (isearch-forward-symbol, isearch-toggle-case-fold)
4144         (isearch-symbol-regexp): New functions.  (Bug#11381)
4146 2012-05-29  Juri Linkov  <juri@jurta.org>
4148         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
4149         (isearch-occur, isearch-search-and-update): If `isearch-word' is
4150         a function, call it to get the regexp.
4151         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
4152         property `isearch-message-prefix' instead of the string "word ".
4153         (isearch-search-fun-default): For the case of `isearch-word',
4154         return a lambda that calls re-search-forward/re-search-backward
4155         with a regexp returned by `word-search-regexp' or by the function
4156         in `isearch-word'.
4158 2012-05-29  Juri Linkov  <juri@jurta.org>
4160         * isearch.el (isearch-search-fun-default): New function.
4161         (isearch-search-fun): Move default part to the new function
4162         `isearch-search-fun-default'.
4163         (isearch-search-fun-function): Set the default value to
4164         `isearch-search-fun-default'.  (Bug#11381)
4166         * comint.el (comint-history-isearch-end):
4167         Use `isearch-search-fun-default'.
4168         (comint-history-isearch-search): Use `isearch-search-fun-default'
4169         and remove spacial case for `isearch-word'.
4170         (comint-history-isearch-wrap): Remove spacial case for
4171         `isearch-word'.
4173         * hexl.el (hexl-isearch-search-function):
4174         Use `isearch-search-fun-default'.
4176         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
4177         Use `word-search-regexp' for `isearch-word'.
4179         * misearch.el (multi-isearch-search-fun):
4180         Use `isearch-search-fun-default'.
4182         * simple.el (minibuffer-history-isearch-search):
4183         Use `isearch-search-fun-default' and remove spacial case for
4184         `isearch-word'.
4185         (minibuffer-history-isearch-wrap): Remove spacial case for
4186         `isearch-word'.
4188         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
4189         Remove spacial case for `isearch-word'.
4190         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
4192 2012-05-28  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
4194         Decrease XEmacs incompatibilities.
4195         * textmodes/flyspell.el (flyspell-check-pre-word-p):
4196         Use `string-match'.
4197         (flyspell-delete-region-overlays): Use alternative definition for
4198         XEmacs.
4199         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
4200         (flyspell-word): Use `process-kill-without-query' if XEmacs.
4201         (flyspell-mode-on): Use `interactive-p' if XEmacs.
4202         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
4203         `define-obsolete-face-alias' under XEmacs, but old method.
4205         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
4206         `with-no-warnings' definition or Emacs alias.
4207         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
4208         (ispell-word): Do not use `region-p' if XEmacs.
4210 2012-05-28  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
4212         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
4213         Check for `ispell-dictionary-base-alist' instead of full
4214         `ispell-dictionary-alist'.
4215         (ispell-init-process): Show spellchecker when starting new Ispell
4216         process.
4218 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4220         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
4221         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
4223 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
4225         * version.el (motif-version-string, gtk-version-string)
4226         (ns-version-string): Declare.
4228 2012-05-27  Juri Linkov  <juri@jurta.org>
4230         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
4231         after the `eval-defun-1' specialcaseing
4232         like in `edebug-eval-defun' (bug#10181).
4234         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
4235         like in `eval-defun-1'.
4237 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
4239         * mail/sendmail.el (mail-yank-region):
4240         Recognize rmail-yank-current-message in addition to insert-buffer.
4241         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
4242         a *mail* buffer created through rmail-start-mail with sendmail as
4243         mail-user-agent.
4245 2012-05-27  Chong Yidong  <cyd@gnu.org>
4247         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
4248         Default to 256 (Bug#11267).
4250         * help.el (describe-mode): Doc fix.
4252 2012-05-26  Glenn Morris  <rgm@gnu.org>
4254         * w32-fns.el (w32-init-info): Remove.
4255         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
4257         * info.el (info-initialize): For self-contained NS builds, put the
4258         included info/ directory at the front.  (Bug#2791)
4260         * paths.el (Info-default-directory-list): Make it a defcustom,
4261         mainly so that we can use custom-initialize-delay.
4263 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4265         * subr.el (buffer-has-markers-at): Mark obsolete.
4267         * subr.el (lambda): Use declare.
4269         * emacs-lisp/lisp-mode.el (lambda):
4270         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
4272 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4274         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
4276 2012-05-26  Glenn Morris  <rgm@gnu.org>
4278         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
4280 2012-05-25  Glenn Morris  <rgm@gnu.org>
4282         * paths.el: Remove no-byte-compile.
4283         * loadup.el: No need to load paths.el uncompiled.
4285         * image.el (imagemagick-types-inhibit): Doc fix.
4287         * version.el: Remove no-byte-compile and associated formatting.
4288         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
4289         is ancient code from when there was an "inc-vers.el".
4291 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
4293         * progmodes/gdb-mi.el: Minor style changes.
4294         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
4295         Turn into minor modes.
4296         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
4297         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
4298         (gdb-shell): Remove unneeded let-binding.
4299         (gdb-get-many-fields): Eliminate O(n²) behavior.
4301 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
4303         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
4304         platforms that don't link in fontset.c.
4306 2012-05-25  Juri Linkov  <juri@jurta.org>
4308         Use the same diff color scheme as in modern VCSes (bug#10181).
4310         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
4311         to avoid confusion with `diff-added' that now uses green colors.
4312         (diff-removed): Use shades of red.
4313         (diff-added): Use shades of green.
4314         (diff-changed): Leave just the yellow color.
4315         (diff-use-changed-face): New variable.
4316         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
4317         how to highlight context diff changes.
4318         (diff-refine-change): Use shades of yellow.
4319         (diff-refine-removed): New face that uses shades of red.
4320         (diff-refine-added): New face that uses shades of green.
4321         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
4322         `diff-refine-removed' in the call to `smerge-refine-subst'
4323         depending on the value of `diff-use-changed-face'.
4325         * vc/smerge-mode.el (smerge-mine): Use shades of red.
4326         (smerge-other): Use shades of green.
4327         (smerge-base): Use shades of yellow.
4328         (smerge-refined-change): Empty face.
4329         (smerge-refined-removed): New face that uses shades of red.
4330         (smerge-refined-added): New face that uses shades of green.
4331         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
4332         args `props-r' and `props-a', and use them.  Doc fix.
4333         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
4334         on its value use different faces `smerge-refined-change',
4335         `smerge-refined-removed', `smerge-refined-added' in the call to
4336         `smerge-refine-subst'.
4338         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
4339         Add face condition `min-colors 88' with shades of red.
4340         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
4341         `min-colors 88' with shades of green.
4342         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
4343         `min-colors 88' with shades of yellow.
4345 2012-05-24  Glenn Morris  <rgm@gnu.org>
4347         * paths.el (prune-directory-list, remote-shell-program): Move to...
4348         * files.el (prune-directory-list, remote-shell-program): ...here.
4349         For the latter, delay initialization, prefer ssh, just search PATH.
4351         * paths.el (term-file-prefix): Move to faces.el (the only user).
4352         * faces.el (term-file-prefix): Move here, make it a defcustom.
4354         * paths.el (news-directory, news-path, news-inews-program):
4355         Move to gnus/nnspool.el.
4357         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
4359         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
4360         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
4361         Make the latter a defcustom, with a delayed initialization.
4363         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
4364         These were deleted from Gnus itself late 2010.
4366 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
4368         * progmodes/which-func.el (which-func-ff-hook):
4369         Check against user-error, not error.
4371         * emacs-lisp/edebug.el (top): Do not load or set up loading of
4372         cl-specs.el, which no longer exists.
4374 2012-05-22  Glenn Morris  <rgm@gnu.org>
4376         * info.el (info-emacs-bug): New command.
4377         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
4378         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
4380 2012-05-21  Glenn Morris  <rgm@gnu.org>
4382         * makefile.w32-in (update-subdirs-SH):
4383         * Makefile.in (update-subdirs): Update for moved update-subdirs.
4385 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4387         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
4389         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4390         Simplify Maven regexp, and make sure the file can't start with a space
4391         (bug#11517).
4393 2012-05-21  Glenn Morris  <rgm@gnu.org>
4395         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
4396         Scrap superfluous subshells.
4398 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4400         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
4401         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
4403 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
4405         * calc/calc.el (calc-ensure-consistent-units): New variable.
4407         * calc/calc-units.el (math-consistent-units-p)
4408         (math-check-unit-consistency): New functions.
4409         (calc-quick-units, calc-convert-units):
4410         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
4411         is non-nil.
4412         (calc-extract-units): Fix typo.
4414 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4416         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
4418         * textmodes/flyspell.el: Commenting style, plus code simplifications.
4419         (flyspell-default-deplacement-commands): Don't spell check after
4420         repeated window/frame switches (e.g. triggered by mouse-movement).
4421         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
4422         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
4423         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
4424         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
4425         Remove unused vars.
4426         (flyspell-get-casechars, flyspell-get-not-casechars):
4427         Simplify; Don't bother removing a ] just to add it back.
4428         * textmodes/ispell.el (ispell-program-name): Use executable-find.
4430 2012-05-18  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
4432         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
4433         New functions.
4434         (math-function-table): Add support for more C functions.
4436 2012-05-18  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
4438         * textmodes/flyspell.el (flyspell-check-pre-word-p)
4439         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4440         Protect delay handling for otherchars against empty otherchars.
4442 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4444         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
4445         their respective macro declarations.
4446         * skeleton.el (define-skeleton):
4447         * progmodes/compile.el (define-compilation-mode):
4448         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
4449         (define-ibuffer-filter):
4450         * emacs-lisp/generic.el (define-generic-mode):
4451         * emacs-lisp/easy-mmode.el (define-minor-mode)
4452         (define-globalized-minor-mode):
4453         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
4454         * emacs-lisp/byte-run.el (defsubst):
4455         * custom.el (deftheme): Add doc-string metadata.
4457 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4459         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
4461 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4463         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
4465         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
4466         * emacs-lisp/cl-macs.el: Idem.
4467         * emacs-lisp/cl-specs.el: Remove.
4469 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4471         Minor renaming of internal CL functions and variables.
4472         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
4473         (cl--position): Rename from cl-position.
4474         (cl--delete-duplicates): Rename from cl-delete-duplicates.
4475         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
4476         (cl--random-state): Rename from *random-state*.
4478 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4480         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
4481         parens around the arg list (bug#11499).
4483 2012-05-17  Juri Linkov  <juri@jurta.org>
4485         * isearch.el (word-search-regexp, word-search-backward)
4486         (word-search-forward, word-search-backward-lax)
4487         (word-search-forward-lax): Move functions from search.c
4488         (bug#10145, bug#11381).
4490 2012-05-16  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
4492         * textmodes/flyspell.el (flyspell-check-pre-word-p)
4493         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
4494         Delay for otherchars as for normal word components.
4496 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4498         * minibuffer.el (completion--sifn-requote): Fix last change.
4499         (minibuffer-local-must-match-filename-map):
4500         Move define-obsolete-variable-alias before its var.
4502 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4504         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
4506         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
4507         behavior.
4508         (completion--string-equal-p): New function.
4509         (completion--twq-all): Use it to get better assertion failure data.
4511         Only handle ".." and '..' quoting in shell-mode (bug#11466).
4512         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
4513         (shell--requote-argument): New functions.
4514         (shell-completion-vars): Use them.
4515         (shell--parse-pcomplete-arguments): Rename from
4516         shell-parse-pcomplete-arguments.
4517         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
4518         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
4519         Obey comint-file-name-quote-list.
4521         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
4522         (smie-indent-keyword): Use it.
4524 2012-05-14  Stefan Merten  <smerten@oekonux.de>
4526         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
4528 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4530         * net/rlogin.el (rlogin-mode-map): Fix last change.
4532 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
4534         * mail/smtpmail.el (smtpmail-send-command): Send the command and
4535         the following \r\n using a single `process-send-string', since the
4536         Lotus SMTP server refuses to accept any commands if they are sent
4537         with two `process-send-string's (Bug#11444).
4539 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4541         * shell.el (shell-parse-pcomplete-arguments):
4542         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
4544 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
4546         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
4547         (image-transform-scale, image-transform-right-angle-fudge): New vars.
4548         (image-transform-width, image-transform-fit-width): New functions.
4549         (image-transform-properties): Use them.
4550         (image-transform-check-size): New function.
4551         (image-toggle-display-image): Use it (for testing).
4552         (image-transform-set-rotation): Reduce angle mod 360.
4553         Delete obsolete comment.
4555 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
4557         * image-mode.el: Fix scaling (bug#11399).
4558         (image-transform-resize): Doc fix.
4559         (image-transform-properties): Default scale is 1 and height should
4560         be an integer.
4562 2012-05-13  Johan BockgĂ¥rd  <bojohan@gnu.org>
4564         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
4565         than hard-coding `car', to fix misbehavior when moving forward.
4567 2012-05-13  Chong Yidong  <cyd@gnu.org>
4569         * emacs-lisp/tabulated-list.el (tabulated-list-format)
4570         (tabulated-list-entries, tabulated-list-padding)
4571         (tabulated-list-sort-key): Make permanent-local.
4573         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
4574         (electric-buffer-list): Put electric buffer menu
4575         command descriptions in this docstring, instead of the docstring
4576         of electric-buffer-menu-mode.  Code cleanups.
4577         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
4578         Electric-buffer-menu-mode.
4579         (electric-buffer-update-highlight): Minor code cleanup.
4581 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
4583         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
4584         (Bug#11447)
4586 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4588         Move define-obsolete-variable-alias before the var's definition.
4589         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
4590         * tooltip.el (tooltip-hook):
4591         * textmodes/reftex-toc.el (reftex-toc-map):
4592         * textmodes/reftex-sel.el (reftex-select-label-map)
4593         (reftex-select-bib-map):
4594         * textmodes/reftex-index.el (reftex-index-map)
4595         (reftex-index-phrases-map):
4596         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
4597         * progmodes/meta-mode.el (meta-mode-map):
4598         * novice.el (disabled-command-hook):
4599         * loadhist.el (unload-hook-features-list):
4600         * frame.el (blink-cursor):
4601         * files.el (find-file-not-found-hooks, write-file-hooks)
4602         (write-contents-hooks):
4603         * emulation/tpu-edt.el (GOLD-map):
4604         * emacs-lock.el (emacs-lock-from-exiting):
4605         * emacs-lisp/generic.el (generic-font-lock-defaults):
4606         * emacs-lisp/chart.el (chart-map):
4607         * dos-fns.el (register-name-alist):
4608         * dired-x.el (dired-omit-files-p):
4609         * desktop.el (desktop-enable):
4610         * cus-edit.el (custom-mode-hook):
4611         * buff-menu.el (buffer-menu-mode-hook):
4612         * bookmark.el (bookmark-read-annotation-text-func)
4613         (bookmark-exit-hooks):
4614         * allout.el (allout-mode-deactivate-hook)
4615         (allout-exposure-change-hook, allout-structure-added-hook)
4616         (allout-structure-deleted-hook, allout-structure-shifted-hook):
4617         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
4618         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
4619         comes before the corresponding variable's definition.
4621 2012-05-12  Chong Yidong  <cyd@gnu.org>
4623         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
4624         (Buffer-menu-mouse-select): Restore function (Bug#11459).
4625         (Buffer-menu-mode-map): Bind it.
4626         (Buffer-menu--pretty-name): Add a mouse-face property.
4628 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4630         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
4631         (prolog-upper-case-string, prolog-lower-case-string)
4632         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
4633         (prolog-use-smie, prolog-smie-grammar): New vars.
4634         (prolog-smie-forward-token, prolog-smie-backward-token)
4635         (prolog-smie-rules): New funs.
4636         (prolog-comment-indent): Remove.
4637         (prolog-mode-variables): Use default comment indentation instead.
4638         Setup SMIE.
4639         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
4640         (prolog-mode): Don't call them any more.
4641         (prolog-electric-colon, prolog-electric-dash)
4642         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
4644         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
4646         * minibuffer.el (completion--twq-all): Again, allow case differences.
4648         * term.el: Move keymap initialization code to be more idiomatic.
4649         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
4650         (term-terminal-menu): Move initialization into declaration.
4651         (term-escape-char): Let the user set it in her .emacs.
4653         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
4654         Provide SMIE-based indentation (not enabled by default yet).
4655         (sh-mode-map): Don't bind electric keys.
4656         Use electric-pair-mode instead of skeleton-pair.
4657         (sh-assignment-regexp): Fit within 80 columns.
4658         (sh-indent-supported): Specify actual shell name instead of boolean.
4659         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
4660         (sh-maybe-here-document): Use it.  Make obsolete.
4661         (sh-electric-here-document-mode) New minor mode.
4662         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
4663         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
4664         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
4665         (sh-smie-rc-grammar, sh-use-smie): New vars.
4666         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
4667         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
4668         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
4669         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
4670         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
4671         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
4672         (sh-set-shell): Use smie-setup if requested.
4674         * term.el (term-set-escape-char): Properly set term-escape-char.
4675         See http://stackoverflow.com/questions/10524656.
4677 2012-05-10  Chong Yidong  <cyd@gnu.org>
4679         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
4680         Use url-generic-parse-url, and handle host names and Windows
4681         filenames properly.
4682         (ffap-url-unwrap-remote): Use url-generic-parse-url.
4683         (ffap-url-unwrap-remote): Accept list values, specifying a list of
4684         URL schemes to work on.
4685         (ffap--toggle-read-only): New function.
4686         (ffap-read-only, ffap-read-only-other-window)
4687         (ffap-read-only-other-frame): Use it.
4688         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
4689         necessary for ffap-url-unwrap-remote.
4691 2012-05-10  Dave Abrahams  <dave@boostpro.com>
4693         * cus-start.el (create-lockfiles): Add it.
4695 2012-05-09  Chong Yidong  <cyd@gnu.org>
4697         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
4698         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
4700 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4702         * shell.el (shell-completion-vars): Fix last change (bug#11348).
4704 2012-05-09  Chong Yidong  <cyd@gnu.org>
4706         * ansi-color.el (ansi-color-process-output): Check for validity of
4707         comint-last-output-start before using it.  This avoids a bad
4708         interaction with gdb-mi's input/output buffer.
4710 2012-05-09  Glenn Morris  <rgm@gnu.org>
4712         * files.el (dir-locals-read-from-file):
4713         Mention dir-locals in any error message.
4715 2012-05-09  Chong Yidong  <cyd@gnu.org>
4717         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
4718         package (Bug#11410).
4720         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
4721         variables into description.
4723 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4725         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
4726         shell-delimiter-argument-list (bug#11348).
4727         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
4729 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
4731         * textmodes/rst.el: Silence byte-compiler warnings.
4732         (rst-re-alist, rst-reset-section-caches): Move around.
4733         (rst-re): Use `characterp', not `char-valid-p'.
4734         (font-lock-beg, font-lock-end): Declare.
4736         * progmodes/idlw-shell.el (specs): Remove reference to deleted
4737         variable `idlwave-shell-activate-alt-keybindings' and simplify.
4739         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
4741 2012-05-08  Glenn Morris  <rgm@gnu.org>
4743         * files.el (auto-mode-alist): Treat ".make" like ".mk".
4745 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4747         * vc/log-edit.el: Add GNU coding standards highlighting.
4748         (log-edit-font-lock-gnu-style)
4749         (log-edit-font-lock-gnu-keywords): New vars.
4750         (log-edit-font-lock-keywords): New fun.
4751         (log-edit-mode): Don't fold case in font-lock.
4752         (log-edit-font-lock-keywords): Do not assume case-folding.
4754         * imenu.el: Misc cleanup.  Make docstrings out of comments.
4755         Use lexical-binding.
4756         (imenu--index-alist, imenu--last-menubar-index-alist)
4757         (imenu-menubar-modified-tick): Use defvar-local.
4758         (imenu--split-menu): Remove unused var.
4759         (imenu--cleanup-seen): Declare as global.
4760         (imenu--cleanup): Use dolist.
4762         * subr.el (defvar-local): Add debug spec and doc-string position.
4764 2012-05-08  Glenn Morris  <rgm@gnu.org>
4766         * language/burmese.el, language/cham.el, language/czech.el:
4767         * language/english.el, language/georgian.el, language/greek.el:
4768         * language/japanese.el, language/khmer.el, language/korean.el:
4769         * language/lao.el, language/misc-lang.el, language/romanian.el:
4770         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
4771         * language/thai.el, language/utf-8-lang.el:
4772         Remove no-byte-compile setting.
4774         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
4776 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
4778         * progmodes/make-mode.el (makefile-browse):
4779         Remove unnecessary interactive.  (Bug#11324)
4781 2012-05-07  Glenn Morris  <rgm@gnu.org>
4783         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
4785         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
4787 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4789         * loadup.el: Preload newcomment.el.
4790         * newcomment.el: Move autoload-only code to toplevel.
4792         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
4793         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4794         Handle new :right-align column property.
4795         (tabulated-list-print-col): Idem, plus use `display' text-property to
4796         try and preserve alignment for variable pitch fonts.
4798 2012-05-07  Chong Yidong  <cyd@gnu.org>
4800         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
4801         (tabulated-list-use-header-line): New var.
4802         (tabulated-list-init-header): Use it.
4803         (tabulated-list-print-fake-header): New function.
4804         (tabulated-list-print): Use it.
4805         (tabulated-list-sort-button-map): Add non-header-line commands.
4806         (tabulated-list-init-header): Add column name property to basic
4807         labels as well.
4808         (tabulated-list-col-sort): Handle non-header-line button case.
4809         (tabulated-list--sort-by-column-name): Fix a corner case.
4811         * buff-menu.el (list-buffers--refresh):
4812         Handle Buffer-menu-use-header-line.
4814 2012-05-06  Chong Yidong  <cyd@gnu.org>
4816         * buff-menu.el: Convert to Tabulated List mode.
4817         (Buffer-menu-buffer+size-width): Make obsolete.
4818         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4819         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4820         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
4821         documentation into docstring of buffer-menu.
4822         (Buffer-menu-toggle-files-only): Add an informative message.
4823         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4824         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4825         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4826         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4827         (Buffer-menu-execute, Buffer-menu-select)
4828         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4829         (Buffer-menu-bury): Use Tabulated List machinery.
4830         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4831         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
4832         Delete.
4833         (list-buffers--refresh): New function.
4834         (list-buffers-noselect): Use it.
4835         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4836         (Buffer-menu--pretty-file-name): New helper functions.
4838         * loadup.el: Preload tabulated-list.
4840         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4841         tabulated-list-sort-column.
4842         (tabulated-list-init-header): Add the initial aligning space even
4843         if tabulated-list-padding is zero.
4845 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
4847         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4848         whose cdr is not a cons cell correctly (bug#11038).
4850 2012-05-06  Chong Yidong  <cyd@gnu.org>
4852         * emacs-lisp/tabulated-list.el (tabulated-list-format):
4853         Accept additional plist in column descriptors.
4854         (tabulated-list-init-header): Obey it.
4855         (tabulated-list-get-entry): New function.
4856         (tabulated-list-put-tag): Use it.  Use string-width instead of
4857         length.
4858         (tabulated-list--column-number): New function.
4859         (tabulated-list-print): Use it.
4860         (tabulated-list-print-col): New function.
4861         Set `tabulated-list-column-name' property on each column's text.
4862         (tabulated-list-print-entry): Use it.
4863         (tabulated-list-delete-entry, tabulated-list-set-col):
4864         New functions.
4865         (tabulated-list-sort-column): New command (Bug#11337).
4867         * buff-menu.el (list-buffers): Move C-x C-b binding from
4868         buff-menu.el to bindings.el.
4870         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4871         :advertised-binding feature.
4873 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
4875         * progmodes/compile.el (compilation-internal-error-properties):
4876         Calculate start position correctly when end-col is set but
4877         end-line is not (Bug#11382).
4879 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
4881         * man.el (Man-unindent): Use text-property-default-nonsticky to
4882         prevent untabify from inheriting face properties (Bug#11408).
4884 2012-05-05  Stefan Merten  <smerten@oekonux.de>
4886         * textmodes/rst.el: Major merge with upstream development up to
4887         Docutils SVN r7399 / rst.el V1.2.1.
4889         Clarify maintainership and authors.
4891         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4892         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4893         (rst-official-version, rst-official-cvs-rev, rst-version)
4894         (rst-package-emacs-version-alist): New functions and variables
4895         for version information.
4897         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4898         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4899         (rst-mode-syntax-table, rst-mode): New and corrected functions
4900         and variables representing reStructuredText features.
4902         (rst-re): New function for reStructuredText regexes.  Use in
4903         many places.
4905         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4906         (rst-mode-map): Rebind keys.
4908         (rst-mode-lazy, rst-font-lock-keywords)
4909         (rst-font-lock-extend-region)
4910         (rst-font-lock-extend-region-internal)
4911         (rst-font-lock-extend-region-extend)
4912         (rst-font-lock-find-unindented-line-limit)
4913         (rst-font-lock-find-unindented-line-match)
4914         (rst-adornment-level, rst-font-lock-adornment-level)
4915         (rst-font-lock-adornment-match)
4916         (rst-font-lock-handle-adornment-pre-match-form)
4917         (rst-font-lock-handle-adornment-matcher): Major revision of
4918         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
4920         (rst-preferred-adornments, rst-adjust-hook)
4921         (rst-new-adornment-down, rst-preferred-bullets)
4922         (rst-preferred-bullets, rst-indent, rst-indent-width)
4923         (rst-indent-field, rst-indent-literal-normal)
4924         (rst-indent-literal-minimized, rst-indent-comment): Change,
4925         extend and improve customization.
4927         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4928         (rst-normalize-cursor-position, rst-get-decoration)
4929         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4930         (rst-rstrip, rst-toc-insert-find-delete-contents)
4931         (rst-shift-fill-region, rst-compute-bullet-tabs)
4932         (rst-debug-print-tabs, rst-debug-mark-found)
4933         (rst-shift-region-guts, rst-shift-region-right)
4934         (rst-shift-region-left, rst-use-char-classes)
4935         (rst-font-lock-keywords-function)
4936         (rst-font-lock-indentation-point)
4937         (rst-font-lock-find-unindented-line-begin)
4938         (rst-font-lock-find-unindented-line-end)
4939         (rst-font-lock-find-unindented-line)
4940         (rst-font-lock-adornment-point, rst-font-lock-level)
4941         (rst-adornment-level-alist): Remove functions and variables.
4943         (rst-compare-adornments, rst-get-adornment-match)
4944         (rst-suggest-new-adornment, rst-get-adornments-around)
4945         (rst-adornment-complete-p, rst-get-next-adornment)
4946         (rst-adjust-adornment, rst-display-adornments-hierarchy)
4947         (rst-straighten-adornments): Standardize function names to
4948         use "adornment" instead of "decoration".  Correct callers.
4949         Similar standardizing in many places.
4951         (rst-update-section, rst-adjust, rst-promote-region)
4952         (rst-enumerate-region, rst-bullet-list-region)
4953         (rst-repeat-last-character): Correct use of `interactive'.
4955         (rst-classify-adornment, rst-find-all-adornments)
4956         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4957         (rst-find-leftmost-column, rst-repeat-last-character):
4958         Refactor functions.
4960         (rst-find-title-line, rst-reset-section-caches)
4961         (rst-get-adornments-around, rst-adjust-adornment-work)
4962         (rst-arabic-to-roman, rst-roman-to-arabic)
4963         (rst-insert-list-pos, rst-insert-list-new-item)
4964         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4965         New functions.
4967         (rst-all-sections, rst-section-hierarchy)
4968         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4969         New variables.
4971         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4972         configuration instead of only buffer.  Change where necessary.
4974         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4975         (rst-shift-region, rst-adaptive-fill): New functions for
4976         indentation and filling.
4978         (rst-comment-line-break, rst-comment-indent)
4979         (rst-comment-insert-comment, rst-comment-region)
4980         (rst-uncomment-region): New functions for handling comments.
4982         (rst-compile): Quote shell arguments.
4984         (rst-compile-pdf-preview, rst-compile-slides-preview):
4985         Delete temporary files after use.
4987 2012-05-05  Glenn Morris  <rgm@gnu.org>
4989         * calendar/cal-html.el: Optionally include holidays in the output.
4990         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4991         (cal-html-holidays): New option.
4992         (cal-html-css-default): Add holiday entry.
4993         (holiday-in-range): Autoload it.
4994         (cal-html-htmlify-entry): Add optional class argument.
4995         (cal-html-htmlify-list): Add optional holidays argument.
4996         (cal-html-insert-agenda-days): Include holidays in the output.
4997         (cal-html-one-month): Maybe include holidays.
4999         * calendar/holidays.el (holiday-in-range):
5000         Move here from cal-tex-list-holidays.
5001         * calendar/cal-tex.el (cal-tex-list-holidays):
5002         Make it an obsolete alias for holiday-in-range.  Update all callers.
5004 2012-05-05  Chong Yidong  <cyd@gnu.org>
5006         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
5007         Nextstep.
5009 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
5011         * files.el (file-auto-mode-skip): New var.
5012         (set-auto-mode-1): Use it.
5014 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5016         * repeat.el: Use lexical-binding.
5017         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
5018         (repeat-undo-count): Remove.
5019         (repeat):
5020         * progmodes/octave-mod.el (octave-abbrev-start):
5021         * progmodes/f90.el (f90-abbrev-start):
5022         * face-remap.el (text-scale-adjust):
5023         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
5025         * emacs-lisp/pcase.el (pcase--let*): New function.
5026         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
5027         a bit more.
5028         (pcase--split-pred): Be more clever about ruling out overlap between
5029         a predicate and some constant pattern.
5030         (pcase--q1): Use `null' instead of (eq foo nil).
5032         * subr.el (setq-local, defvar-local): New macros.
5033         (kbd): Redefine as an alias.
5034         (with-selected-window): Leave unrelated frames alone.
5035         (set-temporary-overlay-map): New function.
5037 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5039         * subr.el (user-error): New function.
5040         * window.el (switch-to-buffer):
5041         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
5042         (smerge-match-conflict):
5043         * simple.el (previous-matching-history-element)
5044         (next-matching-history-element, goto-history-element, undo-more)
5045         (undo-start):
5046         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
5047         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
5048         (next-file, tags-loop-scan, list-tags, complete-tag):
5049         * progmodes/compile.el (compilation-loop):
5050         * mouse.el (mouse-minibuffer-check):
5051         * man.el (Man-bgproc-sentinel, Man-goto-page):
5052         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
5053         (Info-history-forward, Info-follow-reference, Info-menu)
5054         (Info-extract-menu-item, Info-extract-menu-counting)
5055         (Info-forward-node, Info-backward-node, Info-next-menu-item)
5056         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
5057         (Info-next-reference, Info-prev-reference, Info-index)
5058         (Info-index-next, Info-follow-nearest-node)
5059         (Info-copy-current-node-name):
5060         * imenu.el (imenu--make-index-alist)
5061         (imenu-default-create-index-function, imenu-add-to-menubar):
5062         * files.el (basic-save-buffer, recover-file):
5063         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5064         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
5065         (checkdoc-message-text, checkdoc-defun):
5066         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
5067         * cus-edit.el (customize-changed-options, customize-rogue)
5068         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
5069         (custom-variable-mark-to-reset-standard)
5070         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
5071         (custom-file):
5072         * completion.el (check-completion-length):
5073         * comint.el (comint-search-arg)
5074         (comint-previous-matching-input-string-position)
5075         (comint-previous-matching-input)
5076         (comint-replace-by-expanded-history-before-point, comint-send-input)
5077         (comint-copy-old-input, comint-backward-matching-input)
5078         (comint-goto-process-mark, comint-set-process-mark):
5079         * calendar/calendar.el (calendar-cursor-to-date): Use it.
5080         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
5082 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5084         * dabbrev.el (dabbrev--ignore-case-p): New function.
5085         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
5086         Use it.
5088         * files.el (automount-dir-prefix): Mark as obsolete.
5090 2012-05-04  Glenn Morris  <rgm@gnu.org>
5092         * patcomp.el, play/bruce.el: Move to obsolete/.
5094 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
5096         Fix minor Y10k bugs.
5097         * arc-mode.el (archive-unixdate):
5098         * autoinsert.el (auto-insert-alist):
5099         * calc/calc-forms.el (math-this-year):
5100         * emacs-lisp/copyright.el (copyright-current-year)
5101         (copyright-update-year, copyright):
5102         * tar-mode.el (tar-clip-time-string):
5103         * time.el (display-time-update):
5104         Don't assume years have 4 digits.
5106 2012-05-04  Chong Yidong  <cyd@gnu.org>
5108         * dos-w32.el (file-name-buffer-file-type-alist)
5109         (direct-print-region-use-command-dot-com):
5110         * ffap.el (ffap-menu-regexp):
5111         * find-file.el (ff-special-constructs):
5112         * follow.el (follow-debug):
5113         * forms.el (forms--debug):
5114         * iswitchb.el (iswitchb-all-frames):
5115         * ido.el (ido-all-frames):
5116         * emacs-lisp/timer.el (timer-max-repeats):
5117         * mail/feedmail.el (feedmail-mail-send-hook)
5118         (feedmail-mail-send-hook-queued):
5119         * mail/footnote.el (footnote-signature-separator):
5120         * mail/mailabbrev.el (mail-alias-separator-string)
5121         (mail-abbrev-mode-regexp):
5122         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
5123         * progmodes/idlwave.el (idlwave-libinfo-file)
5124         (idlwave-default-completion-case-is-down)
5125         (idlwave-library-routines): Convert defvars to defcustoms.
5127         * mail/rmail.el (rmail-decode-mime-charset):
5128         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
5129         (idlwave-shell-fix-inserted-breaks)
5130         (idlwave-shell-activate-alt-keybindings)
5131         (idlwave-shell-use-breakpoint-glyph):
5132         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
5134 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5136         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
5138 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
5140         * progmodes/verilog-mode.el (font-lock-keywords):
5141         Fix mis-highligting auto.  Reported by Craig Barner.
5142         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
5143         defines from global name space. Reported by Dan Dever.
5144         (verilog-auto-reset, verilog-auto-reset-widths)
5145         (verilog-auto-tieoff): Support using unbased numbers for
5146         AUTORESET and AUTOTIEOFF.
5147         (verilog-submit-bug-report): Update variable list.
5148         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
5149         parenthesis from not matching. Reported by Michael Rytting.
5150         (verilog-auto-template-lint): Fix hash error when linting modules
5151         with no used templates.
5152         (verilog-warn, verilog-warn-error)
5153         (verilog-warn-fatal): When non-interactive report multiple
5154         warnings before exiting.  Suggested by Brad Dobbie.
5155         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
5156         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
5157         to report unused template errors.  Reported by Brad Dobbie.
5158         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
5159         nets, bug438. Reported by Vns Blore.
5160         (verilog-auto-inout-module, verilog-auto-reg)
5161         (verilog-read-decls, verilog-read-sub-decls-sig)
5162         (verilog-signals-edit-wire-reg, verilog-signals-with):
5163         Fix passing of Verilog data types in ANSI input/output ports
5164         such as "output logic" into the AUTOs. Special case "wire" and
5165         "reg" for backwards compatibility presuming Verilog 2001.
5166         (verilog-auto-ascii-enum): Add "auto enum" as alias.
5167         (verilog-preprocess): Fix replication of preprocess output.
5168         Reported by Brad Dobbie.
5169         (verilog-auto-inst-interfaced-ports):
5170         Create verilog-auto-inst-interfaced-ports, bug429.
5171         Reported by Julian Gorfajn.
5172         (verilog-after-save-font-hook)
5173         (verilog-before-save-font-hook): New variable.
5174         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
5175         (verilog-save-font-mods): Wrap disabling fontification, reported
5176         by David Rogoff.
5177         (verilog-do-indent, verilog-pretty-declarations-auto)
5178         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
5179         Reported by Pierre-David Pfister.
5180         (verilog-set-auto-endcomments): Fix endtask auto comments outside
5181         of class declarations, bug292.  Reported by Kevin Heilman.
5182         (verilog-read-decls): Fix 'parameter type' not appearing in
5183         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
5184         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
5185         AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
5186         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
5187         Reported by David Kravitz.
5189 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
5191         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
5192         assignment with tests in ifs and for loops.
5193         (verilog-extended-complete-re, verilog-complete-reg): Change so
5194         that DPI inport functions don't look like fuction declarations.
5195         (verilog-pretty-expr): Don't line up assignment
5196         operations to the test and increment in if and for loops
5197         (verilog-extended-complete-re, verilog-complete-reg): Change so
5198         that DPI inport functions don't look like fuction declarations.
5200 2012-05-03  Kenichi Handa  <handa@m17n.org>
5202         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
5203         decoding, and show a warning message without signaling an error
5204         (Bug#11282).
5206 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5208         * emacs-lisp/bytecomp.el
5209         (byte-compile-file-form-custom-declare-variable): Compile all elements,
5210         since cconv.el might have introduced :fun-body, internal-make-closure,
5211         and friends for bytecomp to handle (bug#11391).
5212         * custom.el (defcustom): Avoid ((λ ..) ..).
5214 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5216         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
5218 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
5220         * notifications.el (dbus-debug):
5221         * term/linux.el (gpm-mouse-enable):
5222         * term/screen.el (xterm-register-default-colors): Declare.
5224 2012-05-02  Chong Yidong  <cyd@gnu.org>
5226         * cus-start.el (gc-cons-percentage, exec-suffixes)
5227         (dos-display-scancodes, dos-hyper-key, dos-super-key)
5228         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
5229         (make-cursor-line-fully-visible, void-text-area-pointer)
5230         (font-list-limit): Add customization data.
5232         * allout.el (allout-exposure-change-functions)
5233         (allout-structure-added-functions)
5234         (allout-structure-deleted-functions)
5235         (allout-structure-shifted-functions): Rename abnormal hooks from
5236         *-hook, and convert to defcustoms.
5237         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
5238         Convert to defcustoms.
5239         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
5241         * allout-widgets.el: Hook callers changed.
5243 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
5245         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
5246         the yanked message in preference to the default value of
5247         buffer-file-coding-system.
5249 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
5251         * window.el (display-buffer--action-function-custom-type):
5252         Fix entry.
5254 2012-05-02  Alan Mackenzie  <acm@muc.de>
5256         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
5258 2012-05-01  Glenn Morris  <rgm@gnu.org>
5260         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
5262         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
5264         * cus-edit.el (custom-variable-documentation): Simplify with format.
5266 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
5267             Stefan Monnier  <monnier@iro.umontreal.ca>
5269         * simple.el (suggest-key-bindings, execute-extended-command):
5270         Move from keyboard.c.
5272 2012-05-01  Chong Yidong  <cyd@gnu.org>
5274         * follow.el: Eliminate advice.
5275         (set-process-filter, process-filter, sit-for): Advice deleted.
5276         (follow-mode-off-hook): Obsolete hook removed.
5277         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
5278         Vars deleted.
5279         (follow-auto): Use a :set function.
5280         (follow-mode): Rewritten.  Don't advise process filters.
5281         (follow-switch-to-current-buffer-all, follow-scroll-up)
5282         (follow-scroll-down): Assume follow-mode is bound.
5283         (follow-comint-scroll-to-bottom)
5284         (follow-align-compilation-windows): New functions.
5285         (follow--window-sorter): New function.
5286         (follow-all-followers): Use it to explicitly sort windows by their
5287         positions; don't make assumptions about next-window order.
5288         (follow-windows-start-end, follow-delete-other-windows-and-split)
5289         (follow-calc-win-start): Doc fix.
5290         (follow-windows-aligned-p, follow-select-if-visible): Don't call
5291         vertical-motion unnecessarily.
5292         (follow-adjust-window): New function.
5293         (follow-post-command-hook): Use it.
5294         (follow-call-set-process-filter, follow-call-process-filter)
5295         (follow-intercept-process-output, follow-tidy-process-filter-alist)
5296         (follow-stop-intercept-process-output, follow-generic-filter):
5297         Functions deleted.
5298         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
5299         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
5300         New functions, replacing advice on scroll-bar-* commands.
5301         (follow-mwheel-scroll): New function (Bug#4112).
5303         * comint.el (comint-adjust-point): New function.
5304         (comint-postoutput-scroll-to-bottom): Use it.
5305         Call follow-comint-scroll-to-bottom for Follow mode buffers.
5307 2012-05-01  Glenn Morris  <rgm@gnu.org>
5309         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
5310         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
5311         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
5312         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
5313         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
5314         Remove no-byte-compile setting.
5316 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5318         * minibuffer.el (completion-table-with-quoting): Fix compatibility
5319         all-completions code to not return a number in the last cdr.
5321 2012-04-30  Leo Liu  <sdl.web@gmail.com>
5323         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
5324         read-only error.
5326 2012-04-29  Chong Yidong  <cyd@gnu.org>
5328         * follow.el (follow-calc-win-end): Rewrite to handle partial
5329         screen lines correctly (Bug#8390).
5330         (follow-avoid-tail-recenter): Minor cleanup.
5332 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5334         Avoid the obsolete `assoc' package.
5335         * speedbar.el (speedbar-refresh): Avoid adelete.
5336         (speedbar-file-lists): Simplify and avoid aput.
5337         * man.el (Man--sections, Man--refpages): New vars, replacing
5338         Man-sections-alist and Man-refpages-alist.
5339         (Man-build-section-alist, Man-build-references-alist):
5340         Use them; avoid aput.
5341         (Man--last-section, Man--last-refpage): New vars.
5342         (Man-follow-manual-reference): Use them.
5343         Use the `default' arg of completing-read.
5344         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
5346 2012-04-27  Chong Yidong  <cyd@gnu.org>
5348         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
5350         * startup.el (x-apply-session-resources): New function.
5352         * term/ns-win.el (ns-initialize-window-system):
5353         * term/w32-win.el (w32-initialize-window-system):
5354         * term/x-win.el (x-initialize-window-system): Use it to properly
5355         set menu-bar-mode and other vars from X resources, even if the
5356         initial frame is not a window-system frame (Bug#2299).
5358         * subr.el (read-key): Avoid running filter function when setting
5359         up temporary tool bar entries (Bug#9922).
5361 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
5363         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
5364         (Bug#11344)
5366 2012-04-27  Chong Yidong  <cyd@gnu.org>
5368         * select.el (xselect--encode-string): New function, split from
5369         xselect-convert-to-string.
5370         (xselect-convert-to-string): Use it.
5371         (xselect-convert-to-filename, xselect-convert-to-os)
5372         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
5373         returned strings are properly encoded (Bug#11315).
5375 2012-04-27  Chong Yidong  <cyd@gnu.org>
5377         * simple.el (delete-active-region): Move to killing custom group.
5379 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
5381         * progmodes/which-func.el (which-func-current): Quote %
5382         characters for mode-line processing.
5384 2012-04-27  Chong Yidong  <cyd@gnu.org>
5386         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
5387         reaching eob (Bug#11286).
5389 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
5391         * progmodes/gdb-mi.el (gdb-control-level): New variable.
5392         (gdb): Make it buffer-local and init to zero.
5393         (gdb-control-commands-regexp): New variable.
5394         (gdb-send): Don't wrap in "-interpreter-exec console" if
5395         gdb-control-level is positive.  Increment gdb-control-level
5396         whenever the command matches gdb-control-commands-regexp, and
5397         decrement it each time the command is "end".  (Bug#11279)
5399 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
5401         * window.el (adjust-window-trailing-edge, enlarge-window)
5402         (shrink-window, window-resize):
5403         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
5404         windows (Bug#11276).
5406 2012-04-27  Chong Yidong  <cyd@gnu.org>
5408         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
5409         fix "missing prefix" warning.  All callers changed.
5411 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5413         * emacs-lisp/assoc.el: Move to obsolete/.
5415 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5417         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
5419         * term/ns-win.el (ns-define-service):
5420         * progmodes/pascal.el (pascal-goto-defun):
5421         * progmodes/js.el (js--read-tab):
5422         * progmodes/etags.el (tags-lazy-completion-table):
5423         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
5424         * emacs-lisp/ewoc.el (ewoc--wrap):
5425         * emacs-lisp/assoc.el (aput, adelete, amake):
5426         * doc-view.el (doc-view-convert-current-doc):
5427         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
5429 2012-04-26  Chong Yidong  <cyd@gnu.org>
5431         * image.el (image-type-from-buffer): Only return supported image
5432         type (Bug#9045).
5434         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
5435         value, for symmetry with diff-end-of-hunk.
5436         (diff-split-hunk, diff-find-source-location)
5437         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
5438         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
5439         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
5440         compute the relevant hunk or file properly (Bug#6005).
5441         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
5443 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5445         * vc/vc-mtn.el:
5446         * vc/vc-hg.el:
5447         * vc/vc-git.el:
5448         * vc/vc-dir.el:
5449         * vc/vc-cvs.el:
5450         * vc/vc-bzr.el:
5451         * vc/vc-arch.el:
5452         * vc/vc.el: Replace lexical-let by lexical-binding.
5453         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
5454         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
5455         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
5457 2012-04-26  Chong Yidong  <cyd@gnu.org>
5459         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
5460         (diff-mode-shared-map): Bind it to / and [remap undo].
5462         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
5463         (ediff-window-setup-function): Use it as the default, to set up
5464         windows based on whether the current frame is graphical (Bug#2138).
5465         (ediff-choose-window-setup-function-automatically): Make obsolete.
5467         * vc/ediff-init.el: Always define ediff-pixel-width/height.
5469 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5471         * ffap.el: Remove old code for obsolete package.
5472         (ffap-complete-as-file-p): Remove.
5474         Use completion-table-with-quoting for comint and pcomplete.
5475         * comint.el (comint--unquote&requote-argument)
5476         (comint--unquote-argument, comint--requote-argument): New functions.
5477         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
5478         (comint-quote-filename): Use regexp-opt-charset.
5479         (comint--common-suffix, comint--common-quoted-suffix)
5480         (comint--table-subvert): Remove.
5481         (comint-unquote-function, comint-requote-function): New vars.
5482         (comint--complete-file-name-data): Use them with
5483         completion-table-with-quoting.
5484         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
5485         * pcomplete.el (pcomplete-arg-quote-list)
5486         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
5487         (pcomplete-unquote-argument-function): Default to non-nil.
5488         (pcomplete-unquote-argument): Simplify.
5489         (pcomplete--common-quoted-suffix): Remove.
5490         (pcomplete-requote-argument-function): New var.
5491         (pcomplete--common-suffix): New function.
5492         (pcomplete-completions-at-point): Use completion-table-with-quoting
5493         and completion-table-subvert.
5495         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
5496         (minibuffer--double-dollars): Preserve properties.
5497         (completion--sifn-requote): New function.
5498         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
5500         * minibuffer.el: Add support for completion of quoted/escaped data.
5501         (completion-table-with-quoting, completion-table-subvert): New funs.
5502         (completion--twq-try, completion--twq-all): New functions.
5503         (completion--nth-completion): New function.
5504         (completion-try-completion, completion-all-completions): Use it.
5506 2012-04-25  Leo Liu  <sdl.web@gmail.com>
5508         * progmodes/python.el (python-pdbtrack-get-source-buffer):
5509         Use compilation-message if available to find real filename.
5511 2012-04-25  Chong Yidong  <cyd@gnu.org>
5513         * vc/diff-mode.el (diff-setup-whitespace): New function.
5514         (diff-mode): Use it.
5516         * vc/diff.el (diff-sentinel):
5517         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
5518         Whitespace mode variables based on diff style (Bug#8612).
5520 2012-04-25  Leo Liu  <sdl.web@gmail.com>
5522         * progmodes/python.el (python-send-region): Add suffix .py to the
5523         temp file.
5525         * files.el (auto-mode-alist): Use javascript-mode instead.
5527 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
5529         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
5531         * net/soap-client.el (soap-resolve-references-for-sequence-type)
5532         (soap-resolve-references-for-array-type): Hack to prevent self
5533         references, see Bug#9.
5534         (soap-parse-envelope): Report the contents of the 'detail' node
5535         when receiving a fault reply.
5536         (soap-parse-envelope): Report the contents of the entire 'detail' node.
5538         * net/soap-inspect.el (soap-sample-value-for-simple-type)
5539         (soap-inspect-simple-type): New function.
5541         * net/soap-client.el (soap-simple-type): New struct.
5542         (soap-default-xsd-types, soap-default-soapenc-types)
5543         (soap-decode-basic-type, soap-encode-basic-type):
5544         support unsignedInt and double basic types.
5545         (soap-resolve-references-for-simple-type)
5546         (soap-parse-simple-type, soap-encode-simple-type): New function.
5547         (soap-parse-schema): Parse xsd:simpleType declarations.
5549         * net/soap-client.el (soap-default-xsd-types)
5550         (soap-default-soapenc-types): Add integer, byte and anyURI types.
5551         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
5552         the local name of "soapenc:Array".
5553         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
5554         decoding integer, byte and anyURI xsd types.
5556 2012-04-25  Chong Yidong  <cyd@gnu.org>
5558         * cus-edit.el (custom-buffer-create-internal): Update header text.
5560 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
5562         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
5563         settings on 'system-type', not on 'window-system'.  On MS-Windows,
5564         set interactive-mode on in GDB.
5566 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5568         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
5569         (ruby-syntax-propertize-regexp): Remove.
5570         (ruby-syntax-propertize-function): Split regexp into chunks.
5571         Match following code directly.
5573 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
5575         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
5576         (ruby-syntax-propertize-regexp): New function.
5577         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
5578         by a special keyword.
5580         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
5581         (ruby-syntax-general-delimiters-goto-beg)
5582         (ruby-syntax-propertize-general-delimiters): New functions.
5583         (ruby-syntax-propertize-function): Use them to handle GDL.
5584         (ruby-font-lock-keywords): Move old handling of GDL...
5585         (ruby-font-lock-syntactic-keywords): .. to here.
5586         (ruby-calculate-indent): Adjust indentation for GDL.
5588 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
5590         * notifications.el (top): Remove unneeded declarations.
5591         (notifications-specification-version): Change to "1.2".
5592         (notifications-interface, notifications-notify-method)
5593         (notifications-close-notification-method): Fix docstring.
5594         (notifications-get-capabilities-method): New defconst.
5595         (notifications-notify): Add :action-items, :resident and
5596         :transient hints.  Change "image_data" to "image-data" and
5597         "image_path" to "image-path".
5598         (notifications-get-capabilities): New defun.
5600 2012-04-24  Leo Liu  <sdl.web@gmail.com>
5602         * progmodes/python.el: Move hideshow setup to the end.
5604 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
5606         * window.el (handle-select-window): Clear echo area since this is
5607         no more done by read_char (Bug#11304).
5609 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5611         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
5612         and `/ M' to filter-derived-mode.
5613         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
5614         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
5615         (ibuffer-mark-by-mode): Use default rather than initial-input.
5616         (ibuffer-filter-by-derived-mode): Autoload and require-match.
5618 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
5620         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
5621         (ibuffer-filter-by-derived-mode): New filter.
5622         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
5624 2012-04-23  Andreas Politz  <politza@fh-trier.de>
5626         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
5628 2012-04-23  Chong Yidong  <cyd@gnu.org>
5630         * cus-edit.el (customize-apropos, customize-apropos-options):
5631         Disable matching of non-option variables (Bug#11176).
5632         (customize-option, customize-option-other-window)
5633         (customize-changed-options): Doc fix.
5634         (customize-apropos-options, customize-apropos-faces)
5635         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
5637         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
5638         Fix word list splitting (Bug#11132).
5639         (apropos-symbol, apropos-keybinding, apropos-label)
5640         (apropos-property, apropos-function-button)
5641         (apropos-variable-button, apropos-misc-button): New faces.
5642         (apropos-symbol-face, apropos-keybinding-face)
5643         (apropos-label-face, apropos-property-face, apropos-match-face):
5644         Variables removed (Bug#8396).
5645         (apropos-library-button, apropos-format-plist, apropos-print)
5646         (apropos-print-doc, apropos-describe-plist): Callers changed.
5648 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
5650         * net/xesam.el (xesam-mode-map): Use let-bound map in
5651         initialization.  (Bug#11292)
5653 2012-04-23  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
5655         Preserve ispell session localwords when switching back to
5656         original buffer.
5658         * textmodes/ispell.el (ispell-buffer-session-localwords):
5659         New buffer-local variable to hold buffer session localwords.
5660         (ispell-kill-ispell): Add option 'clear to delete session
5661         localwords.
5662         (ispell-command-loop, ispell-change-dictionary)
5663         (ispell-buffer-local-words): Preserve session localwords when
5664         needed.
5666         * textmodes/flyspell.el (flyspell-process-localwords)
5667         (flyspell-do-correct): Preserve session localwords when needed.
5669 2012-04-23  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
5671         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
5672         using obsolete `translation-table-for-input'.
5673         (ispell-word, ispell-process-line, ispell-complete-word):
5674         Use plain `insert' instead of removed `ispell-insert-word'.
5676 2012-04-22  Chong Yidong  <cyd@gnu.org>
5678         * cus-edit.el (custom-variable-menu)
5679         (custom-variable-reset-saved, custom-face-menu)
5680         (custom-face-reset-saved): If there is no saved value, make the
5681         "reset-saved" operation bring back the default (Bug#9509).
5682         (custom-face-state): Properly detect themed faces.
5684         * faces.el (face-spec-set): Stop supporting deprecated form of
5685         third arg.
5687 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
5689         Move functions from C to Lisp.  Make non-blocking method calls
5690         the default.  Implement further D-Bus standard interfaces.
5692         * net/dbus.el (dbus-message-internal): Declare function.
5693         Remove unneeded function declarations.
5694         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
5695         (dbus-message-type-method-return, dbus-message-type-error)
5696         (dbus-message-type-signal): Declare variables.  Remove local
5697         definitions.
5698         (dbus-interface-dbus, dbus-interface-peer)
5699         (dbus-interface-introspectable, dbus-interface-properties)
5700         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
5701         Adapt docstring.
5702         (dbus-interface-objectmanager): New defconst.
5703         (dbus-call-method, dbus-call-method-asynchronously)
5704         (dbus-send-signal, dbus-method-return-internal)
5705         (dbus-method-error-internal, dbus-register-service)
5706         (dbus-register-signal, dbus-register-method): New defuns, moved
5707         from dbusbind.c
5708         (dbus-call-method-handler, dbus-setenv)
5709         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
5710         New defuns.
5711         (dbus-call-method-non-blocking): Make it an obsolete function.
5712         (dbus-unregister-object, dbus-unregister-service)
5713         (dbus-handle-event, dbus-register-property)
5714         (dbus-property-handler): Obey the new structure of
5715         `bus-registered-objects'.
5716         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
5717         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5718         Use `dbus-call-method'.
5720 2012-04-22  Chong Yidong  <cyd@gnu.org>
5722         * cus-edit.el (custom-commands, custom-reset-menu)
5723         (Custom-reset-standard): Tweak labels.
5724         (custom-reset-button-menu): Change default to t.
5725         (custom-buffer-create-internal): For the custom-reset-button-menu
5726         case, put the revert button first.
5727         (custom-group-subtitle): New face.
5728         (custom-group-value-create): Align docstring to a specific column.
5730         * wid-edit.el (widget-documentation-link-add): Don't handle
5731         indentation in this function.
5732         (widget-documentation-string-indent-to): New function.
5733         (widget-documentation-string-value-create): Use it.
5735         * autorevert.el (auto-revert):
5736         * epg-config.el (epg):
5737         * ibuffer.el (ibuffer):
5738         * mpc.el (mpc):
5739         * ses.el (ses):
5740         * eshell/eshell.el (eshell):
5741         * net/ange-ftp.el (ange-ftp):
5742         * progmodes/ebnf2ps.el (postscript):
5743         * progmodes/flymake.el (flymake):
5744         * progmodes/prolog.el (prolog):
5745         * progmodes/verilog-mode.el (verilog-mode):
5746         * progmodes/which-func.el (which-func):
5747         * term/xterm.el (xterm):
5748         * textmodes/picture.el (picture):
5749         * textmodes/tildify.el (tildify):
5750         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
5751         customization buffers.
5753 2012-04-22  Alan Mackenzie  <acm@muc.de>
5755         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
5756         Adding a ) can hide the resulting (..) from searches.  Fix it.
5757         Bound the backward search to the position of the existing (.
5759 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
5761         * progmodes/verilog-mode.el (verilog-mode): Check whether
5762         which-func-modes is t before adding verilog-mode.
5763         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
5765 2012-04-21  Leo Liu  <sdl.web@gmail.com>
5767         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
5769 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
5771         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
5772         filling of the last column of a table (Bug#5635).
5773         (woman-find-next-control-line): New arg, specifying an additional
5774         regexp component for the control line.
5775         (woman2-roff-buffer): Use it.
5776         (woman-break-table): New function.
5777         (woman2-TS): Use it.
5779 2012-04-21  Chong Yidong  <cyd@gnu.org>
5781         * woman.el (woman-set-buffer-display-table, woman-decode-region)
5782         (woman-horizontal-escapes, woman-negative-vertical-space)
5783         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
5784         (WoMan-warn-ignored): Use ?\s instead of ?\ .
5786 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5788         * minibuffer.el (completion-file-name-table): Complete user names.
5790 2012-04-20  Leo Liu  <sdl.web@gmail.com>
5792         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
5793         and pcase-let*.
5795 2012-04-20  Chong Yidong  <cyd@gnu.org>
5797         * server.el (server-execute): Respect initial-buffer-choice if it
5798         is a string and there are no files to open (Bug#2825).
5799         (server-create-window-system-frame, server-create-tty-frame):
5800         Don't switch buffers here.
5801         (server-process-filter): Only try to open a window system frame if
5802         compiled with graphical support (Bug#8314).
5804 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
5806         * battery.el (battery-echo-area-format): Display remaining time
5807         for sysfs backend too (Bug#11269).
5808         (battery-linux-sysfs): Fix conditional for the charge.
5810 2012-04-20  Chong Yidong  <cyd@gnu.org>
5812         * progmodes/gdb-mi.el (gdb): Revert previous change.
5813         (gdb-inferior-io--init-proc): New function.
5814         (gdb-init-1): Use it.
5815         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5816         responsible for allocating a new pty and hooking it to gdb when
5817         the old pty gets an EIO due to process exit.
5818         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
5819         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5820         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5822 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
5824         * window.el (window-min-size, window-sizable, window-min-delta)
5825         (window-max-delta, window--resizable, window-resizable)
5826         (window-total-size, window-full-height-p, window-full-width-p)
5827         (window-in-direction, window--resize-mini-window, window-resize)
5828         (window--resize-child-windows-normal)
5829         (window--resize-child-windows, window--resize-siblings)
5830         (window--resize-this-window, adjust-window-trailing-edge)
5831         (enlarge-window, shrink-window): Doc fixes.
5833 2012-04-20  Chong Yidong  <cyd@gnu.org>
5835         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5836         New function to call delete-process on the gdb-inferior buffer's pty.
5837         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5838         pty process (Bug#11273).
5839         (gdb-update): New arg to suppress talking to the gdb process.
5840         (gdb-done-or-error): Use it.
5841         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5842         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5843         sentinel not being called.
5845         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5847         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5849 2012-04-20  Glenn Morris  <rgm@gnu.org>
5851         * net/network-stream.el (open-network-stream): Doc fix.
5853 2012-04-20  Chong Yidong  <cyd@gnu.org>
5855         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5857 2012-04-20  Alan Mackenzie  <acm@muc.de>
5859         Ensure searching for keywords is case sensitive.
5861         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5862         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5863         (c-defun-name, c-mark-function, c-cpp-define-name)
5864         (c-comment-indent, c-scan-conditionals, c-indent-defun)
5865         (c-context-line-break): Bind case-fold-search to nil.
5867         * progmodes/cc-mode.el (c-font-lock-fontify-region):
5868         Bind case-fold-search to nil.
5870 2012-04-20  Chong Yidong  <cyd@gnu.org>
5872         * mail/sendmail.el (mail-bury): Call return action with the right
5873         Rmail buffer (Bug#11242).
5875         * server.el (server-process-filter): Handle corner case where both
5876         tty and nowait options are present (Bug#11102).
5878 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
5880         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
5881         (top level): Put into the executable the ident-style '$Id:' tag on
5882         windows-nt as well.
5884 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5886         * electric.el (electric-indent-post-self-insert-function): Check that
5887         electric-indent-mode is enabled in current buffer.
5889 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
5891         * imenu.el (imenu-progress-message): Restore; it is "used" in
5892         erc/erc-imenu.el and net/snmp-mode.el.
5894 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
5896         * avoid.el (mouse-avoidance-mode): Mark unused arg.
5897         (mouse-avoidance-nudge-mouse): Remove unused binding.
5899         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5901         * descr-text.el (describe-char):
5902         * progmodes/python.el (python-describe-symbol):
5903         Don't call `toggle-read-only', set `buffer-read-only'.
5905         * imenu.el (imenu-default-goto-function): Mark unused args.
5906         (imenu-progress-message): Remove obsolete macro; all callers changed.
5908         * subr.el (keymap-canonicalize): Remove unused binding.
5909         (read-passwd): Mark unused arg.
5911         * tutorial.el (tutorial--display-changes): Remove unused binding.
5912         (tutorial--save-tutorial-to): Remove unused variable.
5914         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5915         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5916         (package-generate-autoloads, package-menu--generate)
5917         (package-menu--find-upgrades): Remove unused bindings.
5919         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5920         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
5921         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5922         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5923         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5924         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5925         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5926         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5927         (cua-delete-char-rectangle): Mark unused args.
5928         (cua-align-rectangle): Remove unused binding.
5930         * mail/rmail.el (compilation--message->loc)
5931         (epa--find-coding-system-for-mime-charset): Declare.
5933         * net/dbus.el (dbus-register-service): Declare.
5934         (dbus-name-owner-changed-handler): Remove unused binding.
5936         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5937         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5938         (nxml-scan-backward-within): Mark unused arg.
5939         (nxml-dynamic-markup-word): Remove unused binding.
5941         * mouse.el (mouse-menu-major-mode-map):
5942         * emacs-lisp/authors.el (authors-scan-change-log)
5943         (authors-add-to-author-list):
5944         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5945         * emacs-lisp/smie.el (smie-auto-fill):
5946         * mail/sendmail.el (mail-bury):
5947         * mail/unrmail.el (unrmail):
5948         * net/tls.el (open-tls-stream):
5949         * textmodes/picture.el (picture-mouse-set-point):
5950         Remove unused bindings.
5952 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
5954         * net/tramp.el (tramp-action-password): Let-bind
5955         `enable-recursive-minibuffers' to t.
5957 2012-04-18  Sam Steingold  <sds@gnu.org>
5959         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5960         instead of 'string to accommodate values like [f11].
5961         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5962         * progmodes/gdb-mi.el: Likewise.
5964 2012-04-18  Leo Liu  <sdl.web@gmail.com>
5966         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5967         current buffer.
5968         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5969         LOCAL is nil.
5971 2012-04-18  Chong Yidong  <cyd@gnu.org>
5973         * simple.el (line-move): Use forward-line if in batch mode
5974         (Bug#11053).
5976 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
5978         * files.el (after-find-file): Do not try to add a final newline if
5979         the buffer is read-only (Bug#11156).
5981 2012-04-17  Richard Stallman  <rms@gnu.org>
5983         * mail/rmail.el (rmail-start-mail):
5984         Pass (rmail-mail-return...) for the return-action.
5985         Pass (rmail-yank-current-message...) for the yank-action.
5986         (rmail-yank-current-message): New function.
5987         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5988         (rmail-reply): Likewise.
5989         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5991         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
5992         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
5993         buffer, not newbuf.
5995 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
5997         * server.el (server-ensure-safe-dir): Simplify.
5999 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6001         * emacs-lisp/smie.el: Provide smarter auto-filling.
6002         (smie-auto-fill): New function.
6003         (smie-setup): Use it.
6005         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
6007 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
6009         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
6010         (comment-indent): Use it.
6012 2012-04-17  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
6014         * ses.el: The overall change is to add cell renaming, that is
6015         setting fancy names for cell symbols other than name matching
6016         "\\`[A-Z]+[0-9]+\\'" regexp .
6017         (ses-localvars): Add ses--renamed-cell-symb-list.
6018         (ses-create-cell-variable): New defun.
6019         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
6020         (ses-relocate-formula): Relocate formulas only for cells the
6021         symbols of which are not renamed, i.e. symbols whose names do not
6022         match regexp "\\`[A-Z]+[0-9]+\\'".
6023         (ses-relocate-all): Relocate values only for cells the symbols of
6024         which are not renamed.
6025         (ses-load): Create cells variables as the (ses-cell ...) are read,
6026         in order to check row col consistency with cell symbol name only
6027         for cells that are not renamed.
6028         (ses-replace-name-in-formula): New defun.
6029         (ses-rename-cell): New defun.
6031 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
6033         * progmodes/perl-mode.el (perl-indent-parens-as-block):
6034         New option (bug#11118).
6035         (perl-calculate-indent): Respect it.
6037 2012-04-17  Glenn Morris  <rgm@gnu.org>
6039         * dired-aux.el (dired-mark-read-string): Doc fix.
6041 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
6043         * dired-aux.el (dired-mark-read-string): Offer optional completion.
6044         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
6046 2012-04-17  Glenn Morris  <rgm@gnu.org>
6048         * mouse.el (mouse-drag-track):
6049         * speedbar.el (speedbar-frame-mode):
6050         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
6052 2012-04-16  Leo Liu  <sdl.web@gmail.com>
6054         * progmodes/python.el: Trivial cleanup.
6056 2012-04-16  Glenn Morris  <rgm@gnu.org>
6058         * vc/vc.el (vc-string-prefix-p):
6059         * vc/pcvs-util.el (cvs-string-prefix-p):
6060         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
6061         * mpc.el (mpc-string-prefix-p):
6062         Make all of these into obsolete aliases for string-prefix-p.
6063         Update callers.
6064         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
6066         * textmodes/two-column.el: Move custom options to the start.
6067         (frame-width): Remove compat definition.
6068         (2C-associate-buffer, 2C-dissociate):
6069         Use with-current-buffer rather than save-excursion.
6070         (2C-dissociate): Force a mode-line update.
6071         (2C-autoscroll): Use ignore-errors.
6073         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
6074         Autoload trivia.
6076         * emacs-lisp/cl-extra.el (*random-state*):
6077         Remove unnecessary declaration.
6079         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
6081         * play/cookie1.el (cookie-snarf):
6082         Give an explicit error if input file cannot be read.
6084         * play/yow.el (yow-file): Use expand-file-name rather than concat.
6086         * progmodes/perl-mode.el (c-macro-expand):
6087         Remove unnecessary autoload (it is in loaddefs.el).
6089         * textmodes/picture.el (picture-desired-column)
6090         (picture-update-desired-column): Convert comments to doc-strings.
6091         (picture-substitute): Remove function.
6092         (picture-mode-map): Initialize in the defvar.
6094         * woman.el: Remove eval-after-load for tar-mode.
6095         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
6096         (woman-tar-extract-file): Autoload it.
6098         * frame.el (automatic-hscrolling): Make this alias obsolete.
6100 2012-04-12  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
6102         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
6103         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
6104         (ispell-dictionary-base-alist): Revert to original XEmacs
6105         friendly version for default.  [:alpha:] will be added in
6106         `ispell-set-spellchecker-params' if needed.
6108 2012-04-16  Chong Yidong  <cyd@gnu.org>
6110         * image.el (imagemagick--file-regexp): New variable.
6111         (imagemagick-register-types): Use it.
6112         (imagemagick-types-inhibit): Add :set function.  Allow new value
6113         of t to inhibit all types.
6115         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
6116         so we can preload it.
6118         * loadup.el (fboundp): Preload regexp-opt, needed by
6119         imagemagick-register-types.
6121 2012-04-15  Chong Yidong  <cyd@gnu.org>
6123         * frame.el (scrolling): Remove nearly unused customization group.
6125         * scroll-all.el (scroll-all-mode): Move to windows group.
6127 2012-04-15  Chong Yidong  <cyd@gnu.org>
6129         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
6131 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6133         Avoid the use of ((lambda ...) ...) in lexical-binding code.
6134         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
6136 2012-04-15  Glenn Morris  <rgm@gnu.org>
6138         * simple.el (process-file-side-effects): Doc fix.
6140 2012-04-15  Glenn Morris  <rgm@gnu.org>
6142         * international/mule-cmds.el (set-language-environment): Doc fix.
6144 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
6146         * server.el (server-auth-key, server-generate-key): Doc fixes.
6147         (server-get-auth-key): Doc fix.  Use `string-match-p'.
6148         (server-start): Reflow docstring.
6150 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
6152         * server.el (server-generate-key): `called-interactively-p'
6153         requires a parameter.
6155 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
6157         * server.el (server-auth-key): New variable.
6158         (server-generate-key, server-get-auth-key): New function.
6159         (server-start): Use the new variable and functions to allow
6160         setting a permanent server key (bug#9423).
6162 2012-04-14  Leo Liu  <sdl.web@gmail.com>
6164         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
6166 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
6168         Spelling fixes.
6169         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
6170         Emacs uses American spelling.
6172 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
6174         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
6175         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
6176         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
6177         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
6179 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6181         * progmodes/which-func.el (which-func-modes): Change default.
6183 2012-04-14  Kim F. Storm  <storm@cua.dk>
6185         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
6186         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
6188 2012-04-14  Chong Yidong  <cyd@gnu.org>
6190         * custom.el (custom-theme-set-variables): Doc fix.
6192 2012-04-14  Glenn Morris  <rgm@gnu.org>
6194         * international/mule.el (set-auto-coding-for-load): Doc fix.
6196 2012-04-14  Alan Mackenzie  <acm@muc.de>
6198         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
6199         imenu work again for Objective C Mode.  Correct the *-index values,
6200         these having been disturbed by a previous change in 2011-08.
6202         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
6203         Correct two search limits.
6205 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6207         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
6209 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
6211         * international/characters.el: Fix sorting.
6213 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
6215         * international/characters.el: Add more missing Latin case pairs.
6217 2012-04-14  Glenn Morris  <rgm@gnu.org>
6219         * files.el (dir-locals-set-class-variables): Doc fix.
6221 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
6223         * international/characters.el: Add set-case-syntax-pair call for
6224         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
6225         counterpart.  (Bug#11209)
6227         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
6229 2012-04-14  Glenn Morris  <rgm@gnu.org>
6231         * calendar/holidays.el (calendar-check-holidays): Doc fix.
6233 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
6235         * textmodes/ispell.el (ispell-dictionary-base-alist):
6236         Add data for Hebrew.
6238 2012-04-14  Chong Yidong  <cyd@gnu.org>
6240         * net/rcirc.el (rcirc-cmd-quit):
6241         Revert 2012-03-18 change (Bug#11192).
6243 2012-04-14  Glenn Morris  <rgm@gnu.org>
6245         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
6247 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
6249         * minibuffer.el (completion-in-region-mode-map):
6250         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
6252 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
6254         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
6256 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
6258         * minibuffer.el (minibuffer-local-filename-syntax): New variable
6259         to allow `C-M-f' and `C-M-b' to move to the nearest path
6260         separator (bug#9511).
6262 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
6264         * avoid.el: Require cl when compiling.  And also move the
6265         `provide' to the end.
6267 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6269         * avoid.el (mouse-avoidance-banish-position): New variable.
6270         (mouse-avoidance-banish-destination): Use it (bug#10165).
6272 2012-04-13  Leo Liu  <sdl.web@gmail.com>
6274         * progmodes/which-func.el (which-func-modes): Add objc-mode.
6276 2012-04-13  Ken Brown  <kbrown@cornell.edu>
6278         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
6279         this is no longer needed now that cygstart understands file:// URLs.
6280         (browse-url-filename-alist): For the same reason, don't modify
6281         file:// URLs on Cygwin.
6283 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6285         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
6286         the region on shift if the binding is already shifted (bug#11221).
6288 2012-04-12  Glenn Morris  <rgm@gnu.org>
6290         * mail/mailpost.el: Move to obsolete/.
6292 2012-04-12  Drew Adams  <drew.adams@oracle.com>
6294         * imenu.el (imenu--generic-function): Ignore invisible definitions
6295         (bug#10123).
6297 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
6299         * hexl.el (hexl-bits): New variable.
6300         (hexl-options): Mention the variable in the doc string.
6301         (hexl-rulerise, hexl-line-displen): New functions.
6302         (hexl-mode): Mention the new variable.
6303         (hexl-mode, hexl-current-address, hexl-current-address):
6304         Use the displen.
6305         (hexl-ascii-start-column): New function.
6306         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
6307         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
6309 2012-04-12  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
6311         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
6312         '("-i" ENCODING), in 2 separate command-line arguments, to specify
6313         the encoding, as expected by hunspell.
6315 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6317         * battery.el (battery--linux-sysfs-regexp): New const.
6318         (battery-status-function): Use it.  Remove yeeloong special case.
6319         (battery-yeeloong-sysfs): Remove.
6320         (battery-echo-area-format): Remove yeeloong special case.
6322 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6324         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
6325         Reported by Noah Friedman.
6327         * subr.el (read-passwd): Use read-string.
6329 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6331         * vcursor.el (vcursor-move): Increase the priority of the overlay
6332         (bug#9663).
6334 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6336         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
6337         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
6339 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
6341         * textmodes/artist.el (artist-mode): Convert artist-mode to use
6342         define-minor-mode (bug#10760).
6344 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
6346         * progmodes/grep.el (rgrep): Tweak the find command line so
6347         that directories matching `grep-find-ignored-files' won't be
6348         pruned (bug#10351).
6350 2012-04-11  Chong Yidong  <cyd@gnu.org>
6352         * startup.el (command-line): Remove support for long-obsolete
6353         variable font-lock-face-attributes.
6355 2012-04-11  Glenn Morris  <rgm@gnu.org>
6357         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
6359 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6361         * window.el (window--state-get-1): Obey window-point-insertion-type.
6363 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
6365         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
6366         to previous function when point is on the first character of a
6367         function.  Take care of that in `narrow-to-defun' (bug#6157).
6369 2012-04-11  Glenn Morris  <rgm@gnu.org>
6371         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
6372         not just file-errors.
6374         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
6375         (vc-bzr-sha1): Use internal sha1.
6377 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6379         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
6381 2012-04-10  SĂ©bastien Gross  <seb@chezwam.org>  (tiny change)
6383         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
6384         that start in the middle of the line (bug#10496).
6386 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
6388         * battery.el (battery-linux-proc-acpi): Only one battery is
6389         discharged at a time, but that seems to confuse battery.el when
6390         computing `rate-type' for the battery not being discharged
6391         (bug#10332).
6393 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6395         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
6397         * international/quail.el: Use dolist and simplify.
6398         (quail-define-package, quail-update-keyboard-layout)
6399         (quail-define-rules): Use dolist.
6400         (quail-insert-kbd-layout, quail-get-translation): CSE.
6402         * tmm.el: Use dolist, remove left over hook.
6403         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
6404         Use dolist.
6405         (calendar-load-hook): Don't mess with it.
6407         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6408         Use derived-mode-p.  Run the diff asynchronously.
6410 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6412         * obsolete/mouse-sel.el: Add an Obsolete-since header.
6414 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
6416         * misc.el: Display absolute path of loaded DLLs (bug#10424).
6417         (list-dynamic-libraries--loaded): New function.
6418         (list-dynamic-libraries--refresh): Use it.
6420 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
6422         * progmodes/python.el (python-fill-paragraph):
6423         Make python-fill-region in a multiline string work when font-lock is
6424         disabled (bug#7018).
6426 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
6428         * language/european.el (cp775): Add oem/legacy (en)coding on
6429         DOS/MS Windows for the Baltic languages.  There are still plenty
6430         of texts written in this encoding/codepage (bug#6519).
6432 2012-04-10  Glenn Morris  <rgm@gnu.org>
6434         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
6435         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
6437 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
6439         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6440         next-line "n" and previous-line "p" in order to make recentf more
6441         consistent with ibuffer, dired or org-mode (bug#9387).
6443 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6445         * image.el (put-image): Return the overlay created instead of the
6446         optional input string (bug#7834).  Note that this may break code
6447         that is (for some reason or other) depending on `put-image'
6448         returning the string.
6450         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
6452         * simple.el (zap-to-char): Allow zapping using input methods
6453         (bug#1580).
6455         * textmodes/fill.el (fill-region): Leave point and mark where they
6456         were before filling (bug#5399).
6458 2012-04-09  Glenn Morris  <rgm@gnu.org>
6460         * version.el (emacs-bzr-get-version):
6461         Handle lightweight checkouts of local branches.
6463 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
6465         * international/characters.el: Recover lost case pairs.  (Bug#11209)
6467 2012-04-09  Chong Yidong  <cyd@gnu.org>
6469         * custom.el (custom-variable-p): Return nil for non-symbol
6470         arguments instead of signaling an error.
6471         (user-variable-p): Obsolete alias for custom-variable-p.
6473         * apropos.el (apropos-variable):
6474         * files-x.el (read-file-local-variable):
6475         * simple.el (set-variable):
6476         * woman.el (woman-mini-help):
6477         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
6479 2012-04-09  Glenn Morris  <rgm@gnu.org>
6481         * startup.el (normal-top-level): Don't look for leim-list.el
6482         in places where it will not be found.  (Bug#910)
6484         * international/mule-cmds.el (set-default-coding-systems):
6485         * files.el (normal-mode):
6486         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
6487         This function was removed with ucs-tables.el in 2008.
6489 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
6491         * textmodes/ispell.el (ispell-check-version): For hunspell, set
6492         ispell-encoding8-command to "-i", without a trailing space.
6493         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
6494         separate command-line arguments, to specify the encoding, since
6495         that's how hunspell expects it.
6497 2012-04-08  Glenn Morris  <rgm@gnu.org>
6499         * loadup.el: Load bindings before cus-start.
6500         This reduces somewhat the number of "rogue" settings in emacs -Q.
6502 2012-04-07  Glenn Morris  <rgm@gnu.org>
6504         * version.el (emacs-bzr-get-version): New function.
6505         (emacs-bzr-version): New variable.
6506         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
6507         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
6509 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
6511         * international/uni-bidi.el, international/uni-category.el:
6512         * international/uni-combining.el, international/uni-decimal.el:
6513         * international/uni-decomposition.el, international/uni-digit.el:
6514         * international/uni-lowercase.el, international/uni-mirrored.el:
6515         * international/uni-name.el, international/uni-numeric.el:
6516         * international/uni-titlecase.el, international/uni-uppercase.el:
6517         Update for Unicode 6.1.
6519 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
6521         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
6523 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6525         * window.el (shrink-window): Mention the `window-min-height'
6526         variable in the doc string.
6528 2012-04-05  Bastien Guerry  <bzg@altern.org>
6530         * color.el (color-lighten-name): Fix typo.
6532 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6534         * server.el (server--on-display-p): New function.
6535         (server--on-display-p): Use it.
6537 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
6539         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
6540         (bug#11145).
6542 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6544         * comint.el (comint--common-quoted-suffix): Check string boundary
6545         before comparing (bug#11158).
6546         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
6548 2012-04-04  Chong Yidong  <cyd@gnu.org>
6550         * minibuffer.el (completion-extra-properties): Doc fix.
6552         * subr.el (delayed-warnings-hook): Doc fix.
6554 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
6556         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
6557         selection (Bug#11159).
6558         (epa-insert-keys): Inform that the default public key will be
6559         exported if no key is selected.
6561 2012-04-04  Richard Stallman  <rms@gnu.org>
6563         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
6565 2012-04-03  Chong Yidong  <cyd@gnu.org>
6567         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
6568         mail-insert-file, not its obsolete alias mail-attach-file.
6570 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
6572         * notifications.el (notifications-notify): Fix docstring.
6574 2012-04-02  Glenn Morris  <rgm@gnu.org>
6576         * emacs-lisp/authors.el (authors-aliases): Another addition.
6578 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
6580         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
6581         `tramp-compat-call-process' instead of `tramp-local-call-process'.
6582         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
6584 2012-04-01  Chong Yidong  <cyd@gnu.org>
6586         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
6587         Handle root directory properly.
6588         (copy-directory): Caller changed.
6590         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6591         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
6593 2012-03-31  Glenn Morris  <rgm@gnu.org>
6595         * term/xterm.el (xterm-extra-capabilities): Doc fix.
6597         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
6599         * calendar/calendar.el (calendar-window-list)
6600         (calendar-hide-window): Restore.  (Bug#11140)
6601         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
6603         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
6605 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6607         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
6608         Check if file is a symlink (Bug#10489).
6610         * files.el (copy-directory): Likewise.
6612 2012-03-30  Chong Yidong  <cyd@gnu.org>
6614         * image.el (imagemagick-types-inhibit)
6615         (imagemagick-register-types): Doc fix.
6617 2012-03-30  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
6619         * textmodes/ispell.el (ispell-get-extended-character-mode):
6620         Disable extended-char-mode for hunspell.  hunspell does not support it
6621         and treats ~word as ordinary words in pipe mode.
6623 2012-03-30  Glenn Morris  <rgm@gnu.org>
6625         * tutorial.el (help-with-tutorial): Ensure local variables don't
6626         happen to make the buffer read-only.  (Bug#11127)
6628 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6630         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
6631         (perl-calculate-indent): Return `noindent' in strings.
6633 2012-03-28  Sam Steingold  <sds@gnu.org>
6635         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
6636         instead of the broken adhockery which does not prevent calendar
6637         buffers from being displayed at random after exit.
6638         (calendar-window-list, calendar-hide-window): Remove the broken
6639         adhockery.
6641 2012-03-28  Glenn Morris  <rgm@gnu.org>
6643         * replace.el (query-replace-map): Doc fix.
6645 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
6647         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
6648         contents.  (Bug#11109)
6650 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6652         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
6653         (bug#11077).
6654         (avl-tree--check, avl-tree--check-node): New funs.
6656 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
6658         * window.el (switch-to-visible-buffer): New option.
6659         (switch-to-prev-buffer, switch-to-next-buffer):
6660         Observe switch-to-visible-buffer.  Make sure that checking for a window
6661         showing a buffer already is done on the same frame.
6663 2012-03-27  Glenn Morris  <rgm@gnu.org>
6665         * startup.el (mail-host-address): Doc fix.
6667 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6669         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
6670         than 197 variables.
6672 2012-03-26  Ami Fischman  <ami@fischman.org>
6674         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
6676 2012-03-26  Glenn Morris  <rgm@gnu.org>
6678         * files.el (save-buffers-kill-emacs): Doc fix.
6680         * startup.el (normal-top-level, command-line, command-line-1):
6681         Give them doc strings.
6683 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
6685         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
6686         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
6688 2012-03-25  Chong Yidong  <cyd@gnu.org>
6690         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
6691         theme if it was previously enabled before (Bug#11031).
6693         * cus-theme.el (custom-theme-write-faces): Retrieve current face
6694         spec with custom-face-get-current-spec if its :shown-value is not
6695         determined yet (Bug#9337).
6696         (customize-create-theme, custom-theme-revert): Doc fixes.
6698         * button.el (button-at): Minor addition to docstring.
6700 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
6702         * vc/vc.el (vc-merge): Fix a prompt.
6704 2012-03-24  Chong Yidong  <cyd@gnu.org>
6706         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
6707         point (Bug#9623).
6709         * button.el (button-at): Minor addition to docstring.
6711 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6713         * newcomment.el (comment-choose-indent): No space after BOL.
6715 2012-03-22  Sam Steingold  <sds@gnu.org>
6717         * window.el (switch-to-prev-buffer): Revert last patch because the
6718         bug turned out to be an advertised feature (Elisp manual 28.14).
6720 2012-03-22  Glenn Morris  <rgm@gnu.org>
6722         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
6723         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
6725 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6727         * net/network-stream.el (network-stream-open-starttls): Make error
6728         message under Windows be less misleading.
6730 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
6732         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
6733         understands (bug#9942).
6735 2012-03-22  Chong Yidong  <cyd@gnu.org>
6737         * simple.el (end-of-visible-line): Handle return value of
6738         next-single-property-change properly (Bug#9371).
6740 2012-03-22  Kenichi Handa  <handa@m17n.org>
6742         * international/quail.el (quail-insert-kbd-layout): Fix previous
6743         change.  To avoid unwanted bidi reordering, use
6744         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
6746 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
6748         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
6749         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
6750         (ruby-beginning-of-indent): Be more careful with the difference
6751         between word-boundary and symbol boundary.
6752         (ruby-mode-syntax-table): Make : a symbol constituent.
6754 2012-03-21  Andreas Politz  <politza@fh-trier.de>
6756         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
6758 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6760         * progmodes/etags.el (tags-completion-at-point-function):
6761         Improve last fix.
6763         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
6765 2012-03-21  Sam Steingold  <sds@gnu.org>
6767         * progmodes/etags.el (tags-completion-at-point-function):
6768         Avoid the error when point is inside the pattern.
6770 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
6772         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
6773         line (Bug#10855).
6775 2012-03-21  Drew Adams  <drew.adams@oracle.com>
6777         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
6779 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
6781         * ido.el (ido-set-current-directory, ido-read-internal)
6782         (ido-choose-completion-string, ido-completion-help): Handle nil
6783         value of ido-completion-buffer (Bug#11008).
6785 2012-03-21  Sam Steingold  <sds@gnu.org>
6787         * window.el (switch-to-prev-buffer): Do not switch to a visible
6788         window previous buffer, just like with the frame previous buffers.
6790 2012-03-21  Chong Yidong  <cyd@gnu.org>
6792         * faces.el (make-face, make-empty-face, copy-face):
6793         * face-remap.el (face-remap-add-relative, face-remap-set-base):
6794         Doc fixes.
6796 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6798         * wid-edit.el (widget-complete-field): Remove (bug#11051).
6799         (widget-complete): Remove broken use of it.
6801 2012-03-20  Chong Yidong  <cyd@gnu.org>
6803         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
6804         Use string-width and truncate-string-width to handle arbitrary
6805         characters.
6807 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
6809         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
6810         to draw rectangles, not squares.  (Regression introduced by revno
6811         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6813 2012-03-18  Chong Yidong  <cyd@gnu.org>
6815         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6816         it is not yet defined (for temacs).
6818 2012-03-18  Leo Liu  <sdl.web@gmail.com>
6820         * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
6822 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
6824         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6825         (ispell-choices-win-default-height, ispell-silently-savep)
6826         (ispell-dictionary-alist, ispell-encoding8-command)
6827         (ispell-check-version, ispell-aspell-find-dictionary)
6828         (ispell-valid-dictionary-list, ispell-words-keyword)
6829         (ispell-get-word, ispell-internal-change-dictionary)
6830         (ispell-region, ispell-skip-region-list)
6831         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6832         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6833         (ispell-message-text-end, ispell-message)
6834         (ispell-buffer-local-parsing): Doc fix.
6836 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
6838         * htmlfontify.el: Add support for code block fontification for ODT
6839         export (Bug #9914).
6840         (hfy-optimisations): Define new option
6841         `body-text-only'
6842         (hfy-fontify-buffer): Honor above setting.
6843         (hfy-begin-span, hfy-end-span): New routines factored out form
6844         `hfy-fontify-buffer'.
6845         (hfy-begin-span-handler, hfy-end-span-handler): New variables
6846         that permit insertion of custom tags.
6847         (hfy-fontify-buffer): Use above handlers.
6848         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6849         (hfy-face-to-css): Re-defined to be a variable.
6850         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
6851         over multiple runs.  This is made possible by having the caller let
6852         bind a special variable `hfy-user-sheet-assoc'.
6853         (htmlfontify-string): New defun.
6854         (hfy-compile-face-map): Make sure that the last char in the
6855         buffer is correctly fontified.
6856         (hfy-face-resolve-face): Whitespace only change.
6858 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
6860         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6861         message more clear.
6863 2012-03-16  Leo Liu  <sdl.web@gmail.com>
6865         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6867 2012-03-16  Alan Mackenzie  <acm@muc.de>
6869         Further optimise the handling of large macros.
6871         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6872         limit to a call of `c-literal-limits'.
6873         (c-determine-+ve-limit): New function.
6874         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6875         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
6876         In CASE 5B, restrict a search limit to 500.
6877         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6879         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6880         Restrict macro bounds to +-500 from after-change's BEG END.
6882 2012-03-16  Leo Liu  <sdl.web@gmail.com>
6884         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6886 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
6888         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
6889         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
6891 2012-03-16  Glenn Morris  <rgm@gnu.org>
6893         * view.el (view-buffer, view-buffer-other-window)
6894         (view-buffer-other-frame): Doc fixes re special mode-class.
6896         * subr.el (eval-after-load): If named feature is provided not from
6897         a file, run after-load forms.  (Bug#10946)
6899         * calendar/calendar.el (calendar-insert-at-column):
6900         Handle non-unit-width characters a bit better.  (Bug#10978)
6902 2012-03-15  Chong Yidong  <cyd@gnu.org>
6904         * emacs-lisp/ring.el (ring-extend): New function.
6905         (ring-insert+extend): Extend the ring correctly (Bug#11019).
6907         * comint.el (comint-read-input-ring)
6908         (comint-add-to-input-history): Grow comint-input-ring lazily.
6910 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6912         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6913         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6915         * imenu.el: Fix multiple inheritance breakage (bug#9199).
6916         (imenu-add-to-menubar): Don't add a redundant index.
6917         (imenu-update-menubar): Handle a dynamically composed keymap.
6919 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
6921         * mail/sendmail.el (mail-encode-header):
6922         Bind rfc2047-encode-encoded-words to nil.
6924 2012-03-13  Glenn Morris  <rgm@gnu.org>
6926         * calendar/calendar.el (calendar-string-spread):
6927         Handle non-unit-width characters a bit better.  (Bug#10978)
6929 2012-03-13  Leo Liu  <sdl.web@gmail.com>
6931         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6932         directory and file as argument (Bug#10822).
6934 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
6936         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6937         For dynamically generated code, follow $PC.
6938         (gdb-disassembly-handler-custom): Handle no function name case.
6940 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
6942         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6943         * emulation/ws-mode.el (ws-query-replace):
6944         * sort.el (sort-regexp-fields):
6945         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
6947 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6949         * dabbrev.el: Fix cycle completion order (bug#10963).
6950         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6951         (dabbrev-completion): Don't use an obarray; provide
6952         a cycle-sort-function.
6954 2012-03-12  Leo Liu  <sdl.web@gmail.com>
6956         * simple.el (kill-new): Use equal-including-properties for comparison.
6957         (kill-do-not-save-duplicates): Doc fix.
6959 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6961         * dabbrev.el: Fix cycle completion (bug#10963).
6962         Use lexical binding and wrap to 80 columns.
6963         (dabbrev-completion): Delay computing the list of completions.
6965 2012-03-12  Kenichi Handa  <handa@m17n.org>
6967         * international/quail.el (quail-insert-kbd-layout): Surround each
6968         row by LRO and PDF instead of inserting many LRMs.  Pad the left
6969         and right of each non-spacing marks.  Insert invisible space
6970         between lower and upper characters to prevent composition.
6972 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6974         * minibuffer.el (minibuffer-complete): Don't get confused when the
6975         function is run twice via different commands (bug#10958).
6976         (complete-with-action): Fix docstring.
6978 2012-03-12  Chong Yidong  <cyd@gnu.org>
6980         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6981         (nxml-completion-at-point-function): New function.
6982         (nxml-mode): Use it.
6983         (nxml-bind-meta-tab-to-complete-flag): Default to t.
6985         * emacs-lisp/package.el (package-unpack, package-unpack-single):
6986         Load generated autoloads file before byte compiling (Bug#10970).
6987         (package--make-autoloads-and-compile): New helper fun.
6989 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
6991         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6993 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
6995         * autorevert.el (auto-revert-handler): Ensure, that
6996         file-readable-p is applied only for local files or in
6997         auto-revert-tail-mode.
6999 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
7001         * server.el (server-eval-at): Handle non-tcp connections.
7002         Decode result string.
7004         * server.el (server-msg-size): New constant.
7005         (server-reply-print): New function.
7006         (server-eval-and-print): Use it.
7007         (server-eval-at): Use server-quote-arg and server-unquote-arg.
7008         Handle -print-nonl.
7010 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
7012         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
7013         (Bug#10987).
7015 2012-03-11  Chong Yidong  <cyd@gnu.org>
7017         * simple.el (goto-line): Doc fix (Bug#9938).
7019         * subr.el (save-window-excursion): Doc fix (Bug#9979).
7021         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
7022         when finished (Bug#10963).
7024 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
7026         * window.el (split-window-below): Fix bug in case where
7027         split-window-keep-point is nil (Bug#10971).
7029 2012-03-11  Juri Linkov  <juri@jurta.org>
7031         * replace.el (replace-highlight): Set isearch-word to nil
7032         unconditionally.  (Bug#10887)
7034 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
7036         * net/mairix.el (mairix-replace-invalid-chars): Rename from
7037         mairix-replace-illegal-chars; all callers changed.  Don't remove
7038         ^, ~, and = characters: they are meaningful in mairix search specs.
7039         (mairix-widget-create-query): Add usage information about mairix
7040         search forms: negating words, searching for substrings, etc.
7042 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
7044         * international/fontset.el (font-encoding-alist): Add an entry for
7045         ksx1001 (Bug#5667).
7047 2012-03-10  Richard Stallman  <rms@gnu.org>
7049         * mail/sendmail.el (mail-encode-header):
7050         Set rfc2047-encode-encoded-words.
7052         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
7054         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
7055         view buffer means not swapped.
7056         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
7057         (rmail-write-region-annotate): Error if real text has disappeared.
7059         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
7061 2012-03-10  Chong Yidong  <cyd@gnu.org>
7063         * emulation/cua-rect.el (cua--init-rectangles):
7064         * emulation/cua-base.el (cua--init-keymaps):
7065         Add delete-forward-char to remappings (Bug#9666).
7067 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
7069         * speedbar.el (speedbar-unhighlight-one-tag-line):
7070         Avoid unhighlighting due to frame switching (Bug#10275).
7072 2012-03-10  Chong Yidong  <cyd@gnu.org>
7074         * minibuffer.el (completion-in-region, completion-help-at-point):
7075         Give the completion field overlay a high priority (Bug#6830).
7077         * dired.el (dired-goto-file): Recognize absolute file name
7078         listings (Bug#7126).
7079         (dired-goto-file-1): New helper function.
7080         (dired-toggle-read-only): Inhibit warnings.
7082 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
7084         * net/dbus.el (dbus-property-handler): Return empty array if
7085         there are no properties.
7087 2012-03-09  Leo Liu  <sdl.web@gmail.com>
7089         * savehist.el (savehist-printable): Stricter check for string
7090         value (Bug#10937).
7092 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
7094         * mail/smtpmail.el (smtpmail-send-it):
7095         Bind coding-system-for-write to *-unix, so that FCC files are kept in
7096         valid mbox format.
7098 2012-03-09  Glenn Morris  <rgm@gnu.org>
7100         * files.el (dir-locals-find-file):
7101         Don't check result is regular, readable.
7102         (dir-locals-read-from-file): Demote errors.
7104 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
7106         * international/quail.el (quail-insert-kbd-layout):
7107         Insert invisible LRM characters before each character in a keyboard
7108         layout cell, to prevent their reordering by bidi display engine.
7109         For details, see the discussion in
7110         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
7112 2012-03-08  Alan Mackenzie  <acm@muc.de>
7114         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
7115         the starting position; make it extend the marked region when
7116         invoked repeatedly - all under appropriate circumstances.
7117         Fixes bugs #5525, #10906.
7119 2012-03-08  Glenn Morris  <rgm@gnu.org>
7121         * files.el (locate-dominating-file, dir-locals-find-file):
7122         Undo 2012-03-06 change.
7124 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
7126         * international/quail.el (quail-help):
7127         Force bidi-paragraph-direction be left-to-right.  See discussion in
7128         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
7129         for the reason.
7131 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
7133         Avoid superfluous registering of signals.  (Bug#10807)
7135         * notifications.el (notifications-on-action-object)
7136         (notifications-on-close-object): New defvars.
7137         (notifications-on-action-signal, notifications-on-closed-signal):
7138         Unregister the signal if not needed any longer.
7139         (notifications-notify): Register `notifications-action-signal' or
7140         `notifications-closed-signal', if :on-action or :on-close has been
7141         passed as argument.
7143 2012-03-07  Chong Yidong  <cyd@gnu.org>
7145         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
7146         non-X platforms.
7148 2012-03-06  Glenn Morris  <rgm@gnu.org>
7150         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7151         (x-disown-selection-internal, x-get-selection-internal):
7152         Doc fix (add arglist signatures).  (Bug#10783)
7154 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
7156         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7157         Handle breakpoints with no "type".
7159 2012-03-06  Glenn Morris  <rgm@gnu.org>
7161         * files.el (locate-dominating-file): Add optional predicate argument.
7162         (dir-locals-find-file): Make use of above change.
7164 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
7166         * info.el (Info-insert-dir): Also try "dir.gz".
7168 2012-03-06  Glenn Morris  <rgm@gnu.org>
7170         * files.el (dir-locals-find-file):
7171         Ignore non-readable or non-regular files.  (Bug#10928)
7173         * files.el (locate-dominating-file): Doc fix.
7175 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
7177         * calendar/calendar.el (calendar-set-mode-line):
7178         `getenv' returns a string.  (Bug#10951)
7180 2012-03-05  Leo Liu  <sdl.web@gmail.com>
7182         * simple.el (backward-delete-char-untabify): Constrain point to
7183         field (Bug#10939).
7185         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
7187 2012-03-05  Chong Yidong  <cyd@gnu.org>
7189         * simple.el (count-words): If called from Lisp, return the word
7190         count, for symmetry with `count-lines'.  Arglist changed.
7191         (count-words--message): Args changed.  Consolidate counting code
7192         from count-words and count-words-region.
7193         (count-words-region): Caller changed.
7194         (count-lines-region): Make it an obsolete alias.
7196 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
7198         * saveplace.el (save-place-to-alist)
7199         (save-place-ignore-files-regexp): Allow value nil to disable this
7200         feature.
7202 2012-03-04  Chong Yidong  <cyd@gnu.org>
7204         * faces.el (face-spec-reset-face): For the default face, reset the
7205         attributes to default values (Bug#10748).
7207 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7209         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
7210         previous patch: Check `message-send-mail-function', and not the
7211         default function (bug#10897).
7213 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
7215         * notifications.el (notifications-on-action-signal)
7216         (notifications-on-closed-signal): Check for unique service name of
7217         incoming event.  Fix error in removing entry.
7218         (top): Register for signals with wildcard service name.
7219         (notifications-notify): Use daemon unique service name for map entries.
7221 2012-03-04  Chong Yidong  <cyd@gnu.org>
7223         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
7225 2012-03-04  Glenn Morris  <rgm@gnu.org>
7227         * abbrev.el (copy-abbrev-table, abbrev-table-p)
7228         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
7229         (expand-abbrev, define-abbrev-table): Doc fixes.
7231 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7233         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
7234         `message-default-send-mail-function' and not `send-mail-function'
7235         when doing the prompting for `sendmail-query-once' before sending
7236         in Message buffers (bug#10897).
7238         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
7239         This is inconsistent with all the other stream functions, which leave
7240         the setting up to the higher levels (if so wanted) (bug#10931).
7242 2012-03-02  Alan Mackenzie  <acm@muc.de>
7244         Depessimize the handling of very large macros.
7246         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
7247         (c-macro-cache-syntactic): New variables to implement a one
7248         element macro cache.
7249         (c-invalidate-macro-cache): New function.
7250         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
7251         Adapt to use the new cache.
7252         (c-state-safe-place): Use better the cache of safe positions.
7253         (c-state-semi-nonlit-pos-cache)
7254         (c-state-semi-nonlit-pos-cache-limit):
7255         New variables for...
7256         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
7257         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
7258         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
7259         Use c-state-semi-safe-place.
7261         * progmodes/cc-langs.el (c-get-state-before-change-functions):
7262         Add c-invalidate-macro-cache to the C, C++, Obj entries.
7264 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
7266         * jka-compr.el (jka-compr-call-process):
7267         Apply `file-accessible-directory-p' only when the default directory is
7268         not remote.
7270 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
7272         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
7273         access of FILE2, if FILE1 does not exist.
7275         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
7276         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
7278         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
7279         Add "PAGER=" to `process-environment'.
7281 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
7283         * progmodes/sql.el: Bug fix
7284         (sql-get-login-ext): Save login values in globals.
7285         (sql-get-login): Use new version of `sql-get-login-ext'.
7286         (sql-interactive-mode): Set global `sql-connection' to nil.
7287         (sql-connect): Set global values for connection.
7288         (sql-product-interactive): Save global values as buffer local.
7290 2012-02-29  Leo Liu  <sdl.web@gmail.com>
7292         * abbrev.el (define-abbrevs): Reset sys to nil.
7294 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7296         * files.el (file-equal-p): Rename from `files-equal-p'.
7297         Return nil when one or both files don't exist.
7298         (file-subdir-of-p): Now only top directory must exists,
7299         return nil if it doesn't.
7300         (copy-directory): No need to test with `file-subdir-of-p' after
7301         creating dir.
7302         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
7303         to `file-equal-p'.
7305 2012-02-28  Glenn Morris  <rgm@gnu.org>
7307         * shell.el (shell-mode):
7308         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
7309         * play/landmark.el (landmark-font-lock-face-O):
7310         * play/handwrite.el (handwrite):
7311         * play/gomoku.el (gomoku-O):
7312         * net/browse-url.el (browse-url-browser-display):
7313         * international/mule.el (define-charset):
7314         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
7315         * filesets.el (filesets-find-file-delay):
7316         * eshell/em-xtra.el (eshell-xtra):
7317         * eshell/em-unix.el (eshell-grep):
7318         * emulation/viper.el (viper-mode):
7319         * emacs-lisp/regexp-opt.el (regexp-opt-group):
7320         * emacs-lisp/easymenu.el (easy-menu-define):
7321         * calendar/timeclock.el (timeclock-use-display-time):
7322         * bs.el (bs-mode):
7323         * bookmark.el (bookmark-save-flag):
7324         Doc fix (standardize possessive apostrophe usage).
7326 2012-02-27  Chong Yidong  <cyd@gnu.org>
7328         * emulation/viper-cmd.el (viper-intercept-ESC-key):
7329         Fix key-binding lookup for ESC key (Bug#9146).
7331         * font-lock.el (font-lock-specified-p): Rename from
7332         font-lock-spec-present.  Callers changed.
7334 2012-02-27  Daniel Hackney  <dan@haxney.org>
7336         * emacs-lisp/package.el (package-compute-transaction):
7337         Handle holding a package version to t in package-load-list.
7339 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
7341         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
7342         (tramp-get-inode, tramp-get-device): Use cached values.
7344 2012-02-26  Alan Mackenzie  <acm@muc.de>
7346         Check there is a font-lock specification before doing initial
7347         fontification.
7349         * font-core.el (font-lock-mode): Move the conditional from
7350         :after-hook to font-lock-initial-fontify.
7351         (font-lock-default-function): Move the check for a specification
7352         to font-lock-spec-present.
7354         * font-lock.el (font-lock-initial-fontify): Call ...
7355         (font-lock-spec-present): New function.
7357 2012-02-26  Jim Blandy  <jimb@red-bean.com>
7359         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
7360         (gdb-send): Apply it to the operand of the '-interpreter-exec
7361         console' command, so that we can pass arguments with (say) quotes
7362         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
7364 2012-02-26  Chong Yidong  <cyd@gnu.org>
7366         * help-fns.el (describe-function-1): Clarify description of
7367         remapping (Bug#10844).
7369         * files.el (files-equal-p): Doc fix.
7370         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
7371         and quit the loop once a mismatch is found.
7373 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
7375         * bs.el (bs--show-with-configuration): Don't throw an error
7376         if the window cannot be split; otherwise, subsequent calls to
7377         bs-show fail, restoring a stale window config.  (Bug#10882)
7379 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
7381         * term/ns-win.el (global-map): Bind ns-drag-file to
7382         ns-find-file (Bug#5855, Bug#10050).
7384 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
7386         * calendar/parse-time.el (parse-time-string): Allow extractor to
7387         return nil.
7389 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
7391         * net/tramp.el (tramp-file-name-for-operation):
7392         Add `files-equal-p' and `file-subdir-of-p'.
7394         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
7395         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
7396         Add COPY-CONTENTS argument.
7398 2012-02-25  Chong Yidong  <cyd@gnu.org>
7400         Add custom groups for VC backends, for consistency with vc-bzr.
7402         * vc/vc-arch.el (vc-arch):
7403         * vc/vc-cvs.el (vc-cvs):
7404         * vc/vc-git.el (vc-git):
7405         * vc/vc-hg.el (vc-hg):
7406         * vc/vc-mtn.el (vc-mtn):
7407         * vc/vc-rcs.el (vc-rcs):
7408         * vc/vc-sccs.el (vc-sccs):
7409         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
7410         All relevant defcustoms reassigned.
7412 2012-02-25  Chong Yidong  <cyd@gnu.org>
7414         * newcomment.el (comment-styles): Add autoload (Bug#10868).
7416         * term/x-win.el (x-initialize-window-system): Reduce default for
7417         x-selection-timeout to 5 seconds (Bug#8869).
7419 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7421         * files.el (files-equal-p, file-subdir-of-p): New functions.
7422         (copy-directory): Error when trying to copy a directory on itself.
7423         Add missing copy-contents arg to tramp handler.
7424         * dired-aux.el (dired-copy-file-recursive): Same.
7425         (dired-create-files): Modify destination when source is equal to
7426         dest when copying files.
7427         Return also when dest is a subdir of source.  (Bug#10489)
7429 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
7431         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
7432         (Bug#10874)
7434 2012-02-23  Alan Mackenzie  <acm@muc.de>
7436         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
7437         parameter "after-hook:" to allow the expansion to run code after
7438         the execution of the mode hooks.
7440         * font-lock.el (font-lock-initial-fontify): New function extracted
7441         from font-lock-mode-internal.
7443         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
7444         :after-hook.
7446 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7448         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
7449         (completion--cache-all-sorted-completions): New function.
7450         (completion-all-sorted-completions): Use it.
7451         (completion--do-completion, minibuffer-force-complete):
7452         Use it to re-instate the flush hook.
7454         * icomplete.el (icomplete-completions): Replace last fix with a better
7455         one (bug#10850).
7457 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
7459         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
7460         when it might call us back infinitely (bug#10797).
7462 2012-02-23  Glenn Morris  <rgm@gnu.org>
7464         * minibuffer.el (completion-category-overrides): Doc fix.
7466 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7468         * minibuffer.el (completion-table-with-context): Fix inf-loop.
7469         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
7471 2012-02-23  Glenn Morris  <rgm@gnu.org>
7473         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
7474         (authors-obsolete-files-regexps, authors-ignored-files)
7475         (authors-ambiguous-files, authors-renamed-files-alist):
7476         Add more entries.
7478 2012-02-23  Juri Linkov  <juri@jurta.org>
7480         * isearch.el (isearch-occur): Sync interactive spec with occur's
7481         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
7483         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
7485 2012-02-22  Juri Linkov  <juri@jurta.org>
7487         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
7488         (ucs-insert): Doc fix.  Check for hex digits in the string.
7489         Don't display `nil' in the error message.  (Bug#10857)
7491 2012-02-22  Alan Mackenzie  <acm@muc.de>
7493         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
7495 2012-02-22  Glenn Morris  <rgm@gnu.org>
7497         * ffap.el (ffap-c-path):
7498         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
7500 2012-02-22  Chong Yidong  <cyd@gnu.org>
7502         * custom.el (load-theme): Doc fix.
7504 2012-02-22  Glenn Morris  <rgm@gnu.org>
7506         * dired-x.el (dired-guess-shell-alist-default):
7507         Remove escape sequences from nroff output.  (Bug#172)
7509 2012-02-21  Glenn Morris  <rgm@gnu.org>
7511         * vc/emerge.el (emerge-defvar-local):
7512         Set `permanent-local' property rather than unused `preserved'.
7514         * textmodes/picture.el (picture-delete-char): New alias.
7515         (picture-mode-map): Use it.  (Bug#10860)
7516         (picture-mode): Doc fix.
7518 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
7520         * newcomment.el (uncomment-region-default): Remove unused binding.
7522 2012-02-21  Glenn Morris  <rgm@gnu.org>
7524         * textmodes/picture.el (picture-motion, picture-motion-reverse)
7525         (picture-self-insert, picture-tab-chars): Doc fix.
7526         (picture-mode-map): Fix C-a, C-e.
7528 2012-02-20  Glenn Morris  <rgm@gnu.org>
7530         * emacs-lisp/authors.el (authors-aliases): Add another entry.
7532 2012-02-20  Leo Liu  <sdl.web@gmail.com>
7534         * icomplete.el (icomplete-completions): Check FROM arg before
7535         passing to substring (Bug#10850).
7537 2012-02-19  Chong Yidong  <cyd@gnu.org>
7539         * comint.el: Require ansi-color.
7540         (comint-output-filter-functions): Add ansi-color-process-output.
7542         * ansi-color.el: Don't set comint-output-filter-functions; it is
7543         now in the initial value defined in comint.el.
7544         (ansi-color-apply-face-function): New variable.
7545         (ansi-color-apply-on-region): Use it.
7546         (ansi-color-apply-overlay-face): New function.
7548         * shell.el (shell): No need to require ansi-color.
7549         (shell-mode): Use ansi-color-apply-face-function to highlight
7550         color escapes using font-lock-face property (Bug#10835).
7552 2012-02-19  Chong Yidong  <cyd@gnu.org>
7554         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
7555         mode-line formats (Bug#10839).
7557 2012-02-18  Glenn Morris  <rgm@gnu.org>
7559         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
7561         * mail/undigest.el (unforward-rmail-message): Doc fix.
7563         * saveplace.el (save-place-ignore-files-regexp): Add :version.
7565 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
7567         * international/characters.el (script-list): Sync with the latest
7568         Unicode Character Database.
7570 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
7572         * international/titdic-cnv.el: Remove duplicate coding tag.
7573         * language/cham.el: Likewise.
7574         * language/tai-viet.el: Likewise.
7576 2012-02-18  Glenn Morris  <rgm@gnu.org>
7578         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
7579         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
7580         (calendar-bahai-all-holidays-flag, calendar-other-dates):
7581         * calendar/diary-lib.el (diary-abbreviated-year-flag):
7582         * calendar/holidays.el (holiday-bahai-holidays)
7583         (calendar-holidays, list-holidays):
7584         Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
7586 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
7588         * saveplace.el (save-place-ignore-files-regexp): New variable
7589         allowing for excluding files from saving their location of point.
7590         The default value matches the temporary commit message editing
7591         files from Git, SVN, Bazaar, and Mercurial.
7592         (save-place-to-alist): Use it.
7594 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
7595             Stefan Monnier  <monnier@iro.umontreal.ca>
7597         * newcomment.el (uncomment-region-default): Don't leave extra space
7598         when an arg is provided (bug#8150).
7600 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
7602         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
7604 2012-02-17  Glenn Morris  <rgm@gnu.org>
7606         * net/socks.el: Require network-stream.  (Bug#10599)
7608 2012-02-17  Kenichi Handa  <handa@m17n.org>
7610         * international/charprop.el:
7611         * international/uni-name.el:
7612         * international/uni-old-name.el:
7613         * international/uni-comment.el: Regenerate.
7615 2012-02-16  Glenn Morris  <rgm@gnu.org>
7617         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
7618         Interactively in calendar buffer, give an error if not on a date.
7620 2012-02-15  Glenn Morris  <rgm@gnu.org>
7622         * shell.el (shell-delimiter-argument-list):
7623         Revert 2011-02-17 change.  (Bug#8027)
7625 2012-02-15  Chong Yidong  <cyd@gnu.org>
7627         * minibuffer.el (completion-at-point-functions): Doc fix.
7629         * custom.el (defcustom): Doc fix; note use of defvar.
7631 2012-02-15  Glenn Morris  <rgm@gnu.org>
7633         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
7634         Doc fixes.
7636 2012-02-14  Glenn Morris  <rgm@gnu.org>
7638         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
7640 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
7642         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
7643         way the ports list is computed.
7644         (smtpmail-query-smtp-server): Prompt the user for a port number if
7645         we can't connect to any of the standard ports (bug#10810).
7647 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
7649         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
7651 2012-02-13  Glenn Morris  <rgm@gnu.org>
7653         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
7655 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
7657         * net/gnutls.el (gnutls-trustfiles): New variable.
7658         (gnutls-negotiate): Use it.
7660 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
7662         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
7663         does its stuff if Gnus is running.
7665 2012-02-13  Alan Mackenzie  <acm@muc.de>
7667         Fix a loop in c-set-fl-decl-start.
7669         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
7670         c-backward-syntactic-ws actually moves backwards.
7672 2012-02-13  Leo Liu  <sdl.web@gmail.com>
7674         * net/rcirc.el (rcirc-markup-attributes): Move point to the
7675         beginning so that all \C-o chars are removed.
7677 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
7679         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
7681 2012-02-12  Alan Mackenzie  <acm@muc.de>
7683         Fix infinite loop with long macros.
7684         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
7686 2012-02-12  Chong Yidong  <cyd@gnu.org>
7688         * window.el (display-buffer): Doc fix (Bug#10785).
7690 2012-02-12  Glenn Morris  <rgm@gnu.org>
7692         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
7693         (x-disown-selection-internal, x-get-selection-internal):
7694         Sync docs with the xselect.c versions.
7696         * allout-widgets.el: Add missing license notice.
7698 2012-02-11  Glenn Morris  <rgm@gnu.org>
7700         * select.el (x-get-selection-internal, x-own-selection-internal)
7701         (x-disown-selection-internal):
7702         * x-dnd.el (x-get-selection-internal): Update declarations.
7704         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
7706         * window.el (window-sides-slots):
7707         * tool-bar.el (tool-bar-position):
7708         * term/xterm.el (xterm-extra-capabilities):
7709         * ses.el (ses-self-reference-early-detection):
7710         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
7711         (verilog-auto-wire-type)
7712         (verilog-auto-delete-trailing-whitespace)
7713         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
7714         (verilog-auto-tieoff-declaration):
7715         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
7716         (sql-oracle-statement-starters, sql-oracle-scan-on):
7717         * progmodes/prolog.el (prolog-align-comments-flag)
7718         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
7719         (prolog-left-indent-regexp, prolog-paren-indent-p)
7720         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
7721         (prolog-types, prolog-mode-specificators)
7722         (prolog-determinism-specificators, prolog-directives)
7723         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
7724         (prolog-electric-dot-flag)
7725         (prolog-electric-dot-full-predicate-template)
7726         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
7727         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
7728         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
7729         (prolog-program-switches, prolog-prompt-regexp)
7730         (prolog-debug-on-string, prolog-debug-off-string)
7731         (prolog-trace-on-string, prolog-trace-off-string)
7732         (prolog-zip-on-string, prolog-zip-off-string)
7733         (prolog-use-standard-consult-compile-method-flag)
7734         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
7735         (prolog-imenu-max-lines, prolog-info-predicate-index)
7736         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
7737         (prolog-char-quote-workaround):
7738         * progmodes/cc-vars.el (c-defun-tactic):
7739         * net/tramp.el (tramp-encoding-command-interactive)
7740         (tramp-local-end-of-line):
7741         * net/soap-client.el (soap-client):
7742         * net/netrc.el (netrc-file):
7743         * net/gnutls.el (gnutls):
7744         * minibuffer.el (completion-category-overrides)
7745         (completion-cycle-threshold)
7746         (completion-pcm-complete-word-inserts-delimiters):
7747         * man.el (Man-name-local-regexp):
7748         * mail/feedmail.el (feedmail-display-full-frame):
7749         * international/characters.el (glyphless-char-display-control):
7750         * eshell/em-ls.el (eshell-ls-date-format):
7751         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
7752         (lisp-lambda-list-keyword-parameter-indentation)
7753         (lisp-lambda-list-keyword-parameter-alignment):
7754         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
7755         * dired-x.el (dired-omit-verbose):
7756         * cus-theme.el (custom-theme-allow-multiple-selections):
7757         * calc/calc.el (calc-highlight-selections-with-faces)
7758         (calc-lu-field-reference, calc-lu-power-reference)
7759         (calc-note-threshold):
7760         * battery.el (battery-mode-line-limit):
7761         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
7762         (archive-7z-update):
7763         * allout.el (allout-prefixed-keybindings)
7764         (allout-unprefixed-keybindings)
7765         (allout-inhibit-auto-fill-on-headline)
7766         (allout-flattened-numbering-abbreviation):
7767         * allout-widgets.el (allout-widgets-auto-activation)
7768         (allout-widgets-icons-dark-subdir)
7769         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
7770         (allout-widgets-theme-dark-background)
7771         (allout-widgets-theme-light-background)
7772         (allout-widgets-item-image-properties-emacs)
7773         (allout-widgets-item-image-properties-xemacs)
7774         (allout-widgets-run-unit-tests-on-load)
7775         (allout-widgets-time-decoration-activity)
7776         (allout-widgets-hook-error-post-time)
7777         (allout-widgets-track-decoration):
7778         Add missing :version tags to new defcustoms and defgroups.
7780         * progmodes/sql.el (sql-ansi-statement-starters)
7781         (sql-oracle-statement-starters): Add custom type.
7783         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
7784         (prolog-system-version): Give it a type.
7786 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
7788         * term/pc-win.el (x-select-text, x-selection-owner-p)
7789         (x-own-selection-internal, x-disown-selection-internal)
7790         (x-get-selection-internal): Sync doc strings and argument lists
7791         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
7793 2012-02-11  Leo Liu  <sdl.web@gmail.com>
7795         * progmodes/python.el (python-end-of-statement): Fix infinite
7796         loop.  (Bug#10788)
7798 2012-02-10  Glenn Morris  <rgm@gnu.org>
7800         * international/mule-cmds.el (unify-8859-on-encoding-mode)
7801         (unify-8859-on-decoding-mode): Properly mark as obsolete.
7803 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
7805         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
7806         about SMTP before checking the From header.
7808         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
7809         into own function for reuse by emacsbug.el.
7811 2012-02-10  Leo Liu  <sdl.web@gmail.com>
7813         * subr.el (condition-case-unless-debug): Rename from
7814         condition-case-no-debug.  All callers changed.
7815         (with-demoted-errors): Fix caller.
7817         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7818         * nxml/rng-valid.el (rng-do-some-validation):
7819         * emacs-lisp/package.el (package-refresh-contents)
7820         (package-menu-execute):
7821         * desktop.el (desktop-create-buffer):
7822         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
7824 2012-02-10  Glenn Morris  <rgm@gnu.org>
7826         * textmodes/bibtex.el:
7827         Add missing :version tags for new/changed defcustoms.
7829         * files.el (remote-file-name-inhibit-cache): Doc fixes.
7831 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
7833         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7834         (smtpmail-via-smtp): Use it, or fall back on the From address.
7835         (smtpmail-send-it): Ditto.
7837 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7839         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7840         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
7841         (byte-compile-tmp-var): New const.
7842         (byte-compile-defvar): Use it to minimize .elc size.
7843         Just use `defvar' rather than simulate it (bug#10761).
7845 2012-02-09  Glenn Morris  <rgm@gnu.org>
7847         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
7849         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7850         Add :version tags.
7852         * progmodes/compile.el (compilation-error-screen-columns)
7853         (compilation-first-column, compilation-filter-start): Doc fixes.
7855         * vc/log-view.el (log-view-toggle-entry-display):
7856         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7858         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7859         (report-emacs-bug-can-use-xdg-email):
7860         (report-emacs-bug-insert-to-mailer): Doc fixes.
7861         (report-emacs-bug): Message fix.
7863         * net/browse-url.el (browse-url-can-use-xdg-open)
7864         (browse-url-xdg-open): Doc fixes.
7866         * electric.el (electric-indent-mode, electric-pair-mode)
7867         (electric-layout-rules, electric-layout-mode): Doc fixes.
7868         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7870 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
7872         * server.el (server-unselect-display): Don't inadvertently kill
7873         the current buffer.  (Bug#10729)
7875 2012-02-08  Glenn Morris  <rgm@gnu.org>
7877         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7878         (sql-list-table): Doc fixes.
7880         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7881         Comment out (does nothing).
7883         * completion.el (dynamic-completion-mode):
7884         * dirtrack.el (dirtrack-debug-mode):
7885         * electric.el (electric-layout-mode):
7886         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7887         * face-remap.el (text-scale-mode, buffer-face-mode):
7888         * iimage.el (iimage-mode):
7889         * image-mode.el (image-transform-mode):
7890         * minibuffer.el (completion-in-region-mode):
7891         * scroll-lock.el (scroll-lock-mode):
7892         * simple.el (next-error-follow-minor-mode):
7893         * tar-mode.el (tar-subfile-mode):
7894         * tooltip.el (tooltip-mode):
7895         * vcursor.el (vcursor-use-vcursor-map):
7896         * wid-browse.el (widget-minor-mode):
7897         * emulation/tpu-edt.el (tpu-edt-mode):
7898         * emulation/tpu-extras.el (tpu-cursor-free-mode):
7899         * international/iso-ascii.el (iso-ascii-mode):
7900         * language/thai-util.el (thai-word-mode):
7901         * mail/supercite.el (sc-minor-mode):
7902         * net/goto-addr.el (goto-address-mode):
7903         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7904         * progmodes/cwarn.el (cwarn-mode):
7905         * progmodes/flymake.el (flymake-mode):
7906         * progmodes/glasses.el (glasses-mode):
7907         * progmodes/hideshow.el (hs-minor-mode):
7908         * progmodes/pascal.el (pascal-outline-mode):
7909         * textmodes/enriched.el (enriched-mode):
7910         * vc/smerge-mode.el (smerge-mode):
7911         Doc fixes (minor mode argument).
7913 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
7915         * ls-lisp.el (ls-lisp-sanitize): New function.
7916         (ls-lisp-insert-directory): Use it to fix or remove any elements
7917         in file-alist with missing attributes.  (Bug#4673)
7919 2012-02-07  Alan Mackenzie  <acm@muc.de>
7921         Fix spurious recognition of c-in-knr-argdecl.
7923         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7924         putative K&R region.
7926 2012-02-07  Alan Mackenzie  <acm@muc.de>
7928         * progmodes/cc-engine.el (c-forward-objc-directive):
7929         Prevent looping in "#pragma mark @implementation".
7931 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
7933         * notifications.el (notifications-on-closed-signal): Make `reason'
7934         optional.  (Bug#10744)
7936 2012-02-07  Glenn Morris  <rgm@gnu.org>
7938         * emacs-lisp/easy-mmode.el (define-minor-mode):
7939         Doc fixes for the macro and the mode it defines.
7941         * image.el (imagemagick-types-inhibit): Doc fix.
7943         * cus-start.el (imagemagick-render-type): Add it.
7945 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
7947         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7948         Set the default at load time, too, so that `font-lock-fontify-buffer'
7949         can be called without setting up the entire mode first.  This fixes
7950         a bug in `mm-inline-text' with C MIME parts.
7952 2012-02-06  Chong Yidong  <cyd@gnu.org>
7954         * simple.el (list-processes--refresh): Delete exited processes
7955         (Bug#8094).
7957         * comint.el (comint-next-prompt): next-single-char-property-change
7958         and prev-single-char-property-change never return nil (Bug#8657).
7960         * custom.el (defcustom): Doc fix (Bug#9711).
7962 2012-02-05  Chong Yidong  <cyd@gnu.org>
7964         * cus-edit.el (custom-variable-reset-backup): Quote the value
7965         before storing it in the customized-value property (Bug#6712).
7966         (custom-display): Add a customization type tag.
7967         (custom-buffer-create-internal): Improve tooltip message.
7969         * wid-edit.el (widget-field-value-get): New optional arg to
7970         suppress trailing whitespace truncation.
7971         (character): Use it (Bug#2689).
7973 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
7975         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7976         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7978 2012-02-05  Chong Yidong  <cyd@gnu.org>
7980         * cus-edit.el (custom-variable-value-create): For mismatched
7981         types, show the current value (Bug#7600).
7983         * custom.el (defcustom): Doc fix.
7985 2012-02-05  Glenn Morris  <rgm@gnu.org>
7987         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7989 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
7991         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7992         (pp-buffer): Use `ignore-errors', `looking-at-p'.
7993         (pp-last-sexp): Use `looking-at-p'.
7995 2012-02-04  Glenn Morris  <rgm@gnu.org>
7997         * files.el (revert-buffer):
7998         Doc fix (mention revert-buffer-in-progress-p).
8000         * emacs-lisp/ert-x.el (ert-simulate-command):
8001         Check deferred-action-list (which is obsolete) is bound.
8003         * subr.el (with-wrapper-hook): Doc fixes.
8005         * simple.el (filter-buffer-substring-functions)
8006         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
8008 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
8010         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
8011         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
8013 2012-02-04  Leo Liu  <sdl.web@gmail.com>
8015         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
8017 2012-02-04  Glenn Morris  <rgm@gnu.org>
8019         * image.el (image-extension-data): Add obsolete alias.
8021         * isearch.el (isearch-update): Doc fix.
8023         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
8025         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
8027 2012-02-03  Glenn Morris  <rgm@gnu.org>
8029         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
8030         (image-animate-timeout): Doc fix.
8032         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
8034 2012-02-02  Glenn Morris  <rgm@gnu.org>
8036         * server.el (server-auth-dir): Doc fix.
8037         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
8039         * subr.el (run-mode-hooks): Doc fix.
8041 2012-02-02  Juri Linkov  <juri@jurta.org>
8043         * image-mode.el (image-toggle-display-image): Remove tautological
8044         `major-mode' from the `derived-mode-p' test.
8046 2012-02-02  Kenichi Handa  <handa@m17n.org>
8048         * composite.el (compose-region): Cancel previous change.
8050 2012-02-02  Kenichi Handa  <handa@m17n.org>
8052         * composite.el (compose-region, compose-string): Signal error for
8053         a null string component (Bug#6988).
8055 2012-02-01  Chong Yidong  <cyd@gnu.org>
8057         * view.el (view-buffer-other-window, view-buffer-other-frame):
8058         Handle special modes like view-buffer (Bug#10650).
8059         (view-buffer): Simplify.
8061         * frame.el (set-frame-font): Tweak meaning of third argument.
8063         * dynamic-setting.el (font-setting-change-default-font):
8064         Use set-frame-font (Bug#9982).
8066 2012-02-01  Glenn Morris  <rgm@gnu.org>
8068         * progmodes/compile.el (compilation-internal-error-properties):
8069         Respect compilation-first-column in the "*compilation*" buffer.
8071         * emacs-lisp/easy-mmode.el (define-minor-mode):
8072         Relax :variable's test for a named function.
8074 2012-01-31  Alan Mackenzie  <acm@muc.de>
8076         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
8077         off by one error.
8079 2012-01-31  Chong Yidong  <cyd@gnu.org>
8081         * frame.el (set-frame-font): New arg ALL-FRAMES.
8083         * menu-bar.el (menu-set-font): Use set-frame-font.
8085         * faces.el (face-spec-reset-face): Don't apply unspecified
8086         attribute values to the default face.
8088 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
8090         * progmodes/cwarn.el (cwarn): Remove dead link.
8091         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
8092         Remove * from defcustom docstrings.
8093         (turn-on-cwarn-mode): Make obsolete.
8094         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
8095         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
8097 2012-01-31  Glenn Morris  <rgm@gnu.org>
8099         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
8100         Fix :variable handling of mode a symbol not equal to modefun.
8101         Allow named functions to be used as the cdr of :variable.
8103 2012-01-30  Glenn Morris  <rgm@gnu.org>
8105         * emacs-lisp/authors.el (authors-fixed-entries):
8106         Remove reference to deleted file rnewspost.el.
8108 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
8110         * window.el (window-with-parameter): Remove unused variable `windows'.
8111         (window--side-check): Remove unused variable `code'.
8112         (window--resize-siblings): Remove unused variable `first'.
8113         (adjust-window-trailing-edge): Remove unused variable `failed'.
8114         (window-deletable-p, window--delete): Remove unused variable `buffer'.
8115         Use `let', not `let*'.
8116         (balance-windows-2): Remove unused variable `found'.
8117         (window--state-put-2): Remove unused variable `splits'.
8118         (window-state-put): Remove unused variable `selected'.
8119         (same-window-p): Use `string-match-p'.
8120         (display-buffer-assq-regexp): Remove unused variable `value'.
8121         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
8122         Mark argument ALIST as ignored.
8123         (pop-to-buffer): Remove unused variable `old-window'.
8125 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
8127         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
8128         and .lzma compressed files.
8130 2012-01-29  Chong Yidong  <cyd@gnu.org>
8132         * frame.el (window-system-default-frame-alist): Doc fix.
8134         * dynamic-setting.el (font-setting-change-default-font): Don't
8135         change the default face if SET-FONT argument is non-nil (Bug#9982).
8137 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
8139         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
8141 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
8143         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
8144         breakpoints in files outside current directory (Bug#6098).
8146 2012-01-29  Chong Yidong  <cyd@gnu.org>
8148         * progmodes/python.el: Require ansi-color at top-level.
8150         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
8151         Define and use in Emacs Lisp mode (Bug#9360).
8152         (lisp-mode-abbrev-table): Add doc.
8153         (lisp-mode-variables): Don't set local-abbrev-table.
8154         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
8156 2012-01-28  Roland Winkler  <winkler@gnu.org>
8158         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
8160 2012-01-28  Roland Winkler  <winkler@gnu.org>
8162         * textmodes/bibtex.el (bibtex-entry-alist): New function.
8163         (bibtex-set-dialect): Use it.  Either set global values of
8164         dialect-dependent variables or bind these variables buffer-locally
8165         (Bug#10254).
8166         (bibtex-mode): Call bibtex-set-dialect via
8167         hack-local-variables-hook.
8168         (bibtex-dialect): Update docstring.
8169         Add safe-local-variable predicate.
8170         (bibtex-entry-alist, bibtex-field-alist): Initialize via
8171         bibtex-set-dialect.
8172         (bibtex-mode-map): Define menu for each dialect.
8173         (bibtex-entry): Fix docstring.
8175 2012-01-28  Chong Yidong  <cyd@gnu.org>
8177         * eshell/esh-arg.el (eshell-quote-argument): New function.
8179         * eshell/esh-ext.el (eshell-invoke-batch-file):
8180         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
8181         first arg to eshell-parse-command (Bug#10523).
8183 2012-01-28  Drew Adams  <drew.adams@oracle.com>
8185         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
8186         `default-directory' is non-nil.
8188 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
8190         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
8191         line that displays system-configuration-options.  (Bug#9924)
8193 2012-01-28  Drew Adams  <drew.adams@oracle.com>
8195         * descr-text.el (describe-char): Show information about POS, in
8196         addition to information about the character at POS.  Improve and
8197         update the doc string.  Change "code point" to "code point in
8198         charset", to avoid confusion with the character's Unicode code
8199         point shown above that.  (Bug#10129)
8201 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
8203         * descr-text.el (describe-char): Show the raw character, not only
8204         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
8205         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
8206         for the reasons.
8208 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
8210         * emacs-lisp/package.el (package-install):
8211         Run package-refresh-contents if there is no archive yet (Bug#9798).
8213 2012-01-28  Chong Yidong  <cyd@gnu.org>
8215         * emacs-lisp/package.el (package-maybe-load-descriptor):
8216         New function, split from package-maybe-load-descriptor.
8217         (package-maybe-load-descriptor): Use it.
8218         (package-download-transaction): Fully load required packages
8219         inside the loop, so that `require' calls work (Bug#10593).
8220         (package-install): No need to call package-initialize now.
8222 2012-01-28  Chong Yidong  <cyd@gnu.org>
8224         * simple.el (deactivate-mark): Doc fix (Bug#8614).
8226         * tooltip.el (tooltip-mode): Doc fix.
8227         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
8229         * frame.el (set-cursor-color): Doc fix (Bug#352).
8231         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
8232         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
8234         * cus-edit.el (custom-buffer-create-internal): Fix search button
8235         action (Bug#10542).
8236         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
8238 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
8240         * dired.el (dired-mark-files-regexp):
8241         Include any subdirectory components.  (Bug#10445)
8243 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
8245         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
8246         Handle [host]:port syntax.  (Bug#10533)
8248 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
8250         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
8252 2012-01-26  Glenn Morris  <rgm@gnu.org>
8254         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
8255         * term.el (term-raw-escape-map): Use Control-X-prefix.
8256         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
8258 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
8260         * window.el (window-state-get, window--state-get-1): Don't deal
8261         with fixed-sizeness of windows.  Simplify code.
8263 2012-01-25  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
8265         * window.el (window--state-get-1, window--state-put-2):
8266         Don't save and restore the mark.
8268 2012-01-25  Chong Yidong  <cyd@gnu.org>
8270         * custom.el (custom-variable-p): Doc fix.
8272 2012-01-25  Glenn Morris  <rgm@gnu.org>
8274         * dired.el (dired-goto-file): Handle some of the more common
8275         characters that `ls -b' escapes.  (Bug#10596)
8277         * progmodes/compile.el (compilation-next-error-function):
8278         Respect compilation-first-column in the "*compilation*" buffer.
8279         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
8281         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
8283 2012-01-24  Glenn Morris  <rgm@gnu.org>
8285         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
8287 2012-01-24  Julien Danjou  <julien@danjou.info>
8289         * color.el (color-rgb-to-hsl): Fix value computing.
8290         (color-hue-to-rgb): New function.
8291         (color-hsl-to-rgb): New function.
8292         (color-clamp, color-saturate-hsl, color-saturate-name)
8293         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
8294         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
8296 2012-01-24  Glenn Morris  <rgm@gnu.org>
8298         * vc/vc-rcs.el (vc-rcs-create-tag):
8299         * vc/vc-sccs.el (vc-sccs-create-tag):
8300         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
8302 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
8304         * eshell/esh-util.el (eshell-read-hosts-file):
8305         Skip comment lines.  (Bug#10549)
8307         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
8309 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
8311         * subr.el (display-delayed-warnings): Doc fix.
8312         (collapse-delayed-warnings): New function to collapse identical
8313         adjacent warnings.
8314         (delayed-warnings-hook): Add it.
8316 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
8318         * net/tramp.el (tramp-action-login): Set connection property "login-as".
8320         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
8321         (tramp-default-user-alist): Don't add "pscp".
8322         (tramp-do-copy-or-rename-file-out-of-band): Use connection
8323         property "login-as", if set.  (Bug#10530)
8325 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
8327         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
8328         "plink1" and "psftp".  (Bug#10530)
8330 2012-01-21  Kenichi Handa  <handa@m17n.org>
8332         * international/mule-cmds.el (prefer-coding-system): Show a
8333         warning message if the default value of file-name-coding-system
8334         was not changed.
8336 2012-01-21  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
8338         * windmove.el (windmove-reference-loc):
8339         Fix windmove-reference-loc miscalculation.
8341 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
8343         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
8344         default unit.
8346 2012-01-21  Glenn Morris  <rgm@gnu.org>
8348         * international/mule.el (auto-coding-alist): Add .tbz.
8350         * files.el (local-enable-local-variables): Doc fix.
8351         (inhibit-local-variables-regexps): Rename from
8352         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
8353         Doc fix.  Add some extensions from auto-coding-alist.
8354         (inhibit-local-variables-suffixes):
8355         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
8356         (inhibit-local-variables-p):
8357         New function, extracted from set-auto-mode-1.
8358         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
8359         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
8360         (hack-local-variables): Doc fix.  Make the mode-only case
8361         respect enable-local-variables and friends.
8362         Respect inhibit-local-variables-regexps for file-locals, but
8363         not for directory-locals.
8364         (set-visited-file-name):
8365         Take account of inhibit-local-variables-regexps.
8366         Whether it applies may change as the file name is changed.
8367         * jka-cmpr-hook.el (jka-compr-install):
8368         * jka-compr.el (jka-compr-uninstall):
8369         Update for inhibit-first-line-modes-suffixes name change.
8371 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
8373         * help-macro.el (make-help-screen): Temporarily restore original
8374         binding for minor-mode-map-alist (Bug#10454).
8376 2012-01-19  Julien Danjou  <julien@danjou.info>
8378         * color.el (color-name-to-rgb): Use the white color to find the max
8379         color component value and return correctly computed values.
8380         (color-name-to-rgb): Add missing float conversion for max value.
8382 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
8384         * window.el (window--state-get-1, window-state-get): Do not use
8385         special state value for window-persistent-parameters.
8386         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
8387         (window--state-put-2): Reset all window parameters to nil before
8388         assigning values of persistent parameters.
8390 2012-01-18  Alan Mackenzie  <acm@muc.de>
8392         Eliminate sluggishness and hangs in fontification of "semicolon
8393         deserts".
8395         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
8396         Change value 10000 -> 3000.
8397         (c-state-safe-place): Reformulate so it doesn't stack up an
8398         infinite number of wrong entries in c-state-nonlit-pos-cache.
8399         (c-determine-limit-get-base, c-determine-limit): New functions to
8400         determine backward search limits disregarding literals.
8401         (c-find-decl-spots): Amend commenting.
8402         (c-cheap-inside-bracelist-p): New function which detects "={".
8404         * progmodes/cc-fonts.el
8405         (c-make-font-lock-BO-decl-search-function): Give a limit to a
8406         backward search.
8407         (c-font-lock-declarations): Fix an occurrence of point being
8408         undefined.  Check additionally for point being in a bracelist or
8409         near a macro invocation without a semicolon so as to avoid a
8410         fruitless time consuming search for a declarator.  Give a more
8411         precise search limit for declarators using the new
8412         c-determine-limit.
8414 2012-01-18  Glenn Morris  <rgm@gnu.org>
8416         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
8417         (set-auto-mode): Doc fixes.
8419 2012-01-17  Glenn Morris  <rgm@gnu.org>
8421         * isearch.el (search-nonincremental-instead): Fix doc typo.
8423         * dired.el (dired-insert-directory): Handle newlines in directory name.
8424         (dired-build-subdir-alist): Unescape newlines in directory name.
8426 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
8428         * net/tramp.el (tramp-local-end-of-line): New defcustom.
8429         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
8430         (tramp-action-terminal): Use it.  (Bug#10530)
8432 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8434         * minibuffer.el (completion--replace): Strip properties (bug#10062).
8436 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
8438         * window.el (window-state-ignored-parameters): Remove variable.
8439         (window--state-get-1): Rename argument MARKERS to IGNORE.
8440         Handle persistent window parameters.  Make copy of clone-of
8441         parameter only if requested.  (Bug#10348)
8442         (window--state-put-2): Install a window parameter only if it has
8443         a non-nil value or an existing parameter shall be overwritten.
8445 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
8447         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
8449 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
8451         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
8452         don't pass the (nil) value of `upnode' to string-match.
8454 2012-01-14  Chong Yidong  <cyd@gnu.org>
8456         * startup.el (command-line): Fix X resource class for cursorColor.
8457         Fix values recognized by the cursorBlink resource.
8459 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
8461         * epg.el (epg--make-temp-file): Avoid permission race condition
8462         when running on old Emacs versions (bug#10403).
8464 2012-01-14  Glenn Morris  <rgm@gnu.org>
8466         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
8468 2012-01-13  Alan Mackenzie  <acm@muc.de>
8470         Fix filling for when filladapt mode is enabled.
8472         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
8473         c-mask-paragraph, pass in `fill-paragraph' rather than
8474         `fill-region-as-paragraph'.  (This is a reversion of a previous
8475         change.)
8476         * progmodes/cc-mode.el (c-basic-common-init):
8477         Make fill-paragraph-handle-comment buffer local and set it to nil.
8479 2012-01-13  Glenn Morris  <rgm@gnu.org>
8481         * dired.el (dired-switches-escape-p): New function.
8482         (dired-insert-directory): Use dired-switches-escape-p.
8483         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
8485         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
8487 2012-01-12  Glenn Morris  <rgm@gnu.org>
8489         * mail/sendmail.el (mail-mode): Update paragraph-separate for
8490         changes in adaptive-fill-regexp.  (Bug#10276)
8492 2012-01-11  Alan Mackenzie  <acm@muc.de>
8494         Fix Emacs bug #10463 - put `widen's around the critical spots.
8496         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
8497         widen around each invocation of c-state-pp-to-literal.  Remove an
8498         unused let variable.
8500 2012-01-11  Glenn Morris  <rgm@gnu.org>
8502         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
8503         Doc fix.
8505 2012-01-10  Chong Yidong  <cyd@gnu.org>
8507         * net/network-stream.el (network-stream-open-starttls):
8508         Avoid emitting a confusing error message when the server gives a bad
8509         response to the capability command.
8511 2012-01-10  Glenn Morris  <rgm@gnu.org>
8513         * mail/unrmail.el (unrmail): Tweak previous change.
8515 2012-01-09  Chong Yidong  <cyd@gnu.org>
8517         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
8519 2012-01-08  Alan Mackenzie  <acm@muc.de>
8521         Optimise font locking in long enum definitions.
8523         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
8524         arm to a cond form to handle enums.
8525         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
8526         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
8528 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8530         * files.el (move-file-to-trash): Preserve default file modes on error.
8531         (Bug#10401)
8533 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8535         * faces.el (set-face-attribute): Clarify the meaning of the nil
8536         frame (bug#10294).
8538         * subr.el (with-selected-frame): Mention that the selected frame
8539         is restored (bug#9980).
8541         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
8542         (bug#9759).
8544         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
8545         (password-read): Don't autoload unused function.
8547 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
8549         * progmodes/which-func.el (which-func-mode): Turn into a
8550         non-interactive function and mark as obsolete (bug#10428).
8552 2012-01-06  Chong Yidong  <cyd@gnu.org>
8554         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
8555         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
8556         functions, along with 1 and -1.
8558 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
8560         * time.el (display-time-load-average)
8561         (display-time-default-load-average): Doc fixes.  See the thread
8562         starting at
8563         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
8564         for the details.
8566 2012-01-06  Glenn Morris  <rgm@gnu.org>
8568         * mail/unrmail.el (unrmail): Give an explicit error if the input file
8569         has no messages.  (Bug#10377)
8571         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
8572         than Info-edit.  (Bug#10385)
8574         * time.el (display-time-load-average, display-time-next-load-average):
8575         Doc fixes.
8577         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
8578         local setting of buffer-read-only to the input buffer.  (Bug#10419)
8580         * calendar/calendar.el (calendar-mode):
8581         Locally set scroll-margin to 0.  (Bug#10379)
8583 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
8585         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
8587 2012-01-05  Glenn Morris  <rgm@gnu.org>
8589         * eshell/em-unix.el (diff-no-select): Autoload it.
8590         (eshell/diff): Use diff-no-select.  (Bug#10420)
8592 2012-01-05  Chong Yidong  <cyd@gnu.org>
8594         * shell.el (shell-dynamic-complete-functions): Revert last change.
8595         (shell-command-completion-function): New function.
8596         (shell-completion-vars): Use it to implement
8597         shell-completion-execonly (Bug#10417).
8599         * custom.el (enable-theme): Don't set custom-safe-themes.
8601         * cus-theme.el (custom-theme-merge-theme):
8602         Ignore custom-enabled-themes and custom-safe-themes.
8604 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
8606         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
8607         first prompt in `sql-interacive-mode'.
8608         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
8609         keywords.
8610         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
8611         (sql-product-interactive): Bug fix: Set `sql-buffer' in
8612         context of original buffer.  Invoke `sql-login-hook'.
8614 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
8616         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
8617         letters in cite-prefix.
8619 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8621         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
8623 2012-01-03  Chong Yidong  <cyd@gnu.org>
8625         * shell.el (shell-dynamic-complete-functions):
8626         Put pcomplete-completions-at-point, so as to try
8627         comint-filename-completion first (Bug#10417).
8629 2012-01-02  Richard Stallman  <rms@gnu.org>
8631         * battery.el (battery-status-function):
8632         Detect when to use battery-yeeloong-sysfs.
8633         (battery-echo-area-format): Add string for Yeeloong.
8634         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
8635         (battery-yeeloong-sysfs): New function.
8637 2012-01-02  Chong Yidong  <cyd@gnu.org>
8639         * dirtrack.el (dirtrack-list): Eliminate unused third element.
8640         (dirtrack): Merge code for handling relative filenames in prompt
8641         from shell-dir-cookie-watcher.
8642         (dirtrack-debug-message): New arg to avoid excess format calls.
8644         * shell.el (shell-dir-cookie-re): Variable deleted.
8645         (shell-dir-cookie-watcher): Function deleted.
8646         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
8647         with dirtrack-mode.
8649 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
8651         * term/w32-win.el (dynamic-library-alist) <gnutls>:
8652         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
8653         libgnutls-26.dll.
8655 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
8657         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
8659 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
8661         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
8662         headers of non-MIME messages, when rmail-enable-mime is non-nil.
8664 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
8666         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
8667         also for alternative shells.
8668         (tramp-open-connection-setup-interactive-shell): Check, whether
8669         the shell is a busybox.
8670         (tramp-send-command): Don't suppress multiple prompts for
8671         busyboxes, it hurts.
8673 2011-12-28  Chong Yidong  <cyd@gnu.org>
8675         * progmodes/gdb-mi.el (gdb-get-source-file-list)
8676         (gdb-get-source-file): Move mode line update to
8677         gdb-get-source-file (Bug#10087).
8679 2011-12-25  Chong Yidong  <cyd@gnu.org>
8681         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
8682         gud-gdb-marker-filter without taking it as an argument.
8683         (gud-gdb-run-command-fetch-lines): Caller changed.
8684         (gud-gdb-completion-function): New variable.
8685         (gud-gdb-completion-at-point): Use it.
8686         (gud-gdb-completions-1): Split from gud-gdb-completions.
8688         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
8689         function as separate arguments.
8690         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
8691         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
8692         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
8693         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
8694         (gdb-stopped, def-gdb-auto-update-trigger)
8695         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
8696         (gdb-get-changed-registers, gdb-get-main-selected-frame):
8697         Callers changed.
8698         (gud-gdbmi-completions): New function.
8699         (gdb): Use it for generating the completion table.
8701 2011-12-24  Alan Mackenzie  <acm@muc.de>
8703         Introduce a mechanism to widen the region used in context font
8704         locking.  Use this to protect declarations from losing their contexts.
8706         * progmodes/cc-langs.el (c-before-font-lock-functions):
8707         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
8708         (c-before-context-fontification-functions): New defvar, a list of
8709         functions to be run just before context (etc.) font locking.
8711         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
8712         New, functionality extracted from
8713         c-neutralize-syntax-in-and-mark-CPP.
8714         (c-in-after-change-fontification): New variable.
8715         (c-after-change): Set c-in-after-change-fontification.
8716         (c-set-fl-decl-start): Rejig its interface, so it can be called
8717         from both after-change and context fontifying.
8718         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
8719         New functions.
8720         (c-standard-font-lock-fontify-region-function): New variable.
8721         (c-font-lock-fontify-region): New function.
8723 2011-12-24  Juri Linkov  <juri@jurta.org>
8725         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
8726         (Bug#10348)
8728 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
8730         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
8731         existence of source file.  (Bug#10325)
8733 2011-12-23  Alan Mackenzie  <acm@muc.de>
8735         Fix unstable fontification inside templates.
8737         * progmodes/cc-langs.el (c-before-font-lock-functions):
8738         Newly created from the singular version.  The (c c++ objc) entry now
8739         additionally has c-set-fl-decl-start.  The other languages (apart
8740         from AWK) have that as a single entry.
8742         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
8743         The functionality for "local" declarations has been extracted to
8744         c-set-fl-decl-start.
8746         * progmodes/cc-mode.el (c-common-init, c-after-change):
8747         Changes due to pluralisation of c-before-font-lock-functions.
8748         (c-set-fl-decl-start): New function, extracted from
8749         c-font-lock-enclosing-decls and enhanced.
8751 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
8753         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
8755 2011-12-22  Juri Linkov  <juri@jurta.org>
8757         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
8759 2011-12-22  Chong Yidong  <cyd@gnu.org>
8761         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
8763 2011-12-21  Drew Adams  <drew.adams@oracle.com>
8765         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
8767 2011-12-21  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
8769         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
8771 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
8773         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
8774         highlighting and support.  Fix up comments for capitalization.
8775         (cfengine-mode-debug): New var.
8776         (cfengine3-mode): Change the modeline indicator to "CFE3".
8777         (cfengine3-font-lock-keywords): Improve defun highlighting.
8778         (cfengine2-actions): Rename from `cfengine-actions'.
8779         (cfengine2-font-lock-keywords): Rename from
8780         `cfengine-font-lock-keywords'.
8781         (cfengine2-imenu-expression): Rename from
8782         `cfengine-imenu-expression'.
8783         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
8784         (cfengine2-beginning-of-defun): Rename from
8785         `cfengine-beginning-of-defun'.
8786         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
8787         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
8788         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
8789         modeline indicator to "CFE2".
8790         (cfengine-mode): Defalias to `cfengine-auto-mode'.
8791         (cfengine-mode-abbrevs): Mark obsolete.
8793 2011-12-21  Chong Yidong  <cyd@gnu.org>
8795         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
8796         filename argument.
8798 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
8800         * window.el (window-normalize-buffer-to-display): Remove.
8801         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
8803 2011-12-19  Chong Yidong  <cyd@gnu.org>
8805         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
8806         Don't signal an error in a predicate function; return non-nil.
8807         (vc-dir-mark-file): Move the error here.
8808         (vc-dir-mark-unmark): If acting on the region, keep going if one
8809         of the entries cannot be marked/unmarked.
8810         (vc-dir-mark-all-files): If current entry is a directory, mark
8811         only child files, as documented.
8813 2011-12-19  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
8815         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8816         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8817         addition.
8819 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
8821         * term/ns-win.el (ns-get-selection-internal)
8822         (ns-store-selection-internal): Declare.
8823         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8824         Declare as obsolete.
8825         (ns-get-pasteboard, ns-paste-secondary):
8826         Use ns-get-selection-internal.
8827         (ns-set-pasteboard,  ns-copy-including-secondary):
8828         Use ns-store-selection-internal.
8830 2011-12-17  Chong Yidong  <cyd@gnu.org>
8832         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
8833         (vc-deduce-fileset): Doc fix.
8835 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
8837         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8839 2011-12-13  Sam Steingold  <sds@gnu.org>
8841         * man.el (Man-getpage-in-background): When running under a
8842         window-system, ignore $MANWIDTH and $COLUMNS.
8844 2011-12-15  Kenichi Handa  <handa@m17n.org>
8846         * language/ethio-util.el: Change coding tag to utf-8-emacs.
8847         (setup-ethiopic-environment-internal): Comment out key-binding for
8848         ethio-toggle-punctuation.
8850 2011-12-13  Alan Mackenzie  <acm@muc.de>
8852         Add the switch statement to AWK Mode.
8854         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
8855         "default" to the keywords regexp.
8857         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
8858         expression as the rest.
8859         (c-nonlabel-token-key): Allow string literals for AWK.
8860         Refactor for the other modes.
8862         Large brace-block initialisation makes CC Mode slow: Fix.
8863         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
8864         routines.  Limit backward searching in c-font-lock-enclosing.decl.
8866         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8867         pp-state and literal type in addition to the limits.
8868         (c-state-safe-place): New defun, extracted from c-state-literal-at.
8869         (c-state-literal-at): Use the above new defun.
8870         (c-slow-in-literal, c-fast-in-literal): Remove.
8871         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
8873         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8874         being in a literal.  Add a limit for backward searching.
8876         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8877         c-slow-in-literal.
8879 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8881         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8883 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
8885         * window.el (delete-other-windows): Use correct frame in call to
8886         window-with-parameter.
8888 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
8890         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8891         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8892         (makefile-gmake-statements, makefile-makepp-statements):
8893         Use it and add new makepp keywords.
8894         (makefile-makepp-font-lock-keywords): Add new patterns.
8895         (makefile-match-function-end): Match new [...] and [[...]].
8897 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
8899         * ses.el (ses-call-printer-return, ses-cell-property-get)
8900         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8901         (ses-create-cell-variable, ses-reset-header-string)
8902         (ses-cell-set-formula, ses-repair-cell-reference-all)
8903         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8904         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8905         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8906         (ses-aset-with-undo, ses-load, ses-truncate-cell)
8907         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8908         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8909         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8910         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8911         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8912         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8913         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8914         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8916 2011-12-11  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
8918         * ses.el: The overall change is to add cell renaming, that is
8919         setting fancy names for cell symbols other than name matching
8920         "\\`[A-Z]+[0-9]+\\'" regexp .
8921         (ses-create-cell-variable): New defun.
8922         (ses-relocate-formula): Relocate formulas only for cells the
8923         symbols of which are not renamed, i.e. symbols whose names do not
8924         match regexp "\\`[A-Z]+[0-9]+\\'".
8925         (ses-relocate-all): Relocate values only for cells the symbols of
8926         which are not renamed.
8927         (ses-load): Create cells variables as the (ses-cell ...) are read,
8928         in order to check row col consistency with cell symbol name only
8929         for cells that are not renamed.
8930         (ses-replace-name-in-formula): New defun.
8931         (ses-rename-cell): New defun.
8933 2011-12-11  Chong Yidong  <cyd@gnu.org>
8935         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8936         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8938 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
8940         * window.el (other-window): Fix docstring.
8942 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
8944         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
8945         `from' or `to' address before taking its substring.
8946         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
8947         encoded name is chopped in the middle of the encoded string, and
8948         thus displayed encoded.
8950 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
8952         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8954 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
8956         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
8957         to use texinfo-update-node and commands that call it if the
8958         Texinfo file uses @node lines without next/prev/up pointers.
8959         Correct outdated description about texinfo-master-menu.
8960         (texinfo-all-menus-update, texinfo-master-menu)
8961         (texinfo-update-node, texinfo-every-node-update)
8962         (texinfo-multiple-files-update): Doc fix.  Warn against updating
8963         all the @node lines.
8964         (texinfo-master-menu): Only call texinfo-update-node if the prefix
8965         argument is numeric.  Explain better in the doc string what the
8966         function really does.
8967         (texinfo-insert-master-menu-list): Improve the error message
8968         displayed if there's no menu in the Top node.
8969         (Bug#2975)  See also this thread:
8970         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8972 2011-12-09  Manuel GĂ³mez  <mgrojo@gmail.com>  (tiny change)
8974         * speedbar.el (speedbar-supported-extension-expressions):
8975         Add .adb and .ads, commonly used for Ada source code (bug#10256).
8977 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
8979         * printing.el (pr-mode-alist):
8980         * simple.el (filter-buffer-substring-functions)
8981         (completion-list-insert-choice-function):
8982         * window.el (window-with-parameter, window-atom-root)
8983         (window-sides-slots, window-size-fixed, window-min-delta)
8984         (window-max-delta, window--resize-mini-window)
8985         (window--resize-child-windows-normal, window-tree)
8986         (delete-other-windows, quit-window, split-window)
8987         (display-buffer-record-window, special-display-buffer-names)
8988         (special-display-regexps, special-display-popup-frame)
8989         (same-window-p, split-window-sensibly)
8990         (display-buffer-overriding-action, display-buffer-alist)
8991         (display-buffer-base-action, display-buffer, switch-to-buffer)
8992         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8993         (fit-window-to-buffer, recenter-positions)
8994         (mouse-autoselect-window-state, mouse-autoselect-window-select):
8995         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8996         and remove unneeded backslashes in docstrings.
8998 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9000         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
9002         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
9003         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
9004         end in ".mk".
9005         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
9006         when reading the makefile (bug#10116).
9008 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9010         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
9011         (bug#10116).
9013 2011-12-06  Glenn Morris  <rgm@gnu.org>
9015         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
9017 2011-12-06  Chong Yidong  <cyd@gnu.org>
9019         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
9021 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
9023         * textmodes/table.el (table-shorten-cell): Fix typo.
9025 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
9027         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
9029 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
9031         * descr-text.el (describe-char): Fix display of strong
9032         right-to-left characters and directional embeddings and overrides.
9034         * simple.el (what-cursor-position): Fix display of codepoints of
9035         strong right-to-left characters.
9037 2011-12-05  Chong Yidong  <cyd@gnu.org>
9039         * faces.el (read-color): Doc fix.
9041 2011-12-05  Glenn Morris  <rgm@gnu.org>
9043         * align.el (align--set-marker): Add doc-string.
9044         Don't try to move something that is not a marker.  (Bug#10216)
9046 2011-12-04  Glenn Morris  <rgm@gnu.org>
9048         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
9049         overly zealous deletion of trailing whitespace.
9051 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
9053         * server.el (server-delete-client): On Windows, do not try to delete
9054         the only terminal.
9055         (server-process-filter): On Windows, treat requests for a tty frame as
9056         if they were for a GUI frame if the running server is in GUI mode.
9058 2011-12-03  Glenn Morris  <rgm@gnu.org>
9060         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
9062 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9064         * electric.el: Streamline electric-indent's hook.
9065         (electric-indent-chars): Revert to simple list.
9066         (electric-indent-functions): New var.
9067         (electric-indent-post-self-insert-function): Use it.
9069         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
9070         there's no inferior buffer (bug#10196).
9071         (prolog-consult-compile): Don't use toggle-read-only.
9073 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
9075         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
9076         interrupt.  (Bug#10187)
9078 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9080         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
9081         (bug#9160).
9083         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
9084         (bug#10191).
9086 2011-12-02  Juri Linkov  <juri@jurta.org>
9088         * info.el (Info-search): Display "end of manual" when Isearch
9089         reaches the end of single-file Info manual.  (Bug#9918)
9091 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
9093         * isearch.el (isearch-message-prefix): Run the input method part
9094         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
9096 2011-12-02  Juri Linkov  <juri@jurta.org>
9098         * isearch.el (isearch-occur): Use `word-search-regexp' for
9099         `isearch-word'.
9100         (isearch-search-and-update): Add condition for `isearch-word' and
9101         call `word-search-regexp'.  (Bug#10145)
9103 2011-12-01  Glenn Morris  <rgm@gnu.org>
9105         * eshell/em-hist.el (eshell-hist-initialize):
9106         Handle eshell-history-size nil and HISTSIZE set or unset.
9107         (eshell-history-file-name, eshell-history-size): Fix custom type.
9109 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9111         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
9113 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
9115         * progmodes/verilog-mode.el (verilog-pretty-expr):
9116         Rework verilog-pretty-expr to handle new assignment operators in system
9117         verilog, such as += *= and the like.
9118         (verilog-assignment-operator-re): Regular expression to find the
9119         assigment operator in a verilog assignment.
9120         (verilog-assignment-operation-re): Regular expression to find an
9121         assignment statement for pretty-expr.
9122         (verilog-in-attribute-p): Query returns true if point is in an
9123         attribute context; used to skip these for expression line up from
9124         pretty-expr.
9125         (verilog-in-parameter-p): Query returns true if point is in an
9126         parameter definition context; used to skip these for expression
9127         line up from pretty-expr.
9128         (verilog-in-parenthesis-p): Query returns true if point is in a
9129         parenthetical expression, specifically ( ) but not [ ] or { };
9130         used by pretty-expr.
9131         (verilog-just-one-space): If there is no space, don't add one.
9132         (verilog-get-lineup-indent-2): Specifically skip just attribute
9133         contexts for expression lineup, rather than skipping all
9134         parenthetical expressions.
9135         (verilog-calculate-indent): Fix comment, and fix indent.
9136         (verilog-do-indent): Indent declarations in lists (suggested by
9137         Joachim Lechner).
9138         (verilog-mode-abbrev-table): Populate abbrev mode with the various
9139         skeleton items.
9140         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
9141         by Alain Mellan).
9143 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
9145         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
9146         parameters with embedded comments.  Reported by Ray Stevens.
9147         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
9148         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
9149         Reported by Tim Holt.
9150         (verilog-auto): Fix AUTOing a upper module then AUTOing module
9151         instantiated by upper module causing wrong expansion until AUTOed a
9152         second time.  Reported by K C Buckenmaier.
9153         (verilog-diff-auto): Fix showing .* as a difference when
9154         `verilog-auto-star-save' off.  Reported by Dan Dever.
9155         (verilog-auto-reset, verilog-read-always-signals)
9156         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
9157         temporary signals in reset list if
9158         verilog-auto-reset-blocking-in-non is nil, and match assignment
9159         style to each signal's assignment type, bug381.
9160         Reported by Thomas Esposito.
9161         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
9162         (verilog-uvm-statement-re): Support UVM indentation and
9163         highlighting, with old OVM keywords only.
9164         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
9165         Support AUTOTIEOFF creating non-wire data types.
9166         Suggested by Jonathan Greenlaw.
9167         (verilog-auto-insert-lisp, verilog-delete-to-paren)
9168         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
9169         (verilog-inject-sense, verilog-read-inst-pins)
9170         (verilog-read-sub-decls, verilog-read-sub-decls-line):
9171         Fix mismatching parenthesis inside commented out code when deleting
9172         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
9173         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
9174         non-numeric vector width.  Reported by Alex Reed.
9175         (verilog-auto-ascii-enum): Add "onehot" option to work around not
9176         detecting signals with parameter widths.  Reported by Alex Reed.
9177         (verilog-auto-delete-trailing-whitespace):
9178         With `verilog-auto-delete-trailing-whitespace' remove trailing
9179         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
9180         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
9181         Fix verilog-scan-cache corruption when running user AUTO expansion
9182         hooks that call indentation routines.
9183         (verilog-simplify-range-expression): Fix typo ignoring lower case
9184         identifiers.
9185         (verilog-delete-auto): Fix delete-autos to also remove user created
9186         automatics, as long as they start with AUTO.
9187         (verilog-batch-diff-auto, verilog-diff-auto)
9188         (verilog-diff-function): Add `verilog-diff-auto' and bind to
9189         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
9190         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
9191         (verilog-in-paren-quick, verilog-re-search-backward-quick)
9192         (verilog-re-search-forward-quick, verilog-syntax-ppss):
9193         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
9194         is disabled and its cache will get corrupt, causing AUTOS not to
9195         expand.  Instead use only -quick functions.
9196         (verilog-scan-region): Fix scanning over escaped quotes.
9197         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
9198         (verilog-re-search-backward-quick)
9199         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
9200         related functions now ignore strings, to fix misparsing of strings
9201         with magic comments embedded in them.
9202         (verilog-read-auto-template):
9203         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
9204         Reported by Brad Dobbie.
9205         (verilog-read-auto-template):
9206         Fix 'verilog-auto-inst-template-numbers' with comments.
9207         Reported by Brad Dobbie.
9208         (verilog-auto-inst, verilog-auto-inst-param)
9209         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
9210         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
9211         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
9212         debugging templates without merge conflicts, bug357.
9213         Reported by Brad Dobbie.
9214         (verilog-read-auto-template):
9215         Fix verilog-auto-inst-template-numbers with multiple templates.
9216         Reported by Brad Dobbie.
9217         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
9218         abbrevs so user won't be asked to save.
9219         (verilog-read-auto-lisp-present): Fix to start at beginning of
9220         buffer in case called outside of verilog-auto.
9221         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
9222         to "X-2".  Reported by Matthew Myers.
9223         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
9224         all inputs from module templates.  Reported by Leith Johnson.
9225         (verilog-module-inside-filename-p): Fix locating programs as with
9226         modules.
9227         (verilog-auto-inst-port): Fix vl-width expressions when using
9228         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
9229         (verilog-decls-get-regs, verilog-decls-get-signals,
9230         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
9231         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
9232         verilog-read-decls): Combine reg and wire structures into one var
9233         structure to represent SystemVerilog concepts.
9234         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
9235         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
9236         (verilog-auto-wire-type, verilog-insert-definition):
9237         Add verilog-auto-wire-type and AUTOLOGIC to support using
9238         SystemVerilog "logic" keyword instead of "wire"/"reg".
9239         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
9240         to declares outputs that also have assignments (presumably in an
9241         ifdef or generate if so there's not a driver conflict).
9242         Reported by Matthew Myers.
9243         (verilog-auto-declare-nettype, verilog-insert-definition):
9244         Add verilog-auto-declare-nettype to fix declarations using
9245         `default_nettype none.  Reported by Julian Gorfajn.
9246         (verilog-read-always-signals-recurse, verilog-read-decls)
9247         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
9248         malformed end statement, bug325.  Reported by Joshua Wise and
9249         Andrew Drake.
9250         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
9251         (verilog-inst-comment-re): Fix not deleting Interfaced comment
9252         when expanding .* in interfaces, bug320.
9253         Reported by Pierre-David Pfister.
9254         (verilog-read-module-name): Fix import statements between module
9255         name and open parenthesis, bug317.
9256         Reported by Pierre-David Pfister.
9257         (verilog-simplify-range-expression): Fix simplification of
9258         multiplications inside AUTOWIRE connections, bug303.
9259         (verilog-auto-inst-port): Support parameter expansion in
9260         multidimensional arrays.
9261         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
9262         after "assert property".  Reported by Julian Gorfajn.
9263         (verilog-simplify-range-expression): Fix "couldn't merge" errors
9264         with multiplication, bug303.
9265         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
9266         Reported by Jan Frode Lonnum.
9268 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
9270         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
9271         (hfy-shell-file-name, hfy-shell):
9272         * international/fontset.el (x-decompose-font-name): Fix typos.
9274 2011-11-29  Ken Brown  <kbrown@cornell.edu>
9276         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
9277         (gdb-version): Remove defvar.
9278         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
9279         (gdb-gud-context-command, gdb-non-stop-handler)
9280         (gdb-current-context-command, gdb-stopped): Use it.
9281         (gdb-init-1): Enable pretty printing here.
9282         (gdb-non-stop-handler): Don't enable pretty-printing here.
9283         Check to see if the target supports non-stop mode; if not, turn off
9284         non-stop mode.  Use the following.
9285         (gdb-check-target-async): New defun.
9286         (gud-watch, gdb-stopped): Fix whitespace.
9287         (gdb-get-source-file): Don't try to display the source file if
9288         `gdb-main-file' is nil.
9290 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9292         * align.el: Try to generate fewer markers (bug#10047).
9293         (align--set-marker): New macro.
9294         (align-region): Use it.
9296 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9298         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
9300 2011-11-29  Chong Yidong  <cyd@gnu.org>
9302         * indent.el (indent-for-tab-command, indent-according-to-mode):
9303         Doc fix.
9304         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
9306 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
9308         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
9309         aware of remote file names.  (Bug#10124)
9311 2011-11-29  Chong Yidong  <cyd@gnu.org>
9313         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
9315 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9317         * files.el (find-file): Don't use force-same-window (bug#10144).
9318         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
9319         use pop-to-buffer if the selected window can't be used.
9320         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
9322 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
9324         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
9325         special-mode-map.
9327 2011-11-28  Chong Yidong  <cyd@gnu.org>
9329         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
9331 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
9333         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
9334           gdb-get-source-file-list on gdb-create-source-file-list.
9336 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
9338         * whitespace.el (whitespace-newline): Use a different foreground
9339         color for 16-color light-background displays.
9341 2011-11-24  Chong Yidong  <cyd@gnu.org>
9343         * window.el (display-buffer--special-action): Doc fix.
9345 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
9347         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
9348         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
9349         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
9350         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
9351         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
9352         (avl-tree-stack-first):
9353         * emacs-lisp/cconv.el (cconv--analyse-use):
9354         * net/gnutls.el (gnutls-negotiate): Fix typos.
9356 2011-11-24  Glenn Morris  <rgm@gnu.org>
9358         * lpr.el (lpr-windows-system, lpr-lp-system):
9359         * mail/binhex.el (binhex-begin-line):
9360         * progmodes/grep.el (grep-history, grep-find-history):
9361         * textmodes/flyspell.el:
9362         * vc/pcvs-defs.el (cvs-global-menu):
9363         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
9364         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
9365         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
9367         * net/tls.el: Fix case of "GnuTLS".
9369         * paths.el (rmail-file-name): Format doc-string for make-docfile.
9371         * version.el (emacs-build-system): Give it a doc-string.
9373 2011-11-24  Juri Linkov  <juri@jurta.org>
9375         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
9377 2011-11-24  Glenn Morris  <rgm@gnu.org>
9379         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
9380         if called on a non-mime message just toggle the headers.  (Bug#8006)
9382 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
9384         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
9385         (allout-lead-with-comment-string, allout-structure-deleted-hook)
9386         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
9387         (allout-rebullet-heading, allout-open-sibtopic)
9388         (allout-toggle-current-subtree-encryption)
9389         (allout-toggle-subtree-encryption, allout-encrypt-string)
9390         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
9391         (allout-distinctive-bullets-string, allout-auto-activation):
9392         * window.el (window-normalize-buffer-to-display):
9393         * progmodes/verilog-mode.el (verilog-batch-indent):
9394         * textmodes/bibtex.el (bibtex-field-braces-opt)
9395         (bibtex-field-strings-opt):
9396         * vc/cvs-status.el (cvs-tree-merge):
9397         Fix typos.
9399 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
9401         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
9402         `non-essential' to t, in order to avoid remote connections.
9404 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
9406         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9407         On MS-DOS and MS-Windows, compare with loaddefs.el
9408         case-insensitively.
9410 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
9412         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
9414 2011-11-23  Glenn Morris  <rgm@gnu.org>
9416         * paths.el (rmail-file-name): Reformat the doc-string so that it
9417         is picked up.
9419         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
9420         (rmail-auto-file): Ignore case in the "special" field names,
9421         as mail-fetch-field does for all others.
9423         * mail/rmail.el (rmail-forward):
9424         * mail/rmailkwd.el (rmail-set-label):
9425         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
9426         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
9428         * mail/rmail.el (rmail-current-message): Doc fix.
9430         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
9432 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9434         * server.el (server-eval-and-print): Allow C-g (bug#6585).
9436 2011-11-22  Glenn Morris  <rgm@gnu.org>
9438         * mail/rmailmm.el (test-rmail-mime-handler)
9439         (test-rmail-mime-bulk-handler)
9440         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
9442 2011-11-21  Juri Linkov  <juri@jurta.org>
9444         * calc/calc.el (calc-read-key-sequence):
9445         Let-bind `input-method-function' to nil.  (Bug#10018)
9447 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9449         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
9450         Tell the caller that the next line needs recomputation, even
9451         though it doesn't start a sexp (bug#10094).
9453 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9455         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
9457 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9459         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9460         Use force-same-window.
9462 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
9464         * descr-text.el (describe-char-unicode-data):
9465         * json.el (json-string-escape):
9466         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
9467         (Footnote-unicode, Footnote-style-p):
9468         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
9470 2011-11-20  Chong Yidong  <cyd@gnu.org>
9472         * window.el (replace-buffer-in-windows): Restore interactive spec.
9474 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9476         * electric.el (electric-indent-mode): Fix last change (too optimistic).
9478         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
9479         (byte-compile-global-not-obsolete-vars): New var.
9480         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
9481         Use it.
9482         (byte-compile-warn-obsolete): Align text with the one in *Help*.
9484 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
9486         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
9487         * progmodes/pascal.el (electric-pascal-equal):
9488         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
9489         * xml.el (xml-substitute-special): Fix typos.
9491 2011-11-20  Glenn Morris  <rgm@gnu.org>
9493         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
9494         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
9495         Doc fixes.
9496         (rmail-decode-mime-charset): Mark as obsolete.
9498         * mail/rmailsum.el (rmail-message-regexp-p-1):
9499         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
9500         Before using mime functions, check they are set.  (Bug#10077)
9502 2011-11-19  Juri Linkov  <juri@jurta.org>
9504         * info.el (Info-finder-find-node): Use `package--builtins' instead
9505         of `package-alist'.  Use node names formed by the pattern "Keyword "
9506         and the keyword name.
9508 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
9510         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
9512 2011-11-19  Juri Linkov  <juri@jurta.org>
9514         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
9515         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
9516         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
9517         `old-history', `old-history-forward'.  Add let-binding
9518         `window-selected'.  Remove calls to `kill-buffer',
9519         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
9520         before calling `Info-find-node', so `Info-find-node-2' will reread
9521         the Info file.  Restore window positions only when `window-selected'
9522         is non-nil.
9524 2011-11-19  Juri Linkov  <juri@jurta.org>
9526         * isearch.el (isearch-lazy-highlight-new-loop):
9527         Remove condition `(not isearch-error)'.  (Bug#9918)
9529         * misearch.el (multi-isearch-search-fun): Add condition
9530         `(not bound)' to ignore lazy-highlighting search.
9531         Add the search-failed message "end of multi" when the end of
9532         multi-sequence is reached.  Uncapitalize the search-failed
9533         message "Repeat for next buffer".
9535         * info.el (Info-search): Add the search-failed message
9536         "end of the manual" when the end of the manual is reached
9537         in Isearch mode.
9539 2011-11-19  Juri Linkov  <juri@jurta.org>
9541         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
9542         Use non-destructive `remove' instead of `delete' because
9543         `Info-history-list' stored to `Info-isearch-initial-history-list' in
9544         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
9546 2011-11-19  Juri Linkov  <juri@jurta.org>
9548         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
9549         to nil instead of binding `search-ring' and `regexp-search-ring'.
9550         (Bug#9185)
9552 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
9554         * simple.el (line-move): Force movement by logical lines for any
9555         hscrolled window, not only when auto-hscroll-mode is on.
9556         (line-move-visual): Update doc string to that effect.  (Bug#10076)
9558 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
9560         * language/european.el (macintosh): Define as alias for mac-roman.
9562 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
9564         * mail/rmailmm.el (rmail-mime-display-header)
9565         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
9566         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
9567         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
9568         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
9569         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
9570         of a raw aref.
9571         (rmail-mime-entity-segment): To get past the tagline, move forward
9572         2 more lines, to account for the 2 empty lines that precede and
9573         follow the line with the buttons.
9574         (rmail-mime-update-tagline): Move one more line, to get past the
9575         empty line that follows the buttons in the tagline.  (Bug#9520)
9577 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
9579         * window.el (window-max-delta-1, window-min-delta-1)
9580         (window-min-size-1, window-state-get-1, window-state-put-1)
9581         (window-state-put-2): Use "window--" prefix.
9583 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9585         * emacs-lisp/smie.el: Improve warnings and conflict detection.
9586         (smie-warning-count): New var.
9587         (smie-set-prec2tab): Use it.
9588         (smie-bnf->prec2): Improve warnings.  Add docstring.
9589         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
9590         (smie-bnf--set-class): New function.
9591         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
9592         corner case.
9594         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
9595         (compilation-error-properties, compilation-move-to-column):
9596         Handle compilation-first-column while in the target buffer.
9598         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
9599         Don't hardcode point-min==1.
9601         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
9602         (eshell-rewrite-for-command): Remove workaround.
9603         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
9604         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
9605         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
9607         * files-x.el (modify-file-local-variable): Obey commenting conventions.
9609 2011-11-17  Glenn Morris  <rgm@gnu.org>
9611         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
9612         Ignore buffer-local generated-autoload-file if it is the same
9613         as the global value.  (Bug#10049)
9615 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
9617         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
9618         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
9619         (reftex-toc-previous-heading, reftex-toc-max-level)
9620         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
9621         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
9622         (reftex-toc-do-promote, reftex-toc-promote-prepare)
9623         (reftex-toc-promote-action, reftex-toc-extract-section-number)
9624         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
9625         (reftex-toc-rename-label, reftex-toc-visit-location)
9626         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
9627         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
9628         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
9629         leaving "*toc*" only for references to the buffer.
9631 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
9633         * window.el (window-resize, delete-window, split-window):
9634         Replace window-splits by window-combination-resize.
9635         * cus-start.el (window-splits): Replace by window-combination-resize.
9637 2011-11-17  Glenn Morris  <rgm@gnu.org>
9639         * progmodes/sh-script.el (sh-font-lock-keywords-var):
9640         Make bash entry derive from sh entry, not shell entry.
9642 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
9644         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
9645         local file name.
9647 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
9649         * menu-bar.el (menu-bar-file-menu):
9650         * printing.el (pr-ps-utility):
9651         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
9652         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
9653         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
9654         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
9655         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
9656         (icalendar--convert-cyclic-to-ical)
9657         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
9658         (icalendar--convert-ical-to-diary)
9659         (icalendar--convert-recurring-to-diary)
9660         (icalendar--convert-non-recurring-all-day-to-diary)
9661         (icalendar-import-format-sample):
9662         * progmodes/idlw-shell.el (idlwave-shell-mode):
9663         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
9664         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
9665         (vhdl-ps-print-init): Fix typos.
9667 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
9669         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
9670         FSF and collapse date sequence, obscure author/maintainer email address
9671         better, remove extra version line, track relocation of author's webpage.
9673         * progmodes/python.el (python-pdbtrack-input-prompt)
9674         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
9675         regular python pdb prompts.  Adjustments shamelessly taken exactly as
9676         suggested in EmacsWiki page (tiny change):
9677         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
9679 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
9681         * expand.el (expand-pos, expand-index, expand-point):
9682         Remove redundant info from docstring.
9683         (expand-add-abbrevs): Doc fix.
9684         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
9685         (expand-sample-perl-mode-expand-list): Fix typos.
9687         * net/dbus.el (dbus-event-member-name):
9688         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
9689         * term/pc-win.el (msdos-create-frame-with-faces):
9690         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
9692 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
9694         * window.el (split-window, window-state-get-1)
9695         (window-state-put-1, window-state-put-2): Rename occurrences of
9696         window-nest to window-combination-limit.
9697         * cus-start.el (window-nest): Rename to window-combination-limit.
9699 2011-11-16  Chong Yidong  <cyd@gnu.org>
9701         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
9702         regexp (Bug#10033).
9704 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9706         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
9707         `completing-read' will remove *Completions* and will preserve
9708         current-buffer for us.
9709         (tmm-add-prompt): Users of *Completions* will always (re)set its
9710         major mode.
9711         (tmm-old-comp-map): Remove.
9713 2011-11-16  Glenn Morris  <rgm@gnu.org>
9715         * mail/rmailedit.el: Require rmailmm when compiling.
9716         (rmail-old-mime-state): New declaration.
9717         (rmail-edit-current-message): If editing a mime message,
9718         edit the "raw" message from the mbox buffer.
9719         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
9721 2011-11-15  Glenn Morris  <rgm@gnu.org>
9723         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
9724         which wasn't being used.  Add optional arg to force given state.
9725         (rmail-mime): Add optional arg to force given state.
9727 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
9729         * allout.el (allout-encryption-plaintext-sanitization-regexps):
9730         * frame.el (display-mm-dimensions-alist):
9731         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
9732         (outline-move-subtree-down):
9733         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
9734         (newsticker--treeview-do-get-node):
9735         * net/quickurl.el (quickurl-list-buffer-name):
9736         * progmodes/dcl-mode.el (dcl-mode):
9737         * progmodes/gdb-mi.el (gdb-mapcar*):
9738         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
9740 2011-11-15  Glenn Morris  <rgm@gnu.org>
9742         * mail/rmail.el (rmail-file-coding-system): It's only ever used
9743         in a boolean sense, so just make it a boolean, and fix the doc.
9744         (rmail-show-mime-function, rmail-mime-feature)
9745         (rmail-require-mime-maybe): Doc fixes.
9746         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
9748         * mail/rmailmm.el (rmail-show-mime): Doc fix.
9750 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
9752         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
9753         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
9754         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
9755         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
9757 2011-11-15  Glenn Morris  <rgm@gnu.org>
9759         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
9760         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
9761         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
9762         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
9763         (rmail-mime, rmail-show-mime): Doc fixes.
9765         * term/ns-win.el (mode-line-frame-identification):
9766         Leave it alone.  (Bug#10051)
9768         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
9770         * mail/rmailout.el (rmail-output-to-rmail-buffer):
9771         Handle empty buffers.  (Bug#9978)
9773 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
9775         * international/mule.el (define-charset):
9776         * mail/rmailmm.el (rmail-mime-find-header-encoding):
9777         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
9778         * progmodes/verilog-mode.el (verilog-backward-token):
9779         * textmodes/ispell.el (lookup-words):
9780         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
9782 2011-11-14  Glenn Morris  <rgm@gnu.org>
9784         * progmodes/executable.el
9785         (executable-make-buffer-file-executable-if-script-p):
9786         Handle file-modes returning nil.
9788         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
9789         message - not necessary, and causes problems.  (Bug#9831)
9791         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
9793         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
9795         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
9796         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
9797         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
9799 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
9801         * window.el (window-resize, delete-window): Use window-splits
9802         variable instead of function.
9803         (window-state-get-1, window-state-put-2, window-state-put):
9804         Don't deal with windows' splits status.
9806 2011-11-12  Glenn Morris  <rgm@gnu.org>
9808         * apropos.el (apropos-do-all, apropos-library, apropos-value)
9809         (apropos-documentation): Doc fixes.
9811 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
9813         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9814         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9816 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9818         * electric.el (electric-indent-post-self-insert-function): Make it
9819         possible for a char to only indent in some circumstances.
9820         (electric-indent-mode): Simplify.
9822 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
9824         * window.el (windows-with-parameter): Remove unused function.
9825         (windows-at-side): Rename to window-at-side-list.
9826         (window-check, window-atom-check, window-atom-check-1)
9827         (window-side-check, window-size-ignore, window-size-fixed-1)
9828         (window-in-direction-2): Prefix with "window--".
9829         (window-tree-1): Rename to window--subtree, fix doc-string.
9831 2011-11-11  Glenn Morris  <rgm@gnu.org>
9833         * subr.el (eval-after-load): If FILE is already loaded,
9834         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
9836 2011-11-10  Glenn Morris  <rgm@gnu.org>
9838         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9839         Call svn via vc-svn-command rather than vc-do-command.
9840         (vc-svn-command): Add --non-interactive.  (Bug#9993)
9841         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9843         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9844         Add toggle-read-only.  (Bug#7292)
9845         * files.el (toggle-read-only): Mention that it should only
9846         be used interactively.  (Bug#10006)
9848 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9850         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9851         Adjust regexp for OCaml warnings.
9853         * electric.el (electric-pair-post-self-insert-function): Let user
9854         turn it off buffer-locally (bug#9932).
9856         * progmodes/python.el (python-beginning-of-statement):
9857         Rewrite (bug#2703).
9859         * progmodes/compile.el: Better handle TABs (bug#9749).
9860         (compilation-internal-error-properties)
9861         (compilation-next-error-function): Obey the target buffer's
9862         compilation-error-screen-columns.
9864 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
9866         * progmodes/meta-mode.el: Remove obsolete comments.
9867         (meta-right-comment-regexp, meta-ignore-comment-regexp):
9868         Fix typos in docstrings.
9870 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
9872         * window.el (window-size-fixed-p): Rewrite doc-string.
9873         (window-resizable-p): Rename to window--resizable-p.  Update callers.
9874         (window--resizable): New function.  Make all callers of
9875         window-resizable call window--resizable instead.
9876         (window-resizable): Rewrite in terms of window--resizable.
9878 2011-11-08  Glenn Morris  <rgm@gnu.org>
9880         * progmodes/delphi.el (delphi-mode-syntax-table):
9881         Let define-derived-mode define a proper syntax table.  (Bug#9994)
9883 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9885         * window.el: Stay away from defsubst.
9886         (window-list-no-nils): Remove.
9887         (window-state-get-1, window-state-get): Use backquote instead.
9889 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9891         * emacs-lisp/find-func.el (find-function-read):
9892         Fix incorrect use of default argument in `completing-read'.
9894 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
9896         * window.el (display-buffer-function, special-display-function):
9897         Mention display-buffer-record-window but do not mention
9898         help-setup parameter in doc-strings.
9899         (window-min-delta): Fix doc-string typo.
9901 2011-11-08  Chong Yidong  <cyd@gnu.org>
9903         * window.el (window-total-height, window-total-width): Doc fix.
9904         (window-body-size): Move from C.
9905         (window-body-height, window-body-width): Move to C.
9907 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9909         * window.el: Make special-display like display-buffer-alist (bug#9532).
9910         (display-buffer--special-action): New function, morphed
9911         from display-buffer--special.
9912         (display-buffer): Use it to handle special-display-buffers at higher
9913         priority (just after display-buffer-alist).
9914         (display-buffer-fallback-action, display-buffer--other-frame-action)
9915         (pop-to-buffer-same-window): Remove display-buffer--special.
9917 2011-11-07  Glenn Morris  <rgm@gnu.org>
9919         * calendar/cal-menu.el (cal-menu-set-date-title):
9920         Do nothing if not in a calendar.  (Bug#9976)
9922 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9924         * files.el (find-file): Always use selected-window.
9926 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
9928         * window.el (window-combinations): Make WINDOW argument
9929         mandatory.  Rewrite doc-string.
9930         (walk-window-subtree, window-atom-check, window-min-delta)
9931         (window-max-delta, window--resize-this-window)
9932         (window--resize-root-window-vertically, window-tree)
9933         (balance-windows, window-state-put): Rewrite doc-strings as to
9934         not mention the term "subwindow".
9935         (window--resize-subwindows-skip-p): Rename to
9936         window--resize-child-windows-skip-p.
9937         (window--resize-subwindows-normal): Rename to
9938         window--resize-child-windows-normal.
9939         (window--resize-subwindows): Rename to
9940         window--resize-child-windows.
9941         (window-or-subwindow-p): Rename to window--in-subtree-p.
9943 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
9945         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9946         Ensure that mbox format messages end in two newlines (Bug#9974).
9948 2011-11-06  Chong Yidong  <cyd@gnu.org>
9950         * window.el (window-combination-p): Function deleted; its
9951         side-effect is not used in any existing code.
9952         (window-combinations, window-combined-p): Call window-*-child
9953         directly.
9955 2011-11-05  Chong Yidong  <cyd@gnu.org>
9957         * window.el (window-valid-p): Rename from window-any-p.
9958         (window-size-ignore, window-state-get): Callers changed.
9959         (window-normalize-window): Rename from window-normalize-any-window.
9960         New arg LIVE-ONLY, replacing window-normalize-live-window.
9961         (window-normalize-live-window): Delete.
9962         (window-combination-p, window-combined-p, window-combinations)
9963         (walk-window-subtree, window-atom-root, window-min-size)
9964         (window-sizable, window-sizable-p, window-size-fixed-p)
9965         (window-min-delta, window-max-delta, window-resizable)
9966         (window-resizable-p, window-full-height-p, window-full-width-p)
9967         (window-current-scroll-bars, window-point-1, set-window-point-1)
9968         (window-at-side-p, window-in-direction, window-resize)
9969         (adjust-window-trailing-edge, maximize-window, minimize-window)
9970         (window-deletable-p, delete-window, delete-other-windows)
9971         (record-window-buffer, unrecord-window-buffer)
9972         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9973         (quit-window, split-window, window-state-put)
9974         (set-window-text-height, fit-window-to-buffer)
9975         (shrink-window-if-larger-than-buffer): Callers changed.
9977 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
9979         * mail/rmail.el (rmail-simplified-subject): Decode subject with
9980         rfc2047-decode-string.
9981         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9982         warnings.
9984         * window.el (window-body-height, window-body-width): Mention in
9985         the doc string that the return values are in frame's canonical
9986         units.  (Bug#9949)
9988 2011-11-03  Alan Mackenzie  <acm@muc.de>
9990         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9991         change in cc-engine.el.
9993 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9995         * window.el (switch-to-buffer): Use `force-same-window' interactively.
9997 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
9999         * window.el (quit-window): Call unrecord-window-buffer after
10000         showing another buffer in the window.  (Bug#9937)
10001         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
10003 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
10005         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
10006         Accept status with more than 9 shelves.  (Bug#9935)
10007         Reported by Colin D Bennett <colin@gibibit.com>.
10009 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
10011         * help.el (with-help-window): Don't reference
10012         temp-buffer-show-specifiers in doc-string.
10014 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
10016         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
10017         menu-item.
10019 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10021         * whitespace.el: New version 13.2.2.
10022         (whitespace-newline-mode): Disable properly.  Reported by Sarah
10023         <EmacsWiki>.
10025 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
10027         * net/newst-treeview.el: Remove "Time-stamp".
10028         (newsticker--group-manage-orphan-feeds): Do not call
10029         newsticker--treeview-tree-update.
10030         (newsticker-treeview-update, newsticker-treeview):
10031         Call newsticker--treeview-tree-update if necessary.
10033 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
10035         * window.el (window-iso-combination-p, window-iso-combined-p)
10036         (window-iso-combinations): Remove "iso-" infix.
10037         Suggested by Chong Yidong.
10038         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
10039         (window-max-delta-1, window-resize, window--resize-siblings)
10040         (window--resize-this-window, adjust-window-trailing-edge)
10041         (split-window, balance-windows-1)
10042         (shrink-window-if-larger-than-buffer):
10043         * calendar/calendar.el (calendar-generate-window):
10044         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
10046 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10048         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
10049         in place (bug#9907).
10050         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
10051         (eshell-rewrite-if-command, eshell-rewrite-for-command)
10052         (eshell-structure-basic-command, eshell-rewrite-while-command)
10053         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
10054         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
10055         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
10056         (eshell-do-pipelines-synchronously, eshell-eval-command):
10057         Use backquotes and prefer setq to set.
10058         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
10059         (eshell-macrop): Use functionp.
10060         (eshell-do-eval): Handle multiple expressions in `while' body.
10062 2011-10-30  Chong Yidong  <cyd@gnu.org>
10064         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
10065         instead of set-mark (Bug#9810).
10067 2011-10-30  Chong Yidong  <cyd@gnu.org>
10069         * window.el (split-window-below, split-window-right): Rename from
10070         split-window-above-each-other and split-window-side-by-side
10071         respectively.  All callers changed.
10072         (split-window-sensibly, split-window-sensibly): Use them.
10073         (split-window-keep-point): Doc fix.
10075         * isearch.el: Add isearch-scroll property to split-window-below
10076         and split-window-right.
10078         * follow.el (follow-mode):
10079         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
10080         * progmodes/ada-xref.el (ada-gdb-application):
10081         * emulation/vip.el (vip-buffer-in-two-windows):
10082         * image-dired.el (image-dired-dired-with-window-configuration):
10083         * dired-x.el (dired-do-find-marked-files):
10084         * dired.el (dired-pop-to-buffer):
10085         * bs.el (bs--show-with-configuration):
10086         * vc/emerge.el (emerge-setup-windows):
10087         * textmodes/two-column.el (2C-two-columns):
10088         * textmodes/reftex-toc.el (reftex-toc):
10089         * progmodes/gdb-mi.el (gdb-setup-windows):
10090         * progmodes/fortran.el (fortran-window-create):
10091         * net/newst-treeview.el (newsticker--treeview-window-init):
10092         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
10093         * emulation/tpu-edt.el (tpu-gold-map):
10094         * emulation/crisp.el (crisp-mode-map):
10095         * calendar/calendar.el (calendar-basic-setup): Callers changed.
10097 2011-10-29  Chong Yidong  <cyd@gnu.org>
10099         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
10101         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
10103         * textmodes/flyspell.el (flyspell-word): Fix char offset for
10104         forged Ispell output (Bug#7904).
10106         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
10108 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10110         * doc-view.el: Avoid ugly errors about not finding nil.
10111         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
10112         (doc-view-dvipdf-program, doc-view-unoconv-program)
10113         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
10114         Avoid nil or absolute file name as default value.
10115         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
10117 2011-10-28  Alan Mackenzie  <acm@muc.de>
10119         * progmodes/cc-defs.el (c-version): -> 5.32.2.
10121 2011-10-28  Alan Mackenzie  <acm@muc.de>
10123         Amend the handling of c-beginning/end-of-defun in nested declaration
10124         scopes.
10126         * progmodes/cc-vars.el (c-defun-tactic): Move here from
10127         cc-langs.el.  Change it to a defcustom.
10129         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
10130         cc-vars.el.
10132         * progmodes/cc-engine.el (c-beginning-of-statement-1):
10133         Prevent "class foo : bar" being spuriously recognized as a label.
10135         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
10136         Add parameter `inclusive' (to include enclosing braces in the region).
10137         (c-widen-to-enclosing-decl-scope): New function.
10138         (c-while-widening-to-decl-block): New macro.
10139         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
10140         outward for defun boundaries, and correspondingly change symbol
10141         `respect-enclosure' to `go-outward'.
10142         (c-declaration-limits): Change algorithm to report only the "innermost"
10143         defun's boundaries.
10145 2011-10-28  Deniz Dogan  <deniz@dogan.se>
10147         * net/rcirc.el (rcirc-mode): Use hard newlines.
10149 2011-10-28  Alan Mackenzie  <acm@muc.de>
10151         Amend to indent and fontify macros "which include their own semicolon"
10152         correctly, using the "virtual semicolon" mechanism.
10154         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
10156         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
10157         Recode to scan one line at a time rather than having \n and \r
10158         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
10159         (c-forward-label): Amend for virtual semicolons.
10160         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
10162         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
10163         of the new C macros.
10165         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
10166         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
10167         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
10168         (c-opt-cpp-macro-define): Make into a full language variable.
10169         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
10170         AWK Mode (including \n, \r) removed, no longer needed.
10172         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
10173         Invoke c-make-macro-with-semi-re.
10175         * progmodes/cc-vars.el (c-macro-with-semi-re):
10176         (c-macro-names-with-semicolon): New variables.
10177         (c-make-macro-with-semi-re): New function.
10179 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10181         * vc/log-edit.el: Fill empty field rather than adding new one.
10182         (log-edit-add-field): New function.
10183         (log-edit-insert-changelog): Use it.
10185 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
10187         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
10189 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10191         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
10192         (gdb--check-interpreter): New function.
10193         (gdb): Use it.
10195 2011-10-27  Glenn Morris  <rgm@gnu.org>
10197         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
10198         (least-positive-float, least-negative-float)
10199         (least-positive-normalized-float, least-negative-normalized-float)
10200         (float-epsilon, float-negative-epsilon):
10201         Remove unnecessary declarations.
10203         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
10204         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
10205         (least-positive-float, least-negative-float)
10206         (least-positive-normalized-float, least-negative-normalized-float)
10207         (float-epsilon, float-negative-epsilon): Add doc-strings,
10208         based on those in cl.texi.
10210         * files.el (set-visited-file-name): If the major-mode changed,
10211         reload the local variables.  (Bug#9796)
10213 2011-10-27  Chong Yidong  <cyd@gnu.org>
10215         * subr.el (change-major-mode-after-body-hook): New hook.
10216         (run-mode-hooks): Run it.
10218         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10219         Use change-major-mode-before-body-hook.
10221         * simple.el (fundamental-mode):
10222         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
10223         change introducing fundamental-mode-hook.
10225 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
10227         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
10229 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
10231         * ido.el (ido-file-name-all-completions-1): Do not require
10232         tramp.el explicitly.  (Bug#7583)
10234 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10236         * progmodes/octave-mod.el:
10237         * progmodes/octave-inf.el: Update maintainer.
10239 2011-10-26  Chong Yidong  <cyd@gnu.org>
10241         * subr.el (with-wrapper-hook): Rewrite doc.
10243 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
10245         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
10246         filenames "/method:foo:".  (Bug#9793)
10248 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10250         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
10251         (bug#9865).
10253 2011-10-24  Glenn Morris  <rgm@gnu.org>
10255         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
10257 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
10259         * notifications.el: Add the requirement of a running D-Bus session
10260         bus to the Commentary.
10262 2011-10-24  Juri Linkov  <juri@jurta.org>
10264         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
10265         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
10266         (Bug#9364)
10268 2011-10-24  Juri Linkov  <juri@jurta.org>
10270         * info.el (Info-following-node-name-re): Add newline to the list
10271         of allowed characters for leading space.  (Bug#9824)
10273 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10275         * progmodes/octave-inf.el (inferior-octave-mode-map):
10276         Fix C-c C-h binding.
10277         * progmodes/octave-mod.el (octave-help): Remove.
10279 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
10281         Sync with Tramp 2.2.3.
10283         * net/tramp-cache.el (top): Pacify byte-compiler using
10284         `init-file-user' and `site-run-file'.
10286         * net/trampver.el: Update release number.
10288 2011-10-23  Chong Yidong  <cyd@gnu.org>
10290         * files.el (toggle-read-only): Remove obsolete comment about
10291         version control.
10293         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
10294         for toggle-read-only.  Note that this hasn't called vc-next-action
10295         since 2008-05-02, though it wasn't documented at the time.
10297         * vc/ediff-init.el (ediff-toggle-read-only-function):
10298         Use toggle-read-only.
10300 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
10302         Fix bug #9560, sporadic wrong indentation; improve instrumentation
10303         of c-parse-state.
10305         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
10306         correct faulty logical expression.
10307         (c-parse-state-state, c-record-parse-state-state):
10308         (c-replay-parse-state-state): New defvar/defuns.
10309         (c-debug-parse-state): Use new functions.
10311 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
10313         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
10314         last fix.  Use window-in-direction correctly.
10316 2011-10-21  Chong Yidong  <cyd@gnu.org>
10318         * progmodes/idlwave.el (idlwave-mode):
10319         * progmodes/vera-mode.el (vera-mode): No need to set
10320         require-final-newline; that's done in prog-mode.
10321         Suggested by Stefan Monnier.
10323 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
10325         * mouse.el (mouse-drag-window-above)
10326         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
10327         (mouse-drag-mode-line-1, mouse-drag-header-line)
10328         (mouse-drag-vertical-line-rightward-window): Remove.
10329         (mouse-drag-line): New function.
10330         (mouse-drag-mode-line, mouse-drag-header-line)
10331         (mouse-drag-vertical-line): Call mouse-drag-line.
10332         * window.el (window-at-side-p, windows-at-side): New functions.
10334 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
10336         * tar-mode.el (tar-grind-file-mode):
10337         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
10339 2011-10-21  Chong Yidong  <cyd@gnu.org>
10341         * progmodes/idlwave.el (idlwave-mode):
10342         * progmodes/vera-mode.el (vera-mode):
10343         Use mode-require-final-newline.
10345 2011-10-20  Glenn Morris  <rgm@gnu.org>
10347         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
10349 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
10351         * emulation/cua-base.el (cua-set-mark): Fix case of string.
10353 2011-10-20  Chong Yidong  <cyd@gnu.org>
10355         * emulation/cua-base.el (cua-mode):
10356         * mail/footnote.el (footnote-mode):
10357         * mail/mailabbrev.el (mail-abbrevs-mode):
10358         * net/xesam.el (xesam-minor-mode):
10359         * progmodes/bug-reference.el (bug-reference-mode):
10360         * progmodes/cap-words.el (capitalized-words-mode):
10361         * progmodes/compile.el (compilation-minor-mode)
10362         (compilation-shell-minor-mode):
10363         * progmodes/gud.el (gud-tooltip-mode):
10364         * progmodes/hideif.el (hide-ifdef-mode):
10365         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
10366         * progmodes/subword.el (subword-mode):
10367         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10368         * progmodes/which-func.el (which-function-mode):
10369         * term/tvi970.el (tvi970-set-keypad-mode):
10370         * term/vt100.el (vt100-wide-mode):
10371         * textmodes/flyspell.el (flyspell-mode):
10372         * textmodes/ispell.el (ispell-minor-mode):
10373         * textmodes/nroff-mode.el (nroff-electric-mode):
10374         * textmodes/paragraphs.el (use-hard-newlines):
10375         * textmodes/refill.el (refill-mode):
10376         * textmodes/reftex.el (reftex-mode):
10377         * textmodes/rst.el (rst-minor-mode):
10378         * textmodes/sgml-mode.el (html-autoview-mode)
10379         (sgml-electric-tag-pair-mode):
10380         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
10381         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
10382         * emulation/crisp.el (crisp-mode):
10383         * emacs-lisp/eldoc.el (eldoc-mode):
10384         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
10385         minor mode behavior.
10387 2011-10-19  Juri Linkov  <juri@jurta.org>
10389         * descr-text.el (describe-char): Add #x2010 and #x2011 to
10390         the list of hard-coded chars with escape-glyph face.
10392 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10394         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
10396 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
10398         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
10399         running process.
10401 2011-10-19  Glenn Morris  <rgm@gnu.org>
10403         * vc/vc-bzr.el (vc-bzr-after-dir-status):
10404         Ignore ignored files.  (Bug#9726)
10406 2011-10-19  Chong Yidong  <cyd@gnu.org>
10408         Doc fix for minor modes, stating that an omitted argument enables
10409         the mode unconditionally when called from Lisp.
10411         * abbrev.el (abbrev-mode):
10412         * allout.el (allout-mode):
10413         * autoinsert.el (auto-insert-mode):
10414         * autoarg.el (autoarg-mode, autoarg-kp-mode):
10415         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
10416         (global-auto-revert-mode):
10417         * battery.el (display-battery-mode):
10418         * composite.el (global-auto-composition-mode)
10419         (auto-composition-mode):
10420         * delsel.el (delete-selection-mode):
10421         * desktop.el (desktop-save-mode):
10422         * dired-x.el (dired-omit-mode):
10423         * dirtrack.el (dirtrack-mode):
10424         * doc-view.el (doc-view-minor-mode):
10425         * double.el (double-mode):
10426         * electric.el (electric-indent-mode, electric-pair-mode):
10427         * emacs-lock.el (emacs-lock-mode):
10428         * epa-hook.el (auto-encryption-mode):
10429         * follow.el (follow-mode):
10430         * font-core.el (font-lock-mode):
10431         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
10432         * help.el (temp-buffer-resize-mode):
10433         * hilit-chg.el (highlight-changes-mode)
10434         (highlight-changes-visible-mode):
10435         * hi-lock.el (hi-lock-mode):
10436         * hl-line.el (hl-line-mode, global-hl-line-mode):
10437         * icomplete.el (icomplete-mode):
10438         * ido.el (ido-everywhere):
10439         * image-file.el (auto-image-file-mode):
10440         * image-mode.el (image-minor-mode):
10441         * iswitchb.el (iswitchb-mode):
10442         * jka-cmpr-hook.el (auto-compression-mode):
10443         * linum.el (linum-mode):
10444         * longlines.el (longlines-mode):
10445         * master.el (master-mode):
10446         * mb-depth.el (minibuffer-depth-indicate-mode):
10447         * menu-bar.el (menu-bar-mode):
10448         * minibuf-eldef.el (minibuffer-electric-default-mode):
10449         * mouse-sel.el (mouse-sel-mode):
10450         * msb.el (msb-mode):
10451         * mwheel.el (mouse-wheel-mode):
10452         * outline.el (outline-minor-mode):
10453         * paren.el (show-paren-mode):
10454         * recentf.el (recentf-mode):
10455         * reveal.el (reveal-mode, global-reveal-mode):
10456         * rfn-eshadow.el (file-name-shadow-mode):
10457         * ruler-mode.el (ruler-mode):
10458         * savehist.el (savehist-mode):
10459         * scroll-all.el (scroll-all-mode):
10460         * scroll-bar.el (scroll-bar-mode):
10461         * server.el (server-mode):
10462         * shell.el (shell-dirtrack-mode):
10463         * simple.el (auto-fill-mode, transient-mark-mode)
10464         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
10465         (line-number-mode, column-number-mode, size-indication-mode)
10466         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
10467         * strokes.el (strokes-mode):
10468         * time.el (display-time-mode):
10469         * t-mouse.el (gpm-mouse-mode):
10470         * tool-bar.el (tool-bar-mode):
10471         * tooltip.el (tooltip-mode):
10472         * type-break.el (type-break-mode-line-message-mode)
10473         (type-break-query-mode):
10474         * view.el (view-mode):
10475         * whitespace.el (whitespace-mode, whitespace-newline-mode)
10476         (global-whitespace-mode, global-whitespace-newline-mode):
10477         * xt-mouse.el (xterm-mouse-mode): Doc fix.
10479         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10480         Fix autogenerated docstring.
10482 2011-10-19  Juri Linkov  <juri@jurta.org>
10484         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
10485         by checking environment variables "DESKTOP_SESSION" and
10486         "XDG_CURRENT_DESKTOP".  (Bug#9779)
10488 2011-10-19  Juri Linkov  <juri@jurta.org>
10490         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
10491         (browse-url-chromium-program, browse-url-chromium-arguments):
10492         New defcustoms.
10493         (browse-url-default-browser): Check for `browse-url-chromium' and
10494         call `browse-url-chromium-program'.
10495         (browse-url-chromium): New command.  (Bug#9779)
10497 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
10499         * facemenu.el (list-colors-duplicates): On Windows, detect more
10500         duplicates by assuming that only colors matching "^System" are
10501         special "system colors".  (Bug#9722)
10503 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10505         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
10506         to distinguish the author from the committer.
10508 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
10510         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
10512 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
10514         * international/mule.el (sgml-html-meta-auto-coding-function):
10515         Add support for detecting encoding in HTML5 specified only as
10516         <meta charset="UTF-8">.  Implementation just makes http-equiv and
10517         content-type parts from HTML4 encoding string optional.  (Bug#9716)
10519 2011-10-18  Glenn Morris  <rgm@gnu.org>
10521         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
10523 2011-10-18  Chong Yidong  <cyd@gnu.org>
10525         * faces.el (cursor): Doc fix.
10527 2011-10-17  Chong Yidong  <cyd@gnu.org>
10529         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
10531 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
10533         * dirtrack.el (dirtrack): Support shell buffers with path
10534         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
10536 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
10538         * json.el: Bump version to 1.3 and note change in History.
10539         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
10541 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10543         * comint.el (comint-insert-input, comint-send-input)
10544         (comint-get-old-input-default, comint-backward-matching-input)
10545         (comint-next-prompt): Use nil instead of `input' for field property of
10546         past user input (bug#114).
10548         * minibuffer.el (completion--replace): Inherit surrounding properties
10549         (bug#114).
10550         (minibuffer-complete-and-exit): Use it.
10552         * comint.el (comint--table-subvert): Quote the all-completions output
10553         (bug#9160).
10555 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
10557         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
10559         * menu-bar.el (menu-bar-file-menu): Add entry for making new
10560         window on right of selected.  (Bug#9350) Reword other window
10561         entries and separate them from frame entries.
10563 2011-10-15  Glenn Morris  <rgm@gnu.org>
10565         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
10566         Doc fixes.
10568 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
10570         * net/network-stream.el (network-stream-open-starttls):
10571         Improve detection of failure due to lack of TLS support.
10573         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
10574         putting the input text in front and in bold.
10576 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10578         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
10580         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
10581         empty buffer.
10583         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
10584         unread-command-events rather than pushing yet-another event.
10586 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
10588         * mail/sendmail.el (sendmail-query-once): Improve the wording of
10589         the explanation of the possible choices.  Make the options passed
10590         to completing-read shorter.
10592 2011-10-13  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
10594         * textmodes/flyspell.el (flyspell-large-region): Make sure
10595         extended character mode is used if defined (Bug#1339).
10597 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
10599         * simple.el (what-cursor-position): Fix the display of the
10600         character info for LRE, LRO, RLE, and RLO characters by appending
10601         an invisible PDF.
10603 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10605         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
10606         even in case of error; add debug spec; simplify data flow.
10607         (with-timeout-handler): Remove.
10609 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
10611         Fix Bug#6019, Bug#9315.
10613         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
10614         complete `buffer-file-name', the local file name part could look
10615         remotely (for example on VMS).
10617         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
10618         `tramp-run-real-handler'.
10619         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
10620         already quoted by '"'.
10622         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
10623         Let `file-name-handler-alist' be nil, the local file name part
10624         could look remotely (for example on VMS).
10626 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10628         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
10629         from here...
10630         (flyspell-post-command-hook): ...to here.
10632 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10634         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
10635         if not needed.
10636         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
10637         using completion.  Protect against "slow" callers.
10638         Remove the "message hack".
10640 2011-10-11  Juri Linkov  <juri@jurta.org>
10642         * isearch.el (isearch-lazy-highlight-word): New variable.
10643         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
10644         Use it.  (Bug#9727)
10646 2011-10-11  Glenn Morris  <rgm@gnu.org>
10648         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
10649         like f90-previous-statement does.
10651 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10653         * eshell/eshell.el (eshell-command): History should be saved
10654         only in interactive use, to avoid error.
10656 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10658         * minibuffer.el (completion-file-name-table): Fix last change,
10659         i.e. ignore normal errors but not the other ones.
10661 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
10663         * window.el (special-display-buffer-names)
10664         (special-display-regexps): Remove some remnants of earlier
10665         changes from doc-strings.
10666         (quit-windows-on): New function.
10668         * vc/vc.el (vc-revert, vc-rollback):
10669         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
10670         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
10671         (Bug#6183) (Bug#7074) (Bug#7447)
10673 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
10675         * window.el (frame-auto-hide-function): Add version tag.
10676         (Bug#9699)
10678 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
10680         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
10681         condition.
10683 2011-10-09  Leo Liu  <sdl.web@gmail.com>
10685         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
10686         (Bug#9701)
10688 2011-10-08  Glenn Morris  <rgm@gnu.org>
10690         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
10691         before the first code statement zero indent.  (Bug#9690)
10693 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
10695         * simple.el (count-words-region): Always count in the region.
10696         Report the number of lines and characters too.
10697         (count-words): New command, which counts in the buffer if the
10698         region is inactive, as count-words-region used to.
10699         (count-words--message): New function.  Handle plurals.
10700         (count-lines-region): Make it an alias for count-words-region.
10702         * bindings.el (esc-map): Replace count-lines-region with
10703         count-words-region.
10705 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
10707         * window.el (window--delete): Delete dedicated frame
10708         unconditionally when argument KILL is non-nil.  (Bug#9699)
10709         (switch-to-buffer): Fix doc-string typo.
10711 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10713         * eshell/eshell.el (eshell-command): Avoid using hooks.
10715 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
10717         * bindings.el ([M-left],[M-right]): Bind to left-word and
10718         right-word respectively.
10720 2011-10-07  Glenn Morris  <rgm@gnu.org>
10722         * cus-start.el (debug-on-quit): Fix custom type.
10724 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10726         * subr.el (define-key-after): Clarify that the function is not
10727         useful for non-menu keymaps.
10729         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
10731 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10733         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
10734         in current minibuffer (Fix bug with recursive minibuffers).
10736 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
10738         * progmodes/gdb-mi.el (gdb): Doc fix.
10740 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
10742         * window.el (frame-auto-hide-function): New option replacing
10743         frame-auto-delete.  Suggested by Stefan Monnier.
10744         (window--delete): Call frame-auto-hide-function instead of
10745         investigating frame-auto-delete.
10746         (window-point-1, set-window-point-1): New functions.
10747         (window-in-direction, record-window-buffer, window-state-get-1)
10748         (display-buffer-record-window): Use window-point-1 instead of
10749         window-point.
10750         (set-window-buffer-start-and-point): Use set-window-point-1.
10752 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10754         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
10756 2011-10-05  Glenn Morris  <rgm@gnu.org>
10758         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
10759         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
10761 2011-10-05  Leo Liu  <sdl.web@gmail.com>
10763         * subr.el (read-char-choice): Fix argument to buffer-live-p which
10764         works with buffer object.
10766 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10768         * mpc.el (mpc-tool-bar-map): Add labels.
10770 2011-10-04  Glenn Morris  <rgm@gnu.org>
10772         * calendar/holidays.el (calendar-check-holidays): Doc fix.
10774 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
10776         * window.el (window--delete): New function.
10777         (frame-auto-delete): Resuscitate option.
10778         (bury-buffer, replace-buffer-in-windows)
10779         (quit-window): Rewrite using window--delete.
10780         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10781         Pass display-buffer-mark-dedicated to window--display-buffer-2
10782         (Bug#9639).
10784 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10786         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
10787         returns a list (bug#9554).  Add remote file name completion.
10788         * comint.el (comint--table-subvert): Curry and get quote&unquote
10789         functions as arguments.
10790         (comint--complete-file-name-data): Adjust call accordingly.
10791         * pcomplete.el (pcomplete--table-subvert): Remove.
10792         (pcomplete-completions-at-point): Use comint--table-subvert instead.
10794         * minibuffer.el (completion-table-case-fold): Use currying.
10795         (completion--styles-type, completion--cycling-threshold-type):
10796         New constants.
10797         (completion-styles, completion-category-overrides)
10798         (completion-cycle-threshold): Use them.
10799         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
10800         completion-table-case-fold.
10802 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
10804         * minibuffer.el (completion-category-overrides): Fix type of styles
10805         and add more user friendly tags (bug#9660).
10807 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10809         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
10810         (mule-input-method-string): New widget.
10811         (default-input-method, language-info-custom-alist): Use it.
10813 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10815         * pcomplete.el: Require comint.
10816         (pcomplete--common-suffix): Remove.
10817         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10818         (pcomplete--table-subvert): Sync with comint--table-subvert.
10819         (pcomplete--entries): Use comint-completion-file-name-table.
10820         * comint.el (comint-unquote-filename): Simplify.
10821         (comint-completion-file-name-table): New function (bug#9616).
10822         (comint--complete-file-name-data): Use it.
10824         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10825         (pcmpl-gnu-tar-buffer): Remove.
10826         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
10827         around.  Make sure pcomplete-suffix-list is only changed temporarily.
10828         Don't look inside the tar's file if it's too large.
10830 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
10832         * cus-edit.el (custom-mode-map):
10833         * epa.el (epa-key-list-mode-map):
10834         * man.el (Man-mode-map):
10835         * startup.el (splash-screen-keymap):
10836         * simple.el (special-mode-map): Use scroll-up-command and
10837         scroll-down-command.
10839         * progmodes/idlw-help.el (idlwave-help-mode-map):
10840         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10841         * net/newst-plainview.el (newsticker-mode-map):
10842         * emulation/ws-mode.el (wordstar-mode-map):
10843         * emulation/vi.el (vi-com-map):
10844         * calc/calc-graph.el (calc-graph-show-dumb):
10845         * term/sun.el (terminal-init-sun):
10846         * term/ns-win.el (global-map):
10847         * progmodes/grep.el (grep-mode-map):
10848         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10849         * mail/rmail.el (rmail-mode-map):
10850         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10852         * custom.el (custom-safe-themes, load-theme): Treat value of t for
10853         custom-safe-themes as special.
10855 2011-10-01  Julien Danjou  <julien@danjou.info>
10857         * notifications.el (notifications-notify): Fix docstring.
10859 2011-10-01  Per Starbäck  <per@starback.se>
10861         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
10863 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
10865         * startup.el (command-line-1): Fix last fix by inserting
10866         initial-scratch-message into *scratch* before displaying it.
10867         (Bug#9605) and (Bug#9636)
10869 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
10871         * simple.el (line-move): If auto-hscroll-mode is disabled and the
10872         window is hscrolled, move by logical lines.  (Bug#9607)
10873         (line-move-visual): Update the doc string to the above effect.
10875 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
10877         * window.el (display-buffer-record-window): When WINDOW is the
10878         selected window use `point' instead of `window-point'.  (Bug#9626)
10880         * startup.el (command-line-1): Use insert-before-markers when
10881         inserting initial-scratch-message.  (Bug#9605)
10883         * help.el (help-window): Remove variable.
10885 2011-09-29  Glenn Morris  <rgm@gnu.org>
10887         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10889 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
10891         * descr-text.el (describe-char-categories): Accept category
10892         descriptions more than one line long.
10894 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10896         * simple.el (delete-trailing-whitespace): Fix last change.
10898         * progmodes/perl-mode.el (perl-syntax-propertize-function):
10899         Don't confuse "y => 3" as the beginning of a `y' operation.
10901         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10902         object has more than 4 slots (bug#9613).
10904 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
10906         * subr.el (with-output-to-temp-buffer):
10907         * net/quickurl.el (quickurl, quickurl-browse-url):
10908         Fix typos in docstrings.
10910 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
10912         * minibuffer.el (completion-styles)
10913         (completion-category-overrides): Cross reference each other in doc
10914         strings.
10916 2011-09-27  Glenn Morris  <rgm@gnu.org>
10918         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10919         to split-string.  (Bug#9606)
10921 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10923         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10924         (bug#9615).
10926 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
10928         * emacs-lisp/package.el (list-packages): Fix echo area message.
10930 2011-09-27  Leo Liu  <sdl.web@gmail.com>
10932         * ido.el (ido-read-internal): Accept cons cell HIST arg.
10934 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
10936         * net/dbus.el (dbus-unregister-object): Don't release services for
10937         registered signals.  (Bug#9581)
10939 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
10941         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10942         function that picks between cfengine 2 and 3 support
10943         automatically.  Update docs accordingly.
10945 2011-09-22  Kenichi Handa  <handa@m17n.org>
10947         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10948         ZERO.
10949         (indian-itrans-v5-table-for-tamil): New variable.
10950         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10952 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
10954         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10955         that's true if the current command involved collapsing of text.
10956         It's reset to false at the beginning of the next command.
10957         (allout-post-command-business): Move the cursor to the beginning
10958         of entry if the cursor is hidden and collapsing activity just
10959         happened.
10961 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
10963         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10964         tracking (Bug#9541).
10966 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
10968         * net/newst-reader.el (newsticker-html-renderer)
10969         (newsticker-show-news): Automatically load html rendering package
10970         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
10971         because w3m-fill-column is let-bound" and the error "Symbol's value
10972         as variable is void: w3m-fill-column".
10974 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
10976         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10977         Release services only if they are defined.  (Bug#9581)
10979 2011-09-23  Richard Stallman  <rms@gnu.org>
10981         * textmodes/paragraphs.el (forward-sentence): For backwards case,
10982         distinguish start of paragraph from start of its text.
10984         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10986         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10987         (rmail-generate-viewer-buffer): Put that hook on view buffer.
10988         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10990 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
10992         * international/mule-diag.el (mule-diag): Insert a newline after
10993         each fontset description.
10995 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10997         * simple.el (delete-trailing-whitespace):
10998         Document last change; simplify.
11000 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
11002         * simple.el (delete-trailing-whitespace): Also delete
11003         extra newlines at the end of the buffer.
11005         * textmodes/picture.el: Make motion commands obey shift-select-mode.
11006         (picture-newline): Use forward-line so as to ignore fields.
11008 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11010         * subr.el (with-wrapper-hook): Fix edebug spec.
11012 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11014         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
11015         (bug#4538).
11017 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
11019         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
11020         Fix nasty bug using wrong cached values.
11022 2011-09-23  Alan Mackenzie  <acm@muc.de>
11024         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
11026 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
11028         * window.el (pop-to-buffer): Ensure right window is selected if we
11029         chose another frame.
11031 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
11033         * simple.el (what-cursor-position): Use get-char-property-change
11034         and next-single-char-property-change, to be able to show display
11035         properties that come from overlays as well as text properties.
11037 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
11039         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
11041         * cmuscheme.el (run-scheme, switch-to-scheme):
11042         * cus-edit.el (customize-group, custom-buffer-create)
11043         (customize-browse):
11044         * info.el (info):
11045         * shell.el (shell):
11046         * mail/sendmail.el (mail):
11047         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
11049 2011-09-22  Richard Stallman  <rms@gnu.org>
11051         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
11052         move back only to line beg, don't move back over blank lines.
11054 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
11056         * files.el (copy-directory): Set directory attributes only in case
11057         they could be retrieved from the source directory.  (Bug#9565)
11059 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
11061         * progmodes/hideshow.el (hs-looking-at-block-start-p)
11062         (hs-find-block-beginning, hs-hide-level-recursive):
11063         Ignore strings as well as comments.  (Bug#9502)
11065 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
11067         * progmodes/sql.el (sql-comint-postgres):
11068         Convert port number to a string.  (Bug#9566)
11070 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
11072         * window.el (quit-window): Undedicate window when switching to
11073         previous buffer.  Reported by Thierry Volpiatto
11074         <thierry.volpiatto@gmail.com>.
11075         (special-display-popup-frame): When popping up a new frame reset
11076         its previous buffers to nil.  Simplify code.
11078 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
11080         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
11081         and process filter, as done also in `shell-command'.
11083 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
11085         * window.el (set-window-buffer-start-and-point):
11086         Call set-window-start with NOFORCE argument t.
11087         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
11088         (quit-window): Reword doc-string.  Handle new format of
11089         quit-restore parameter.  Don't delete window if it has a
11090         previous buffer we can show instead of the present one.
11091         (display-buffer-record-window): Rewrite using a new format for
11092         the quit-restore window parameter
11093         (special-display-popup-frame, display-buffer-same-window)
11094         (display-buffer-reuse-window, display-buffer-pop-up-frame)
11095         (display-buffer-pop-up-window, display-buffer-use-some-window):
11096         Adapt symbol passed to display-buffer-record-window.
11097         * help.el (help-window-setup): Handle new format of quit-restore
11098         parameter.
11100 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11102         * faces.el (face-list): Fix docstring (bug#9564).
11104         * window.el (display-buffer--action-function-custom-type):
11105         Don't include internal functions in the Custom interface.
11107 2011-09-20  Juri Linkov  <juri@jurta.org>
11109         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
11110         (Info-forward-node, Info-backward-node, Info-next-preorder)
11111         (Info-last-preorder): Use it.  (Bug#9528)
11113 2011-09-20  Juri Linkov  <juri@jurta.org>
11115         * info.el (Info-last-preorder): Visit last menu item only when
11116         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
11118 2011-09-20  Julien Danjou  <julien@danjou.info>
11120         * password-cache.el (password-cache-remove): Remove entries even if the
11121         value is nil, so that password with a nil value (negative caching) is
11122         possible to invalidate.
11124 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
11126         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
11127         all whitespace around breakpoint.  (Bug#9553)
11128         (f90-find-breakpoint): Only break at whitespace inside a comment.
11130 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11132         * minibuffer.el (completion-file-name-table): Keep track of errors.
11133         (completion-table-with-predicate): Handle the case where pred1 is nil.
11134         * pcomplete.el (pcomplete-completions-at-point): Simplify.
11136 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11138         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
11139         (debugger-return-value): Signal an error if the debugging context does
11140         not await any return value.
11142         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
11143         * image-mode.el (image-toggle-display-text)
11144         (image-toggle-display-image): Stay away from evil `intangible'.
11146 2011-09-19  Leo Liu  <sdl.web@gmail.com>
11148         * replace.el (occur-revert-arguments): Make it permanent-local.
11149         (occur-mode): Don't call font-lock-defontify.
11151 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
11153         * net/ldap.el (ldap-search-internal): Don't push empty search
11154         result (Bug#9508).
11156 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11158         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
11160 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
11162         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
11163         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
11165 2011-09-18  Juri Linkov  <juri@jurta.org>
11167         * buff-menu.el (Buffer-menu-mode-map):
11168         * dired.el (dired-mode-map):
11169         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
11170         (lisp-interaction-mode-map):
11171         * emacs-lisp/package.el (package-menu-mode-map):
11172         * epa.el (epa-key-list-mode-map):
11173         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
11174         (menu-bar-options-menu):
11175         * outline.el (outline-mode-menu-bar-map):
11176         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
11177         * vc/vc-dir.el (vc-dir-menu-map):
11178         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
11179         Capitalize non-function content words in menu item strings.
11181         * dired.el (dired-mode-map): Add menu item for
11182         `image-dired-dired-toggle-marked-thumbs'.
11184 2011-09-18  Juri Linkov  <juri@jurta.org>
11186         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
11187         to `isearch-case-fold-search' and restore its original value
11188         after the `isearch-mode' call.
11190 2011-09-18  Juri Linkov  <juri@jurta.org>
11192         * progmodes/grep.el (grep-process-setup): Don't check code for 1
11193         because `zgrep' returns 1 for successful matches (bug#9226).
11195 2011-09-18  Juri Linkov  <juri@jurta.org>
11197         * info.el (Info-extract-menu-node-name): Check the second match
11198         for empty string (second test-case of bug#9528).
11199         (Info-last-preorder): Let-bind `Info-history' to nil to not add
11200         intermediate nodes to the history (first test-case of bug#9528).
11202 2011-09-18  Juri Linkov  <juri@jurta.org>
11204         * info.el (Info-mode-syntax-table): New variable.
11205         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
11207 2011-09-18  Juri Linkov  <juri@jurta.org>
11209         * info.el (Info-file-supports-index-cookies):
11210         Increment line-beginning-position's arg from 3 to 4 because makeinfo
11211         outputs one more line for long file names (bug#4142).
11213 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
11215         * newcomment.el (comment-normalize-vars): If prompting for
11216         comment-start, set comment-start-skip too (Bug#8424).
11218 2011-09-18  Johan BockgĂ¥rd  <bojohan@gnu.org>
11220         * icomplete.el: Fix previous fix of Bug#5849.
11221         (icomplete-mode): Don't set completion-show-inline-help.
11222         (icomplete-minibuffer-setup): Set completion-show-inline-help
11223         locally during icompletion.
11225 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
11227         * woman.el (woman2-process-escapes): Don't delete unrecognized
11228         escapes (Bug#7843).
11230         * files.el (inhibit-first-line-modes-regexps): Add image files.
11231         (hack-local-variables-prop-line): Return nil for malformed
11232         prop-lines (Bug#9044).
11234 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
11236         * net/tramp.el (top): Don't require 'shell.
11237         (tramp-methods): Fix docstring.
11238         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
11239         Return complete remote file name.  Handle "smb" case.
11240         Use `tramp-tmpdir', if defined for the respective method.
11241         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
11243         * net/tramp-compat.el (top): Require 'shell.
11245         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
11246         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
11247         `tramp-current-host'.
11248         (tramp-get-remote-tmpdir): Remove.
11250         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
11251         `tramp-tmpdir' entries.
11252         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
11253         (tramp-smb-handle-file-attributes): Ignore errors.
11254         (tramp-smb-wait-for-output): Check also for process end.
11256 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11258         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
11259         when sending QUIT (bug#9312).
11261 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
11263         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
11264         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
11265         occur-mode-display-occurrence.
11266         (occur-edit-mode): Add usage message.
11267         (occur-cease-edit): New command.
11268         (occur-after-change-function): Use text properties to find the
11269         position of the prefix text.
11270         (occur-engine): Set stickiness of prefix text properties.
11272 2011-09-17  Glenn Morris  <rgm@gnu.org>
11274         * progmodes/etags.el (complete-tag):
11275         Fix call to completion-in-region.  (Bug#9526)
11277 2011-09-17  Juri Linkov  <juri@jurta.org>
11279         * textmodes/ispell.el (ispell-word): Add to the error message
11280         the word, ispell program name and current dictionary (bug#9121).
11281         (ispell-tex-arg-end): Capitalize "error" in the error message.
11283 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
11285         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
11286         check.  (Bug#4251)
11288 2011-09-17  Juri Linkov  <juri@jurta.org>
11290         * window.el (window-safe-min-height, window-safe-min-width):
11291         Fix typos (followup to bug#9522).
11293 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
11295         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
11297 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
11299         * simple.el (line-move): If goal-column is set, move by logical
11300         lines, not by display lines.  (Bug#971)
11301         (next-line, previous-line, goal-column, line-move-visual): Doc fix
11302         to reflect the above change.
11304 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11306         * image.el (imagemagick-register-types): Use regexp-opt.
11308 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
11310         * window.el (display-buffer-base-action): Rename from
11311         display-buffer-default-action.  Make default value empty.
11312         (display-buffer-overriding-action): Convert to defvar.
11313         (display-buffer-fallback-action): New var.
11315 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
11317         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
11318         declaration.
11319         (package--add-to-archive-contents): If there is a duplicate entry
11320         with an older version, remove it.
11321         (package-menu-mark-delete, package-menu-mark-install)
11322         (package-menu-mark-unmark): Make unused args optional.
11323         (package-menu-mark-obsolete-for-deletion):
11324         Use package-menu-get-status instead of a regexp search.
11325         (package-menu-get-status): Use tabulated-list-entry.
11326         (package-menu-mark-upgrades): New command.
11327         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
11328         (package-menu-execute): Do installation before deletion.
11329         (package-menu-refresh, package-menu-execute): Use derived-mode-p
11330         instead of checking major-mode.
11331         (package-menu--find-upgrades): New function.
11333 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11335         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
11336         passwords in the log buffer.
11337         (smtpmail-process-filter): Update the process marker so that the
11338         "broken by peer" status message is inserted in the right place.
11340 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11342         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
11343         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
11344         bibtex-completion-at-point-function.
11345         (bibtex-completion-at-point-function): Use them.
11347         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
11349         * mpc.el (mpc-constraints-tag-lookup): New function.
11350         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
11351         also to browser "album|playlist".
11353 2011-09-14  Juri Linkov  <juri@jurta.org>
11355         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
11356         (isearch-edit-string): Use length of `isearch-string' when
11357         `isearch-fail-pos' returns nil.
11358         (isearch-message): Remove duplicate code and call
11359         `isearch-fail-pos' with arg `t'.
11361 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
11363         * replace.el (occur-mode-goto-occurrence): Don't force using other
11364         window (Bug#9499).
11366         * dired-aux.el (dired-do-chmod): Don't provide initial input.
11368 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
11370         * window.el (display-buffer-window): Remove.
11371         (display-buffer-record-window): Use help-setup window parameter
11372         instead of variable display-buffer-window.
11373         (display-buffer-function, special-display-buffer-names)
11374         (special-display-function): Mention help-setup parameter instead
11375         of display-buffer-window in doc-string.
11376         * help.el (help-window-setup): New argument help-window.
11377         Use help-window-setup parameter instead of display-buffer-window.
11378         Reword some messages.
11379         (with-help-window): Pass window used for displaying the buffer
11380         to help-window-setup.  Don't set display-buffer-window.
11382 2011-09-13  Glenn Morris  <rgm@gnu.org>
11384         * emacs-lisp/debug.el (debugger-make-xrefs):
11385         Preserve point.  (Bug#9462)
11387 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
11389         * window.el (window-deletable-p): Use next-frame.
11391 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
11393         * window.el (window-auto-delete): Remove.
11394         (window-deletable-p): Remove argument FORCE.  Don't deal with
11395         dedication and previous buffers.
11396         (switch-to-prev-buffer): Don't delete window.
11397         (delete-windows-on): Delete a window's frame if and only if the
11398         window is dedicated.
11399         (replace-buffer-in-windows): Delete buffer's window or frame if
11400         and only if window is dedicated.
11401         (quit-window): Handle quit-restore as before last change.
11402         (bury-buffer): Delete window only if window-deletable-p returns t.
11404 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
11406         * window.el (window-deletable-p): Never delete the last frame on a
11407         given terminal.
11409 2011-09-13  Glenn Morris  <rgm@gnu.org>
11411         * help.el (describe-key-briefly): Copy previous standard-output change.
11413 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
11415         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
11417 2011-09-13  Glenn Morris  <rgm@gnu.org>
11419         * emacs-lisp/lisp-mode.el (lisp-indent-function):
11420         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
11422 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
11424         * dired-aux.el (dired-mark-read-string): Don't return default
11425         value on empty input (Bug#9361).
11426         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
11427         Omit initial minibuffer contents.
11428         (dired-do-chmod): Signal an error on empty input.
11429         (dired-mark-read-string): Don't return default on empty input.
11431         * files.el (file-modes-symbolic-to-number): Doc fix.
11433 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11435         * international/mule-cmds.el (ucs-completions): Remove.
11436         (read-char-by-name): Use complete-with-action instead; add metadata.
11438 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
11440         * window.el (display-buffer--action-function-custom-type)
11441         (display-buffer--action-custom-type): New vars.
11442         (display-buffer-alist, display-buffer-default-action)
11443         (display-buffer-overriding-action): Add defcustom types.
11445         * frame.el (delete-other-frames): Doc fix (Bug#276).
11447 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11449         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
11451 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
11453         Change modes that used same-window-* vars to use switch-to-buffer.
11455         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
11456         Use switch-to-buffer.
11458         * cus-edit.el (customize-group, custom-buffer-create)
11459         (customize-browse, custom-buffer-create-other-window):
11460         Use switch-to-buffer or switch-to-buffer-other-window.
11462         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
11463         (Info-prev, Info-up, Info-speedbar-goto-node)
11464         (info-display-manual): Use switch-to-buffer.
11465         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
11467         * mail/sendmail.el (mail): Use switch-to-buffer.
11468         (mail-recover): Use switch-to-buffer-other-window.
11470         * cmuscheme.el (run-scheme, switch-to-scheme):
11471         * ielm.el (ielm):
11472         * shell.el (shell):
11473         * net/rlogin.el (rlogin):
11474         * net/telnet.el (telnet, rsh):
11475         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
11477 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
11479         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
11481 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11483         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
11484         so don't mention it (bug#9301).
11485         (dired-sort-toggle-or-edit): Clarify string further.
11487         * faces.el (face-spec-set-match-display): Make `(type graphic)'
11488         match `x', `w32' and `ns', like the manual says (bug#9029).
11490         * subr.el (eval-after-load): Doc string clarification (bug#9125).
11491         (process-kill-buffer-query-function): Mention the buffer name in
11492         the query.
11494         * image-mode.el (image-next-line): The line parameter is mandatory
11495         (bug#9258).
11497         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
11498         which can be useful (bug#9301).
11500         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
11502         * subr.el (match-string): Mention that the current buffer should
11503         be the same as the search was done in (bug#9282).
11505         * facemenu.el: Disable the remove-* commands if the mark isn't
11506         active (bug#9162).
11508 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
11510         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
11511         of display-buffer.
11512         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
11514         * replace.el (occur-mode-goto-occurrence)
11515         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
11516         and display-buffer.
11518         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
11519         display-buffer.
11521         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
11522         special-display and same-window variables.
11523         (mail-other-window): Use switch-to-buffer-other-window.
11524         (mail-other-frame): USe switch-to-buffer-other-frame.
11526         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
11527         Use display-buffer-other-frame.
11528         (gdb-display-gdb-buffer): Use pop-to-buffer.
11530         * progmodes/gud.el (gud-goto-info): Use info-other-window.
11532         * progmodes/python.el: Don't set same-window-buffer-names.
11534         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
11536         * window.el (display-buffer-alist): Add *Python*.
11538 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
11540         * window.el (display-buffer-alist): Add entry for buffers
11541         previously handled same-window-*.
11542         (display-buffer-alist, display-buffer-default-action)
11543         (display-buffer-overriding-action): Mark as risky.
11544         (display-buffer-alist): Document action function changes.
11545         (display-buffer--same-window-action)
11546         (display-buffer--other-frame-action): New variables.
11547         (switch-to-buffer, display-buffer-other-frame): Use them.
11548         (display-buffer): Rename reuse-frame entry to reusable-frames.
11549         (display-buffer-reuse-selected-window): Function deleted.
11550         (display-buffer-reuse-window): Handle reusable-frames alist entry.
11551         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
11552         (display-buffer-special): New function.
11553         (display-buffer--maybe-pop-up-frame-or-window): Rename from
11554         display-buffer-reuse-or-pop-window.  Split off special-display
11555         part into display-buffer-special.
11556         (display-buffer-use-some-window): Don't perform any special
11557         pop-up-frames handling.
11558         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
11559         (display-buffer--maybe-same-window): Rename from
11560         display-buffer-maybe-same-window.
11562         * info.el: Don't set same-window-regexps.
11563         (info-setup): New function.
11564         (info-other-window, info): Call it.
11566         * cus-edit.el: Don't set same-window-regexps.
11567         (customize-group): New argument.
11568         (customize-group-other-window): Use it.
11569         (customize-face, customize-face-other-window): Likewise.
11570         (custom-buffer-create-other-window): Use pop-to-buffer directly.
11572         * net/rlogin.el:
11573         * net/telnet.el:
11574         * progmodes/gud.el: Don't set same-window-regexps.
11576         * cmuscheme.el:
11577         * ielm.el:
11578         * shell.el:
11579         * mail/sendmail.el:
11580         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
11582 2011-09-10  Juri Linkov  <juri@jurta.org>
11584         * isearch.el (isearch-edit-string): Remove obsolete mention of
11585         `C-w' (`isearch-yank-word-or-char') from docstring.
11586         (isearch-query-replace): Fix typo in docstring (bug#9466).
11588 2011-09-10  Juri Linkov  <juri@jurta.org>
11590         * paren.el (show-paren-function): Don't show escaped parens.
11591         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
11593 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
11595         * mail/sendmail.el (mml-to-mime, mml-attach-file)
11596         (mm-default-file-encoding): Remove autoload forms, they are
11597         replaced with autoload cookies in mml.el and mm-encode.el.
11598         (mail-add-attachment): New command.
11599         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
11600         (mail-mode): Mention mail-insert-file and mail-add-attachment in
11601         the doc string.
11602         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
11604 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
11606         * simple.el (count-words-region): Use buffer if there's no region
11607         (bug#9429).
11609 2011-09-09  Juri Linkov  <juri@jurta.org>
11611         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
11612         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
11613         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
11615 2011-09-09  Alan Mackenzie  <acm@muc.de>
11617         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
11618         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
11620 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
11622         Fix for Savannah bug#9392.
11623         * simple.el (mail-encode-mml): New defvar.
11625         * mail/rmail.el (mail-encode-mml): Add a defvar.
11626         (rmail-enable-mime-composing): Default to t.
11627         (rmail-forward): Use MIME method of forwarding only if both
11628         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
11629         Set mail-encode-mml non-nil if the MIME method was used.
11631         * mail/sendmail.el (mml-to-mime): Add autoload form.
11632         (mail-encode-mml): Add a defvar.
11633         (mail-mode): Make mail-encode-mml buffer-local and initialize it
11634         to nil.
11635         (mail-send): If mail-encode-mml is non-nil, run the outgoing
11636         message through mml-to-mime, and reset mail-encode-mml to nil.
11638 2011-09-09  Glenn Morris  <rgm@gnu.org>
11640         * woman.el (woman-if-body): When processing an .el block,
11641         do not delete the next .el block as well.  (Bug#9447)
11642         (woman-special-characters): Add oq, cq, and hy characters.
11644 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
11646         * window.el (window-deletable-p): Make sure window is live before
11647         invoking window-prev-buffers.
11649 2011-09-08  Leo Liu  <sdl.web@gmail.com>
11651         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
11653 2011-09-08  Juri Linkov  <juri@jurta.org>
11655         * progmodes/compile.el (compilation-environment): Make it
11656         a defcustom (bug#8340).
11658 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
11660         * window.el (frame-auto-delete): Rename to window-auto-delete.
11661         Make it control auto-deletion of windows and/or frames.
11662         (window-deletable-p): New argument FORCE.  Rewrite conditions
11663         for deleting window/frame.  (Bug#9419)
11664         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
11665         Rewrite handling of case when window/frame can be deleted.
11666         (delete-windows-on): Call window-deletable-p with new FORCE
11667         argument t.  (Bug#9456)
11669 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
11671         * help-mode.el (help-mode): Restore autoload.
11673 2011-09-07  Juri Linkov  <juri@jurta.org>
11675         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
11676         `compilation-environment'.  Set buffer-local
11677         `compilation-environment' to `thisenv' later after (funcall mode).
11678         (Bug#8340)
11680         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
11681         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
11682         instead of replacing its value.  (Bug#8340)
11684 2011-09-07  Juri Linkov  <juri@jurta.org>
11686         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
11687         based on text properties put by `grep-filter' instead of matching
11688         escape sequences.
11689         (grep-mode): Set buffer-local `compilation-error-screen-columns'
11690         to the value of `grep-error-screen-columns' (bug#9438).
11692 2011-09-07  Juri Linkov  <juri@jurta.org>
11694         * simple.el (next-error-highlight, next-error-highlight-no-select):
11695         Doc fix (bug#9432).
11697 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
11699         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11700         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
11702 2011-09-07  Leo Liu  <sdl.web@gmail.com>
11704         * net/rcirc.el (rcirc-mode): Conditionally initialize
11705         rcirc-input-ring.
11707 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11709         * emacs-lisp/find-func.el (find-function-C-source): Only set
11710         find-function-C-source-directory after checking that we found a source
11711         file there (bug#9440).
11713 2011-09-06  Alan Mackenzie  <acm@muc.de>
11715         * isearch.el (isearch-other-meta-char): Wherever a key list is
11716         unread, "unread" the prefix arg, too.  This fixes bug #8901.
11718 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
11720         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
11722 2011-09-05  Juri Linkov  <juri@jurta.org>
11724         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
11726 2011-09-05  Juri Linkov  <juri@jurta.org>
11728         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
11729         keeping point where processing of grep matches begins, and
11730         continue to delete remaining escape sequences from the same point.
11731         (grep-filter): Make leading zero optional in "0?1;31m" because
11732         git-grep emits "\033[1;31m" escape sequences unlike expected
11733         "\033[01;31m" as GNU Grep does (bug#9408).
11734         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
11736 2011-09-05  Juri Linkov  <juri@jurta.org>
11738         * subr.el (y-or-n-p): Capitalize "yes".
11740 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
11742         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
11743         `tramp-cache-unload-hook' where appropriate.
11744         (tramp-methods): Rename `tramp-remote-sh' to
11745         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
11746         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
11748         * net/tramp-sh.el (top): Don't require 'shell.
11749         (tramp-methods): Add `tramp-remote-shell' and
11750         `tramp-remote-shell-args' entries.
11751         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
11752         (tramp-sh-handle-shell-command): Remove.
11753         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
11754         Use `tramp-remote-shell'.
11756 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
11758         * mail/sendmail.el (sendmail-query-once-function): Delete.
11759         (sendmail-query-once): Save directly to send-mail-function.
11760         Update message-send-mail-function too.
11762         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
11764 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
11766         * progmodes/python.el (python-mode-map): Use correct function to
11767         start python interpreter from menu-bar (as reported by Geert
11768         Kloosterman).
11769         (inferior-python-mode-map): Fix typo.
11770         (python-shell-map): Remove.
11772 2011-09-03  Deniz Dogan  <deniz@dogan.se>
11774         * net/rcirc.el (rcirc-print): Simplify code for
11775         rcirc-scroll-show-maximum-output.  There is no need to walk
11776         through all windows to find the right one.
11778 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
11780         * help.el (help-return-method): Doc fix.
11782 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
11784         * window.el (window-deletable-p): Don't return a non-nil value
11785         when there's a buffer that was shown in the window before.
11786         (Bug#9419)
11787         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11788         Set window's previous buffers to nil.
11790 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
11792         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
11793         newline before and after the tag line, so it doesn't interfere
11794         with determining the paragraph direction of bidirectional text.
11796 2011-09-03  Leo Liu  <sdl.web@gmail.com>
11798         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
11800 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
11802         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
11803         (pop-to-buffer): Change interactive spec.  Pass second argument
11804         directly to display-buffer.
11805         (display-buffer): Fix interactive spec.  Use functionp to
11806         distinguish between a function and a list of functions.
11808         * abbrev.el (edit-abbrevs):
11809         * arc-mode.el (archive-extract):
11810         * autoinsert.el (auto-insert):
11811         * bookmark.el (bookmark-bmenu-list):
11812         * files.el (find-file):
11813         * view.el (view-buffer):
11814         * progmodes/compile.el (compilation-goto-locus):
11815         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11817 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
11819         * window.el (display-buffer-alist): Doc fix.
11820         (display-buffer): Add docstring.  Don't treat
11821         display-buffer-default specially.
11822         (display-buffer-reuse-selected-window)
11823         (display-buffer-same-window, display-buffer-maybe-same-window)
11824         (display-buffer-reuse-window, display-buffer-pop-up-frame)
11825         (display-buffer-pop-up-window)
11826         (display-buffer-reuse-or-pop-window)
11827         (display-buffer-use-some-window): New functions.
11828         (display-buffer-default-action): Use them.
11829         (display-buffer-default): Delete.
11830         (pop-to-buffer-1): Fix choice of actions.
11832 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11834         * minibuffer.el (completion--insert-strings): Don't get confused by
11835         completion entries that end with an LF char.
11837 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
11839         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11841 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
11843         * window.el (display-buffer): Restore interactive spec.
11844         (display-buffer-same-window, display-buffer-other-window):
11845         New functions.
11846         (pop-to-buffer-1): New function.  Use the above.
11847         (pop-to-buffer, pop-to-buffer-same-window): Use it.
11848         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
11850         * view.el (view-buffer-other-window, view-buffer-other-frame):
11851         Just use pop-to-buffer.
11853 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11855         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
11857 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
11859         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
11861 2011-08-31  Richard Stallman  <rms@gnu.org>
11863         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11864         of the separation of rmail-view-buffer from rmail-buffer.
11865         If you say no to "replace original", the decrypt is in the
11866         view buffer.  If you say yes, the decrypt goes into the
11867         rmail buffer also.
11869 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
11871         * window.el (display-buffer-window): Rewrite doc-string.
11872         (display-buffer-record-window): New function.
11873         (display-buffer-macro-specifiers)
11874         (display-buffer-even-window-sizes, display-buffer-set-height)
11875         (display-buffer-set-width, display-buffer-in-window)
11876         (display-buffer-reuse-window, display-buffer-split-specifiers)
11877         (display-buffer-side-specifiers, display-buffer-split-window-1)
11878         (display-buffer-split-window, display-buffer-split-atom-window)
11879         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11880         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11881         (display-buffer-other-window-means-other-frame)
11882         (display-buffer-normalize-special)
11883         (display-buffer-normalize-default)
11884         (display-buffer-normalize-argument)
11885         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11886         (display-buffer-normalize-specifiers, display-buffer-frame)
11887         (display-buffer-same-window, display-buffer-same-frame)
11888         (display-buffer-other-window)
11889         (display-buffer-same-frame-other-window)
11890         (display-buffer-other-frame, pop-to-buffer-same-window)
11891         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11892         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11893         (switch-to-buffer-same-frame)
11894         (switch-to-buffer-other-window-same-frame)
11895         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11896         (display-buffer-alist-set-1, display-buffer-alist-set-2)
11897         (display-buffer-alist-set): Remove.
11898         (display-buffer-function, special-display-buffer-names)
11899         (special-display-regexps, special-display-function):
11900         In doc-string refer to display-buffer-window and quit-restore
11901         parameter.
11902         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11903         (special-display-frame-alist, special-display-popup-frame)
11904         (same-window-buffer-names, same-window-regexps, same-window-p)
11905         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11906         (split-window-preferred-function, split-height-threshold)
11907         (split-width-threshold, window-splittable-p)
11908         (split-window-sensibly, window--try-to-split-window)
11909         (window--frame-usable-p, even-window-heights)
11910         (window--even-window-heights, window--display-buffer-1)
11911         (window--display-buffer-2, display-buffer-other-frame):
11912         Restore old Emacs 23 code, order and doc-strings where applicable.
11913         (display-buffer-default, display-buffer-assq-regexp): New functions.
11914         (display-buffer-alist): Rewrite doc-string.
11915         (display-buffer-default-action)
11916         (display-buffer-overriding-action): New variables.
11917         (display-buffer, switch-to-buffer): Rewrite.
11918         (pop-to-buffer): Restore Emacs 23 behavior but use
11919         window-normalize-buffer-to-display.
11920         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11921         Restore Emacs 23 behavior but use
11922         window-normalize-buffer-to-switch-to.
11923         (pop-to-buffer-same-window): Rewrite.
11924         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11925         Rewrite using Emacs 23 options.
11927 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
11929         * net/tramp.el (tramp-root-regexp): Remove.
11930         (tramp-completion-file-name-regexp-unified)
11931         (tramp-completion-file-name-regexp-separate)
11932         (tramp-completion-file-name-regexp-url): Don't use leading volume
11933         letter on w32 systems.  (Bug#5303, Bug#9311)
11934         (tramp-drop-volume-letter): Simplify definition.
11935         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
11937 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11939         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11940         (bug#9356).
11942 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
11944         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
11946 2011-08-29  Juri Linkov  <juri@jurta.org>
11948         * isearch.el (isearch-done): Don't display message "Mark saved"
11949         when arg `edit' is non-nil to prevent its flicker in the echo area.
11951 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
11953         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11954         obsolete packages for deletion.
11956 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
11958         * help-mode.el (help-mode-map): Add special-mode-map to parent.
11959         (help-mode): Derive help-mode from special-mode.  Don't invoke
11960         view-mode from help-mode.
11961         (help-xref-override-view-map): Remove.
11962         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11963         view-mode is not used anymore.
11965 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
11967         * server.el (server-port): Doc fix.
11969         * cus-theme.el (custom-theme-choose-mode): Inherit from
11970         special-mode (Bug#9124).
11971         (custom-theme-choose-mode-map): Add special-mode to parent.
11973 2011-08-28  Alan Mackenzie  <acm@muc.de>
11975         * progmodes/cc-fonts.el
11976         (c-make-font-lock-BO-decl-search-function): New function.
11977         (c-basic-matchers-after - "Fontify the clauses after various
11978         keywords"): Extract the three keyword lists for the 3 erroneous
11979         constructs from the list of four, and use the new function above
11980         in place of an old one.
11982 2011-08-28  Deniz Dogan  <deniz@dogan.se>
11984         * net/rcirc.el (rcirc-insert-prev-input)
11985         (rcirc-insert-next-input): Remove unused argument.
11987 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11989         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11991 2011-08-27  Alan Mackenzie  <acm@muc.de>
11993         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11994         handle function pointer parameters properly.
11996 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
11998         * window.el (display-buffer-reuse-window): Fix case where
11999         selected window was reused with non-nil OTHER-WINDOW argument.
12000         (Bug#9381)
12002 2011-08-27  Deniz Dogan  <deniz@dogan.se>
12004         * net/rcirc.el (rcirc-check-auth-status): Adding support for
12005         oftc's NickServ messages.
12007 2011-08-27  Glenn Morris  <rgm@gnu.org>
12009         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
12011 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
12013         * emacs-lisp/package.el (package-install): Call package-initialize
12014         if called interactively.
12016 2011-08-26  Leo Liu  <sdl.web@gmail.com>
12018         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
12020 2011-08-25  Juri Linkov  <juri@jurta.org>
12022         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12023         `search-whitespace-regexp' (bug#9364).
12025 2011-08-25  Juri Linkov  <juri@jurta.org>
12027         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
12028         `regexp-search-ring' to their global values to protect from
12029         updating by `read-from-minibuffer' (bug#9185).
12031 2011-08-25  Juri Linkov  <juri@jurta.org>
12033         * textmodes/ispell.el (ispell-command-loop): Add newline
12034         at the end of the "Use option `i'..." line.
12036 2011-08-25  Juri Linkov  <juri@jurta.org>
12038         * battery.el (display-battery-mode): If `battery-status-function'
12039         or `battery-mode-line-format' is nil, display the message and set
12040         `display-battery-mode' to nil (bug#9363).
12042 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
12044         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
12045         bidi-string-mark-left-to-right; they are unnecessary now.
12047 2011-08-25  Deniz Dogan  <deniz@dogan.se>
12049         * net/quickurl.el: Documentation typo fixes.
12051 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
12053         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
12055 2011-08-25  Glenn Morris  <rgm@gnu.org>
12057         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
12059         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
12060         (smtpmail-via-smtp): Handle nil response from smtp.
12062 2011-08-24  Juri Linkov  <juri@jurta.org>
12064         * proced.el (proced-marked): Inherit from `error' instead of
12065         `font-lock-warning-face'.
12067         * ibuffer.el (ibuffer-marked-face): Change default face from
12068         `font-lock-warning-face' to `warning'.
12069         (ibuffer-deletion-face): Change default face from
12070         `font-lock-type-face' to `error'.
12072         * battery.el (battery-update): Use the face `error' instead of
12073         `font-lock-warning-face' (bug#6117).
12075 2011-08-24  Juri Linkov  <juri@jurta.org>
12077         * faces.el (success): Change face color from "Green3" to
12078         "ForestGreen" on light background (bug#9353).
12080 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
12082         * window.el (quit-window): Rename from quit-restore-window.
12083         Use same arglist as old quit-window.
12084         (frame-auto-delete): Doc fix.
12086         * view.el (view-mode-exit): Use quit-window.
12088 2011-08-24  Juri Linkov  <juri@jurta.org>
12090         * isearch.el (isearch-ring-adjust1): Start visiting previous
12091         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
12092         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
12093         for empty search string (when the last search string is reused
12094         automatically) to adjust the isearch ring to the last element and
12095         prepare the correct index for further M-p commands (bug#9185).
12097 2011-08-24  Kenichi Handa  <handa@m17n.org>
12099         * international/ucs-normalize.el: If decomposition property of
12100         CHAR is the default one (i.e. a list of CHAR itself), treat it as
12101         nil.
12102         (nfd, nfkd): Likewise.
12104 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12106         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
12107         from process filters aren't reliably transmitted to the surrounding
12108         accept-process-output.
12109         (mpc-proc-check): New function.
12110         (mpc-proc-sync): Use it (bug#8293)
12112 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12114         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
12115         Add compatibility functions (bug#9313).
12117 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
12119         * cus-start.el (all): Add entry for bidi-paragraph-direction.
12121         * international/uni-bidi.el: Regenerate.
12123 2011-08-23  Kenichi Handa  <handa@m17n.org>
12125         * international/charprop.el:
12126         * international/uni-bidi.el:
12127         * international/uni-category.el:
12128         * international/uni-combining.el:
12129         * international/uni-comment.el:
12130         * international/uni-decimal.el:
12131         * international/uni-decomposition.el:
12132         * international/uni-digit.el:
12133         * international/uni-lowercase.el:
12134         * international/uni-mirrored.el:
12135         * international/uni-name.el:
12136         * international/uni-numeric.el:
12137         * international/uni-old-name.el:
12138         * international/uni-titlecase.el:
12139         * international/uni-uppercase.el: Regenerate.
12141 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
12143         * help.el (help-window-setup): Fix message displayed when other
12144         window is reused.  (Bug#9341)
12146 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12148         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
12149         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
12151         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
12152         Mark obsolete.
12153         * shell.el (shell-parse-pcomplete-arguments): New function.
12154         (shell-completion-vars): Use it instead (bug#9160).
12156 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12158         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
12159         strings and comments (bug#9333).
12161         * emacs-lisp/debug.el (debug-arglist): New function.
12162         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
12163         (debug-on-entry-1): Handle interpreted closures (bug#9120).
12165 2011-08-22  Juri Linkov  <juri@jurta.org>
12167         * progmodes/compile.el (compilation-mode-font-lock-keywords):
12168         Revert regexp that highlights output switches to its old
12169         pre-2010-10-28 value and remove one `?' from it (bug#9319).
12171         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
12172         to check for empty output (bug#9226).
12174 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
12176         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
12177         symbol-constituent as the default, as that stops font-lock from
12178         working properly (Bug#8843).
12180 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12182         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
12183         `coding-system-for-*' around the process open call to avoid
12184         auth-source side effects.
12185         (smtpmail-try-auth-methods): Expand the secret password.
12186         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
12187         probe hangs.
12189 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
12191         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
12193         * emacs-lisp/find-func.el (find-function-noselect): New arg
12194         lisp-only.
12196         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
12197         signal an error for built-in functions (Bug#6664).
12199 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12201         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
12202         (smtpmail-try-auth-methods): Use it.
12204 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
12206         * font-lock.el (font-lock-fontify-region)
12207         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
12208         (font-lock-default-unfontify-buffer)
12209         (font-lock-default-fontify-region)
12210         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
12212         * progmodes/compile.el (compilation-error-properties):
12213         Fix confusion between file struct and message struct (Bug#9319).
12214         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
12215         `ant' regexp.
12217         * net/browse-url.el (browse-url-firefox): Don't call
12218         browse-url-firefox-sentinel unless using -remote (Bug#9328).
12220 2011-08-20  Glenn Morris  <rgm@gnu.org>
12222         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
12224         * tutorial.el (tutorial--default-keys): Update some default bindings.
12226         * files.el (hack-local-variables): Fully ignore case for "mode:".
12228 2011-08-20  Alan Mackenzie  <acm@muc.de>
12230         Resolve invalid use of a regexp in regexp-opt.
12232         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
12233         detection for a java annotation.
12235         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
12236         detection for a java annotation.
12238         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
12239         handling for java.
12240         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
12242 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
12244         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
12245         (Bug#9274).
12247 2011-08-20  Alan Mackenzie  <acm@muc.de>
12249         Fontify CPP expressions correctly when starting in the middle of
12250         such a construct.  Mainly for when jit-lock etc. starts a chunk
12251         here.
12253         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
12254         variable.
12255         (c-make-font-lock-search-form): New function, extracted from
12256         c-make-font-lock-search-function.
12257         (c-make-font-lock-search-function): Use the above function.
12258         (c-make-font-lock-context-search-function): New function.
12259         (c-cpp-matchers): Enhance the preprocessor expression case with
12260         the above function
12261         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
12262         which takes an expression.
12264         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
12266 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
12268         * window.el (display-buffer-reuse-window)
12269         (display-buffer-pop-up-window): Don't reuse or split a side
12270         window.
12272 2011-08-19  Glenn Morris  <rgm@gnu.org>
12274         * files.el (hack-local-variables-prop-line, hack-local-variables):
12275         Downcase "Mode:".  (Bug#9331)
12277 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
12279         * international/characters.el: Add L and R categories.
12281         * subr.el (bidi-string-mark-left-to-right): Rename from
12282         string-mark-left-to-right.  Use category search.
12284         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
12286 2011-08-18  Juri Linkov  <juri@jurta.org>
12288         * faces.el (error, warning, success): New faces with definitions
12289         copied from old default values of `font-lock-warning-face',
12290         `compilation-warning', `compilation-info' (bug#6117).
12292         * font-lock.el (font-lock-warning-face): Inherit from `error'.
12294         * progmodes/compile.el (compilation-error): Inherit from `error'.
12295         (compilation-warning): Inherit from `warning'.
12296         (compilation-info): Inherit from `success'.
12298         * dired.el (dired-marked): Inherit from `warning'.
12299         (dired-flagged): Inherit from `error'.
12301 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12303         * mail/smtpmail.el (auth-source): Require to avoid problems with
12304         binding variables (bug#9298).  Also clean up some unused
12305         autoloads.
12307         * net/network-stream.el (network-stream-open-starttls):
12308         Support using starttls.el without using gnutls-cli.
12310 2011-08-17  Juri Linkov  <juri@jurta.org>
12312         * progmodes/grep.el (rgrep): Handle the case when
12313         `grep-find-command' is a cons cell (bug#9278).
12315 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
12317         * window.el (display-buffer-pop-up-frame): Run frame creation
12318         function with BUFFER current (as special-display-popup-frame
12319         does).  Reported by Drew Adams.
12321 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
12323         * epa-mail.el: Simplify GnuPG group expansion using
12324         epg-expand-group.
12325         (epa-mail-group-alist, epa-mail-group-modtime)
12326         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
12327         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
12328         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
12329         Remove.
12331 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
12333         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
12335 2011-08-16  Alan Mackenzie  <acm@muc.de>
12337         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
12338         Correct, to avoid the inside of macros.
12340 2011-08-16  Richard Stallman  <rms@gnu.org>
12342         * epa-mail.el: Handle GnuPG group definitions.
12343         (epa-mail-group-alist, epa-mail-group-modtime)
12344         (epa-mail-gnupg-conf-file): New variables.
12345         (epa-mail-parse-groups, epa-mail-sync-groups)
12346         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
12347         (epa-mail-expand-recipients): New functions.
12348         (epa-mail-encrypt): Call epa-mail-expand-recipients.
12350         * mail/rmail.el (rmail-epa-decrypt): New command.
12352         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
12353         Don't bind buffer-read-only, just inhibit-read-only.
12354         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
12355         (epa-decrypt-armor-in-region): Make error message clearer.
12357 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12359         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
12360         and "a2b" to "ab" for `prefix'.
12362 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
12364         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
12365         filter groups.
12366         (ibuffer-included-in-filter-p-1): Use it.  Suggested by RafaĂ«l
12367         Fourquet (Bug#8804).
12369 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
12371         * startup.el (argi): Declare as global variable (bug#9275).
12373 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
12375         * subr.el (string-mark-left-to-right): Search the entire string
12376         for RTL script, not just the terminating character.  Doc fix.
12378 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12380         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
12381         New function.
12382         (js--regexp-literal, js-syntax-propertize-function): Remove.
12383         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
12384         (js-mode-map): Don't rebind electric keys.
12385         (js-insert-and-indent): Remove.
12386         (js-mode): Setup electric-layout and electric-indent instead.
12388         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
12390 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
12392         * epa.el (epa-progress-callback-function): Fix the logic of
12393         displaying progress.
12394         * epa-file.el (epa-file-insert-file-contents): Make progress
12395         display more user-friendly.
12396         (epa-file-write-region): Ditto.
12398 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
12400         * subr.el (string-mark-left-to-right): New function.
12402         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
12403         Use string-mark-left-to-right.
12404         (list-buffers-noselect): Caller changed.
12406         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
12407         Use string-mark-left-to-right.
12408         (tabulated-list-print): Recenter after moving point.
12410 2011-08-10  Juri Linkov  <juri@jurta.org>
12412         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
12413         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
12414         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
12416 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
12418         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
12419         (Bug#7554).
12421 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
12423         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
12424         character.  (Bug#6594)
12426 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
12428         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
12429         (image-dired--with-db-file): New macro.
12430         (image-dired-write-tags, image-dired-remove-tag)
12431         (image-dired-create-gallery-lists, image-dired-write-comments)
12432         (image-dired-get-comment, image-dired-mark-tagged-files)
12433         (image-dired-list-tags, image-dired-gallery-generate): Use it.
12434         (image-dired-gallery-generate): Use insert-file-contents.
12436         * time.el (display-time-world-list, display-time-world-display):
12437         * time-stamp.el (time-stamp-string):
12438         * vc/add-log.el (add-change-log-entry): Use setenv instead of
12439         set-time-zone-rule (Bug#7337).
12441 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
12443         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
12444         (epg-error-to-string, epg-errors-to-string): New function.
12445         (epg-wait-for-completion): Reverse errors list.
12446         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
12447         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
12448         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
12449         (epg-sign-keys, epg-generate-key-from-file)
12450         (epg-generate-key-from-string): Format errors by using
12451         epg-errors-to-string (bug#9255).
12452         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
12454 2011-08-07  Juri Linkov  <juri@jurta.org>
12456         * faces.el (list-faces-display): Remove extra angle bracket
12457         from `help-mode-map'.
12459         * info.el (Info-history-toc-nodes): Doc fix.
12461         * longlines.el (longlines-mode): Doc fix.
12463 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12465         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
12466         of statements and in a few more cases (bug#9183).
12468         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
12469         New functions.
12470         (cl-transform-lambda): Use them (bug#9239).
12472 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
12474         * window.el (display-buffer-same-window)
12475         (display-buffer-same-frame, display-buffer-other-window)
12476         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
12477         (pop-to-buffer-other-window)
12478         (pop-to-buffer-same-frame-other-window)
12479         (pop-to-buffer-other-frame): Make them defuns.
12480         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
12482 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12484         * subr.el (make-composed-keymap): Move from C.  Change calling
12485         convention, and improve docstring to bring attention to a subtle point.
12486         * minibuffer.el (completing-read-default): Adjust accordingly.
12488 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
12490         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
12491         (tramp-open-shell): Use `tramp-shell-quote-argument'.
12493         * net/trampver.el: Update release number.
12495 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12497         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
12498         "in" (bug#9190).
12500 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12502         * mail/sendmail.el (sendmail-query-once): Restore the current
12503         buffer after querying (bug#9074).
12505         * dired.el (dired-flagged): Use different faces for marked and
12506         flagged files (bug#6117).
12508         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
12509         (bug#4433).
12511         * ido.el (ido-mode): Switch off the message if called
12512         non-interactively.
12514         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
12515         before 587, since it appears that that's more likely to work for
12516         more people.
12518         * cus-edit.el (custom-file): When running under emacs -q, always
12519         refuse to save the customizations, even if the .emacs file doesn't
12520         exist.
12522         * info.el: Remove the `Info-beginning-of-buffer' function
12523         (bug#8325).
12525         * net/network-stream.el (network-stream-open-starttls):
12526         Use `starttls-available-p' to see whether starttls.el can be used.
12528 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
12530         * window.el (display-buffer-in-window): Don't set dedicated status
12531         of window here (Bug#9215).
12532         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
12533         (display-buffer-pop-up-side-window)
12534         (display-buffer-in-side-window): Set dedicated status of window here.
12536 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12538         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
12539         before binding generated-autoload-file.
12541 2011-08-01  Deniz Dogan  <deniz@dogan.se>
12543         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
12545 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
12547         Sync with Tramp 2.2.2.
12549         * net/trampver.el: Update release number.
12551 2011-07-30  Juri Linkov  <juri@jurta.org>
12553         * dired-aux.el (dired-touch-initial): Remove function.
12554         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
12555         current time, and `default' to the last modification time of the
12556         current marked file (bug#6887).
12558 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
12560         * simple.el (goto-line): Use string-to-number to provide a
12561         numeric argument to read-number (bug#9163).
12563 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
12565         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
12566         connection process, it could be nil.
12568 2011-07-27  Leo Liu  <sdl.web@gmail.com>
12570         Simplify url handling in rcirc-mode.
12572         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
12573         (rcirc-browse-url-at-mouse): Remove.
12574         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
12576 2011-07-26  Alan Mackenzie  <acm@muc.de>
12578         Fontify bitfield declarations properly.
12580         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
12581         (c-symbol-chars): Now exported as a lang variable.
12582         (c-not-primitive-type-keywords): New lang variable.
12584         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
12585         QT keyword "more" to prevent "more slots: ...." being spuriously
12586         parsed as a bitfield declaration.
12588         * progmodes/cc-engine.el (c-beginning-of-statement-1):
12589         Refactor and enhance to handle bitfield declarations.
12590         (c-punctuation-in): New function.
12591         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
12592         declarations properly.
12594 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
12596         * calendar/icalendar.el (icalendar--all-events): Take care of
12597         multiple vcalendars in a single file.
12598         (icalendar--convert-float-to-ical): Checkdoc fixes.
12600 2011-07-25  Deniz Dogan  <deniz@dogan.se>
12602         * image.el (insert-image): Clarifying docstring.
12604 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
12606         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
12607         `tramp-send-command-and-check' if there is no error.
12608         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
12610 2011-07-22  Alan Mackenzie  <acm@muc.de>
12612         Prevent cc-langs.elc being loaded at run time.
12614         * progmodes/cc-mode.el: Remove two autoload forms which loaded
12615         cc-langs.
12617         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
12618         "(require 'cc-langs)".  Quote a form so it will evaluate at
12619         (cc-mode's) compilation time.
12621 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
12623         * net/tramp.el (tramp-file-name-handler): Avoid recursive
12624         loading.  (Bug#9114)
12626 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
12628         * window.el (display-buffer-pop-up-window)
12629         (display-buffer-pop-up-side-window)
12630         (display-buffer-in-side-window): Call display-buffer-set-height
12631         and display-buffer-set-width after setting the new window's
12632         buffer so `fit-window-to-buffer' and friends work on the right buffer.
12634 2011-07-20  Sam Steingold  <sds@gnu.org>
12636         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
12637         (etags-tags-included-tables): Call `convert-standard-filename' on
12638         the file names contained in TAGS so that windows Emacs can handle
12639         TAGS files created by cygwin ctags.
12641 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12643         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
12644         which apparently didn't work.
12646 2011-07-19  Roland Winkler  <winkler@gnu.org>
12648         * proced.el (proced-send-signal): For *Marked Processes* buffer
12649         put point at beginning of buffer.
12651 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
12653         * proced.el (proced-format): Make header lines align with the text
12654         (bug#1779).
12656 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12658         * view.el (view-buffer): Allow running in `special' modes if we're
12659         visiting a file (bug#8615).
12661 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
12663         * window.el (display-buffer-alist-of-strings-p)
12664         (display-buffer-alist-set-1, display-buffer-alist-set-2):
12665         New functions.
12666         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
12667         more accurately.
12669 2011-07-18  Alan Mackenzie  <acm@muc.de>
12671         Fontify declarators properly when, e.g., a jit-lock chunk begins
12672         inside a declaration.
12674         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
12676         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12677         New function.
12678         (c-complex-decl-matchers): Insert reference to
12679         c-font-lock-enclosing-decls.
12681         * progmodes/cc-engine.el (c-backward-single-comment):
12682         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
12683         to nil around calls to (forward-comment -1).
12685 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12687         * image.el (put-image): Doc typo fix.
12689         * progmodes/etags.el (tags-search): Doc typo fix.
12691         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
12692         password if we get errors 550 to 554.
12694 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12696         * net/gnutls.el (gnutls-log-level): Remove.
12698         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
12699         indentation character (bug#6380).
12701         * files.el (buffer-offer-save): Made permanently local (bug#6241).
12703         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
12704         to clarify what the problem is (bug#4291).
12706         * simple.el (current-kill): Clarify what
12707         `interprogram-paste-function' does (bug#7500).
12708         (auto-fill-mode): Document `auto-fill-function' in relation to
12709         `auto-fill-mode' (bug#2470).
12711 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
12713         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
12714         method if slot is read-only (bug#9035).
12716 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
12718         * frame.el (select-frame-set-input-focus): New argument NORECORD.
12719         * window.el (pop-to-buffer): Select window used even if it was
12720         selected before, see discussion of (Bug#8615), (Bug#6954).
12721         Pass argument NORECORD on to select-frame-set-input-focus.
12723 2011-07-15  Glenn Morris  <rgm@gnu.org>
12725         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
12726         Respect help-form.
12728 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
12730         * net/gnutls.el (gnutls-min-prime-bits): New variable.
12731         (gnutls-negotiate): Use it.
12733 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12735         * net/gnutls.el (gnutls-negotiate):
12736         Upcase `gnutls-algorithm-priority'.
12738 2011-07-15  Glenn Morris  <rgm@gnu.org>
12740         * jka-compr.el (jka-compr-verbose): Move from here...
12741         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
12742         Add missing :version tag.
12743         * info.el: No need to require jka-compr when compiling.
12745 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12747         * net/gnutls.el (gnutls-algorithm-priority): New variable.
12748         (gnutls-negotiate): Use it.
12750         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
12752         * info.el (Info-beginning-of-buffer): New command.
12753         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
12754         announcing `b' as the key (bug#8325).
12755         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
12757         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
12759         * international/mule-cmds.el
12760         (describe-specified-language-support): Make the error message
12761         clearer (bug#8905).
12763         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
12765         * isearch.el (isearch-barrier): Add a doc string, since it's
12766         mentioned in a function doc string (bug#8678).
12768 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
12770         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
12771         buffer argument (Bug#9083) and self-identifying label argument.
12773 2011-07-15  Glenn Morris  <rgm@gnu.org>
12775         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
12777 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12779         * man.el (Man-fontify-manpage): Fix message when formatting the
12780         man page (bug#7929).
12782 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
12784         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
12785         argument LRM; if non-nil, append an invisible LRM character to the
12786         buffer name.
12787         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
12788         last argument non-nil, when formatting buffer names.
12789         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
12790         paragraph direction.
12792 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12794         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
12795         the man page name (bug#7929).
12797         * image.el (put-image): Mention the `put-image' overlay property
12798         (bug#7834).
12800         * scroll-bar.el (set-scroll-bar-mode): Mention that
12801         `scroll-bar-mode' lists the values (bug#7772).
12803         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
12804         command (bug#7729).
12806         * rect.el (apply-on-rectangle): Return the point after the last
12807         operation.
12808         (string-rectangle): Go to the point after the last operation
12809         (bug#7522).
12811         * printing.el (pr-toggle-region): Clarify the documentation
12812         slightly (bug#7493).
12814         * time.el (display-time-update):
12815         Allow `display-time-mail-function' to return nil (bug#7158).
12816         Fix suggested by Detlev Zundel.
12818         * vc/diff.el (diff): Clarify the order the file names are read
12819         (bug#7111).
12821         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12822         the doc string (bug#7015).
12824         * font-lock.el (font-lock-maximum-decoration): Mention what
12825         numeric levels mean (bug#6935).
12827         * startup.el (initial-buffer-choice): Don't mention the `none'
12828         selection, which is against policy.
12830 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
12832         * window.el (display-buffer-normalize-special):
12833         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
12835 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
12837         * subr.el (version<, version<=, version=): Mention "-CVS" and
12838         "-12345" alpha version numbers.
12840 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
12842         * bindings.el: Add advertised binding for set-mark-command
12843         (Bug#5772).
12845 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
12847         * bindings.el (mode-line-other-buffer):
12848         * bookmark.el (bookmark-bmenu-2-window):
12849         * bs.el (bs-cycle-next, bs-cycle-previous):
12850         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12851         switch-to-buffer.
12853         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12854         Delete.
12856 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
12858         * follow.el (follow-debug-message, follow-redisplay):
12859         * jka-cmpr-hook.el (with-auto-compression-mode):
12860         Fix typos in docstrings.
12862 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12864         * subr.el (with-silent-modifications): Clarify somewhat what the
12865         macro inhibits (bug#6525).
12867         * simple.el (eval-expression): Note what it does if called
12868         interactively (bug#6495).
12870 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
12872         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12873         Use pop-to-buffer buffer-or-name if it is nil.
12875         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12876         Remove switch-to-buffer.
12878 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12880         * files.el (make-directory): Clarify that an error will be raised
12881         if there's an error (bug#6397).
12883         * startup.el (initial-buffer-choice): Add `none' as a choice
12884         (bug#6234).
12886         * subr.el (add-hook): Clarify section about buffer-local hooks
12887         (bug#6218).
12889         * dired.el (dired-flagged): Clarify doc string (bug#6117).
12891 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
12893         * tabify.el (untabify): Preserve the current column so that point
12894         doesn't move (bug#6032).
12896 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12898         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12899         Rewrite to avoid awkward possessive "s" (bug#5986).
12901 2011-07-13  Glenn Morris  <rgm@gnu.org>
12903         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
12904         (dired-insert-directory): Give a message the first time
12905         if ls is found not to support --dired.
12907 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12909         * simple.el (toggle-truncate-lines): Clarify what is toggled
12910         (bug#5580).  Text by Drew Adams.
12912 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
12914         * simple.el (blink-matching-open): Make the error message from the
12915         last change less verbose.
12917 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
12919         * font-lock.el (font-lock-comment-face): Use the high contrast
12920         "yellow" color for font-lock-comment-face on low color terminals
12921         using a dark background color (bug#4221).
12923 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12925         * dired.el (dired-insert-set-properties): Make the doc string
12926         reflect what it does now (bug#5325).
12928         * simple.el (blink-matching-open): Say that we were unable to find
12929         the match within the limit, if we're limited (bug#5122).
12931         * international/mule-cmds.el (prefer-coding-system): Add an
12932         example (bug#4869).
12934         * progmodes/etags.el (tags-search): Document `file-list-form'
12935         (bug#4731).
12937 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
12939         * net/browse-url.el (browse-url-default-browser)
12940         (browse-url-browser-function): Make the default browser choice a
12941         bit more logical (bug#4300).  Also clean up the doc string.
12943 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
12945         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12946         binary endings (bug#4440).
12948 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12950         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12951         which can be pretty annoying (bug#8971).
12953         * jka-compr.el (jka-compr-verbose): New variable, and use
12954         throughout (bug#8971).
12956         * info.el (Info-find-file): Fall back on the installation
12957         directory if we can't find the info node anywhere else.
12959 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
12961         * vc/vc.el (vc-revert-file):
12962         Don't set file time-stamp in the past.  (Bug#5181)
12964 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12966         * files.el (after-find-file): Give a better error message when
12967         trying to find a symlink that points to a file that doesn't exist
12968         (bug#4398).
12970         * progmodes/cc-vars.el: Remove (probably) misleading comment
12971         (bug#4396).
12973 2011-07-12  Johan BockgĂ¥rd  <bojohan@gnu.org>
12975         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12977 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
12979         * mouse-sel.el: Hack restoring functionality, while keeping
12980         compatibility with 2010-07-03 changes to mouse selection.
12981         (mouse-sel-primary-overlay): New var.
12982         (mouse-sel-selection-alist): Use it.
12983         (mouse-sel-mode): Doc fix; remove points that are default features
12984         of mouse.el.
12986 2011-07-12  Johan BockgĂ¥rd  <bojohan@gnu.org>
12988         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12989         Fix previous fix (bug#2490).
12991 2011-07-12  Roland Winkler  <winkler@gnu.org>
12993         * textmodes/bibtex.el (bibtex-initialize):
12994         Use pop-to-buffer-same-window.
12995         (bibtex-search-entries): Fix interactive call.
12997 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12999         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13000         Fontise bytecomp Error lines more correctly (bug#2490).
13001         Fix suggested by Johan BockgĂ¥rd.
13003         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
13005         * dired-x.el (dired-guess-default): Use `delete-dups'.
13007 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
13009         * dired.el (dired-mark-prompt):
13010         * dired-aux.el (dired-read-shell-command): Doc fix.
13012 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13014         * mail/sendmail.el (sendmail-query-once):
13015         Use `customize-save-variable' unconditionally, now that it works under
13016         emacs -Q.
13018         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13020         * cus-edit.el (custom-file): Take an optional no-error variable.
13021         (customize-save-variable): Set the variable, and give a warning if
13022         running under "emacs -q".
13024 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
13026         * loadhist.el (unload-feature-special-hooks):
13027         Add `auto-coding-functions', `fill-nobreak-predicate' and
13028         `find-directory-functions' (bug#5327).
13030 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13032         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
13034         * cus-edit.el (custom-guess-name-alist): -alist variables should
13035         use the `alist' type (bug#3120).  Suggested by Drew Adams.
13037         * printing.el: Add documentation to all the `pr-toggle-' commands.
13039 2011-07-11  Leo Liu  <sdl.web@gmail.com>
13041         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
13042         backends where it makes sense (bug#2623).
13044 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13046         * dired-x.el (dired-guess-default): Remove duplicate shell command
13047         entries (bug#2028).
13048         (dired-guess-default): Fix grammar in doc string (bug#2028).
13049         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
13051         * subr.el (remove-duplicates): New conveniency function.
13053 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13055         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
13056         (bug#1526).
13058 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
13060         * window.el (display-buffer-normalize-default): Don't invert
13061         meaning of even-window-heights.  Reported by Eli Zaretskii
13062         <eliz@gnu.org>.
13064 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
13066         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
13068 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
13070         * window.el (display-buffer): Fix arguments to
13071         display-buffer-reuse-window in last change.
13073         * faces.el (link): Use a less saturated blue on light backgrounds.
13075         * startup.el (fancy-startup-text, fancy-about-text)
13076         (fancy-startup-tail): Use font-lock faces, for background safety.
13078 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
13080         * emulation/viper-cmd.el (viper-change-state-to-vi):
13081         Limit triggering of abbrev expansion (Bug#9038).
13083 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
13085         * window.el (display-buffer-default-specifiers): Remove.
13086         (display-buffer-macro-specifiers): Remove default specifiers.
13087         (display-buffer-alist): Default to nil.
13088         (display-buffer-reuse-window): New optional argument other-window.
13089         (display-buffer-pop-up-window): Allow splitting internal
13090         windows.  Check whether a live window was created.
13091         (display-buffer-other-window-means-other-frame)
13092         (display-buffer-normalize-arguments): Rename to
13093         display-buffer-normalize-argument and rewrite.  Set the
13094         other-window specifier.
13095         (display-buffer-normalize-special): New function.
13096         (display-buffer-normalize-options): Rename to
13097         display-buffer-normalize-default and rewrite.
13098         (display-buffer-normalize-options-inhibit): Remove.
13099         (display-buffer-normalize-specifiers): Rewrite.
13100         (display-buffer): Process other-window specifier and call
13101         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
13102         more faithfully.
13103         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
13104         (display-buffer-alist-set): Don't handle 'unset default values.
13105         (display-buffer-in-window, display-buffer-alist-set):
13106         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
13107         <tassilo@member.fsf.org>.
13109 2011-07-09  Leo Liu  <sdl.web@gmail.com>
13111         * register.el (insert-register): Restore accidental change on
13112         2011-06-26.  (Bug#9028)
13114 2011-07-09  Glenn Morris  <rgm@gnu.org>
13116         * subr.el (remq): Handle the empty list.  (Bug#9024)
13118 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
13120         * mail/sendmail.el (send-mail-function): No longer delay custom
13121         initialization.
13122         * custom.el (custom-initialize-delay): Doc fix.
13124 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13126         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
13128 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
13130         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
13131         human-friendly prompt.
13133 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13135         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
13136         provided by a particular plugin.
13138 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13140         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
13141         save customizations (with "emacs -Q"), just set the variable
13142         instead of erroring out.
13144         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
13146 2011-07-08  Juri Linkov  <juri@jurta.org>
13148         * arc-mode.el (archive-zip-expunge, archive-zip-update)
13149         (archive-zip-update-case): Use 7z if found by `executable-find'.
13150         The order of searching the available programs is the same as in
13151         `archive-zip-extract' (bug#8968).
13153 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
13155         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
13156         (menu-bar-options-menu): Tweak descriptions.
13158 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13160         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
13161         menu items into verb phrases (bug#1421).  Also refill to fit under
13162         80 columns.
13164 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
13166         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
13167         (Info-read-node-name): Doc fix (Bug#1084).
13169         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
13170         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
13171         (end-of-sexp, beginning-of-sexp)
13172         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
13173         (forward-symbol, forward-same-syntax, word-at-point)
13174         (sentence-at-point): Doc fix (Bug#1144).
13176 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13178         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
13179         should cover it (bug#1281).
13181         * cus-edit.el (custom-show): Mark as obsolete.
13183         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
13184         negotiation fails, then possibly try again with a non-encrypted
13185         connection (bug#9017).
13187         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
13188         be used.
13190 2011-07-07  Richard Stallman  <rms@gnu.org>
13192         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
13193         property, and handle its changed format.
13194         Look for the correct line number.
13195         Use file's line contents (but not past first =) to find
13196         correct line in message.
13198 2011-07-07  Kenichi Handa  <handa@m17n.org>
13200         * international/characters.el (build-unicode-category-table):
13201         Delete it.
13202         (unicode-category-table): Set it by unicode-property-table-internal.
13204         * international/mule-cmds.el (char-code-property-alist): Move to
13205         to src/chartab.c.
13206         (get-char-code-property): Call unicode-property-table-internal to
13207         load a file.  Call get-unicode-property-internal where necessary.
13208         (put-char-code-property): Call unicode-property-table-internal to
13209         load a file.  Call put-unicode-property-internal where necessary.
13210         put-unicode-property-internal where necessary.
13211         (char-code-property-description):
13212         Call unicode-property-table-internal to load a file.
13214         * international/charprop.el:
13215         * international/uni-bidi.el:
13216         * international/uni-category.el:
13217         * international/uni-combining.el:
13218         * international/uni-comment.el:
13219         * international/uni-decimal.el:
13220         * international/uni-decomposition.el:
13221         * international/uni-digit.el:
13222         * international/uni-lowercase.el:
13223         * international/uni-mirrored.el:
13224         * international/uni-name.el:
13225         * international/uni-numeric.el:
13226         * international/uni-old-name.el:
13227         * international/uni-titlecase.el:
13228         * international/uni-uppercase.el: Regenerate.
13230         * loadup.el: Load international/charprop.el before
13231         international/characters.
13233 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
13235         * window.el (next-buffer, previous-buffer): Signal an error if
13236         called from a minibuffer window.
13238         * bindings.el: Revert 2011-07-04 change.
13240 2011-07-06  Richard Stallman  <rms@gnu.org>
13242         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
13243         (rmail-mime-insert-bulk, rmail-mime-insert-text):
13244         Treat markers like ints.
13245         (rmail-mime-entity): Doc fix.
13247 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13249         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
13250         defcustom again for backwards compatibility.
13252         * simple.el (shell-command-on-region): Fill.
13254         * dired-aux.el (dired-kill-line): Add a doc string.
13256         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
13257         to "\\sw\\|\\s_" (bug#358).
13259         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
13260         (dired-unmark-backward): Ditto.
13261         (dired-flag-backup-files): Ditto.
13263         * dired-x.el (dired-mark-sexp): Ditto.
13265 2011-07-06  Richard Stallman  <rms@gnu.org>
13267         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
13268         (rmail-mime-entity): New arg TRUNCATED.
13269         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
13270         New functions.
13271         (rmail-mime-save): Warn if entity is truncated.
13272         (rmail-mime-toggle-hidden): Likewise, for showing.
13273         (rmail-mime-process-multipart): Record when an entity is truncated.
13275         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
13276         if ENTITY is a string.
13278 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13280         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
13281         of faces when `M-C-x'-ing their definitions (bug#8378).
13282         Also clean up the code slightly.
13284         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
13285         because that makes the colors go away.
13287         * mail/sendmail.el (send-mail-function): Change the default to
13288         `sendmail-query-once'.
13289         (sendmail-query-once): Add an autoload cookie.
13291         * net/network-stream.el (network-stream-open-starttls): Try using
13292         a plain connection even if the server offered STARTTLS, and we
13293         kinda wanted to use it, if Emacs doesn't have any STARTTLS
13294         capability.  This should make smtpmail.el work in slightly more
13295         configurations.
13297 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
13299         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
13300         New defun.
13301         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
13303 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
13305         * progmodes/sql.el: Version 3.0
13306         (sql-product-alist): Add product :completion-object,
13307         :completion-column, and :statement attributes.
13308         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
13309         (sql-mode-syntax-table): Mark all punctuation.
13310         (sql-font-lock-keywords-builder): Temporarily remove fallback on
13311         ansi keywords.
13312         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
13313         (sql-mode-oracle-font-lock-keywords): Improve.
13314         (sql-oracle-show-reserved-words): New function for development.
13315         (sql-product-font-lock): Simplify for source code buffers.
13316         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
13317         New functions.
13318         (sql-highlight-product): Set product specific syntax table.
13319         (sql-mode-map): Add statement movement functions.
13320         (sql-ansi-statement-starters, sql-oracle-statement-starters):
13321         New variable.
13322         (sql-statement-regexp, sql-beginning-of-statement)
13323         (sql-end-of-statement, sql-signum): New functions.
13324         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
13325         (sql-show-sqli-buffer): Bug fix.
13326         (sql-interactive-mode): Store connection data as buffer local.
13327         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
13328         with sql-interactive-mode.
13329         (sql-save-connection): Save buffer local settings.
13330         (sql-connection-menu-filter): Change menu entry name.
13331         (sql-product-interactive): Bug fix.
13332         (sql-preoutput-hold): New variable.
13333         (sql-interactive-remove-continuation-prompt): Bug fixes.
13334         (sql-debug-redirect): New variable.
13335         (sql-str-literal): New function.
13336         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
13337         Redesign.
13338         (sql-oracle-save-settings, sql-oracle-restore-settings)
13339         (sql-oracle-list-all, sql-oracle-list-table): New functions.
13340         (sql-completion-object, sql-completion-column)
13341         (sql-completion-sqlbuf): New variables.
13342         (sql-build-completions-1, sql-build-completions)
13343         (sql-try-completion): New functions.
13344         (sql-read-table-name): Use them.
13345         (sql-contains-names): New buffer local variable.
13346         (sql-list-all, sql-list-table): Use it.
13347         (sql-oracle-completion-types): New variable.
13348         (sql-oracle-completion-object, sql-sqlite-completion-object)
13349         (sql-postgres-completion-object): New functions.
13351 2011-07-06  Glenn Morris  <rgm@gnu.org>
13353         * window.el (pop-to-buffer): Doc fix.
13355 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
13357         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
13359 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
13361         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
13363         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
13365 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
13367         * button.el (button): Inherit from link face.  Suggested by Dan
13368         Nicolaescu.
13370 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13372         * progmodes/gdb-mi.el: Fit in 80 columns.
13373         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
13374         switch-to-buffer.
13376         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
13377         if imenu is simply not configured (bug#8941).
13379 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
13381         * allout.el (allout-post-undo-hook): New allout outline-change
13382         event hook to signal undo activity.
13383         (allout-post-command-business): Run allout-post-undo-hook if an
13384         undo just occurred.
13385         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
13386         * allout-widgets.el (allout-widgets-after-undo-function):
13387         Ensure the integrity of the current item's decoration after it has been
13388         in the vicinity of an undo.
13389         (allout-widgets-mode): Include allout-widgets-after-undo-function
13390         on the new allout-post-undo-hook.
13392 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13394         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
13395         Let define-derived-mode define it.
13396         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
13397         cycles of abbrev-table inheritance (bug#8998).
13399 2011-07-05  Roland Winkler  <winkler@gnu.org>
13401         * textmodes/bibtex.el: Add support for biblatex.
13402         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
13403         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
13404         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
13405         (bibtex-entry-alist, bibtex-field-alist): New variables.
13406         (bibtex-entry-field-alist): Obsolete alias for
13407         bibtex-BibTeX-entry-alist.
13408         (bibtex-entry-alist, bibtex-field-alist): New widgets.
13409         (bibtex-set-dialect): New command.
13410         (bibtex-entry-type, bibtex-entry-head)
13411         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
13412         Bind via bibtex-set-dialect.
13413         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
13414         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
13415         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
13416         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
13417         Define via bibtex-set-dialect.
13418         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
13419         Obey bibtex-no-opt-remove-re.
13420         (bibtex-vec-push, bibtex-vec-incr): New functions.
13421         (bibtex-format-entry, bibtex-field-list)
13422         (bibtex-print-help-message, bibtex-validate)
13423         (bibtex-search-entries): Use new format of bibtex-entry-alist.
13425 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13427         * progmodes/compile.el (compilation-goto-locus):
13428         * net/tramp-cmds.el (tramp-append-tramp-buffers):
13429         * bs.el (bs-cycle-next, bs-cycle-previous):
13430         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
13431         * bindings.el (mode-line-other-buffer):
13432         * autoinsert.el (auto-insert):
13433         * arc-mode.el (archive-extract):
13434         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
13436 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
13438         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
13439         Fix check of `emacs-lock-unlockable-modes'.
13440         Coerce true values of `emacs-lock--try-unlocking' to t.
13442 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
13444         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
13445         * emacs-lock.el: New file.
13447 2011-07-05  Julien Danjou  <julien@danjou.info>
13449         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
13450         than `boundp' to check if face is set.
13452 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
13454         * register.el (registerv-make):
13455         * window.el (window-min-height): Fix typos in docstrings.
13457 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
13459         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
13460         Update doc string.
13462 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
13464         * server.el (server-execute): Catch quit and call
13465         `server-return-error' to pass the error back to emacsclient and
13466         close the connection (bug#8942).
13468 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
13470         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
13471         insecure exception for current topic.  Also note that auto-saves
13472         are handled differently.
13474         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13475         State variables for tracking auto-save inhibition situation.
13477         (allout-write-contents-hook-handler): Rename from
13478         'allout-write-file-hook-handler', and describe how it depends on
13479         write-contents-functions sensitivity to non-nil value to prevent
13480         file write.
13482         (allout-auto-save-hook-handler): Remove.  auto-save does not check
13483         this in individual buffers, only in the starting buffer, so this
13484         is not the right way for us to inhibit auto-save in a buffer
13485         according to its condition.
13487         (allout-mode): Use new allout-write-contents-hook-handler, and
13488         only with write-contents-functions.  Remove auto-save provisions -
13489         they're implemented elsewhere.
13491         (allout-before-change-handler): If undo is in progress, note that
13492         for attention of allout-post-command-business.
13494         (allout-post-command-business): If the command we're following was
13495         an undo, check for change in the status of encrypted items and
13496         adjust auto-save inhibitions accordingly.
13498         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
13499         according to whether there are or aren't any plain-text topics
13500         pending encryption.
13502         (allout-inhibit-auto-save-info-for-decryption):
13503         Adjust buffer-saved-size and some allout state to inhibit auto-saves
13504         if there are plain-text topics pending encryption.
13506         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
13507         buffer-saved-size and some allout state to not inhibit auto-saves
13508         if there are no longer any plain-text topics pending encryption.
13510         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
13511         No longer provide for exemption of the current topic.
13513 2011-07-04  Juri Linkov  <juri@jurta.org>
13515         Add 7z operations to delete and save changed members (bug#8968).
13516         * arc-mode.el (archive-7z-expunge, archive-7z-update):
13517         New defcustoms.
13518         (archive-7z-write-file-member): New function.
13519         (archive-7z-summarize): Fix the number of dashes in the
13520         listing output.
13522 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13524         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
13525         (bug#8958).
13527 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
13529         * bindings.el: Ignore next-buffer and previous-buffer in
13530         minibuffer-local-map.
13532         * font-lock.el (font-lock-builtin-face): Change light background
13533         color to dark slate blue (Bug#6693).
13535 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
13537         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
13539 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13541         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
13542         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13543         Add switch-to-buffer.
13545 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13547         * isearch.el (isearch-search-fun-function): Clarify further the
13548         meaning of the function returned.
13550 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
13552         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
13554         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
13555         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
13556         Use it.
13557         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
13558         `tramp-default-remote-path' does not exist.
13559         (tramp-send-command-and-read): New optional argument NOERROR.
13560         (tramp-open-connection-setup-interactive-shell)
13561         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
13562         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
13563         (tramp-process-sentinel): Flush also process' connection property.
13564         (tramp-sh-handle-start-file-process): Do not set process
13565         sentinel.  It is done now ...
13566         (tramp-maybe-open-connection): ... here.  (Bug#8929)
13568 2011-07-04  MON KEY  <monkey@sandpframing.com>
13570         * play/animate.el (animate-string): Doc fixes and allow changing
13571         the buffer name (bug#5417).
13573 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13575         * play/animate.el (animation-buffer-name): Rename from *animate*.
13577 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
13579         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
13580         This is simpler and helps future-proof the code.
13581         (timer-until): Use time-subtract and float-time.
13582         (timer--time-less-p): Use time-less-p.
13584 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
13586         * type-break.el (timep): Use the value of `float-time' to avoid a
13587         byte-compiler warning.
13589         * server.el (server-eval-and-print): Return any result, even nil.
13591 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
13593         * type-break.el: Accept time formats that the builtins accept.
13594         (timep, type-break-time-difference): Accept any format that
13595         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
13596         This is simpler and helps future-proof the code.
13597         (type-break-time-difference): Round rather than ignoring
13598         subseconds components.
13600 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13602         * info.el (Info-apropos-matches): Make non-interactive, since it
13603         doesn't seem to do anything useful as a command (bug#8829).
13605 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
13607         * frame.el (frame-background-mode, frame-set-background-mode):
13608         Move from faces.el.
13609         (frame-default-terminal-background): New function.
13611         * custom.el (custom-push-theme): Don't record faces in `changed'
13612         theme; this doesn't work correctly for per-frame face settings.
13613         (disable-theme): Use face-set-after-frame-default to reset faces.
13614         (custom--frame-color-default): New function.
13616 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13618         * dired.el (dired-flagging-regexp): Remove unused variable
13619         (bug#8769).
13621 2011-03-29  Kevin Ryde  <user42@zip.com.au>
13623         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13624         `perl-Test2' extend to match possible "fail #N" rep count
13625         (bug#8377).
13627 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13629         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
13630         `smtpmail-via-smtp' now returns the error instead of nil.
13632         * isearch.el (isearch-search-fun-function): Clarify the doc string
13633         (bug#8101).
13635 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
13637         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
13638         unnecessary spaces (bug#8987).
13640 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13642         * net/network-stream.el (open-network-stream): Use the
13643         :end-of-capability command thoughout.
13645 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
13647         * net/network-stream.el (open-network-stream): Add the
13648         :end-of-capability command parameter, used by pop3.el.
13650 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13652         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
13654         * fringe.el (fringe-query-style): Remove redundant text " (type ?
13655         for list)" (bug#6475).
13657         * files.el (file-expand-wildcards): Ignore non-readable
13658         sub-directories while trying to find matches instead of signaling
13659         an error (bug#6297).
13661         * man.el (Man-reference-regexp): Allow matching possible
13662         word-wrapped references (bug#6289).
13664         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
13665         for consistency with the other vc buffers (bug#6197).
13666         (vc-checkin): Ditto.
13668         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
13670         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
13672 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13674         * custom.el (defcustom): Clarify that :set is only used in the
13675         Customize user interface (bug#6089).
13677         * progmodes/flymake.el (flymake-mode): If the buffer isn't
13678         associated with a file, refuse to run instead of erroring out
13679         (bug#6084).
13681         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
13682         the doc string, since it appears that using `fill-column' always
13683         controls the width (bug#7845).
13685         * simple.el (shell-command-on-region): Say where the error output
13686         went if `shell-command-default-error-buffer' is set (bug#6857).
13688 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
13690         * allout.el (allout-yank-processing): Adjust cursor position for
13691         backwards-deleted space.
13693         (allout-rebullet-heading): Register changes with
13694         allout-exposure-changed-hook, so the modified topic is properly
13695         decorated.
13697 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13699         * minibuffer.el (completion-in-region): Document PREDICATE
13700         (bug#7136).
13702         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
13703         of keyword/argument pairs (bug#6904).
13705         * replace.el (multi-occur):
13706         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
13708 2011-07-02  Drew Adams  <drew.adams@oracle.com>
13710         * dired.el (dired-mark-if): Make the message about whether it's
13711         marking or unmarking clearer (bug#8523).
13713 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13715         * disp-table.el (display-table-print-array): New function.
13716         (describe-display-table): Use it to print the vectors more pretty
13717         (Bug#8859).
13719 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
13721         * window.el (window-state-get-1): Don't assign clone numbers.
13722         Add clone-of item to list of window parameters.
13723         (window-state-put-2): Don't process clone numbers.
13724         (display-buffer-alist): Fix doc-string.
13726 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13728         * subr.el (remq): Don't allocate if it's not needed.
13729         (keymap--menu-item-binding, keymap--menu-item-with-binding)
13730         (keymap--merge-bindings): New functions.
13731         (keymap-canonicalize): Use them to refine the canonicalization.
13732         * minibuffer.el (minibuffer-local-completion-map)
13733         (minibuffer-local-must-match-map): Move initialization from C.
13734         (minibuffer-local-filename-completion-map): Move initialization from C;
13735         don't inherit from anything here.
13736         (minibuffer-local-filename-must-match-map): Make obsolete.
13737         (completing-read-default): Use make-composed-keymap to combine
13738         minibuffer-local-filename-completion-map with either
13739         minibuffer-local-must-match-map or
13740         minibuffer-local-filename-completion-map.
13742 2011-07-01  Glenn Morris  <rgm@gnu.org>
13744         * type-break.el (type-break-time-sum): Use dolist.
13746         * textmodes/flyspell.el (flyspell-word-search-backward):
13747         Replace CL function.
13749 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13751         * mouse.el (mouse--strip-first-event): New function.
13752         (function-key-map): Use it to map fringe clicks to normal clicks
13753         by default.
13755         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
13756         (vc-bzr-revision-completion-table): Add support for annotate and date.
13758         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
13759         inherit from parent.
13761 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13763         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
13764         (dired-show-file-type): Doc fixup (bug#8818).
13766         * dired.el (dired-mode): Fix up the doc string as suggested by
13767         Drew Adams (bug#8817).
13769         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
13770         cookie, since the manual says that it should be possible to add
13771         this function to `find-file-hook' (bug#8709).
13773 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
13775         * progmodes/cfengine.el: Moved all cfengine3.el functionality
13776         here.  Noted Ted Zlatanov as the maintainer.
13777         (cfengine-common-settings, cfengine-common-syntax): New functions
13778         to set up common things between `cfengine-mode' and
13779         `cfengine3-mode'.
13780         (cfengine3-mode): New mode.
13781         (cfengine3-defuns cfengine3-defuns-regex
13782         (cfengine3-class-selector-regex cfengine3-category-regex)
13783         (cfengine3-vartypes cfengine3-font-lock-keywords)
13784         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
13785         (cfengine3-indent-line): Add from cfengine3.el.
13787 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
13789         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
13791         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
13793 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
13795         * window.el (same-window-buffer-names, same-window-regexps)
13796         (same-window-p, special-display-frame-alist)
13797         (special-display-popup-frame, special-display-function)
13798         (special-display-buffer-names, special-display-regexps)
13799         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
13800         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13801         (split-window-preferred-function, split-height-threshold)
13802         (split-width-threshold, even-window-heights)
13803         (display-buffer-mark-dedicated, window-splittable-p)
13804         (split-window-sensibly, window-safely-shrinkable-p):
13805         Un-obsolete.
13806         (display-buffer): Don't spread args with function specifier
13807         because special-display-popup-frame won't like it.
13809 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
13811         Time-stamp simplifications and fixes.
13812         These improve accuracy slightly, and future-proof the code
13813         against some potential changes to current-time format.
13815         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13816         by using time-since and float-time.
13818         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13819         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
13820         + NNN microseconds".
13822         * type-break.el (type-break-time-sum): Rewrite using time-add.
13824         * play/hanoi.el (hanoi-current-time-float): Remove.
13825         All uses replaced by float-time.
13827         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13828         This yields a more-accurate answer.
13829         (rng-time-to-float): Remove; no longer needed.
13831         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13833         * calendar/timeclock.el (timeclock-seconds-to-time):
13834         Defalias to seconds-to-time, since they're the same thing.
13836         * emacs-lisp/elp.el (elp-elapsed-time):
13837         * emacs-lisp/benchmark.el (benchmark-elapse):
13838         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13840 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13842         * window.el (bury-buffer): Don't iconify the only frame.
13843         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13844         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
13846 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
13848         * eshell/em-smart.el (eshell-smart-display-navigate-list):
13849         Add mouse-yank-primary.
13851 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
13853         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13855 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13857         * emacs-lisp/find-func.el (find-library--load-name): New fun.
13858         (find-library-name): Use it to find relative load names when provided
13859         absolute file name (bug#8803).
13861 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13863         * textmodes/flyspell.el (flyspell-word): Consider words that
13864         differ only in case as potential doublons (bug#5687).
13866         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13867         Remove two rather uninteresting debugging-like messages to make
13868         debbugs.el more silent.
13870         * comint.el (comint-password-prompt-regexp): Accept "Response" as
13871         a password-like phrase.
13873 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
13875         * progmodes/cc-guess.el: New file.
13877         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
13879         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13880         derived from `c-basic-common-init'.
13882         * progmodes/cc-mode.el (top-level): Require cc-guess.
13883         (c-basic-common-init): Use `cc-choose-style-for-mode'.
13885 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
13887         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13889 2011-06-30  Alan Mackenzie  <acm@muc.de>
13891         * progmodes/cc-engine.el (c-guess-continued-construct):
13892         Correct the handling of template-args-cont, particularly for when font
13893         lock is disabled.  Name this case as "CASE G".
13895 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
13897         * allout.el (allout-yank-processing): Fix injection of extra space
13898         between bullet and non-whitespace character in first topic when
13899         pasting, ensuring that the actual spacing in the pasted topic
13900         following the bullet char is preserved.  This extra space was
13901         causing pasted encrypted topics to get a decrypted status even
13902         when the content was actually still encrypted.  Now the decryption
13903         status from before the paste is preserved.
13905         (allout-flag-region): Set all allout overlays so they evaporate
13906         when reduced to zero length (evanescent), to prevent overlay
13907         leakage.
13909 2011-06-30  Glenn Morris  <rgm@gnu.org>
13911         * w32-fns.el (w32-charset-info-alist): Declare.
13913         * find-dired.el (find-grep-options): Simplify.
13915         * term/ns-win.el (ns-set-resource): Declare.
13917         * ses.el (row, col): Declare dynamic variables honestly.
13919         * textmodes/reftex-parse.el (index-tags): Declare.
13921 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
13923         * cus-edit.el (customize-push-and-save): New function.
13925         * files.el (hack-local-variables-confirm): Use it.
13927         * custom.el (load-theme): New arg NO-CONFIRM.
13928         Use customize-push-and-save (Bug#8720).
13929         (custom-enabled-themes): Doc fix.
13931         * cus-theme.el (customize-create-theme)
13932         (custom-theme-merge-theme): Callers to load-theme changed.
13934 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13936         * thingatpt.el (thing-at-point-short-url-regexp): Require that
13937         short URLs have at least one dot in them (bug #7614).
13939         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13940         nil, because using a pty is apparently too slow (bug #895).
13942 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13944         * mail/sendmail.el (sendmail-query-once): New function.
13945         (sendmail-query-once-function): New variable.
13947 2011-06-29  Glenn Morris  <rgm@gnu.org>
13949         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13951         * ses.el (top-level): Require cl when compiling.
13952         (ses-set-localvars): Fix error statement.
13953         Call it at compile time to silence a storm of warnings.
13955 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
13957         * window.el (normalize-live-buffer): Rename to
13958         window-normalize-buffer.
13959         (normalize-live-frame): Rename to window-normalize-frame.
13960         (normalize-any-window): Rename to window-normalize-any-window.
13961         (normalize-live-window): Rename to window-normalize-live-window.
13962         (make-window-atom): Rename to window-make-atom.
13963         (window-resize-reset): Rename to window--resize-reset.
13964         (window-resize-reset-1): Rename to window--resize-reset-1.
13965         (resize-mini-window): Rename to window--resize-mini-window.
13966         (resize-subwindows-skip-p): Rename to
13967         window--resize-subwindows-skip-p.
13968         (resize-subwindows-normal): Rename to
13969         window--resize-subwindows-normal.
13970         (resize-subwindows): Rename to window--resize-subwindows.
13971         (resize-other-windows): Rename to window--resize-siblings.
13972         (resize-this-window): Rename to window--resize-this-window.
13973         (resize-root-window): Rename to window--resize-root-window.
13974         (resize-root-window-vertically): Rename to
13975         window--resize-root-window-vertically.
13976         (normalize-buffer-to-display): Rename to
13977         window-normalize-buffer-to-display.
13978         (normalize-buffer-to-switch-to): Rename to
13979         window-normalize-buffer-to-switch-to.
13980         Correspondingly update all callers of the functions listed
13981         above.
13982         (display-buffer-alist, display-buffer-normalize-arguments)
13983         (display-buffer-normalize-options, display-buffer)
13984         (display-buffer-alist-set): Use "function" instead of
13985         "fun-with-args".
13987 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
13989         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13990         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
13991         debbugs.gnu.org.  Mention acknowledgment email.
13993 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13995         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13996         buffer multibyteness, since it shouldn't matter.
13998 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
14000         * window.el (display-buffer-in-side-window): Handle dedicated
14001         windows as in display-buffer-reuse-window.
14002         (display-buffer-normalize-alist): Use value of override
14003         specifier.
14004         (display-buffer-normalize-specifiers): Use value of
14005         other-window-means-other-frame specifier.
14006         (display-buffer-alist): Rewrite some texts in widgets.
14007         (display-buffer): Spread arguments when calling function
14008         specified by fun-with-args.
14010 2011-06-28  Deniz Dogan  <deniz@dogan.se>
14012         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
14013         Unnest `let'.
14015         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
14016         selectors (Bug#5732).
14017         (css-proprietary-nmstart-re): Use `regexp-opt'.
14019 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
14021         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
14022         (eshell-ls-date-format): New defcustom.
14023         (eshell-ls-file): Use it.
14025 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14027         * help-fns.el (describe-variable): Fix message for terminal-local vars.
14029 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
14031         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
14032         (ange-ftp-make-tmp-name): New arg.
14033         (ange-ftp-file-local-copy): Use it.
14035 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
14037         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
14038         no-conversion (Bug#8870).
14040 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
14042         * window.el (window-right, window-left, window-child)
14043         (window-child-count, window-last-child)
14044         (window-iso-combination-p, walk-window-tree-1)
14045         (window-atom-check-1, window-tree-1, delete-window)
14046         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
14047         new naming conventions - window-vchild, window-hchild,
14048         window-next and window-prev are now called window-top-child,
14049         window-left-child, window-next-sibling and window-prev-sibling
14050         respectively.
14051         (resize-window-reset): Rename to window-resize-reset.
14052         (resize-window-reset-1): Rename to window-resize-reset-1.
14053         (resize-window): Rename to window-resize.
14054         (window-min-height, window-min-width)
14055         (resize-mini-window, resize-this-window, resize-root-window)
14056         (resize-root-window-vertically, adjust-window-trailing-edge)
14057         (enlarge-window, shrink-window, maximize-window)
14058         (minimize-window, delete-window, quit-restore-window)
14059         (split-window, balance-windows, balance-windows-area-adjust)
14060         (balance-windows-area, window-state-put-2)
14061         (display-buffer-even-window-sizes, display-buffer-set-height)
14062         (display-buffer-set-width, set-window-text-height)
14063         (fit-window-to-buffer): Rename all "resize-window" prefixed
14064         calls to use the "window-resize" prefix convention.
14065         (display-buffer-alist): Fix symbol for label specifier.
14066         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
14067         corresponding specifier.
14068         Reported by Juanma Barranquero <lekktu@gmail.com>.
14070 2011-06-27  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
14072         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
14073         convention.
14074         (ses-call-printer): Does not pass an empty string to formatter when the
14075         cell is empty to keep from barking printer Calc math-format-value.
14077 2011-06-27  Richard Stallman  <rms@gnu.org>
14079         * battery.el (battery-mode-line-limit): New variable.
14080         (battery-update): Handle it.
14082         * mail/rmailmm.el (rmail-mime-process-multipart):
14083         Handle truncated messages.
14085 2011-06-27  Glenn Morris  <rgm@gnu.org>
14087         * progmodes/flymake.el (flymake-err-line-patterns):
14088         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
14090 2011-06-27  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
14092         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
14093         (ses--clean-!, ses--clean-_): New functions.
14094         (ses-range): Add configurability of readout order, and conversion
14095         to Calc vector.
14097         * ses.el (ses-repair-cell-reference-all): New function.
14098         (ses-cell-symbol): Set macro as safe, so that it can be used in
14099         formulas.
14101         * ses.el: Update cycle detection algorithm.
14102         (ses-localvars): Add ses--Dijkstra-attempt-nb and
14103         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
14104         (ses-set-localvars): New function.
14105         (ses-make-cell): Add property-list as a cell element.
14106         (ses-cell-property-get-fun, ses-cell-property-get)
14107         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
14108         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
14109         New functions.
14110         (ses-cell-property-set, ses-cell-property-pop)
14111         (ses-cell-property-get-handle): New macro.
14112         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
14113         New aliases, used for code readability.
14114         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
14115         cycle detection.
14116         (ses-self-reference-early-detection): New defcustom.
14117         (ses-formula-references): Robustify against self-referring cells.
14118         (ses-mode): Use ses-set-localvars.
14119         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
14120         before lauching the update processing.
14121         (ses-initialize-Dijkstra-attempt): New function.
14122         (ses-recalculate-cell): Update for cycle detection based on
14123         Dijkstra algorithm.
14125         * ses.el: Fix commenting and indenting convention.
14127 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14129         * bs.el (bs-cycle-next): Complete last change.
14131 2011-06-27  Drew Adams  <drew.adams@oracle.com>
14133         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
14135 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14137         * net/network-stream.el (network-stream-open-starttls):
14138         Don't re-get capabilities unless we've reestablished connection.
14139         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
14141         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
14142         to binary to possibly avoid line encoding issues on Windows (among
14143         other things).
14145 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14147         * net/network-stream.el (open-network-stream): Return an :error
14148         saying what the problem was, if possible.
14150         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
14151         server.
14153         * net/network-stream.el (network-stream-open-starttls): If we
14154         wanted to use STARTTLS, and the server offered it, but we weren't
14155         able to because we had no STARTTLS support, then close the connection.
14156         (open-network-stream): Return an :error element, if present.
14158 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
14160         * hl-line.el (hl-line-sticky-flag): Doc fix.
14161         (global-hl-line-sticky-flag): New option (Bug#8323).
14162         (global-hl-line-highlight): Obey it.
14164         * vc/vc.el (vc-revert-show-diff): Default to t.
14166 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
14168         * allout-widgets.el (allout-widgets-post-command-business):
14169         Stop decorating intermediate isearch matches.  They're not being
14170         undecorated when an isearch is continued past, and isearch
14171         automatically collapses them.  This leads to "widget leaks", where
14172         decorated items accumulate in collapsed areas.  Lines with lots of
14173         hidden widgets can slow down cursor travel, substantially.
14174         Too much complicated machinery would be needed to ensure undecoration,
14175         so we're doing without this nicety.
14177         (allout-widgets-tally-string): Don't try to do a hash-table-count
14178         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
14179         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
14180         *Messages* when allout-widgets-maintain-tally is t.
14182 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
14184         * window.el (display-buffer-normalize-argument): Rename to
14185         display-buffer-normalize-arguments.  Handle special meaning of
14186         LABEL argument.  Respect special-display-function when popping up
14187         a new frame.  Fix code searching for a window showing the buffer
14188         on another frame.
14189         (display-buffer-normalize-specifiers):
14190         Call display-buffer-normalize-arguments.
14191         (display-buffer-in-window): Don't undedicate the window if its
14192         buffer remains the same.
14193         Reported by Drew Adams <drew.adams@oracle.com>.
14194         (display-buffer-alist): Add choice for same-window macro
14195         specfier.
14196         (display-buffer): Mention special meaning of LABEL argument in
14197         doc-string.  Fix quoting.  Don't pop up a new frame even as
14198         fallback.
14200 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
14202         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
14203         avoid deleting the current window in some cases (bug#8911).
14205 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
14207         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
14208         (Bug#8934)
14210 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14212         * net/network-stream.el (network-stream-open-starttls):
14213         Use built-in TLS support if `gnutls-available-p' is true.
14214         (network-stream-open-tls): Ditto.
14216 2011-06-26  Leo Liu  <sdl.web@gmail.com>
14218         * register.el (registerv): New struct.
14219         (registerv-make): New function.
14220         (jump-to-register, describe-register-1, insert-register):
14221         Support the jump-func, print-func and insert-func slot of a registerv
14222         struct.  (Bug#8415)
14224 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
14226         * vc/vc.el (vc-revert-show-diff): New defcustom.
14227         (vc-diff-internal): New arg specifying diff buffer.
14228         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
14229         reuse an existing *vc-diff* buffer (Bug#8927).
14231         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
14233 2011-06-26  Glenn Morris  <rgm@gnu.org>
14235         * progmodes/f90.el (f90-critical-indent): New option.
14236         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
14237         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
14238         (f90-mode): Doc fix.
14239         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
14240         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
14241         (f90-beginning-of-block, f90-next-block, f90-indent-region)
14242         (f90-match-end): Handle block, critical.
14244 2011-06-25  Glenn Morris  <rgm@gnu.org>
14246         * calendar/diary-lib.el (diary-included-files): Doc fix.
14247         (diary-include-files): New function, extracted from
14248         diary-include-other-diary-files and diary-mark-included-diary-files.
14249         (diary-include-other-diary-files, diary-mark-included-diary-files):
14250         Just call diary-include-files.
14251         (diary-mark-entries): Reset diary-included-files on first call.
14253         * calendar/diary-lib.el (diary-mark-entries)
14254         (diary-mark-included-diary-files):
14255         Visit included diary-files in temp buffers.
14257         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
14258         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
14259         (f90-start-block-re, f90-imenu-generic-expression)
14260         (f90-looking-at-program-block-start, f90-no-block-limit):
14261         Add support for submodules.
14263         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
14264         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
14266 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
14268         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
14269         buffer-file-type before setting its value, to avoid disastrous
14270         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
14272 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
14274         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
14276         * ses.el (ses-unload-function):
14277         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
14279         * proced.el (proced-unload-function):
14280         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
14282 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
14284         * server.el (server-create-window-system-frame): Add parameters arg.
14285         (server-process-filter): Doc fix.  Handle frame-parameters.
14287 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
14289         Fix bug#8730, bug#8781.
14291         * loadhist.el (unload--set-major-mode): New function.
14292         (unload-feature): Use it.
14294         * progmodes/python.el (python-after-info-look): Add autoload cookie.
14295         (python-unload-function): New function.
14297 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14299         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
14301 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
14303         * net/browse-url.el (browse-url-firefox-program): Add icecat to
14304         the candidates list.
14306 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
14308         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
14310 2011-06-23  Richard Stallman  <rms@gnu.org>
14312         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
14313         (rmail-variables): Set next-error-move-function.
14314         (rmail-what-message): Take argument POS.
14315         (rmail-next-error-move): New function.
14317 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14319         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
14320         messages for adjacent non-terminals.
14322 2011-06-23  Richard Stallman  <rms@gnu.org>
14324         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
14325         (rmail-show-message-1): Preserve buffer modified flag.
14326         (rmail-start-mail): Don't specify use of rmail-mail-return;
14327         that's done by mail-bury now.
14328         (rmail-mail-return): Handle arg NEWBUF.
14330 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
14332         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
14333         SIZE is a number.
14335 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
14337         * window.el (get-lru-window, get-mru-window)
14338         (get-largest-window): Never return a minibuffer window.
14339         (display-buffer-pop-up-window): Fix a bug that could lead to
14340         reusing the minibuffer window.
14341         (display-buffer): Pass original specifier argument to
14342         display-buffer-function instead of the normalized one.
14343         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14345 2011-06-22  Leo Liu  <sdl.web@gmail.com>
14347         * minibuffer.el (completing-read-function)
14348         (completing-read-default): Move from minibuf.c
14350 2011-06-22  Richard Stallman  <rms@gnu.org>
14352         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
14353         to Rmail even if not started by a special Rmail command.
14355         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
14356         Copy the buffer currently showing just one message.
14358 2011-06-22  Roland Winkler  <winkler@gnu.org>
14360         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
14361         (bibtex-clean-entry): First delete the old key so that a
14362         customized algorithm for generating the new key does not get
14363         confused by the old key.
14364         (bibtex-url): Obey regexp of first step.
14365         (bibtex-search-entries): Do not use add-to-list with local
14366         list-var.
14368 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14370         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
14371         stored a user name, then query for the password first, instead of
14372         waiting for SMTP to give an error message and the trying again.
14374 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
14376         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
14377         BUFFER in call-process.
14379 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14381         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
14382         QUIT twice.
14383         (smtpmail-try-auth-methods): Require user name and password from
14384         auth-source.
14386 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
14388         * window.el (display-buffer-default-specifiers)
14389         (display-buffer-alist): Remove entries for pop-up-frame-alist.
14390         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
14391         (split-window): Normalize SIDE argument (Bug#8916).
14393         * frame.el (pop-up-frame-alist, pop-up-frame-function)
14394         (special-display-frame-alist, special-display-popup-frame):
14395         Remove duplicate declarations.  These are now in window.el.
14397 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14399         * mail/smtpmail.el (smtpmail-via-smtp):
14400         Set :use-starttls-if-possible so that we always use STARTTLS if the
14401         server supports it.  SMTP servers that support STARTTLS commonly
14402         require it.
14404         * net/network-stream.el (network-stream-open-starttls): Support
14405         upgrading to STARTTLS always, even if we don't have built-in support.
14406         (open-network-stream): Add the :always-query-capabilities keyword.
14408         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
14409         upgrades with `open-network-stream', and rely solely on
14410         auth-source for all credentials.  Big changes throughout the file,
14411         but in particular:
14412         (smtpmail-auth-credentials): Remove.
14413         (smtpmail-starttls-credentials): Remove.
14414         (smtpmail-via-smtp): Check for servers saying they want AUTH after
14415         MAIL FROM, too.
14417         * net/network-stream.el (network-stream-open-starttls):
14418         Provide support for client certificates both for external and built-in
14419         STARTTLS.
14420         (auth-source): Require.
14421         (open-network-stream): Document the :client-certificate keyword.
14422         (network-stream-certificate): Change cert-cert to cert and
14423         cert-key to key.
14425 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
14427         * net/tramp-cache.el (top): Don't load the persistency file when
14428         "emacs -Q" has been called.
14430 2011-06-21  Tim Harper  <timcharper@gmail.com>
14432         * term/ns-win.el (ns-initialize-window-system):
14433         Set application-specific `ApplePressAndHoldEnabled' system
14434         resource to NO as it is not yet supported by the NS port.
14436 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
14438         * misc.el (list-dynamic-libraries--refresh): Compute header here...
14439         (list-dynamic-libraries): ...not here.
14441 2011-06-21  Leo Liu  <sdl.web@gmail.com>
14443         * subr.el (sha1): Implement sha1 using secure-hash.
14445 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
14447         * window.el (display-buffer-alist): In default value do not
14448         enforce searching a window on any but the selected frame.
14449         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
14450         (display-buffer-select-window): Remove function.
14451         (display-buffer-in-window): When a window on another frame gets
14452         reused, do not select it any more but just raise its frame if
14453         necessary (Bug#8851) and (Bug#8856).
14454         (display-buffer-normalize-options): Handle pop-up-frames related
14455         options more faithfully.
14456         (pop-to-buffer): Don't rely on `display-buffer' selecting the
14457         window if it is on another frame.
14458         (display-buffer-alist, display-buffer-default-specifiers):
14459         Don't make new frame unsplittable by default.
14460         (display-buffer-normalize-argument): Fix doc-string typo and use
14461         'same-frame-other-window instead of 'other-window when associating
14462         with display-buffer-macro-specifiers.
14464 2011-06-21  Vincent BelaĂ¯che  <vincent.b.1@hotmail.fr>
14466         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
14467         New functions.
14468         (5x5-mode-map, 5x5-mode-menu): Bind them.
14469         (5x5-draw-grid): Tweak the solver's rendering.
14471 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14473         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
14474         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
14476 2011-06-21  Drew Adams  <drew.adams@oracle.com>
14478         * menu-bar.el: Use function variable instead of switch-to-buffer.
14479         (menu-bar-select-buffer-function): New variable.
14480         (menu-bar-update-buffers): Use it (bug#8876).
14482 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14484         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
14485         variable's status.
14487 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
14489         * x-dnd.el (x-dnd-version-from-flags)
14490         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
14491         and long as number (Bug#8899).
14492         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
14494 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14496         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
14497         (completion-try-completion, completion-all-completions): Compute the
14498         metadata argument if it's missing; make it optional (bug#8795).
14500         * wid-edit.el: Use lex-bind and move towards completion-at-point.
14501         (widget-complete): Use new :completion-function property.
14502         (widget-completions-at-point): New function.
14503         (default): Use :completion-function instead of :complete.
14504         (widget-default-completions): Rename from widget-default-complete;
14505         Rewrite.
14506         (widget-string-complete, widget-file-complete, widget-color-complete):
14507         Remove functions.
14508         (file, symbol, function, variable, coding-system, color):
14509         * international/mule-cmds.el (default-input-method, charset)
14510         (language-info-custom-alist):
14511         * cus-edit.el (face): Use new property :completions.
14513         * progmodes/pascal.el (pascal-completions-at-point): New function.
14514         (pascal-mode): Use it.
14515         (pascal-mode-map): Use completion-at-point.
14516         (pascal-toggle-completions): Make obsolete.
14517         (pascal-complete-word, pascal-show-completions):
14518         * progmodes/octave-mod.el (octave-complete-symbol):
14519         Redefine as obsolete alias.
14520         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
14521         Signal absence of completion info for old Octave,
14522         (inferior-octave-complete): Redefine as obsolete alias.
14523         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
14524         (meta-completions-at-point): Rename from meta-complete-symbol and
14525         adapt it for use on completion-at-point-functions.
14526         (meta-common-mode): Use it.
14527         (meta-looking-at-backward, meta-match-buffer): Remove.
14528         (meta-complete-symbol): Redefine as obsolete alias.
14529         (meta-common-mode-map): Use completion-at-point.
14530         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
14531         (makefile-mode-map): Use completion-at-point.
14532         (makefile-completions-at-point): Rename from makefile-complete and
14533         adapt it for use on completion-at-point-functions.
14534         (makefile-mode): Use it.
14535         (makefile-complete): Redefine as obsolete alias.
14537 2011-06-20  Deniz Dogan  <deniz@dogan.se>
14539         * net/rcirc.el: Delete trailing whitespaces once and for all.
14541 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
14543         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
14545 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
14547         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
14549         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
14551 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
14553         * window.el (display-buffer-other-window-means-other-frame):
14554         Call display-buffer-normalize-alist.
14555         (display-buffer-normalize-specifiers-1): Rename to
14556         display-buffer-normalize-argument.  New argument other-frame.
14557         Rewrite.
14558         (display-buffer-normalize-specifiers-2): Rename to
14559         display-buffer-normalize-options.
14560         (display-buffer-normalize-alist-1): New function.
14561         (display-buffer-normalize-specifiers-3): Rename to
14562         display-buffer-normalize-alist.
14563         Call display-buffer-normalize-alist-1.
14564         (display-buffer-normalize-options-inhibit): New variable.
14565         (display-buffer-normalize-specifiers): Rewrite calling
14566         display-buffer-normalize-alist,
14567         display-buffer-normalize-argument, and
14568         display-buffer-normalize-options.  Don't call the latter if
14569         display-buffer-normalize-options-inhibit is non-nil.
14570         (frame-auto-delete): New option.
14571         (window-deletable-p): Use frame-auto-delete.
14572         (window-list-no-nils, window-state-ignored-parameters)
14573         (window-state-get-1, window-state-get, window-state-put-list)
14574         (window-state-put-1, window-state-put-2, window-state-put):
14575         New functions.
14576         (display-buffer-normalize-options): Move special-display-p group
14577         after pop-up-frame group (Bug#8851) and (Bug#8856).
14579 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
14581         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
14582         groups (Bug#8776).
14583         (rx-submatch-n): New function.
14584         (rx): Document it.
14586         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
14587         (Bug#8768).
14589         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
14591         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
14593         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
14594         anytime existing face settings are present (Bug#8889).
14596         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
14597         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
14598         Remove unused argument.
14600 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
14602         * window.el (display-buffer-default-specifiers):
14603         Remove pop-up-frame.  Add pop-up-window-min-height,
14604         pop-up-window-min-width, and another reuse-window specifier
14605         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
14606         (display-buffer-normalize-specifiers-2):
14607         Handle split-height-threshold and split-width-threshold also when
14608         pop-up-windows is unset.  Add a reuse-window specifier for the
14609         case popping up a new window fails.
14610         (special-display-popup-frame): Remove double quoting.
14611         (display-buffer-normalize-specifiers-1): Fix thinko.
14613 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14615         * shell.el (shell-completion-vars): Set pcomplete-termination-string
14616         according to comint-completion-addsuffix.
14618         * pcomplete.el: Convert to lexical binding and fix bug#8819.
14619         (pcomplete-suffix-list): Mark as obsolete.
14620         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
14621         pcomplete-seen in the closure.
14622         (pcomplete-comint-setup): Setup completion-at-point as well.
14623         (pcomplete--entries): New function.
14624         (pcomplete--env-regexp): New var.
14625         (pcomplete-entries): Rewrite to work with partial-completion and
14626         without relying on pcomplete-suffix-list.
14627         (pcomplete-pare-list): Remove, unused.
14629 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
14631         * window.el (display-buffer-alist): Set pop-up-window-min-height
14632         and pop-up-window-min-width in default value.  Reported by
14633         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
14634         other-window-means-other-frame.
14635         (display-buffer-macro-specifiers): Comment out entry for
14636         other-window specifier.
14637         (display-buffer-other-window-means-other-frame): New function.
14638         (display-buffer-normalize-specifiers-1): New arguments
14639         buffer-name and label.  Treat other-window case specially.
14640         (display-buffer-normalize-specifiers-2): Treat other-window case
14641         specially.
14642         (display-buffer-normalize-specifiers-3): New function.
14643         (display-buffer-normalize-specifiers):
14644         Call display-buffer-normalize-specifiers-3.
14646 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
14648         * window.el (same-window-p): Fix two typos introduced when
14649         adding with-no-warnings.
14650         (display-buffer-normalize-specifiers-1): Don't check
14651         pop-up-frames for 'unset initialization.
14652         (display-buffer-normalize-specifiers-2): Major rewrite using
14653         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
14654         (pop-up-frames, display-buffer-reuse-frames)
14655         (display-buffer-mark-dedicated): Don't initialize to 'unset.
14656         Suggested by David Engster <deng@randomsample.de>.
14657         (even-window-heights): Initialize to 'unset.
14658         (display-buffer-alist-set): Handle new 'unset initializations.
14659         (display-buffer-macro-specifiers): Don't pop up a new frame in the
14660         other window case.
14662 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
14664         * window.el (display-buffer-normalize-specifiers-1):
14665         Respect current value of pop-up-frames for most reasonable values of
14666         second argument of display-buffer (Bug#8865).
14667         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
14668         (switch-to-buffer-other-window-same-frame)
14669         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
14670         Adams (Bug#8875).
14671         (display-buffer): Don't check noninteractive when calling
14672         display-buffer-pop-up-frame.
14673         (display-buffer-pop-up-frame): Never pop up a frame in
14674         noninteractive mode (Bug#8857).
14675         (enlarge-window, shrink-window): Don't report an error when the
14676         window can't be resized as requested (Bug#8862).
14678 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14680         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
14682         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
14684         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
14686 2011-06-15  Alan Mackenzie  <acm@muc.de>
14688         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
14689         for declarators, disable knr checking to speed up for normal files.
14690         2: Refactor, replacing a sequence of nested if forms by a cond form.
14692 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14694         * net/network-stream.el (open-network-stream): Add the keyword
14695         :always-query-capabilities for the case where you want to force a
14696         `plain' network connection, but the protocol still requires the
14697         capabilitiy command (i.e., SMTP and EHLO).
14699         * subr.el (process-live-p): Rename from `process-alive-p' for
14700         consistency with other `-live-p' functions.
14702 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14704         * window.el (same-window-buffer-names, same-window-regexps)
14705         (special-display-frame-alist, special-display-popup-frame)
14706         (special-display-function, special-display-buffer-names)
14707         (special-display-regexps, pop-up-frame-alist)
14708         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
14709         (pop-up-windows, split-window-preferred-function)
14710         (split-height-threshold, split-width-threshold, even-window-heights)
14711         (display-buffer-mark-dedicated): Don't encourage the use of
14712         display-buffer-alist from Elisp code.
14714 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
14716         * progmodes/python.el (python-mode): Derive from prog-mode.
14717         * progmodes/ps-mode.el (ps-mode):
14718         * progmodes/mixal-mode.el (mixal-mode):
14719         * progmodes/cfengine.el (cfengine-mode):
14720         * progmodes/ld-script.el (ld-script-mode): Likewise.
14722 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
14724         * window.el (display-buffer-alist): Trim default value to avoid
14725         popping up a new frame (Bug#8857) or reusing an arbitrary window
14726         on another frame.
14727         (display-buffer): Do not fall back on popping up a new frame in
14728         batch mode (Bug#8857).
14730 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
14732         * cus-theme.el (describe-theme-1): Use custom-theme-p.
14733         (custom-theme-summary): New function.
14734         (customize-themes): Use it.
14736 2011-06-13  Glenn Morris  <rgm@gnu.org>
14738         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
14740 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
14742         * help.el (help-window): Remove variable.
14743         (help-window-point-marker, temp-buffer-max-height)
14744         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
14745         (help-print-return-message): Don't set help-window.
14746         (resize-temp-buffer-window): Rewrite cod eand doc-string.
14747         (help-window-setup-finish): Remove.
14748         (help-window-display-message, help-window-setup)
14749         (with-help-window): Major rewrite based on new
14750         display-buffer-window variable.
14752         * help-mode.el (help-mode-finish): Remove help-window related
14753         code.
14755         * view.el (view-exits-all-viewing-windows): Remove reference to
14756         view-return-to-alist in doc-string.
14757         (view-return-to-alist): Make obsolete.
14758         (view-buffer): Call pop-to-buffer-same-window and remove
14759         undo-window code.
14760         (view-buffer-other-window): Call pop-to-buffer-other-window and
14761         simplify code.  Ignore second argument.
14762         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
14763         simplify code.  Ignore second argument.
14764         (view-return-to-alist-update): Make obsolete.
14765         (view-mode-enter): Rename second argument to QUIT-RESTORE.
14766         Rewrite using quit-restore window parameters.
14767         (view-mode-exit): Rename second argument to EXIT-ONLY.
14768         Rewrite using quit-restore-window.
14769         (View-exit, View-exit-and-edit, View-leave, View-quit)
14770         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
14771         appropriate arguments.
14772         (view-end-message): Use quit-restore window parameter.
14774         * window.el (display-buffer-function): Rewrite doc-string.
14775         (display-buffer-window, display-buffer-alist): New variables.
14776         (display-buffer-split-specifiers)
14777         (display-buffer-side-specifiers)
14778         (display-buffer-macro-specifiers): New constants.
14779         (display-buffer-even-window-sizes, display-buffer-set-height)
14780         (display-buffer-set-width, display-buffer-select-window)
14781         (display-buffer-in-window, display-buffer-reuse-window)
14782         (display-buffer-split-window-1, display-buffer-split-window)
14783         (display-buffer-split-atom-window, display-buffer-pop-up-window)
14784         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
14785         (display-buffer-in-side-window, normalize-buffer-to-display)
14786         (display-buffer-normalize-specifiers-1)
14787         (display-buffer-normalize-specifiers-2)
14788         (display-buffer-normalize-specifiers, display-buffer-frame):
14789         New functions.
14790         (display-buffer): Major rewrite.
14791         (display-buffer-other-window, display-buffer-other-frame)
14792         (pop-to-buffer, switch-to-buffer-other-window)
14793         (switch-to-buffer-other-frame): Rewrite.
14794         (display-buffer-same-window, display-buffer-same-frame)
14795         (display-buffer-same-frame-other-window)
14796         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14797         (pop-to-buffer-other-window)
14798         (pop-to-buffer-same-frame-other-window)
14799         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
14800         (switch-to-buffer-other-window-same-frame): New functions.
14801         (same-window-p, special-display-p): Rewrite disabling warnings.
14802         Make obsolete.
14803         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14804         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
14805         Make obsolete
14806         (same-window-buffer-names, same-window-regexps)
14807         (special-display-frame-alist, special-display-popup-frame)
14808         (special-display-function, special-display-buffer-names)
14809         (special-display-regexps, pop-up-frame-alist)
14810         (pop-up-frame-function, split-window-preferred-function)
14811         (split-height-threshold, split-width-threshold)
14812         (even-window-heights): Make obsolete.
14814 2011-06-12  Glenn Morris  <rgm@gnu.org>
14816         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
14817         Misc simplifications.
14819 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
14821         * window.el (window-safely-shrinkable-p): Restore function which
14822         was inadvertently removed in change from 2011-06-11.  Declare as
14823         obsolete.
14825         * calendar/calendar.el (calendar-generate-window):
14826         Use window-iso-combined-p instead of combination of one-window-p and
14827         window-safely-shrinkable-p.
14829 2011-06-12  Glenn Morris  <rgm@gnu.org>
14831         * progmodes/fortran.el (fortran-mode-syntax-table):
14832         * progmodes/f90.el (f90-mode-syntax-table):
14833         Set % to punctuation.  (Bug#8820)
14834         (f90-find-tag-default): Remove, no longer needed.
14836 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
14838         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14840 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
14842         * image.el (image-animated-p): Return animation delay in seconds.
14843         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14844         (image-animate-timeout): Remove DELAY argument.  Don't assume
14845         every subimage has the same delay; get it from image-animated-p.
14846         (image-animate): Caller changed.
14848 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
14850         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14851         to ignored backtrace functions.
14853 2011-06-11  Glenn Morris  <rgm@gnu.org>
14855         * calendar/appt.el (appt-disp-window-function): Doc fix.
14856         (appt-check): Handle overlapping appointments.  (Bug#8337)
14858 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
14860         * window.el (window-tree-1, window-tree): New functions, moving
14861         the latter to window.el.
14862         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14863         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14864         (bw-refresh-edges): Remove.
14865         (balance-windows-1, balance-windows-2): New functions.
14866         (balance-windows): Rewrite in terms of window tree functions,
14867         balance-windows-1 and balance-windows-2.
14868         (bw-adjust-window): Remove.
14869         (balance-windows-area-adjust): New function with functionality of
14870         bw-adjust-window but using resize-window.
14871         (set-window-text-height): Rewrite doc-string.
14872         Use normalize-live-window and resize-window.
14873         (enlarge-window-horizontally, shrink-window-horizontally):
14874         Rename argument to DELTA.
14875         (window-buffer-height): New function.
14876         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14877         Rewrite using new window resize routines.
14878         (kill-buffer-and-window, mouse-autoselect-window-select):
14879         Use ignore-errors instead of condition-case.
14880         (quit-window): Call delete-frame instead of delete-windows-on
14881         for the only buffer on frame.
14883 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
14885         * loadup.el (top-level): Load window before files for the sake
14886         of replace-buffer-in-windows.
14888         * files.el (read-buffer-to-switch)
14889         (switch-to-buffer-other-window)
14890         (switch-to-buffer-other-frame, display-buffer-other-frame):
14891         Move to window.el.
14893         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14894         (previous-buffer): Move to window.el.
14896         * bindings.el (unbury-buffer): Move to window.el.
14898         * window.el (delete-other-windows-vertically): Move after
14899         definition of delete-other-windows.
14900         (other-window, delete-windows-on, replace-buffer-in-windows):
14901         Move here from window.c.
14902         (record-window-buffer, unrecord-window-buffer)
14903         (set-window-buffer-start-and-point, switch-to-prev-buffer)
14904         (switch-to-next-buffer): New functions.
14905         (get-next-valid-buffer, last-buffer, next-buffer): Move here
14906         from simple.el.  Call switch-to-next-buffer.
14907         (previous-buffer): Move here from simple.el.
14908         Call switch-to-prev-buffer.
14909         (bury-buffer): Move here from buffer.c.  Switch to previous
14910         buffer when window cannot be deleted.
14911         (unbury-buffer): Move here from bindings.el.
14912         (ctl-x-map): Move binding for other-window from window.c to
14913         here.
14914         (read-buffer-to-switch, switch-to-buffer-other-window)
14915         (switch-to-buffer-other-frame): Move here from files.el.
14916         (normalize-buffer-to-switch-to): New functions.
14917         (switch-to-buffer): Move here from buffer.c.
14918         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
14920 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
14922         * window.el (window-min-height, window-min-width): Move here
14923         from window.c.  Add defcustoms and rewrite doc-strings.
14924         (resize-mini-window, resize-window): New functions.
14925         (adjust-window-trailing-edge, enlarge-window, shrink-window):
14926         Move here from window.c.
14927         (maximize-window, minimize-window): New functions.
14928         (delete-window, delete-other-windows, split-window): Move here
14929         from window.c.
14930         (window-split-min-size): New function.
14931         (split-window-keep-point): Mention split-window-above-each-other
14932         instead of split-window-vertically.
14933         (split-window-above-each-other, split-window-vertically):
14934         Rename split-window-vertically to split-window-above-each-other
14935         and provide defalias for old definition.
14936         (split-window-side-by-side, split-window-horizontally):
14937         Rename split-window-horizontally to split-window-side-by-side
14938         and provide defalias for the old definition.
14939         (ctl-x-map): Move bindings for delete-window,
14940         delete-other-windows and enlarge-window here from window.c.
14941         Replace bindings for split-window-vertically and
14942         split-window-horizontally by bindings for
14943         split-window-above-each-other and split-window-side-by-side.
14945         * cus-start.el (all): Remove entries for window-min-height and
14946         window-min-width.  Add entries for window-splits and
14947         window-nest.
14949 2011-06-09  Glenn Morris  <rgm@gnu.org>
14951         * calendar/appt.el (appt-mode-line): New function.
14952         (appt-check, appt-disp-window): Use it.
14954         * files.el (hack-one-local-variable-eval-safep):
14955         Allow minor-modes with explicit +/-1 arguments.
14957 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
14959         * term/xterm.el (xterm): Add defgroup.
14960         (xterm-extra-capabilities): Add defcustom to supply known xterm
14961         capabilities, skip querying them, or query them (default).
14962         (terminal-init-xterm): Use it.
14963         (terminal-init-xterm-modify-other-keys): New function to set up
14964         modifyOtherKeys support to simplify `terminal-init-xterm'.
14966 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
14968         * window.el (resize-window-reset, resize-window-reset-1)
14969         (resize-subwindows-skip-p, resize-subwindows-normal)
14970         (resize-subwindows, resize-other-windows, resize-this-window)
14971         (resize-root-window, resize-root-window-vertically)
14972         (window-deletable-p, window-or-subwindow-p)
14973         (frame-root-window-p): New functions.
14975 2011-06-09  Glenn Morris  <rgm@gnu.org>
14977         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14978         (ange-ftp-get-files): Use it.
14980 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
14982         * mail/sendmail.el (mail-recover-1, mail-recover):
14983         * files.el (recover-file, recover-session):
14984         Handle dired-listing-switches not being just a single short option.
14986 2011-06-09  Glenn Morris  <rgm@gnu.org>
14988         * calendar/appt.el (appt-display-message, appt-disp-window):
14989         Handle lists of appointments.
14991 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
14993         * window.el (one-window-p): Move down in code.
14994         Rewrite doc-string.
14995         (window-current-scroll-bars): Rewrite doc-string.
14996         Normalize live window argument.
14997         (walk-windows, get-window-with-predicate, count-windows):
14998         Rewrite doc-string.  Use window-list-1.
14999         (window-in-direction-2, window-in-direction, get-mru-window):
15000         New functions.
15002 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
15004         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
15005         Doc fix (Bug#8713).
15007 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
15009         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
15011 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
15013         * loadhist.el (unload-feature-special-hooks):
15014         Add `comint-output-filter-functions'.
15016 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
15018         * calendar/appt.el (appt-check): Move some initializations into the let.
15020 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
15022         * window.el (window-height): Defalias to window-total-height.
15023         (window-width): Defalias to window-body-width.
15025 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
15027         * image-mode.el (image-toggle-animation): New command.
15028         (image-mode-map): Bind it to RET.
15029         (image-mode): Update message.
15030         (image-toggle-display-image): Avoid a spurious cache flush.
15031         (image-transform-rotation): Doc fix.
15032         (image-transform-properties): Return quickly in the normal case.
15033         (image-animate-loop): Rename from image-animate-max-time.
15035         * image.el (image-animate-max-time): Move to image-mode.el.
15036         (create-animated-image): Remove unnecessary function.
15037         (image-animate): Rename from image-animate-start.  New arg.
15038         (image-animate-stop): Remove; just use image-animate-timer.
15039         (image-animate-timer): Use car-safe.
15040         (image-animate-timeout): Rename argument.
15042 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
15044         * window.el (get-lru-window, get-largest-window): Move here from
15045         window.c.  Rename first argument to ALL-FRAMES.
15046         Rephrase doc-strings.
15047         (get-buffer-window-list): Rewrite using window-list-1.
15048         Rephrase doc-string.
15049         (window-safe-min-height, window-safe-min-width): New constants.
15050         (window-size-ignore, window-min-size, window-min-size-1)
15051         (window-sizable, window-sizable-p, window-size-fixed-1)
15052         (window-size-fixed-p, window-min-delta-1, window-min-delta)
15053         (window-max-delta-1, window-max-delta, window-resizable)
15054         (window-resizable-p, window-total-height, window-total-width)
15055         (window-body-width): New functions.
15056         (window-full-height-p, window-full-width-p): Rewrite using
15057         window-total-size.
15058         (window-body-height): Rewrite using window-body-size.
15060 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
15062         * window.el (window-right, window-left, window-child)
15063         (window-child-count, window-last-child, window-any-p)
15064         (normalize-live-buffer, normalize-live-frame)
15065         (normalize-any-window, normalize-live-window)
15066         (window-iso-combination-p, window-iso-combined-p)
15067         (window-iso-combinations)
15068         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
15069         (windows-with-parameter, window-with-parameter)
15070         (window-atom-root, make-window-atom, window-atom-check-1)
15071         (window-atom-check, window-side-check, window-check):
15072         New functions.
15073         (ignore-window-parameters, window-sides, window-sides-vertical)
15074         (window-sides-slots): New variables.
15075         (window-size-fixed): Move down in code.  Minor doc-string fix.
15077 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
15079         * comint.el (comint-dynamic-complete-as-filename)
15080         (comint-dynamic-complete-filename): Correctly call
15081         completion-in-region.
15083 2011-06-05  Deniz Dogan  <deniz@dogan.se>
15085         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
15086         in last change.
15088 2011-06-05  Deniz Dogan  <deniz@dogan.se>
15090         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
15091         (rcirc): Use it to prompt for encryption.
15093 2011-06-05  Roland Winkler  <winkler@gnu.org>
15095         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
15096         (bibtex-search-entries): New command bound to C-c C-a.
15097         (bibtex-display-entries): New function.
15099 2011-06-05  Roland Winkler  <winkler@gnu.org>
15101         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
15102         (bibtex-insert-kill): After yanking insert newline if necessary.
15103         (bibtex-initialize): Call bibtex-string-files-init only once.
15104         (bibtex-mode): Do not call easy-menu-add.
15105         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
15106         (bibtex-yank): Set arg properly if nil.
15108 2011-06-05  Roland Winkler  <winkler@gnu.org>
15110         * textmodes/bibtex.el (bibtex-search-entry-globally):
15111         New variable.
15112         (bibtex-search-entry): Use it.
15114 2011-06-05  Roland Winkler  <winkler@gnu.org>
15116         * textmodes/bibtex.el (bibtex-entry-format): New option
15117         sort-fields.
15118         (bibtex-format-entry, bibtex-reformat): Honor this option.
15119         (bibtex-parse-entry): Return fields in proper order.
15121 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
15123         * doc-view.el (doc-view-remove-if): Move computation of result out
15124         of `dolist' to silence misleading lexical-binding warning.
15126 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
15128         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
15129         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
15131 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
15133         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
15134         "SunOS 5.10".
15136 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
15138         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
15139         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
15140         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
15141         (tramp-parse-putty):
15142         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
15143         (tramp-completion-function-alist-ssh)
15144         (tramp-completion-function-alist-telnet)
15145         (tramp-completion-function-alist-su)
15146         (tramp-completion-function-alist-putty): Set `tramp-autoload'
15147         cookie.
15149         * net/tramp-ftp.el:
15150         * net/tramp-sh.el:
15151         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
15152         load "tramp.el" `tramp-set-completion-function'.
15154 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15156         * shell.el: Require and use pcomplete.
15157         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
15158         (shell-completion-vars): Set pcomplete-default-completion-function.
15160 2011-06-04  Deniz Dogan  <deniz@dogan.se>
15162         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
15163         `memq' (Bug#8799).
15165 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15167         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
15169 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
15171         * bs.el (bs--mark-unmark, bs--nth-wrapper):
15172         * mpc.el (mpc-select-extend, mpc-songpointer-context):
15173         * vc/log-view.el (log-view-beginning-of-defun):
15174         * vc/smerge-mode.el (smerge-apply-resolution-patch)
15175         (smerge-refine-forward, smerge-refine-chopup-region):
15176         Silence warning for unused `dotimes' counter variables.
15178 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15180         * net/tramp.el (tramp-with-progress-reporter): Rename from
15181         with-progress-reporter.  Use `declare'.
15182         * net/tramp-smb.el:
15183         * net/tramp-sh.el:
15184         * net/tramp-gvfs.el: Update all uses.
15186 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
15188         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
15189         buffer isn't killed before making it current.
15191 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15193         Silence various byte-compiler warnings.
15194         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
15195         `access-type' and new obsolescence format.
15196         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
15197         new format.
15198         (byte-compile-check-variable): New `access-type' argument.
15199         Only warn if the access-type is obsolete.
15200         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
15201         (byte-compile-variable-set): Adjust callers.
15202         * help-fns.el (describe-variable): Adjust to new obsolescence format.
15203         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
15204         setting it as obsolete.
15205         * simple.el (minibuffer-completing-symbol):
15206         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
15207         access as obsolete.
15208         * minibuffer.el (minibuffer-completing-file-name): Don't make it
15209         obsolete yet.
15210         * international/quail.el (quail-mouse-choose-completion): Remove unused
15211         code referring to obsolete var.
15212         (quail-choose-completion-string): Remove.
15213         * server.el (server-clients-with, server-kill-buffer-query-function)
15214         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
15215         * proced.el (proced-send-signal):
15216         * emacs-lisp/lisp.el (lisp-complete-symbol):
15217         Replace completion-annotate-function with completion-extra-properties.
15219 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15221         * simple.el (goto-line): Use read-number.
15222         (overriding-map-is-bound): Remove.
15223         (saved-overriding-map): Change default.
15224         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
15225         Take the map as argument.
15226         (universal-argument, negative-argument, digit-argument): Use it.
15227         (restore-overriding-map): Adjust.
15228         (do-auto-fill): Use fill-forward-paragraph.
15229         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
15231         * minibuffer.el (minibuffer-inactive-mode-map): New var.
15232         (minibuffer-inactive-mode): New major mode.
15233         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
15234         the *Messages* buffer" hack.
15235         (mouse-popup-menubar): Don't burp if the event is a normal key.
15237         Miscellaneous tweaks.
15238         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
15239         lexical scoping as in subr.el's dolist and dotimes.
15240         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
15241         Silence compiler warning.
15242         * thingatpt.el (forward-whitespace): Trivial coding style fix.
15243         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
15244         * international/ccl.el (ccl-compile): Trivial simplification.
15245         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
15246         * emacs-lisp/testcover.el (testcover-end): Remove spurious
15247         `printflag' argument.
15248         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15249         Purecopy the whole obsolescence data.
15251 2011-06-01  Leo Liu  <sdl.web@gmail.com>
15253         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
15254         improve doc-string as suggested by Marco Pessotto
15255         <melmothx@gmail.com>.
15256         (rcirc-print): Fix last change.
15258 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15260         * minibuffer.el (complete-with-action): Return nil for the metadata and
15261         boundaries of non-functional tables.
15262         (completion-table-dynamic): Return nil for the metadata.
15263         (completion-table-with-terminator): Add default case, using
15264         complete-with-action.
15265         (completion--metadata): New function.
15266         (completion-all-sorted-completions, minibuffer-completion-help): Use it
15267         to try and avoid pathological performance problems.
15268         (completion--embedded-envvar-table): Return `category' metadata.
15270 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15272         * subr.el (process-alive-p): New tiny convenience function.
15274 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15276         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
15277         content but also its previous major mode.
15279 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
15281         * emacs-lisp/debug.el (debug): Restore the previous content of the
15282         *Backtrace* buffer when we exit with C-M-c.
15284 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15286         * minibuffer.el: Add metadata method to completion tables.
15287         (completion-category-overrides): New defcustom.
15288         (completion-metadata, completion--field-metadata)
15289         (completion-metadata-get, completion--styles)
15290         (completion--cycle-threshold): New functions.
15291         (completion-try-completion, completion-all-completions):
15292         Add `metadata' argument to choose completion-styles.
15293         (completion--do-completion): Use metadata to choose cycling.
15294         (completion-all-sorted-completions): Use metadata for sorting.
15295         Remove :completion-cycle-penalty which is not needed any more.
15296         (completion--try-word-completion): Add `metadata' argument.
15297         (minibuffer-completion-help): Check metadata for annotation function
15298         and sorting.
15299         (completion-file-name-table): Return `category' metadata.
15300         (minibuffer-completing-file-name): Make obsolete.
15301         * simple.el (minibuffer-completing-symbol): Make obsolete.
15302         * icomplete.el (icomplete-completions): Pass new `metadata' param to
15303         completion-try-completion.
15305 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15307         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
15309 2011-05-30  Leo Liu  <sdl.web@gmail.com>
15311         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
15312         (rcirc-print): Decode all incoming messages (bug#8744).
15313         (rcirc-decode-coding-system): Allow value nil for automatic coding
15314         system detection.
15316 2011-06-01  Glenn Morris  <rgm@gnu.org>
15318         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
15320 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
15322         * image.el (image-animate-max-time): Allow nil and t values.
15323         Default to nil.
15324         (create-animated-image): Doc fix.
15325         (image-animate-start): Remove second arg; just use
15326         image-animate-max-time.
15327         (image-animate-timeout): Doc fix.  Args changed.
15329         * image-mode.el (image-toggle-display-image): Ensure that the
15330         image spec passed to the animate timer is the same object as in
15331         the buffer's display property (Bug#6981).
15332         (image-transform-properties): Doc fix.
15334         * image.el (image-animate-max-time): Default to nil.
15336 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
15338         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
15339         entire buffer list (Bug#8184).
15341 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
15343         * image.el (imagemagick-types-inhibit)
15344         (imagemagick-register-types): Doc fix.
15346 2011-05-29  Deniz Dogan  <deniz@dogan.se>
15348         * net/rcirc.el (rcirc): Use the user's stored encryption method by
15349         default.
15351 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
15353         * select.el: Don't perform clipboard-manager saving in hooks;
15354         leave the hooks empty.
15356 2011-05-28  Leo Liu  <sdl.web@gmail.com>
15358         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
15359         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
15360         (occur-edit-mode): New major mode (Bug#8463).
15361         (occur-after-change-function): New function.
15362         (occur-engine): Give Occur tags a read-only property.
15364 2011-05-28  Kevin Ryde  <user42@zip.com.au>
15366         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
15368 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
15370         * bindings.el (help-echo): Make the initial non-indicator dash
15371         empty on graphical terminals (Bug#7295).
15373         * files.el (auto-mode-alist): Move config rule after the
15374         in-stripping one (Bug#8547).
15376         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
15378         * startup.el (normal-splash-screen): Remove gratuitous mode-line
15379         setting (Bug#8740).
15381 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
15383         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
15384         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
15385         (Bug#8539).
15387 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
15389         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
15391 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
15393         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
15394         (hs-hide-block-at-point, hs-find-block-beginning)
15395         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
15396         (Bug#8279).
15398 2011-05-28  Glenn Morris  <rgm@gnu.org>
15400         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
15402 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
15404         * help-fns.el (describe-function-1): If the function is a derived
15405         major mode, print the parent mode.
15407         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
15408         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
15410 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15412         * minibuffer.el (completion--capf-wrapper): Check applicability before
15413         returning non-nil for non-exclusive completion data.
15414         * progmodes/etags.el (tags-completion-at-point-function):
15415         * info-look.el (info-lookup-completions-at-point): Mark as
15416         non-exclusive.
15417         (info-complete): Adjust accordingly.
15419         * info-look.el: Convert to lexical-binding and completion-at-point.
15420         (info-lookup-completions-at-point): New function.
15421         (info-complete): Use it and completion-in-region.
15423 2011-05-28  Drew Adams  <drew.adams@oracle.com>
15425         * isearch.el: Let M-e start with point at the first mismatched char.
15426         (isearch-fail-pos): New function.
15427         (isearch-edit-string): Use it.
15429 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
15431         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15433 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
15435         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
15436         traversal functions for avl-trees.
15437         (avl-tree--stack): New struct.
15438         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
15439         (avl-tree-enter): Add optional `updatefun' arg.
15440         (avl-tree--do-enter): Add optional `updatefun' arg.
15441         Change return value.
15442         (avl-tree-delete): Add optional `test' and `nilflag' args.
15443         (avl-tree--do-delete): Add `test' and `nilflag' args.
15444         Change return value.
15445         (avl-tree-member): Add optional `nilflag'
15446         (avl-tree-member-p): New function.
15447         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
15448         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
15449         (avl-tree-stack-empty-p): New functions.
15451         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
15452         avl-tree--del-balance1 and make it work both ways.
15453         (avl-tree--del-balance2): Remove.
15454         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
15455         make it work both ways.
15456         (avl-tree--enter-balance2): Remove.
15457         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
15458         New macros.
15459         (avl-tree--mapc, avl-tree-map): Add direction argument.
15461 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
15463         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
15465 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
15467         * select.el: Support clipboard managers with built-in function
15468         x-clipboard-manager-save, via delete-frame-functions and
15469         kill-emacs-hook.
15470         (xselect-convert-to-targets): Add MULTIPLE target to list.
15471         (xselect-convert-to-save-targets): New function.
15473 2011-05-27  Kenichi Handa  <handa@m17n.org>
15475         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
15476         let-binding rfc2047-encode-encoded-words to nil.
15478 2011-05-27  Glenn Morris  <rgm@gnu.org>
15480         * mail/emacsbug.el: Don't require url-util.
15482         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
15484         * files.el (set-auto-mode):
15485         Also respect mode: entries at the end of the file.  (Bug#8586)
15487 2011-05-26  Glenn Morris  <rgm@gnu.org>
15489         * files.el (hack-local-variables-prop-line, hack-local-variables):
15490         Downcase mode names, as seems to be traditional.
15491         (hack-local-variables, hack-local-variables-apply): Doc fixes.
15493         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
15494         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
15496 2011-05-25  Julien Danjou  <julien@danjou.info>
15498         * textmodes/rst.el (rst-define-level-faces): Do not define face
15499         symbol if it is already defined.
15501 2011-05-24  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
15503         * play/5x5.el (5x5-new-game, 5x5-randomize):
15504         Reset 5x5-solver-output to nil when a new grid is cast.
15505         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
15506         these debugging traces, as defmacro breaks the compiled code.
15508 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
15510         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
15512 2011-05-24  Leo Liu  <sdl.web@gmail.com>
15514         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
15515         (vc-bzr-sha1): Adapt.
15517         * sha1.el: Remove.  Function `sha1' is now builtin.
15519         * bindings.el: Provide sha1 feature.
15521 2011-05-24  Kenichi Handa  <handa@m17n.org>
15523         * mail/sendmail.el: Require `rfc2047'.
15524         (mail-insert-from-field): Do not perform RFC2047 encoding.
15525         (mail-encode-header): New function.
15526         (sendmail-send-it): Set buffer-file-coding-system of the work
15527         buffer to the return value of select-message-coding-system.
15528         Call mail-encode-header.
15530         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
15532 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
15534         * mail/supercite.el (sc-default-cite-frame):
15535         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
15537 2011-05-24  Glenn Morris  <rgm@gnu.org>
15539         * progmodes/python.el (brm-menu): Declare.
15541         * emulation/viper.el (viper-set-hooks): Declare.
15543         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
15544         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
15545         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
15546         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
15547         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
15548         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
15550 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15552         Add an :exit-function for completion-at-point.
15554         * minibuffer.el (completion--done): New fun.
15555         (completion--do-completion): Use it.  New arg `expect-exact'.
15556         (minibuffer-complete, minibuffer-complete-word): Don't output message,
15557         since completion--do-completion does it for us now.
15558         (minibuffer-force-complete): Use completion--done and
15559         completion--replace.  Handle sole-completion case with more care.
15560         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
15561         (completion-extra-properties): New var.
15562         (completion-annotate-function): Make obsolete.
15563         (minibuffer-completion-help): Adjust accordingly.
15564         Use completion-list-insert-choice-function.
15565         (completion-at-point, completion-help-at-point):
15566         Bind completion-extra-properties.
15567         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
15568         * simple.el (completion-list-insert-choice-function): New var.
15569         (completion-setup-function): Preserve it.
15570         (choose-completion): Pay attention to it, shuffle the code a bit.
15571         (choose-completion-string): New arg `insert-function'.
15573         * textmodes/bibtex.el: Convert to lexical binding.
15574         (bibtex-mode-map): Use completion-at-point.
15575         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
15576         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
15577         (bibtex-complete): Define as obsolete alias.
15578         (bibtex-complete-internal): Remove.
15579         (bibtex-format-entry): Remove unused sub-group in regexp.
15580         * shell.el (shell--command-completion-data)
15581         (shell-environment-variable-completion):
15582         * pcomplete.el (pcomplete-completions-at-point):
15583         * comint.el (comint--complete-file-name-data): Use :exit-function
15584         instead of completion-table-with-terminator so it also works for
15585         choose-completion.
15587 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15589         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
15591         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
15592         (bug#8710).
15594         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
15596 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
15598         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
15599         customization variable and implement: If non-nil, auto-fill will
15600         be inhibited while on topic's header line.
15602 2011-05-23  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
15604         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
15605         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
15606         always have a solution in grid size = 5 cases.
15607         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
15608         (5x5-solver-output, 5x5-log-buffer): New vars.
15609         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
15610         Make these variables buffer local to achieve 5x5 multi-session-ness.
15611         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
15612         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
15613         (5x5-solve-suggest): New funs.
15614         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
15615         randomize a grid so that we ensure that there is always a solution.
15616         (5x5-make-random-grid): Allow other movement than flipping.
15618 2011-05-23  Kevin Ryde  <user42@zip.com.au>
15620         * emacs-lisp/advice.el (ad-read-advised-function):
15621         Use `function-called-at-point' as the default, if it has
15622         advice and passes PREDICATE.
15624 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15626         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
15627         byte-compile-lambda if it's actually a lambda.
15629         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
15630         Fix function quoting.  Use backquote better.
15632 2011-05-22  Yuanle Song  <sylecn@gmail.com>
15634         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
15635         matching (Bug#8516).
15637 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
15639         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
15640         different face (Bug#8178).
15642 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
15644         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
15645         defface (Bug#8144).
15647 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15649         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
15650         funcall as well (bug#8712).  Warn when performing those conversions.
15651         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
15653         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
15655 2011-05-22  Glenn Morris  <rgm@gnu.org>
15657         * files.el (hack-local-variables-prop-line): Small simplifications.
15658         (hack-local-variables, hack-local-variables-prop-line):
15659         If MODE-ONLY, return the mode, rather than just `t'.
15661 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15663         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
15665 2011-05-21  Glenn Morris  <rgm@gnu.org>
15667         * files.el (hack-local-variables-prop-line, hack-local-variables):
15668         If only interested in the mode, don't bother doing the other stuff.
15670         * image-mode.el (image-after-revert-hook):
15671         Redraw all frames on which the image is visible.  (Bug#8567)
15673         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
15675         * wid-edit.el (widget-checklist-match-inline):
15676         Fix 2011-04-19 change.  (Bug#8649)
15678 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
15680         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
15681         Also allow singlespace after single-letter capitals followed by a dot.
15683         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
15684         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
15686 2011-05-20  Nix  <nix@esperi.org.uk>
15688         * files.el (basic-save-buffer-2):
15689         Fix handling of break-hardlink-on-save with non-existent files.
15691 2011-05-19  Deniz Dogan  <deniz@dogan.se>
15693         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
15694         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
15696 2011-05-19  Glenn Morris  <rgm@gnu.org>
15698         * progmodes/f90.el (f90-type-def-re):
15699         Handle "type, bind(c)".  (Bug#8691)
15701         * emacs-lisp/autoload.el (batch-update-autoloads):
15702         Set autoload-excludes by parsing loadup.el rather than Makefiles.
15704 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
15706         * net/tramp.el (tramp-process-actions): Set "first-password-request"
15707         property for the correct connection in case of multihops.
15709 2011-05-18  Glenn Morris  <rgm@gnu.org>
15711         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
15712         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
15714         Rationalize calendar handling of day and month abbrev-arrays.
15715         * calendar/calendar.el (calendar-customized-p): New function.
15716         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
15717         (calendar-day-name-array, calendar-month-name-array): Doc fix.
15718         Add :set function.
15719         (calendar-abbrev-length, calendar-day-abbrev-array)
15720         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
15721         (calendar-day-abbrev-array, calendar-month-abbrev-array):
15722         Elements may no longer be nil.
15723         (calendar-day-name, calendar-month-name):
15724         Update for changed nature of abbrev arrays.
15725         * calendar/diary-lib.el (diary-name-pattern):
15726         Update for changed nature of abbrev arrays.
15727         (diary-mark-entries-1): Update calendar-make-alist calls.
15728         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
15729         * calendar/cal-html.el (cal-html-day-abbrev-array):
15730         Simply inherit from calendar-day-abbrev-array.
15732 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15734         * progmodes/grep.el (grep-mode): Disable default
15735         compilation-directory-matcher setting (bug#8684).
15737 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
15739         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
15740         instead of "head" and "tail".  There were problems with SunOS 5.9,
15741         and it performs better.
15743 2011-05-17  Glenn Morris  <rgm@gnu.org>
15745         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
15747         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
15748         Replace obsolete function.
15750         * shell.el (pcomplete-parse-arguments-function): Declare.
15752         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
15753         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
15754         (appt-check): Doc fixes.
15755         (appt-disp-window-function, appt-delete-window-function):
15756         Remove needless special case in custom :type.
15757         (appt-display-count): Default to 0, not nil.
15758         (appt-check): Reset appt-display-count to 0, not nil.
15760 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
15762         * progmodes/python.el (python-font-lock-keywords):
15763         Add the Python 3.X keyword "nonlocal" (bug#8639).
15765 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15767         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
15769 2011-05-16  Kevin Ryde  <user42@zip.com.au>
15771         * info-look.el (makefile-automake-mode): New setups, looking in
15772         automake manual, then makefile-mode.
15773         (makefile-mode): Remove automake manual, have it just in
15774         makefile-automake-mode since there's various things different or
15775         not relevant to plain make.
15776         (makefile-mode): Remove "other-modes" non-existent automake-mode,
15777         believe a hypothetical automake-mode would go to makefile-mode,
15778         not the other way around.
15780 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
15782         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
15783         hunk-end tags (Bug#8672).
15785         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
15786         vc-annotate-show-diff-revision-at-line (Bug#8671).
15788 2011-05-14  Glenn Morris  <rgm@gnu.org>
15790         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
15791         in the middle of an existing one with multiple authors.  (Bug#8645)
15792         (change-log-font-lock-keywords): Also handle multiple author lines
15793         with leading tabs.  (Bug#8644)
15795         * calendar/appt.el (appt-check): Rename some local variables.
15796         Some simplification/reordering.
15798         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
15799         (feedmail-sendmail-f-doesnt-sell-me-out)
15800         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15801         (feedmail-debug-sit-for, feedmail-queue-express-hook)
15802         (feedmail-queue-runner-message-sender): Set :version.
15803         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
15804         (bbdb-dwim-net-address, vm-mail): Declare.
15805         (feedmail-binmail-gnulinuxish-template):
15806         Rename from feedmail-binmail-linuxish-template.
15807         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
15808         Use insert-buffer-substring.
15810 2011-05-14  Bill Carpenter  <bill@carpenter.org>
15812         * mail/feedmail.el (feedmail-patch-level): Increase.
15813         (feedmail-debug): New custom group.
15814         (feedmail-confirm-outgoing-timeout)
15815         (feedmail-sendmail-f-doesnt-sell-me-out)
15816         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15817         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15818         (feedmail-sender-line, feedmail-from-line)
15819         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
15820         (feedmail-spray-this-address)
15821         (feedmail-spray-address-fiddle-plex-list)
15822         (feedmail-queue-use-send-time-for-date)
15823         (feedmail-queue-use-send-time-for-message-id)
15824         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15825         (feedmail-buffer-eating-function):
15826         Doc fixes.
15827         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15828         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15829         (feedmail-message-action-scroll-down): New functions.
15830         (feedmail-queue-directory, feedmail-queue-draft-directory):
15831         Use expand-file-name.
15832         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15833         Remove C-v help entry.
15834         (feedmail-queue-buffer-file-name): New variable.
15835         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15836         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15837         (feedmail-message-action-send-strong, feedmail-message-action-edit)
15838         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15839         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15840         (feedmail-message-action-toggle-spray)
15841         (feedmail-run-the-queue-no-prompts)
15842         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15843         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15844         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15845         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15846         (feedmail-envelope-deducer, feedmail-fiddle-from)
15847         (feedmail-fiddle-sender, feedmail-default-date-generator)
15848         (feedmail-fiddle-date, feedmail-fiddle-message-id)
15849         (feedmail-fiddle-spray-address)
15850         (feedmail-fiddle-list-of-spray-fiddle-plexes)
15851         (feedmail-fiddle-list-of-fiddle-plexes)
15852         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15853         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15854         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15855         Change default.  Doc fix.
15856         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15857         (feedmail-binmail-linuxish-template): New constant.
15858         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
15859         Respect feedmail-sendmail-f-doesnt-sell-me-out.
15860         (feedmail-send-it): Add debug call.
15861         Use feedmail-queue-buffer-file-name, and
15862         feedmail-send-it-immediately-wrapper.
15863         (feedmail-message-action-send): Add debug call.
15864         Use feedmail-send-it-immediately-wrapper.
15865         (feedmail-queue-express-to-queue): Add debug call.
15866         Run feedmail-queue-express-hook.
15867         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
15868         (feedmail-message-action-help-blat):
15869         Rename from feedmail-queue-send-edit-prompt-help-first.
15870         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
15871         Check line-endings.  Handle errors better.
15872         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15873         Doc fix.  Add debug call.
15874         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
15875         Use feedmail-queue-send-edit-prompt-inner.
15876         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15877         (feedmail-queue-send-edit-prompt-inner): New function, extracted
15878         from feedmail-queue-send-edit-prompt.
15879         (feedmail-queue-send-edit-prompt-help)
15880         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15881         (feedmail-tidy-up-slug): Add debug call.
15882         Respect feedmail-queue-slug-suspect-regexp.
15883         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15884         (feedmail-dump-message-to-queue): Add debug call.
15885         Expand queue-directory.
15886         (feedmail-dump-message-to-queue): Change message slightly.
15887         Use feedmail-say-chatter.
15888         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
15889         (feedmail-send-it-immediately-wrapper): New function.
15890         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
15891         Insert empty string rather than newline.  Handle full-frame case.
15892         Use catch/throw.  Use feedmail-say-chatter.
15893         (feedmail-fiddle-from): Try mail-host-address.
15894         (feedmail-default-message-id-generator): Doc fix.
15895         Bind system-time-locale.  Handle missing end.
15896         (feedmail-fiddle-x-mailer): Add debug call.
15897         Handle feedmail-x-mailer-line being nil.
15898         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15899         Add debug call.  Use buffer-substring-no-properties.
15900         (feedmail-say-debug, feedmail-say-chatter): New functions.
15901         (feedmail-find-eoh): Give an explicit error.
15903 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
15905         * net/newst-treeview.el (newsticker-treeview-face): Change default
15906         family from helvetica to sans.
15907         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
15908         etc/images/newsticker.
15910         * net/newst-reader.el (newsticker-feed-face): Change default
15911         family from helvetica to sans.
15913         * net/newst-plainview.el (newsticker-new-item-face)
15914         (newsticker-old-item-face, newsticker-immortal-item-face)
15915         (newsticker-obsolete-item-face, newsticker-date-face)
15916         (newsticker-statistics-face): Change default family from
15917         helvetica to sans.
15918         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
15919         etc/images/newsticker.
15921         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15922         (newsticker--process-auto-mark-filter-match): Tell user about
15923         auto-marking.
15925 2011-05-13  Didier Verna  <didier@xemacs.org>
15927         Common Lisp indentation improvements on defmethod and lambda-lists.
15928         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15929         TODO entries.
15930         (lisp-lambda-list-keyword-parameter-indentation)
15931         (lisp-lambda-list-keyword-parameter-alignment)
15932         (lisp-lambda-list-keyword-alignment): New customizable user options.
15933         (lisp-indent-defun-method): Improve docstring.
15934         (extended-loop-p): Fix comment.
15935         (lisp-indent-lambda-list-keywords-regexp): New variable.
15936         (lisp-indent-lambda-list): New function.
15937         (lisp-indent-259): Use it.
15938         (lisp-indent-defmethod): Support for more than one
15939         method qualifier and properly indent methods lambda-lists.
15940         (defgeneric): Provide a missing common-lisp-indent-function property.
15942 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15944         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15945         bounds for the empty string (bug#8667).
15947 2011-05-13  Glenn Morris  <rgm@gnu.org>
15949         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15951         * mail/sendmail.el (sendmail-program): Try executable-find first.
15952         (sendmail-send-it): `sendmail-program' cannot be unbound.
15954         * calendar/appt.el (appt-make-list): Simplify.
15955         (appt-time-msg-list): Doc fix.
15956         (appt-check): Change mode-line message at the time of the appointment.
15958 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
15960         * progmodes/ld-script.el (ld-script-keywords)
15961         (ld-script-builtins): Update keywords list.
15963 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15965         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15967         * shell.el (shell-completion-vars): New function.
15968         (shell-mode):
15969         * simple.el (read-shell-command): Use it.
15970         (blink-matching-open): No need for " [...]" in minibuffer-message.
15972 2011-05-12  Glenn Morris  <rgm@gnu.org>
15974         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15975         (appt-check): Simplify.
15977 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
15979         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
15980         literal "/dev/null".
15982 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15984         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15985         Fix typo.
15987 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
15989         * progmodes/which-func.el (which-function):
15990         Use add-log-current-defun instead of add-log-current-defun-function,
15991         which might not be defined (Bug#8260).
15993 2011-05-12  Glenn Morris  <rgm@gnu.org>
15995         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15996         Let byte-compile-initial-macro-environment always take precedence.
15998 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16000         * net/rcirc.el: Add support for SSL/TLS connections.
16001         (rcirc-server-alist): New field `encryption'.
16002         (rcirc): Check `encryption' settings.
16003         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
16004         Merge make-local-variable into `set'.
16005         (rcirc--connection-open-p): New function.
16006         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
16007         the process is not a network process (e.g. running gnutls-cli).
16008         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
16009         Make rcirc-(en|de)code-coding-system local here.
16010         (rcirc-mode): Merge make-local-variable into `set'.
16011         (rcirc-parent-buffer): Make permanent buffer-local.
16012         (rcirc-multiline-minor-mode): Don't do it here.
16013         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
16014         there's no server buffer.
16016 2011-05-11  Glenn Morris  <rgm@gnu.org>
16018         * newcomment.el (comment-kill): Prefix "unused" local.
16020         * term/w32console.el (get-screen-color): Declare.
16022         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
16023         Handle symbol elements of byte-compile-initial-macro-environment.
16025 2011-05-10  Leo Liu  <sdl.web@gmail.com>
16027         * bookmark.el (bookmark-bmenu-mode-map):
16028         Bind bookmark-bmenu-search to `/'.
16030         * mail/footnote.el: Convert to utf-8 encoding.
16031         (footnote-unicode-string, footnote-unicode-regexp): New variable.
16032         (Footnote-unicode): New function.
16033         (footnote-style-alist): Add unicode style to the list.
16034         (footnote-style): Doc fix.
16036 2011-05-10  Jim Meyering  <meyering@redhat.com>
16038         Fix doubled-word typos.
16039         * international/quail.el (quail-insert-kbd-layout): and and -> and
16040         * kermit.el: and and -> and
16041         * net/ldap.el (ldap-search-internal): to to -> to
16042         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
16043         * progmodes/js.el (js-mode): and and -> and
16044         * textmodes/artist.el (artist-move-to-xy): at at -> at
16045         (artist-draw-region-trim-line-endings): if if -> if
16046         And Safetyc -> Safety.
16047         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
16049 2011-05-10  Glenn Morris  <rgm@gnu.org>
16050             Stefan Monnier  <monnier@iro.umontreal.ca>
16052         * files.el (hack-one-local-variable-eval-safep):
16053         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
16055 2011-05-10  Glenn Morris  <rgm@gnu.org>
16057         * calendar/diary-lib.el (diary-list-entries-hook)
16058         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
16059         (diary-nongregorian-marking-hook, diary-list-entries)
16060         (diary-include-other-diary-files, diary-mark-entries)
16061         (diary-mark-included-diary-files): Doc fixes.
16063 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
16065         * misc.el: Require tabulated-list.el during compilation.
16067 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
16069         * progmodes/compile.el (compilation-start):
16070         Run compilation-filter-hook for the async case too.
16071         (compilation-filter-hook): Doc fix.
16073 2011-05-09  Deniz Dogan  <deniz@dogan.se>
16075         * wdired.el: Remove outdated installation comment.  Fix usage
16076         comment.
16078 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
16080         * misc.el: Implement new command `list-dynamic-libraries'.
16081         (list-dynamic-libraries--loaded-only-p): New variable.
16082         (list-dynamic-libraries--refresh): New function.
16083         (list-dynamic-libraries): New command.
16085 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
16087         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16088         Fix the ant regexp to handle end-line and end-column info from jikes.
16089         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
16090         higher priority to avoid clobbering by gnu.
16092 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
16094         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
16095         if the face has existing theme settings (Bug#8454).
16097 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
16099         * progmodes/perl-mode.el (perl-imenu-generic-expression):
16100         Only match variables declared via `my' or `our' (Bug#8261).
16102         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
16103         special file names `.' and `..' (Bug#8259).
16105 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
16107         * progmodes/grep.el (grep-mode-font-lock-keywords):
16108         Remove buffer-changing entries.
16109         (grep-filter): New function.
16110         (grep-mode): Add it to compilation-filter-hook.
16112         * progmodes/compile.el (compilation-filter-hook)
16113         (compilation-filter-start): New defvars.
16114         (compilation-filter): Call compilation-filter-hook prior to
16115         updating the process mark.
16117 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16119         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
16121 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
16123         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
16124         mailclient-send-it even if window-system is nil.  (Bug#8595)
16126         * term/w32console.el (terminal-init-w32console):
16127         Call get-screen-color and use its output to set the frame
16128         background-mode.  (Bug#8597)
16130 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16132         Make bytecomp.el understand that defmethod defines funs (bug#8631).
16133         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
16134         New functions.
16135         (defgeneric, eieio--defmethod): Use them.
16136         (eieio-defgeneric): Remove.
16137         (defmethod): Call defgeneric in a way visible to the byte-compiler.
16139 2011-05-07  Glenn Morris  <rgm@gnu.org>
16141         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
16142         Use let rather than let*.
16143         (timeclock-find-discrep): Remove unused local.
16145         * calendar/diary-lib.el (diary-comment-start): Doc fix.
16147         * calendar/appt.el (appt-time-msg-list): Doc fix.
16149 2011-05-06  Noah Friedman  <friedman@splode.com>
16151         * apropos.el (apropos-print-doc): Only use
16152         emacs-lisp-docstring-fill-column when it is bound to an integer,
16153         per that variable's documentation.
16155 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
16157         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
16158         and warnings are not silently discarded (e.g. use -d instead of -P).
16160 2011-05-06  Glenn Morris  <rgm@gnu.org>
16162         * calendar/appt.el (appt-message-warning-time): Doc fix.
16163         (appt-warning-time-regexp): New option.
16164         (appt-make-list): Respect appt-message-warning-time.
16166         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
16167         New options.
16168         (diary-add-to-list): Strip comments from the displayed string.
16169         (diary-mode): Set comment-start and comment-end.
16171         * vc/diff-mode.el (smerge-refine-subst): Declare.
16172         (diff-refine-hunk): Don't require smerge-mode when compiling.
16174 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
16176         * simple.el (list-processes): Return nil as the docstring says.
16178 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
16180         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
16181         to "".
16182         (ange-ftp-write-region, ange-ftp-insert-file-contents)
16183         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
16184         determining of binary transfer.  (Bug#7383)
16186 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
16188         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16189         Fix port computation bug.  (Bug#8618)
16191 2011-05-05  Glenn Morris  <rgm@gnu.org>
16193         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
16195         * simple.el (shell-dynamic-complete-functions)
16196         (comint-dynamic-complete-functions): Declare.
16198         * net/network-stream.el (gnutls-negotiate):
16199         * simple.el (tabulated-list-print): Fix declarations.
16201         * progmodes/gud.el (syntax-symbol, syntax-point):
16202         Remove unnecessary and incorrect declarations.
16204         * emacs-lisp/check-declare.el (check-declare-scan):
16205         Handle byte-compile-initial-macro-environment in bytecomp.el
16207 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16209         Fix earlier half-done eieio-defmethod change (bug#8338).
16210         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
16211         Streamline and change calling convention.
16212         (defmethod): Adjust accordingly and simplify.
16213         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
16214         new eieio--defmethod.
16215         (slot-boundp): Minor CSE simplification.
16217 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
16219         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
16220         (glasses-make-readable): Use glasses-separate-capital-groups.
16222 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
16224         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
16225         (warning-series): Doc fix.
16226         (display-warning): Don't try to create the buffer if we just found it.
16228 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
16230         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
16231         (autoload-find-generated-file): New function.
16232         (generate-file-autoloads): Bind generated-autoload-file to
16233         buffer-file-name.
16234         (update-file-autoloads, update-directory-autoloads):
16235         Use autoload-find-generated-file.  If called interactively, prompt for
16236         output file (Bug#7989).
16237         (batch-update-autoloads): Doc fix.
16239 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
16241         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
16243 2011-05-04  Glenn Morris  <rgm@gnu.org>
16245         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
16246         function, so it follows changes in calendar-date-style.
16247         (diary-fancy-date-matcher): New function.
16248         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
16249         (diary-fancy-font-lock-fontify-region-function):
16250         Use diary-fancy-date-pattern as a function.
16252         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
16253         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
16255 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
16257         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
16258         instead of positional arguments.  Allow :keylist and :crlfiles
16259         arguments.
16260         (open-gnutls-stream): Call it.
16262         * net/network-stream.el (network-stream-open-starttls): Adjust to
16263         call `gnutls-negotiate' with :process and :hostname arguments.
16265 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16267         * minibuffer.el (completion--message): New function.
16268         (completion--do-completion, minibuffer-complete)
16269         (minibuffer-force-complete, minibuffer-complete-word): Use it.
16270         (completion--do-completion): Don't ignore completion-auto-help when in
16271         icomplete-mode.
16273         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
16274         internal encoding (e.g. tibetan zero is not whitespace).
16275         (global-whitespace-mode): Prefer save-current-buffer.
16276         (whitespace-trailing-regexp): Remove useless save-match-data.
16277         (whitespace-empty-at-bob-regexp): Minor simplification.
16279 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
16281         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
16283 2011-05-03  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
16285         * textmodes/ispell.el (ispell-add-per-file-word-list):
16286         Use `concat' to create string for insertion.
16288 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16290         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
16291         Avoid open-line which runs post-self-insert-hook.
16292         (bibtex-fill-entry): Remove unused `end' var.
16294 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
16296         * textmodes/ispell.el (ispell-add-per-file-word-list):
16297         Protect against `nil' value of `comment-start' (Bug#8579).
16299 2011-05-03  Leo Liu  <sdl.web@gmail.com>
16301         * isearch.el (isearch-yank-pop): New command.
16302         (isearch-mode-map): Bind it to `M-y'.
16303         (isearch-forward): Mention it.
16305 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16307         * simple.el (minibuffer-complete-shell-command): Remove.
16308         (minibuffer-local-shell-command-map): Use completion-at-point.
16309         (read-shell-command): Setup completion vars here instead.
16310         (read-expression-map): Bind TAB to symbol completion.
16312         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
16313         error directly rather via storing it into `results'.
16315 2011-05-02  Leo Liu  <sdl.web@gmail.com>
16317         * vc/diff.el: Fix description.
16319 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16321         * server.el (server-eval-at): New function.
16323 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16325         * net/network-stream.el (open-network-stream): Take a :nowait
16326         parameter and pass it on to `make-network-process'.
16327         (network-stream-open-plain): Ditto.
16329 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
16331         * faces.el (face-spec-set-match-display): Don't match toolkit
16332         options on terminal frames.
16334 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16336         * progmodes/pascal.el: Use lexical binding.
16337         (pascal-mode-map): Remove author preferences.
16339         * pcomplete.el (pcomplete-std-complete): Don't abuse
16340         completion-at-point.
16342 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
16344         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
16345         removing code that has been dead since 1991 or so.
16347         * startup.el (command-line): When warning about "_emacs", use a
16348         delayed warning to allow the user to filter it out.
16350 2011-04-28  Deniz Dogan  <deniz@dogan.se>
16352         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
16353         user has not joined.
16355 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16357         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
16358         aren't any completions at point.
16360 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
16362         * subr.el (display-delayed-warnings): New function.
16363         (delayed-warnings-hook): New variable.
16365 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16367         * minibuffer.el (completion-at-point, completion-help-at-point):
16368         Don't presume that a given completion-at-point-function will always
16369         use the same calling convention.
16371         * pcomplete.el (pcomplete-completions-at-point):
16372         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
16373         pcomplete-seen is non-nil.
16374         (pcomplete-comint-setup): Also recognize the new comint/shell
16375         completion functions.
16376         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
16377         pcomplete-seen is non-nil.
16379 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
16381         * calendar/icalendar.el (diary-lib): Add require statement.
16382         (icalendar--create-uid): Read out a uid from a text-property on
16383         the first character in the entry.  This allows for code to add its
16384         own uid to the entry.
16385         (icalendar--convert-float-to-ical): Add export of
16386         `diary-float'-entries save for those with the optional DAY
16387         argument.
16389 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
16391         * subr.el (shell-quote-argument): Use alternate escaping strategy
16392         when we spot a variable reference in a string.
16394 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
16396         * cus-start.el (all): Define customization for debug-on-event.
16398 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
16400         * subr.el (shell-quote-argument): Escape correctly under Windows.
16402 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16404         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
16406 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
16408         * net/tramp.el (tramp-process-actions): Add POS argument.
16409         Delete region between POS and (pos).
16411         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
16412         Use `nil' position in `tramp-process-actions' call.
16413         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
16415         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
16416         position in `tramp-process-actions' call.
16418         * net/trampver.el: Update release number.
16420 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16422         * custom.el (defcustom): Obey lexical-binding.
16424         Fix octave-inf completion problems reported by Alexander Klimov.
16425         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
16426         Inherit from octave-mode-syntax-table.
16427         (inferior-octave-mode): Set info-lookup-mode.
16428         (inferior-octave-completion-at-point): New function.
16429         (inferior-octave-complete): Use it and completion-in-region.
16430         (inferior-octave-dynamic-complete-functions): Use it as well, and use
16431         comint-filename-completion.
16432         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
16433         symbol elements which shouldn't be word elements.
16434         (octave-font-lock-keywords, octave-beginning-of-defun)
16435         (octave-function-header-regexp): Adjust regexps accordingly.
16436         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
16438 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
16440         * net/gnutls.el (gnutls-errorp): Declare before first use.
16442 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
16444         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
16445         verify-error, and verify-hostname-error parameters.  Check whether
16446         default trustfile exists before going to use it.  Add missing
16447         argument to gnutls-message-maybe call.  Return value.
16448         Reported by Claudio Bley <claudio.bley@gmail.com>.
16449         (open-gnutls-stream): Add usage example.
16451         * net/network-stream.el (network-stream-open-starttls): Give host
16452         parameter to `gnutls-negotiate'.
16453         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
16454         * subr.el (shell-quote-argument): Escape correctly under Windows.
16456 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
16458         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
16459         Use correct match group (bug#8438).
16461 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
16463         * emacs-lisp/package.el (package-built-in-p): Fix typo.
16464         (package-menu--generate): New arg specifying packages to show.
16465         (package-menu-refresh, package-menu-execute, list-packages):
16466         Callers changed.
16467         (package-show-package-list): New function, replacing deleted
16468         package--list-packages (renamed because it is non-internal).
16470         * finder.el (finder-list-matches): Use package-show-package-list
16471         instead of deleted package--list-packages.
16473         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
16474         Based on a previous implementation by Juanma Barranquero (Bug#8366).
16475         (vc-annotate-mode-map): Bind it to RET.
16477 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
16479         * progmodes/etags.el (next-file): Don't use set-buffer to change
16480         buffers (Bug#8478).
16482 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
16484         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
16486         * apropos.el (apropos-label-face): Avoid variable-pitch face.
16487         (apropos-accumulator): Doc fix.
16488         (apropos-function, apropos-macro, apropos-command)
16489         (apropos-variable, apropos-face, apropos-group, apropos-widget)
16490         (apropos-plist): Add face property.
16491         (apropos-symbols-internal): Fix indentation.
16492         (apropos-print): Simplify help, and recognize apropos-multi-type.
16493         (apropos-print-doc): Use button-type-get to extract the button's
16494         face property.  Fill docstring (Bug#8352).
16496 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
16498         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
16500         * play/mpuz.el (mpuz-silent): Doc fix.
16501         (mpuz-mode-map): Use mapc.
16502         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
16503         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
16504         Fix typos in docstrings.
16506         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
16507         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
16509         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
16511 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
16513         * minibuffer.el (completion--do-completion): Avoid the "Next char
16514         not unique" prompt if icomplete-mode is enabled (Bug#5849).
16516         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
16517         mouse-2 into unread-command-events, it is interpreted correctly.
16519         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
16520         (image-toggle-display): Doc fix.
16522 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
16524         * textmodes/page.el (what-page): Use line-number-at-pos to
16525         calculate line number (Bug#6825).
16527 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
16529         * eshell/esh-mode.el (find-tag-interactive): Declare function.
16530         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
16531         Pass argument NO-DEFAULT to `find-tag-interactive'.
16533 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
16535         Lexical-binding cleanup.
16537         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
16538         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
16539         * progmodes/ada-prj.el (ada-prj-initialize-values)
16540         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
16541         (ada-prj-show-value):
16542         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
16543         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
16544         (antlr-invalidate-context-cache, antlr-options-menu-filter)
16545         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
16546         * progmodes/bug-reference.el (bug-reference-push-button):
16547         * progmodes/fortran.el (fortran-line-length):
16548         * progmodes/glasses.el (glasses-change):
16549         * progmodes/octave-mod.el (octave-fill-paragraph):
16550         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
16551         (python-pdbtrack-grub-for-buffer, python-sentinel):
16552         * progmodes/sql.el (sql-save-connection):
16553         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
16554         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
16555         Mark unused parameters.
16557         * progmodes/compile.el (compilation--flush-directory-cache)
16558         (compilation--flush-parse, compile-internal): Mark unused parameters.
16559         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
16560         (compilation-next-error-function): Remove unused variable `timestamp'.
16562         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
16563         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
16565         * progmodes/dcl-mode.el (dcl-end-of-command):
16566         Remove unused variable `start'.
16567         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
16568         (dcl-option-value-basic, dcl-option-value-offset)
16569         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
16570         Mark unused parameters.
16571         (dcl-save-local-variable): Remove unused variable `val'.
16572         (mode): Declare.
16574         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
16575         Mark unused parameters.
16576         (delphi-ignore-changes): Move before first use.
16577         (delphi-charset-token-at): Remove unused variable `start'.
16578         (delphi-else-start): Remove unused variable `if-count'.
16579         (delphi-comment-block-start, delphi-comment-block-end):
16580         Remove unused variable `kind'.
16581         (delphi-indent-line): Remove unused variable `new-point'.
16583         * progmodes/ebrowse.el (ebrowse-files-list)
16584         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
16585         Mark unused parameters.  Don't quote `lambda'.
16586         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
16587         Don't quote `lambda'.
16588         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
16589         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
16590         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
16591         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
16592         Use `ignore-errors'.
16593         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
16594         (ebrowse-view/find-file-and-search-pattern)
16595         (ebrowse-view/find-member-declaration/definition):
16596         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
16597         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
16598         Rename parameter PREFIX-ARG to PREFIX.
16599         (ebrowse-tags-read-name): Remove unused variables `start' and
16600         `member-info'.
16601         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
16602         to `tags-file'.
16604         * progmodes/etags.el (local-find-tag-hook): Declare.
16605         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
16606         Mark unused parameters.
16608         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
16609         (executable-interpret): Mark unused parameter.
16611         * progmodes/flymake.el (flymake-process-sentinel)
16612         (flymake-after-change-function)
16613         (flymake-create-temp-with-folder-structure)
16614         (flymake-get-include-dirs-dot): Mark unused parameters.
16615         (flymake-safe-delete-directory): Remove unused variable `err'.
16617         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
16618         (speedbar-timer-fn, speedbar-line-text)
16619         (speedbar-change-expand-button-char, speedbar-delete-subblock)
16620         (speedbar-center-buffer-smartly): Declare functions.
16621         (gdb-find-watch-expression): Remove unused variable `array'.
16622         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
16623         (gdb-starting): Mark unused parameters.
16624         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
16625         (gdb-table-string): Remove unused variable `res'.
16626         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
16627         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
16628         (gdb-display-buffer): Remove unused variable `cur-size'.
16630         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
16631         allow lexical-binding compilation.
16632         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
16633         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
16634         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
16635         Mark unused parameters.
16636         (gud-gdb-marker-filter): Remove unused variable `match'.
16637         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
16638         lambda expressions and funcall them, instead of using `fset'.
16640         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
16641         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
16643         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
16644         variable `header-beg'; use `let'.
16646         * progmodes/icon.el (indent-icon-exp): Remove unused variables
16647         `restart', `last-sexp' and `at-do'.
16649         * progmodes/js.el (js--debug): Mark unused parameter.
16650         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
16651         (js--splice-into-items): Remove unused variable `item'.
16652         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
16654         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
16655         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
16656         (makefile-complete): Remove unused variable `try'.
16657         (makefile-fill-paragraph, makefile-match-function-end):
16658         Mark unused parameters.
16660         * progmodes/octave-inf.el (inferior-octave-complete):
16661         Remove unused variable `proc'.
16662         (inferior-octave-output-digest): Mark unused parameter.
16664         * progmodes/perl-mode.el (perl-calculate-indent):
16665         Remove unused variable `err'.
16667         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
16668         (prolog-indent-line): Mark unused parameters.
16669         (prolog-indent-line): Remove unused variable `beg'.
16671         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
16672         (reporter-dont-compact-list): Declare.
16674         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
16675         Remove unused variable `char'.
16676         (sh-debug): Mark unused parameter.
16677         (sh-get-indent-info): Remove unused variable `start'.
16678         (sh-calculate-indent): Remove unused variable `var'.
16680         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
16681         (simula-electric-keyword): Remove unused variable `null'.
16682         (simula-search-backward, simula-search-forward): Remove unused
16683         variables `begin' and `end'.
16685         * progmodes/vera-mode.el (vera-guess-basic-syntax):
16686         Remove unused variable `pos'.
16687         (vera-electric-tab, vera-comment-uncomment-region):
16688         Mark unused parameters.
16689         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
16691 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
16693         * emacs-lisp/package.el (package--builtins, package-alist)
16694         (package-load-descriptor, package-built-in-p, package-activate)
16695         (define-package, package-installed-p)
16696         (package-compute-transaction, package-buffer-info)
16697         (package--push): Doc fix.  Distinguish more clearly between
16698         version strings and version lists.
16700 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
16702         Lexical-binding cleanup.
16704         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
16705         (5x5-make-mutate-best):
16706         * play/fortune.el (fortune-in-buffer):
16707         * play/gomoku.el (gomoku-init-display):
16708         * play/solitaire.el (solitaire, solitaire-do-check):
16709         * play/tetris.el (tetris-default-update-speed-function):
16710         Mark unused parameters.
16712         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
16713         (bubbles--shift): Remove unused variable `char-org'.
16714         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
16715         (bubbles--show-images): Remove unused variable `char'.
16717         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
16718         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
16719         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
16720         (decipher-analyze-buffer): Use ?\s.
16721         (decipher-make-checkpoint): Remove unused variable `mapping'.
16723         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
16725         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
16726         Remove unused variable `result'; use `let'.
16728         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
16729         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
16730         (gametree-children-shown-p, gametree-compute-reduced-score):
16731         Use `ignore-errors'.
16733         * play/handwrite.el (ps-lpr-switches): Declare.
16734         (handwrite): Remove unused variables `pmin' and `lastp'.
16736         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
16738         * play/landmark.el (landmark-init-display)
16739         (landmark-update-naught-weights): Mark unused parameters.
16740         (landmark-y): Remove unused variable `noise'.  Simplify.
16741         (landmark-human-plays): Remove unused variable `score'.
16743         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
16744         (mpuz-try-proposal): Remove unused variable `game'.
16746         * play/zone.el (life-patterns): Declare.
16748 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
16750         * vc/vc.el (ediff-vc-internal): Declare function.
16752 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16754         * shell.el: Use lexical-binding and std completion UI.
16755         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
16756         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
16757         comint-preoutput-filter-functions rather than on
16758         comint-output-filter-functions.
16759         (shell-command-completion, shell--command-completion-data)
16760         (shell-filename-completion, shell-environment-variable-completion)
16761         (shell-c-a-p-replace-by-expanded-directory): New functions.
16762         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
16763         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
16764         (shell-dynamic-complete-environment-variable): Use them.
16765         (shell-dynamic-complete-as-environment-variable)
16766         (shell-dynamic-complete-as-command): Remove.
16767         (shell-match-partial-variable): Match past point.
16768         * comint.el: Clean up use of completion-at-point-functions.
16769         (comint-completion-at-point): New function.
16770         (comint-mode): Use it completion-at-point-functions.
16771         (comint-dynamic-complete): Make it obsolete.
16772         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
16773         (comint-c-a-p-replace-by-expanded-history): New function.
16774         (comint-dynamic-complete-functions)
16775         (comint-replace-by-expanded-history): Use it.
16776         * minibuffer.el (completion-table-with-terminator): Allow dynamic
16777         termination strings.  Try harder to avoid second try-completion.
16778         (completion-in-region-mode-map): Disable bindings that don't work yet.
16780         * comint.el: Use lexical-binding.  Require CL.
16781         (comint-dynamic-complete-functions): Use comint-filename-completion.
16782         (comint-completion-addsuffix): Tweak custom type.
16783         (comint-filename-completion, comint--common-suffix)
16784         (comint--common-quoted-suffix, comint--table-subvert)
16785         (comint--complete-file-name-data): New functions.
16786         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
16787         (comint-dynamic-list-filename-completions): Use them.
16788         (comint-dynamic-simple-complete): Make obsolete.
16790         * minibuffer.el (completion-in-region-mode):
16791         Keep completion-in-region-mode--predicate global.
16792         (completion-in-region--postch):
16793         Assume completion-in-region-mode--predicate is not null.
16795         * progmodes/flymake.el (flymake-start-syntax-check-process):
16796         Obey `dir'.  Simplify.
16798         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
16799         we're in VC after all.
16801 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
16803         * vc/vc.el (vc-diff-build-argument-list-internal)
16804         (vc-version-ediff, vc-ediff): New commands.
16805         (vc-version-diff): Use vc-diff-build-argument-list-internal.
16807 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16809         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
16810         add sanity check.
16812         * obsolete/erc-hecomplete.el: Make obsolete.
16813         * obsolete/: Standardize obsolescence info in the header.
16815 2011-04-20  Glenn Morris  <rgm@gnu.org>
16817         * calendar/solar.el (solar-horizontal-coordinates):
16818         Use the longitude argument rather than `calendar-longitude'.
16819         (solar-date-next-longitude): Remove unused locals.
16821 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
16823         * whitespace.el: New version 13.2.1.
16825 2011-04-20  felix  <EmacsWiki>  (tiny change)
16827         * whitespace.el (global-whitespace-mode): Keep highlight when
16828         switching between major modes on a file.
16830 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16832         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16833         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16834         multi-line comments as well.
16836 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
16838         Lexical-binding cleanup.
16840         * arc-mode.el (archive-mode-revert):
16841         * cmuscheme.el (scheme-interactively-start-process):
16842         * custom.el (custom-initialize-delay):
16843         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16844         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16845         * emacs-lock.el (emacs-lock-clear-sentinel):
16846         * ezimage.el (defezimage):
16847         * follow.el (follow-avoid-tail-recenter):
16848         * fringe.el (set-fringe-mode-1):
16849         * generic-x.el (bat-generic-mode-compile):
16850         * help-mode.el (help-info-variable, help-do-xref)
16851         (help-mode-revert-buffer):
16852         * help.el (view-emacs-todo):
16853         * iswitchb.el (iswitchb-completion-help):
16854         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16855         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16856         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16857         * locate.el (locate-update):
16858         * longlines.el (longlines-encode-region)
16859         (longlines-after-change-function):
16860         * outline.el (outline-isearch-open-invisible):
16861         * ps-def.el (declare-function, charset-dimension, char-width)
16862         (encode-char):
16863         * ps-mule.el (ps-mule-plot-string):
16864         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16865         (recentf-edit-list-select, recentf-edit-list-validate)
16866         (recentf-open-files-action):
16867         * rect.el (delete-whitespace-rectangle-line)
16868         (rectangle-number-line-callback):
16869         * register.el (window-configuration-to-register)
16870         (frame-configuration-to-register):
16871         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16872         * select.el (xselect-convert-to-string, xselect-convert-to-length)
16873         (xselect-convert-to-targets, xselect-convert-to-delete)
16874         (xselect-convert-to-filename, xselect-convert-to-charpos)
16875         (xselect-convert-to-lineno, xselect-convert-to-colno)
16876         (xselect-convert-to-os, xselect-convert-to-host)
16877         (xselect-convert-to-user, xselect-convert-to-class)
16878         (xselect-convert-to-name, xselect-convert-to-integer)
16879         (xselect-convert-to-atom, xselect-convert-to-identity):
16880         * subr.el (declare, ignore, process-kill-without-query)
16881         (text-clone-maintain):
16882         * terminal.el (te-get-char, te-tic-sentinel):
16883         * tool-bar.el (tool-bar-make-keymap):
16884         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16885         * type-break.el (type-break-mode, type-break-noninteractive-query):
16886         * view.el (View-back-to-mark):
16887         * wid-browse.el (widget-browse-action, widget-browse-widget)
16888         (widget-browse-widgets, widget-browse-sexp):
16889         * widget.el (define-widget-keywords):
16890         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16891         Mark unused parameters.
16893         * align.el (align-adjust-col-for-rule): Mark unused parameter.
16894         (align-areas): Remove unused variable `look'.
16895         (align-region): Remove unused variables `real-end' and `pos-list'.
16897         * apropos.el (apropos-score-doc): Remove unused variable `i'.
16899         * bindings.el (mode-line-modified, mode-line-remote):
16900         Mark unused parameters.
16901         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16903         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16904         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16906         * comint.el (comint-history-isearch-pop-state)
16907         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16908         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16909         (comint-substitute-in-file-name): Doc fix.
16911         * completion.el (cmpl-statistics-block): Mark unused parameter.
16912         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16913         (save-completions-to-file, load-completions-from-file):
16914         Remove unused local variable `e'.
16916         * composite.el (compose-chars): Remove unused variable `len'.
16917         (lgstring-insert-glyph): Remove unused variable `g'.
16918         (compose-glyph-string): Remove unused variables `ascent',
16919         `descent', `lbearing' and `rbearing'.
16920         (compose-glyph-string-relative): Remove unused variables
16921         `lbearing', `rbearing' and `wadjust'.
16922         (compose-gstring-for-graphic): Remove unused variables `header',
16923         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
16924         (compose-gstring-for-terminal): Remove unused variables `header'
16925         and `nchars'.  Use `let', not `let*'.
16927         * cus-edit.el (Custom-set, Custom-save, custom-reset)
16928         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16929         (Custom-buffer-done, custom-buffer-create-internal)
16930         (custom-browse-visibility-action, custom-browse-group-tag-action)
16931         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16932         (widget-magic-mouse-down-action, custom-toggle-parent)
16933         (custom-add-parent-links, custom-toggle-hide-variable)
16934         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16935         (custom-toggle-hide-face, face, hook, custom-group-link-action)
16936         (custom-face-menu-create, custom-variable-menu-create, get)
16937         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16938         (custom-reset-standard-save-and-update): Remove unused variable `value'.
16939         (customize-apropos): Remove unused variable `tests'.
16940         (custom-group-value-create): Remove unused variable `hidden-p'.
16941         (sort-fold-case): Declare.
16943         * cus-theme.el (custom-reset-standard-faces-list)
16944         (custom-reset-standard-variables-list): Declare.
16945         (customize-create-theme, custom-theme-revert, custom-theme-write)
16946         (custom-theme-choose-mode, customize-themes, custom-theme-save):
16947         Mark unused parameters.
16949         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16951         * delim-col.el (delimit-columns-max): Move defvar before first use.
16953         * descr-text.el (describe-char-categories): Don't quote `lambda'.
16954         (describe-char): Don't quote `lambda'.  Mark unused parameter.
16956         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16957         (auto-insert): Declare.
16958         (desktop-restore-file-buffer): Rename desktop-* parameters;
16959         mark unused ones.
16960         (desktop-create-buffer): Rename desktop-* parameters and bind them.
16961         (desktop-buffer): Rename desktop-* parameters.
16963         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16964         (dframe-reposition-frame-xemacs, dframe-help-echo)
16965         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16966         Mark unused parameters.
16968         * dired-aux.el (backup-extract-version-start, overwrite-query)
16969         (overwrite-backup-query, rename-regexp-query)
16970         (rename-non-directory-query): Declare.
16971         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16972         (dired-add-entry): Remove unused variable `orig-file-name'.
16973         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16974         Use parameter PRESERVE-TIME instead of accessing dynamic variable
16975         `dired-copy-preserve-time' directly.
16976         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16977         (dired-insert-subdir-newpos): Rename unused variable `pos'.
16979         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16980         (dired-virtual-revert, dired-make-relative-symlink):
16981         Mark unused parameters.
16982         (manual-program): Declare.
16983         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16984         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16985         wrapped in `with-no-warnings' to avoid replacing one warning by another.
16987         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16989         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16991         * echistory.el (electric-history-in-progress, Helper-return-blurb):
16992         Declare.
16994         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16996         * electric.el (Electric-command-loop): Rename parameter
16997         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16999         * expand.el (expand-in-literal): Remove unused variable `here'.
17001         * facemenu.el (facemenu-add-new-color):
17002         Remove unused variable `docstring'.
17004         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
17005         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
17006         (face-attr-construct): Mark unused parameter.  Doc fix.
17007         (read-color): Remove unused variable `hex-string'.
17009         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
17010         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
17011         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
17012         (display-buffer-other-frame): Remove unused variable `old-window'.
17013         (kill-buffer-hook): Declare.
17014         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
17015         Mark unused parameters.
17016         (after-find-file): Pass 1 to `auto-save-mode', not t.
17018         * files-x.el (auto-insert): Declare.
17019         (modify-file-local-variable-prop-line): Remove unused variable `val'.
17021         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
17022         variable `buf'.  Mark unused parameter.
17023         (find-lisp-insert-directory): Mark unused parameter.
17025         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
17026         (format-encode-region): Remove unused variables `cur-buf' and `result'.
17027         (format-common-tail): Remove, unused.
17028         (format-deannotate-region): Remove unused variable `loc'.
17029         (format-annotate-region): Remove unused variable `p'.
17030         (format-annotate-single-property-change): Remove unused variables
17031         `default' and `tail'.
17033         * forms.el (read-file-filter): Declare.
17034         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
17036         * frame.el (frame-creation-function-alist): Mark unused parameter.
17037         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
17039         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
17040         Remove unused parameters.
17041         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
17042         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
17044         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
17045         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
17046         (hfy-prepare-tag-map): Mark unused parameters.
17047         (htmlfontify-buffer): Use `called-interactively-p'.
17049         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
17050         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
17051         (ibuffer-do-occur): Mark unused parameters.
17052         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
17053         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
17055         * ibuffer.el: Don't quote `lambda'.
17056         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
17057         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
17058         Mark unused parameters.
17060         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
17061         (ido-completing-read): Mark unused parameters.
17062         (ido-copy-current-word): Mark unused parameters;
17063         remove unused variable `name'.
17064         (ido-sort-merged-list): Remove unused parameter `dirs'.
17066         * ielm.el (ielm-input-sender): Mark unused parameter.
17067         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
17068         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
17069         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
17070         `ielm-string' as a dynamic variable accessible from the IELM prompt.
17071         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
17073         * image-dired.el (image-dired-display-thumbs): Remove unused
17074         variables `curr-file' and `count'.
17075         (image-dired-remove-tag): Remove unused variable `start'.
17076         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
17077         variable `curr-file'
17078         (image-dired-rotate-original): Remove unused variable `temp-file'.
17079         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
17080         Remove unused variable `file'.
17081         (image-dired-gallery-generate): Remove unused variable `curr'.
17082         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
17084         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
17086         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
17088         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
17090         * isearch.el (minibuffer-history-symbol): Declare.
17091         (isearch-edit-string): Remove unused variable `err'.
17092         (isearch-message-prefix, isearch-message-suffix):
17093         Mark unused parameters.
17095         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
17097         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
17099         * makesum.el (double-column): Remove unused variable `cnt'.
17101         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
17102         (ido-ignore-item-temp-list): Declare.
17104         * mouse-drag.el (mouse-drag-throw): Remove unused variables
17105         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
17106         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
17107         (mouse-drag-drag): Remove unused variables `mouse-delta' and
17108         `mouse-col-delta'.
17110         * mouse-sel.el (mouse-extend-internal):
17111         Remove unused variable `orig-window-frame'.
17113         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
17114         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
17115         Move declarations before first use.
17116         (pcomplete-opt): Mark unused parameters; doc fix.
17118         * proced.el (proced-revert): Mark unused parameter.
17119         (proced-send-signal): Remove unused variable `err'.
17121         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
17122         Rename parameter PREFIX-ARG to ARG.
17123         (ps-basic-plot-string, ps-basic-plot-whitespace):
17124         Mark unused parameters.
17126         * replace.el (replace-count): Define.
17127         (occur-revert-function): Mark unused parameters.
17128         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
17129         (isearch-case-fold-search, isearch-string): Declare.
17130         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
17131         bind `case-fold-search'.  Remove unused variables `beg' and `end',
17132         and simplify.
17133         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
17134         COUNT and bind `replace-count'.
17135         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
17136         to COUNT.
17138         * savehist.el (print-readably, print-string-length): Declare.
17140         * shadowfile.el (shadow-expand-cluster-in-file-name):
17141         Remove unused variable `cluster'.
17142         (shadow-copy-file): Remove unused variable `i'.
17143         (shadow-noquery, shadow-clusters, shadow-site-cluster)
17144         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
17145         (shadow-define-literal-group, shadow-define-regexp-group)
17146         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
17148         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
17149         (shell): Use `called-interactively-p'.
17150         (shell-directory-tracker): Remove unused variable `chdir-failure'.
17152         * simple.el (compilation-context-lines, comint-file-name-quote-list)
17153         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
17154         (delete-backward-char): Remove unused variable `ocol'.
17155         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
17156         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
17157         (event-apply-hyper-modifier, event-apply-shift-modifier)
17158         (event-apply-control-modifier, event-apply-meta-modifier):
17159         Mark unused parameters.
17160         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
17161         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
17163         * speedbar.el (speedbar-ignored-directory-expressions)
17164         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
17165         (speedbar-find-file, speedbar-dir-follow)
17166         (speedbar-directory-buttons-follow, speedbar-tag-find)
17167         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
17168         (speedbar-buffers-line-directory, speedbar-buffer-click):
17169         Mark unused parameters.
17170         (speedbar-tag-file): Remove unused variable `mode'.
17171         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
17173         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
17175         * talk.el (talk): Remove unused variable `display'.
17177         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
17178         (tar-write-region-annotate): Mark unused parameter.
17180         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
17181         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
17182         Declare them, wrapped in `with-no-warnings' to avoid replacing one
17183         warning by another.
17185         * time-stamp.el (time-stamp-string-preprocess):
17186         Remove unused variable `require-padding'.
17188         * tree-widget.el (widget-glyph-enable): Declare.
17189         (tree-widget-action): Mark unused parameter.
17191         * w32-fns.el (x-get-selection): Mark unused parameter.
17192         (autoload-make-program, generated-autoload-file): Declare.
17194         * wdired.el (wdired-revert): Mark unused parameters.
17195         (wdired-xcase-word): Remove unused variable `err'.
17197         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
17198         (whitespace-help-scroll): Remove unused variable `data-help'.
17200         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
17201         (widget-image-insert, widget-after-change, default)
17202         (widget-default-format-handler, widget-default-notify)
17203         (widget-default-prompt-value, widget-info-link-action)
17204         (widget-url-link-action, widget-function-link-action)
17205         (widget-variable-link-action, widget-file-link-action)
17206         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
17207         (widget-field-prompt-internal, widget-field-action, widget-field-match)
17208         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
17209         (widget-insert-button-action, widget-delete-button-action, visibility)
17210         (widget-documentation-link-action, widget-documentation-string-action)
17211         (widget-const-prompt-value, widget-regexp-match, symbol)
17212         (widget-coding-system-prompt-value)
17213         (widget-key-sequence-value-to-external, sexp)
17214         (widget-sexp-value-to-internal, character, vector, cons)
17215         (widget-choice-prompt-value, widget-boolean-prompt-value)
17216         (widget-color--choose-action): Mark unused parameters.
17217         (widget-item-match-inline, widget-choice-match-inline)
17218         (widget-checklist-match, widget-checklist-match-inline)
17219         (widget-group-match): Rename parameter VALUES to VALS.
17220         (widget-field-value-set): Remove unused variable `size'.
17221         (widget-color-action): Remove unused variables `value' and `start'.
17223         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
17224         variable `dir'.  Doc fix.
17225         (windmove-find-other-window): Don't pass it.
17227         * window.el (count-windows): Mark unused parameter.
17228         (bw-adjust-window): Remove unused variable `err'.
17230         * woman.el (woman-file-name): Remove unused variable `default'.
17231         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
17232         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
17233         (global-font-lock-mode): Declare.
17234         (woman-decode-region): Mark unused parameter.
17235         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
17237         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
17238         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
17239         (x-dnd-handle-moz-url): Remove unused variable `title'.
17240         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
17242         * xml.el (xml-parse-tag, xml-parse-attlist):
17243         Remove unused variable `pos'.
17245 2011-04-19  Glenn Morris  <rgm@gnu.org>
17247         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
17248         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
17249         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
17250         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
17251         * calendar/cal-html.el (cal-html-insert-minical):
17252         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
17253         (calendar-mark-date-pattern):
17254         Prefix "unused" locals.
17256         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
17257         optional argument `style'.
17259         * calendar/appt.el (appt-make-list):
17260         * calendar/cal-china.el (calendar-chinese-date-string):
17261         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
17262         (diary-hebrew-yahrzeit):
17263         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
17264         * calendar/calendar.el (calendar-generate-window):
17265         * calendar/time-date.el (time-to-days):
17266         Remove unused local variables.
17268 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
17270         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
17271         glyphless-char-display table.
17272         (tabulated-list-glyphless-char-display): New var.
17274 2011-04-18  Sam Steingold  <sds@gnu.org>
17276         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
17277         to acknowledgments.
17279 2011-04-17  Glenn Morris  <rgm@gnu.org>
17281         * calendar/diary-lib.el (diary-sexp-entry):
17282         * calendar/holidays.el (holiday-sexp):
17283         Set debug-on-error rather than the removed stack-trace-on-error.
17285 2011-04-16  Glenn Morris  <rgm@gnu.org>
17287         * progmodes/f90.el: Use lexical-binding.
17288         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
17290 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17292         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
17293         (mail-mode): Setup mailalias completion here instead.
17294         * mail/mailalias.el: Use lexical-binding.
17295         (pattern, mailalias-done): Declare dynamic.
17296         (mail-completion-at-point-function): New function, from mail-complete.
17297         (mail-complete): Use it.
17298         (mail-completion-expand): New function.
17299         (mail-get-names): Use it.
17300         (mail-directory, mail-directory-process, mail-directory-stream):
17301         Don't use `pattern' for lexically bound arg.
17303         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
17305         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
17306         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
17307         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
17309         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
17310         (byte-save-window-excursion, byte-temp-output-buffer-setup)
17311         (byte-interactive-p): Define them again, for use when inlining
17312         old code.
17314 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
17316         * loadup.el: Use `string-to-number', not `string-to-int'.
17318 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17320         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
17321         gud-gdb-complete-command.
17322         (gud-gdb-completions): New function, from gud-gdb-complete-command.
17323         (gud-gdb-completion-at-point): New function.
17324         (gud-gdb-completions): Remove.
17326 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
17328         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
17329         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
17330         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
17331         whether `executable-find' is bound.
17333         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
17335 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17337         * minibuffer.el (completion-in-region-mode-predicate)
17338         (completion-in-region-mode--predicate): New vars.
17339         (completion-in-region, completion-in-region--postch)
17340         (completion-in-region-mode): Use them.
17341         (completion--capf-wrapper): Also return the hook function.
17342         (completion-at-point, completion-help-at-point):
17343         Adjust and provide a predicate.
17345         Preserve arg names for advice of subr and lexical functions (bug#8457).
17346         * help-fns.el (help-function-arglist): Consolidate the subr and
17347         new-byte-code cases.  Add argument `preserve-names' to extract names
17348         from the docstring when needed.
17349         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
17350         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
17351         (ad-arglist): Use help-function-arglist's new arg.
17352         (ad-definition-type): Use cond.
17354 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
17356         * autorevert.el (auto-revert-handler):
17357         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
17358         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
17359         Don't quote lambda.
17361         * image-mode.el (image-transform-set-scale):
17362         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
17364 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17366         * net/network-stream.el (network-stream-open-starttls): Only do
17367         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
17368         Upgrades via gnutls-cli are too slow to be done opportunistically.
17370 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
17372         * dframe.el (dframe-current-frame): Remove spurious quote.
17374 2011-04-12  Glenn Morris  <rgm@gnu.org>
17376         * calendar/cal-tex.el (cal-tex-end-document):
17377         Try to automatically use latin1 input if needed.
17379         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
17380         Don't try to cons a mark onto an empty element.
17382 2011-04-11  Leo Liu  <sdl.web@gmail.com>
17384         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
17385         buffers.
17386         (ido-kill-buffer-at-head): Support killing virtual buffers.
17388 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
17390         * minibuffer.el (completion-show-inline-help): New var.
17391         (completion--do-completion, minibuffer-complete)
17392         (minibuffer-force-complete, minibuffer-complete-word):
17393         Inhibit minibuffer messages if completion-show-inline-help is nil.
17395         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
17396         to avoid interference from inline help (Bug#5849).
17398 2011-04-10  Leo Liu  <sdl.web@gmail.com>
17400         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
17401         Fix typo.
17403 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
17405         * image-mode.el (image-toggle-display-image): Signal an error if
17406         not in Image mode.
17407         (image-transform-mode, image-transform-resize)
17408         (image-transform-set-rotation): Doc fix.
17409         (image-transform-set-resize): Delete.
17410         (image-transform-set-scale, image-transform-fit-to-height)
17411         (image-transform-fit-to-width): Handle image-toggle-display-image
17412         and image-transform-resize directly.
17414 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
17416         * doc-view.el (doc-view-fit-width-to-window)
17417         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
17418         New functions for fitting the shown image to the Emacs window size.
17419         (doc-view-mode-map): Add bindings for the new functions.
17421 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
17423         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
17424         Fix typo in docstring.
17426 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
17428         * files.el (file-size-human-readable): Produce one digit after
17429         decimal, like "ls -lh" does.
17431         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
17432         the file size representation.
17434         * simple.el (list-processes): If async subprocesses are not
17435         available, error out with a clear error message.
17437 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
17439         * help.el (help-form-show): New function, to be called from C.
17440         Put help-form output in a buffer named differently than *Help*.
17442 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
17444         * files.el (file-size-human-readable): New function.
17446         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
17447         computing the representation inline.  Don't require `cl'.
17449 2011-04-08  Glenn Morris  <rgm@gnu.org>
17451         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
17453         * net/browse-url.el (browse-url-firefox):
17454         Test system-type, not system-configuration.
17456         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
17457         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
17458         Use log-edit-empty-buffer-p.  (Bug#7598)
17460         * net/rlogin.el (rlogin-process-connection-type): Simplify.
17461         (rlogin-mode-map): Initialize in the defvar.
17462         (rlogin): Use ignore-errors.
17464         * replace.el (occur-mode-map): Some fixes for menu items.
17466 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
17468         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
17470 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
17472         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
17473         issuing unused warnings.
17475         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
17476         macro directly.
17478         * simple.el: Lisp reimplement of list-processes.  Based on an
17479         earlier reimplementation by Leo Liu, but using tabulated-list.el.
17480         (process-menu-mode): New major mode.
17481         (list-processes--refresh, list-processes):
17482         (process-menu-visit-buffer): New functions.
17484         * files.el (save-buffers-kill-emacs): Don't assume any return
17485         value of list-processes, which is undocumented anyway.
17487 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
17489         * emacs-lisp/tabulated-list.el: New file.
17491         * emacs-lisp/package.el: Use Tabulated List mode.
17492         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
17493         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
17494         table format using Tabulated List mode variables.
17495         (package--push): New macro, replacing package-list-maybe-add.
17496         (package-menu--generate): Use package--push.  Renamed from
17497         package--generate-package-list.
17498         (package-menu-refresh, list-packages): Use it.
17499         (package-menu--print-info): Rename from package-print-package.
17500         Return insertion data instead of inserting it directly.
17501         (package-menu-describe-package, package-menu-execute):
17502         Use tabulated-list-get-id.
17503         (package-menu-mark-delete, package-menu-mark-install)
17504         (package-menu-mark-unmark, package-menu-backup-unmark)
17505         (package-menu-mark-obsolete-for-deletion):
17506         Use tabulated-list-put-tag.
17507         (package--list-packages, package-menu-revert)
17508         (package-menu-get-package, package-menu-get-version)
17509         (package-menu-sort-by-column): Functions deleted.
17510         (package-menu-package-list, package-menu-sort-key): Vars deleted.
17511         (package-menu--status-predicate, package-menu--version-predicate)
17512         (package-menu--name-predicate)
17513         (package-menu--description-predicate): Handle arguments in the
17514         Tabulated List format.
17515         (package-list-packages-no-fetch): Call list-packages.
17517 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
17519         * files.el (after-find-file-from-revert-buffer): Remove variable.
17520         (after-find-file): Don't bind it.
17521         (revert-buffer-in-progress-p): New variable.
17522         (revert-buffer): Bind it.
17523         Pass nil for `after-find-file-from-revert-buffer'.
17525         * saveplace.el (save-place-find-file-hook): Use new variable
17526         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
17528 2011-04-06  Glenn Morris  <rgm@gnu.org>
17530         * Makefile.in (AUTOGEN_VCS): New variable.
17531         (autoloads): Use $AUTOGEN_VCS.
17533         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
17534         * calendar/calendar.el (calendar-mode-map):
17535         Check for toolkit scroll bars.  (Bug#8305)
17537 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
17539         * minibuffer.el (completion-in-region--postch)
17540         (completion-in-region-mode): Remove unnecessary messages.
17542 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
17544         * font-lock.el (font-lock-refresh-defaults):
17545         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
17546         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
17548         * info.el (Info-directory-list, Info-read-node-name-2)
17549         (Info-split-parameter-string): Doc fixes.
17550         (Info-virtual-nodes): Reflow docstring.
17551         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
17552         (Info-apropos-toc-nodes, info-finder, Info-get-token)
17553         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
17554         Fix typos in docstrings.
17555         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
17556         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
17557         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
17558         (Info-restore-desktop-buffer): Mark unused parameters.
17559         (Info-directory-find-file, Info-directory-find-node)
17560         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
17561         (Info-virtual-index-find-node, Info-apropos-find-file)
17562         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
17563         Mark unused parameters; fix typos in docstrings.
17564         (Info-virtual-index): Remove unused local variable `nodename'.
17566 2011-04-05  Deniz Dogan  <deniz@dogan.se>
17568         * net/rcirc.el: Update my e-mail address.
17569         (rcirc-mode-map): Remove M-o binding.
17571 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
17573         * startup.el (command-line): Save the cursor's theme-face
17574         directly, instead of using face-override-spec.
17576         * custom.el (load-theme): Minor optimization in assigning faces.
17578 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
17580         * help-fns.el (describe-variable): Complete all variables having
17581         documentation, including keywords.
17582         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
17584 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
17586         Convert to lexical-binding.
17588         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
17589         (bs--get-marked-string, bs--get-modified-string)
17590         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
17591         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
17592         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
17594         * ehelp.el (electric-help-execute-extended)
17595         (electric-help-ctrl-x-prefix):
17596         * hexl.el (hexl-revert-buffer-function):
17597         * linum.el (linum-after-change, linum-after-scroll):
17598         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
17600         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
17602 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
17604         * epa-dired.el:
17605         * epa-mail.el:
17606         * epa-hook.el:
17607         * epa-file.el:
17608         * epa.el:
17609         * epg.el: Use lexical binding.
17611 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
17613         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
17615         * textmodes/flyspell.el (flyspell-word): Recognize default
17616         dictionary case for flyspell-mark-duplications-exceptions.
17617         Use regexp matching for languages.
17618         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
17619         default dictionary (Bug#7926).
17621 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
17623         * emacs-lisp/package.el (package--with-work-buffer):
17624         Recognize https URLs.
17626         * net/network-stream.el: Move from gnus/proto-stream.el.
17627         Change prefix to network-stream throughout.
17628         (open-protocol-stream): Merge into open-network-stream, leaving
17629         open-protocol-stream as an alias.  Handle nil BUFFER args.
17631         * subr.el (open-network-stream): Move to net/network-stream.el.
17633 2011-04-02  Glenn Morris  <rgm@gnu.org>
17635         * find-dired.el (find-exec-terminator): New option.
17636         (find-ls-option): Test for -ls support.
17637         (find-ls-subdir-switches): Test for -b in find-ls-option.
17638         (find-dired, find-grep-dired): Doc fixes.
17639         (find-dired): Use find-exec-terminator.
17641         * find-dired.el (find-ls-option, find-ls-subdir-switches)
17642         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
17643         (find-name-arg): Remove purecopy.
17645         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
17646         (grep-compute-defaults): Check for `-exec COMMAND +' support.
17647         Set grep-find-use-xargs, grep-find-command, and grep-find-template
17648         accordingly.  Don't add the null-device if not needed.
17650         * files.el (save-some-buffers): Doc fix.
17652 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
17654         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
17656 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
17658         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
17659         Use `dolist' rather than `mapcar'.
17661 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17663         Add lexical binding.
17665         * subr.el (apply-partially): Use new closures rather than CL.
17666         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
17667         (dolist, dotimes): Use slightly different expansion for lexical code.
17668         (functionp): Move to C.
17669         (letrec): New macro.
17670         (with-wrapper-hook): Use it and apply-partially instead of CL.
17671         (eval-after-load): Preserve lexical-binding.
17672         (save-window-excursion, with-output-to-temp-buffer): Turn them
17673         into macros.
17675         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
17677         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
17678         than the arglist.
17679         (help-add-fundoc-usage): Don't add `Not documented'.
17680         (help-function-arglist): Handle closures, subroutines, and new
17681         byte-code-functions.
17682         (help-make-usage): Remove leading underscores.
17683         (describe-function-1): Handle closures.
17684         (describe-variable): Use special-variable-p for completion.
17686         * files.el (lexical-binding): Declare safe.
17688         * emacs-lisp/pcase.el: Don't use destructuring-bind.
17689         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
17690         (pcase): Add `let' pattern.
17691         Change memoization so it actually works.
17692         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
17693         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
17694         <let>: New case.
17696         * emacs-lisp/macroexp.el: Use lexical binding.
17697         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
17698         Don't convert ' to #' without checking that it's indeed quoting
17699         a lambda.
17701         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
17702         Use eval-sexp-add-defvars.
17703         (eval-sexp-add-defvars): New fun.
17705         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
17707         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
17708         Don't autoload.
17709         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
17710         than the internal `byte-compile-lambda'.
17711         (defmethod): Don't hide code under quotes.
17712         (eieio-defmethod): New `code' argument.
17714         * emacs-lisp/eieio-comp.el: Remove.
17716         * emacs-lisp/edebug.el (edebug-eval-defun)
17717         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
17718         (edebug-toggle): Avoid `eval'.
17720         * emacs-lisp/disass.el (disassemble-internal): Handle new
17721         `closure' objects.
17722         (disassemble-1): Handle new byte codes.
17724         * emacs-lisp/cl.el (pushnew): Silence warning.
17726         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
17727         (cl-byte-compile-throw): Remove.
17728         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
17730         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
17731         closures.
17733         * emacs-lisp/cconv.el: New file.
17735         * emacs-lisp/bytecomp.el: Use lexical binding instead of
17736         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
17737         (byte-compile-initial-macro-environment):
17738         Handle declare-function here.
17739         (byte-compile--lexical-environment): New var.
17740         (byte-stack-ref, byte-stack-set, byte-discardN)
17741         (byte-discardN-preserve-tos): New lap codes.
17742         (byte-interactive-p): Don't use any more.
17743         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
17744         New macros.
17745         (byte-compile-lapcode): Use them and handle new lap codes.
17746         (byte-compile-obsolete): Remove.
17747         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
17748         (byte-compile-arglist-warn): Check late def of inlinable funs.
17749         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
17750         since they should have been expanded by now.
17751         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
17752         (byte-compile-from-buffer): Remove unused second arg.
17753         (byte-compile-preprocess): New function.
17754         (byte-compile-toplevel-file-form): New function to distinguish
17755         file-form calls from outside from file-form calls from hunk-handlers.
17756         (byte-compile-file-form): Simplify.
17757         (byte-compile-file-form-defsubst): Remove.
17758         (byte-compile-file-form-defmumble): Simplify now that
17759         byte-compile-lambda always returns a byte-code-function.
17760         (byte-compile): Preprocess.
17761         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
17762         Remove, not used any more.
17763         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
17764         (byte-compile-make-args-desc): New funs.
17765         (byte-compile-lambda): Handle lexical functions.  Always return
17766         a byte-code-function.
17767         (byte-compile-reserved-constants): New var, to make up room for
17768         closed-over variables.
17769         (byte-compile-constants-vector): Obey it.
17770         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
17771         (byte-compile-macroexpand-declare-function): New function.
17772         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
17773         byte-code-functions.
17774         (byte-compile-form): Check obsolescence here.
17775         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
17776         (byte-compile-variable-ref): Remove.
17777         (byte-compile-dynamic-variable-op): New fun.
17778         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17779         (byte-compile-variable-set): New funs.
17780         (byte-compile-discard): Add 2 args.
17781         (byte-compile-stack-ref, byte-compile-stack-set)
17782         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
17783         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
17784         macroexpand-all instead.
17785         (byte-compile-quote-form): Remove.
17786         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
17787         (byte-compile-bind, byte-compile-unbind): New funs.
17788         (byte-compile-let): Handle let* and lexical binding.
17789         (byte-compile-let*): Remove.
17790         (byte-compile-catch, byte-compile-unwind-protect)
17791         (byte-compile-track-mouse, byte-compile-condition-case):
17792         Handle a new :fun-body form, used for lexical scoping.
17793         (byte-compile-save-window-excursion)
17794         (byte-compile-with-output-to-temp-buffer): Remove.
17795         (byte-compile-defun): Simplify.
17796         (byte-compile-stack-adjustment): New fun.
17797         (byte-compile-out): Use it.
17798         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
17800         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
17801         handler any more.
17803         * emacs-lisp/byte-opt.el: Use lexical binding.
17804         (byte-inline-lapcode): Remove (to bytecomp).
17805         (byte-compile-inline-expand): Pay attention to inlining to/from
17806         lexically bound code.
17807         (byte-compile-unfold-lambda): Don't handle byte-code-functions
17808         any more.
17809         (byte-optimize-form-code-walker): Don't handle save-window-excursion
17810         any more and don't call compiler-macros.
17811         (byte-compile-splice-in-already-compiled-code): Remove.
17812         (byte-code): Don't inline any more.
17813         (disassemble-offset): Receive `bytes' as argument rather than via
17814         dynamic scoping.
17815         (byte-compile-tag-number): Declare before first use.
17816         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17817         `return' even if make-spliceable.
17818         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17819         obsolete interactive-p.
17820         (byte-optimize-lapcode): Optimize new lap-codes.
17821         Don't trip up on new form of `byte-constant' lap code.
17823         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17825         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17827         * custom.el (custom-initialize-default, custom-declare-variable):
17828         Use `defvar'.
17830         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17831         New variables.
17832         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17833         (COMPILE_FIRST): Add macroexp and cconv.
17834         * makefile.w32-in: Mirror changes in Makefile.in.
17836         * vc/cvs-status.el:
17837         * vc/diff-mode.el:
17838         * vc/log-edit.el:
17839         * vc/log-view.el:
17840         * vc/smerge-mode.el:
17841         * textmodes/bibtex-style.el:
17842         * textmodes/css-mode.el:
17843         * startup.el:
17844         * uniquify.el:
17845         * minibuffer.el:
17846         * newcomment.el:
17847         * reveal.el:
17848         * server.el:
17849         * mpc.el:
17850         * emacs-lisp/smie.el:
17851         * doc-view.el:
17852         * dired.el:
17853         * abbrev.el: Use lexical binding.
17855 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
17857         * info.el (info-display-manual): New function.
17859 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17861         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17863 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
17865         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
17866         an entry for that server in rcirc-authinfo.  (Bug#8385)
17868 2011-03-31  Glenn Morris  <rgm@gnu.org>
17870         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17872         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17874 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
17876         * progmodes/python.el (python-default-interpreter)
17877         (python-python-command-args, python-jython-command-args)
17878         (python-which-shell, python-which-args, python-which-bufname)
17879         (python-file-queue, python-comint-output-filter-function)
17880         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17881         variables and functions.
17883 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17885         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17886         (completion-in-region-mode): New minor mode.
17887         (completion-in-region): Use it.
17888         (completion-in-region--data, completion-in-region-mode-map): New vars.
17889         (completion-in-region--postch): New function.
17890         (completion--capf-misbehave-funs, completion--capf-safe-funs):
17891         New vars.
17892         (completion--capf-wrapper): New function.
17893         (completion-at-point): Use it to track well-behavedness of
17894         hook functions.
17895         (completion-help-at-point): New command.
17897 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
17899         * vc/add-log.el (add-change-log-entry): Don't use whitespace
17900         syntax class to search for whitespace on a single line
17901         (Message-ID: <4D938140.4030905@redhat.com>).
17903 2011-03-30  Leo Liu  <sdl.web@gmail.com>
17905         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17906         New commands.
17907         (edit-abbrevs-map): Bind them here.
17908         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
17910 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
17912         * allout.el (allout-hide-by-annotation, allout-flag-region):
17913         Reduce possibility of overlay leakage by making them volatile.
17915         * allout-widgets.el (allout-widgets-tally): Define as nil so the
17916         hash is not shared between buffers.  Mode initialization is
17917         responsible for giving it a useful starting value.
17918         (allout-item-span): Reduce possibility of overlay leakage by
17919         making them volatile.
17920         (allout-widgets-count-buttons-in-region): Add diagnostic function
17921         for tracking down button overlay leaks.
17923 2011-03-29  Leo Liu  <sdl.web@gmail.com>
17925         * ido.el (ido-read-internal): Use the default history var
17926         minibuffer-history if no HISTORY is specified.
17928 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
17930         * net/imap.el (imap-shell-open, imap-process-connection-type):
17931         Use imap-process-connection-type for 'shell' streams as well as
17932         Kerberos, SSL, other subprocesses.
17934 2011-03-28  Leo Liu  <sdl.web@gmail.com>
17936         * abbrev.el (abbrev-table-empty-p): New function.
17937         (prepare-abbrev-list-buffer): Place empty abbrev tables after
17938         nonempty ones.  (Bug#5937)
17940 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
17942         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17944 2011-03-27  Leo Liu  <sdl.web@gmail.com>
17946         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17947         for foreground and background colors.
17948         (ansi-color-make-color-map): Adapt.
17950 2011-03-25  Leo Liu  <sdl.web@gmail.com>
17952         * midnight.el (midnight-time-float): Remove.  Note it calculates
17953         the microsecond component incorrectly and seconds-to-time does the
17954         same job.
17955         Remove redundant (require 'timer).
17957         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17958         (ido-completions): Remove unused arguments.  (Bug#8329)
17960 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17962         * minibuffer.el (completion--flush-all-sorted-completions):
17963         Remove itself from hook.
17964         (completion-at-point): Let the functions perform the completion
17965         immediately and return nil or t.
17966         * comint.el (comint-dynamic-complete-functions): Now identical to
17967         completion-at-point-functions.
17968         (comint-dynamic-list-input-ring): Remove unused var `index'.
17969         (comint--match-partial-filename, comint--unquote&expand-filename):
17970         New funs, split from comint-match-partial-filename.
17971         (comint-dynamic-complete): Use completion-at-point.
17972         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17974 2011-03-24  Drew Adams  <drew.adams@oracle.com>
17976         * thingatpt.el: Support `defun'.
17978 2011-03-23  Leo Liu  <sdl.web@gmail.com>
17980         * abbrevlist.el: Move to obsolete/abbrevlist.el.
17982         * help-mode.el (help-mode-finish): Tweak regexp.
17984 2011-03-23  Glenn Morris  <rgm@gnu.org>
17986         * eshell/esh-opt.el (eshell-eval-using-options):
17987         Do not bind unused local variable `eshell-option-stub'.
17989         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17991 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
17993         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17994         keymap variable in `with-no-warnings' to avoid a warning when the
17995         keymap has been already `defconst'ed.
17997 2011-03-22  Leo Liu  <sdl.web@gmail.com>
17999         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
18000         encode all chars in abbrevs; otherwise use emacs-mule or
18001         utf-8-emacs.  (Bug#8308)
18003 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
18005         * simple.el (backward-delete-char-untabify):
18006         Avoid warning about using `delete-backward-char'.
18008         * image.el (image-type-file-name-regexps): Make it variable.
18009         `imagemagick-register-types' modifies it, and the user may want
18010         to add new extensions for known image types.
18011         (imagemagick-register-types): Throw error if not using ImageMagick.
18013 2011-03-22  Leo Liu  <sdl.web@gmail.com>
18015         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
18016         located before rcirc-prompt-end-marker.
18017         (rcirc-complete): Error if point is not after rcirc prompt.
18018         Handle the case when table is nil.
18019         (rcirc-user-authenticated): Define to fix compiler warning.
18021 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
18023         * custom.el (custom--inhibit-theme-enable): Make it affect only
18024         custom-theme-set-variables and custom-theme-set-faces.
18025         (provide-theme): Ignore custom--inhibit-theme-enable.
18026         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
18027         (custom-enabling-themes): Delete variable.
18028         (enable-theme): Accept only loaded themes as arguments.
18029         Ignore the special custom-enabled-themes variable.
18030         (custom-enabled-themes): Forbid themes from setting this.
18031         Eliminate use of custom-enabling-themes.
18032         (custom-push-theme): Quote "changed" custom var entry.
18034 2011-03-21  Leo Liu  <sdl.web@gmail.com>
18036         * ido.el (ido-read-internal): Add ido-selected to history instead
18037         of user input.
18039 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18041         * subr.el (deferred-action-list, deferred-action-function):
18042         Mark obsolete.
18044 2011-03-21  Leo Liu  <sdl.web@gmail.com>
18046         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
18047         change on 2011-02-13 (bug#8309).
18049         * minibuffer.el (read-file-name-function): Change default value.
18050         (read-file-name--defaults): Rename from read-file-name-defaults.
18051         (read-file-name-default): Rename from read-file-name.
18052         (read-file-name): Call read-file-name-function.
18054 2011-03-21  Glenn Morris  <rgm@gnu.org>
18056         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
18057         Doc fixes.
18059 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
18061         * cus-theme.el: Add missing provide statement.
18062         (customize-create-theme): Extract theme value correctly.
18063         (custom-theme-visit-theme): Autoload.
18064         (customize-create-theme): Prompt before inserting default faces.
18066 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
18068         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
18069         units and musical notes.
18071 2011-03-20  Leo Liu  <sdl.web@gmail.com>
18073         * ido.el (ido-read-internal): Use completing-read-default.
18074         (ido-completing-read): Fix compatibility with completing-read.
18076 2011-03-20  Christian Ohler  <ohler@gnu.org>
18078         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
18079         (ert-delete-all-tests): Use `called-interactively-p' rather than
18080         `interactive-p'.
18081         (ert--make-xrefs-region): Respect END.
18083 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
18085         * dired-aux.el (dired-create-directory): Signal an error if the
18086         directory already exists (Bug#8246).
18088         * facemenu.el (list-colors-display): Call list-faces-display
18089         inside with-help-window.
18090         (list-colors-print): Use display property to align the final
18091         column, instead of checking window-width.
18093 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
18095         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
18096         windows-nt systems.
18097         (emerge-protect-metachars): Quote correctly for ms-dos and
18098         windows-nt systems.
18100 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
18102         * info.el (info-initialize): Replace all uses of `:' with
18103         path-separator for compatibility with non-Unix systems.
18104         Cache quoting of path-separator.  (Bug#8258)
18106 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
18108         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
18109         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
18110         (mouse-avoidance-mode): Fix typos in docstrings.
18112 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
18114         * startup.el (package-subdirectory-regexp): Move from package.el.
18115         Omit \\` and \\', and let callers add them.
18117         * emacs-lisp/package.el (package-strip-version)
18118         (package-load-all-descriptors): Add \\` and \\' to
18119         package-subdirectory-regexp before using it.
18120         (package-untar-buffer): New arg DIR; ensure that file untars only
18121         into this expected directory.  Remove superfluous delete-region.
18122         (package-unpack): Caller changed.
18123         (package-tar-file-info): Use package-subdirectory-regexp.
18125 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18127         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
18128         diff-mode-shared-map (bug#8284).
18129         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
18131 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18133         * calendar/time-date.el (format-seconds): Use assoc instead of
18134         assoc-string, since assoc-string doesn't exist in XEmacs.
18136 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
18138         * custom.el (custom-known-themes): Reflow docstring.
18139         (custom-theme-load-path): Fix typo in docstring.
18140         (load-theme): Fix typo in error message.
18141         (custom-available-themes, custom-variable-theme-value):
18142         Use `let', not `let*'.
18144 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
18146         * calc/README: Mention inclusion of musical notes.
18148         * calc/calc-units.el (calc-lu-quant): Rename from
18149         `calc-logunits-quantity'.
18150         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
18151         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
18152         (calc-db): Rename from `calc-dblevel'.
18153         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
18154         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
18155         (calc-np): Rename from `calc-nplevel'.
18156         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
18157         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
18158         (calc-lu-plus): Rename from `calc-logunits-add'.
18159         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
18160         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
18161         (calc-lu-minus): Rename from `calc-logunits-sub'.
18162         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
18163         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
18164         (calc-lu-times): Rename from `calc-logunits-mul'.
18165         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
18166         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
18167         (calc-lu-divide): Rename from `calc-logunits-div'.
18168         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
18169         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
18171         * calc/calc-ext.el (calc-init-extensions): Update the names of the
18172         functions being autoloaded.
18174         * calc/calc.el (calc-lu-power-reference): Rename from
18175         `calc-logunits-power-reference'.
18176         (calc-lu-field-reference): Rename from
18177         `calc-logunits-field-reference'.
18179         * calc/calc-help.el (calc-l-prefix-help):
18180         Mention musical note functions.
18182 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18184         * minibuffer.el (completion-all-sorted-completions):
18185         Use :completion-cycle-penalty text property if present.
18187 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
18189         * allout.el (allout-yank-processing): Adjust for new rebulleting
18190         regime so bullet being yanked is used without prompting the user
18191         for a choice.
18193 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
18195         * startup.el (command-line): Warn the user that _emacs is deprecated.
18197 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
18199         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
18200         (delphi-verbose, delphi-comment-face, delphi-string-face)
18201         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
18202         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
18203         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
18204         (delphi-new-comment-line, delphi-font-lock-defaults)
18205         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
18206         Fix typos in docstrings.
18208 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
18210         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
18211         Invert the roles of character and string values for INSTEAD, so a
18212         string is used for the more common case of a defaulting prompt.
18214 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18216         * progmodes/ruby-mode.el (ruby-backward-sexp):
18217         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
18218         * play/gamegrid.el (gamegrid-make-face):
18219         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
18220         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
18221         * notifications.el (notifications-notify):
18222         * net/xesam.el (xesam-search-engines):
18223         * net/quickurl.el (quickurl-list-insert):
18224         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
18226 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
18228         * startup.el (command-line): Update package subdirectory regexp.
18230 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18232         * allout.el (allout-abbreviate-flattened-numbering)
18233         (allout-mode-deactivate-hook): Fix up obsolescence "date".
18235         * subr.el (read-char-choice): Only show the cursor after the prompt,
18236         not after the answer.
18238 2011-03-15  Kevin Ryde  <user42@zip.com.au>
18240         * help-fns.el (variable-at-point): Skip leading quotes, if any
18241         (bug#8253).
18243 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18245         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
18246         warning message.
18248 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
18250         * shell.el (shell): When called interactively, offer to change the
18251         shell file name on remote hosts.
18253 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
18255         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
18256         integration for LDAP parameters.  The host, base, user or binddn,
18257         and secret tokens can be specified in a netrc file, for instance.
18258         This is optional because an `auth-source' parameter must be
18259         specified in the search attributes.
18261 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
18263         * help.el (describe-mode): Link to the mode's definition (bug#8185).
18265 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18267         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
18268         into declaration.  Remove redundant and harmful binding.
18270 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
18272         * files.el (file-ownership-preserved-p): Pass `integer' as an
18273         explicit 2nd argument to `file-attributes'.  If the file's owner
18274         is the Administrators group on Windows, and the current user is
18275         Administrator, consider that a match.
18277         * server.el (server-ensure-safe-dir): Consider server directory
18278         safe on MS-Windows if its owner is the Administrators group while
18279         the current Emacs user is Administrator.  Use `=' to compare
18280         numerical UIDs, since they could be integers or floats.
18282 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
18284         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
18286 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
18288         Sync with Tramp 2.2.1.
18290         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
18292         * net/trampver.el: Update release number.
18294 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18296         * progmodes/compile.el (compilation--previous-directory): Fix up
18297         various nil/dead-marker mismatches (bug#8014).
18298         (compilation-directory-properties, compilation-error-properties):
18299         Don't call it at a position past the one we're about to change.
18301         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
18302         Disable obsolescence warnings in the file that declares it.
18304 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
18306         * allout-widgets.el (allout-widgets-tally):
18307         Initialize allout-widgets-tally as a hash table rather than nil to
18308         prevent mode-line redisplay warnings.  Also, clarify the module
18309         description and fix a comment typo.
18311 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
18313         * help-fns.el (describe-variable): Don't complete keywords.
18314         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
18316 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
18318         * emacs-lisp/package.el (package-version-join): Impose a standard
18319         string representation for pre/alpha/beta version lists.
18320         (package-unpack-single): Standardize the directory name by passing
18321         it through package-version-join.
18322         (package-strip-rcs-id): Accept any version string that does not
18323         signal an error in version-to-list.
18325 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
18327         * simple.el (delete-trailing-whitespace): Return nil for the
18328         benefit of `write-file-functions'.
18330 2011-03-10  Glenn Morris  <rgm@gnu.org>
18332         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
18334         * vc/vc-git.el (vc-git-program): New option.
18335         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
18336         (vc-git--call): Use it.
18338         * eshell/esh-util.el (eshell-condition-case): Doc fix.
18340         * cus-edit.el (Custom-newline): If no button at point, look
18341         for a subgroup button at start-of-line.  (Bug#2298)
18343         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
18345 2011-03-10  Julien Danjou  <julien@danjou.info>
18347         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
18348         `cursor-type' is nil.
18350 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
18352         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
18354 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
18356         * allout.el: Change so yank of distinctive-bullet items
18357         preserves the existing header prefix, rebulleting it if necessary,
18358         rather than replacing it.  This is necessary for proper operation
18359         of cooperative addons like allout-widgets.
18360         (allout-make-topic-prefix, allout-rebullet-heading):
18361         Change SOLICIT arg to INSTEAD, and interpret additionally a string
18362         value as alternate bullet to be used, instead of prompting the user
18363         for a bullet character.
18365 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
18367         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18368         Do not use `tramp-file-name-port', because this returns also
18369         `tramp-default-port'.
18371 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
18373         * net/rcirc.el (rcirc-handler-001): Remove useless
18374         with-rcirc-process-buffer.
18375         (rcirc-check-auth-status): Swap arguments to string-match.
18377 2011-03-09  Glenn Morris  <rgm@gnu.org>
18379         * shell.el (shell-mode):
18380         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
18382         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
18383         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
18385 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
18387         * emacs-lisp/package.el (package-refresh-contents)
18388         (package-menu-execute): Use condition-case-no-debug.
18390 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
18392         * simple.el (shell-command-to-string): Use `process-file'.
18394         * emacs-lisp/package.el (package-tar-file-info): Handle also
18395         remote files.
18397         * emacs-lisp/package-x.el (package-upload-buffer-internal):
18398         Use `equal' for upload base check.
18400 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
18402         * textmodes/texinfo.el (texinfo-environments):
18403         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
18405 2011-03-08  Glenn Morris  <rgm@gnu.org>
18407         * cus-start.el (cursor-in-non-selected-windows):
18408         Fix :set quoting oddness.  (Bug#8192)
18410         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
18411         in some setf expressions.  (Bug#2159)
18413 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
18415         * custom.el (custom-available-themes): Return themes in
18416         alphabetical order.
18418 See ChangeLog.15 for earlier changes.
18420 ;; Local Variables:
18421 ;; coding: utf-8
18422 ;; End:
18424   Copyright (C) 2011-2012  Free Software Foundation, Inc.
18426   This file is part of GNU Emacs.
18428   GNU Emacs is free software: you can redistribute it and/or modify
18429   it under the terms of the GNU General Public License as published by
18430   the Free Software Foundation, either version 3 of the License, or
18431   (at your option) any later version.
18433   GNU Emacs is distributed in the hope that it will be useful,
18434   but WITHOUT ANY WARRANTY; without even the implied warranty of
18435   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18436   GNU General Public License for more details.
18438   You should have received a copy of the GNU General Public License
18439   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.