Silence byte-compiler warnings.
[emacs.git] / lisp / ChangeLog
blob119e46e52d832a31208c74ec69d030d86159bfc4
1 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
3         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
4         * faces.el (crm-separator):
5         Silence byte-compiler.
7         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8         (tool-bar-map): Remove unneeded defvars.
10 2013-05-08  Leo Liu  <sdl.web@gmail.com>
12         Re-work a fix for bug#10994 based on Le Wang's patch.
13         * ido.el (ido-remove-consecutive-dups): New helper.
14         (ido-completing-read): Use it.
15         (ido-chop): Revert fix for bug#10994.
17 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
19         * cus-edit.el (custom-save-variables):
20         Pretty-print long values.  (Bug#14187)
22 2013-05-08  Glenn Morris  <rgm@gnu.org>
24         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
25         (m4-mode-syntax-table): Init in the defvar.
26         (m4-mode-abbrev-table): Let define-derived-mode define it.
28 2013-05-08  Tom Tromey  <tromey@redhat.com>
30         * progmodes/m4-mode.el (m4-mode-syntax-table):
31         Do not treat "_" as word constituent.  (Bug#14167)
33 2013-05-07  Glenn Morris  <rgm@gnu.org>
35         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
36         Remove explicit eshell-isearch-cancel-map.
38         * progmodes/f90.el (f90-smart-end-names): New option.
39         (f90-smart-end): Doc fix.
40         (f90-end-block-optional-name): New constant.
41         (f90-block-match): Respect f90-smart-end-names.
43 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
45         * progmodes/octave.el (octave-smie-forward-token): Be more careful
46         about implicit semi-colons (bug#14218).
48 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
50         * frame.el (display-monitor-attributes-list)
51         (frame-monitor-attributes): New functions.
53 2013-05-06  Leo Liu  <sdl.web@gmail.com>
55         * progmodes/octave.el (octave-syntax-propertize-function): Change
56         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
57         (octave-font-lock-keywords): Use octave-operator-regexp.
58         (octave-completion-at-point): Renamed from
59         octave-completion-at-point-function.
60         (inferior-octave-directory-tracker): Robustify.
61         (octave-text-functions): Remove and fix its uses.  No such things
62         any more.
64 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
66         * emacs-lisp/trace.el (trace--display-buffer): New function.
67         (trace-make-advice): Use it.
69 2013-05-06  Juri Linkov  <juri@jurta.org>
71         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
72         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
73         Doc fix.
74         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
75         in the help string.  (Bug#12985)
77 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
79         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
81 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
83         * progmodes/perl-mode.el: Add support for here documents.
84         (perl-syntax-propertize-function): Match here-doc markers.
85         (perl-syntax-propertize-special-constructs): Find their end.
86         (perl-imenu-generic-expression): Use [:alnum:].
88         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
89         (advice--add-function): Refresh the advice if already present
90         (bug#14317).
92 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
94         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
96 2013-05-06  Glenn Morris  <rgm@gnu.org>
98         * w32-fns.el (w32-charset-info-alist): Declare.
100         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
101         of its defcustom properties.
102         (eshell-cmpl-initialize): No need to load pcomplete.
104         * generic-x.el: No need to require comint when compiling.
106         * net/eudc-export.el: Make it loadable without bbdb.
107         (top-level): Use require rather than load-library.
108         (eudc-create-bbdb-record, eudc-bbdbify-phone)
109         (eudc-batch-export-records-to-bbdb)
110         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
111         Require bbdb.
113 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
115         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
116         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
117         some tweaks, instead.
119 2013-05-05  Leo Liu  <sdl.web@gmail.com>
121         * progmodes/octave.el (octave-font-lock-keywords)
122         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
123         (inferior-octave-send-list-and-digest): Improve error message.
124         (octave-mode, inferior-octave-mode): Use setq-local.
125         (octave-help): Set info-lookup-mode.
127 2013-05-05  Richard Stallman  <rms@gnu.org>
129         * vc/compare-w.el (compare-windows-whitespace):
130         Treat no-break space as whitespace.
132         * mail/rmailsum.el (rmail-summary-rmail-update):
133         Detect empty summary and don't change selected message.
134         (rmail-summary-goto-msg): Likewise.
136         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
137         Doc fixes, rename args.
139 2013-05-05  Alan Mackenzie  <acm@muc.de>
141         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
143 2013-05-05  Juri Linkov  <juri@jurta.org>
145         * info.el (Info-read-subfile): Use (point-min) instead of (point)
146         to not add the length of the summary segment to the return value.
147         (Bug#14125)
149 2013-05-05  Leo Liu  <sdl.web@gmail.com>
151         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
152         (inferior-octave-output-filter): Remove.
153         (octave-send-region, inferior-octave-startup): Fix callers.
154         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
155         (octave-binary-file-extensions): New user variable.
156         (octave-find-definition): Confirm if opening binary files.
157         (octave-help-file): Use octave-find-definition to get the binary
158         confirmation.
159         (octave-help): Adjust for octave-help-file change.
161 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
163         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
164         Merge the two entries that handle function definitions.
165         (pascal--syntax-propertize): New const.
166         (pascal-mode): Use it.  Use setq-local.
168 2013-05-04  Glenn Morris  <rgm@gnu.org>
170         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
171         (diary-from-outlook): Respect diary-from-outlook-function.
173 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
175         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
176         Move the declaration from C.
177         (read-minibuffer, eval-minibuffer): Move from C.
178         (completion-setup-function): Avoid minibuffer-completion-contents.
180 2013-05-03  Leo Liu  <sdl.web@gmail.com>
182         * progmodes/octave.el (octave-font-lock-keywords): Do not
183         dehighlight 'end' in comments or strings.
184         (octave-completing-read, octave-goto-function-definition):
185         New helpers.
186         (octave-help-buffer): New user variable.
187         (octave-help-file, octave-help-function): New button types.
188         (octave-help): New command and bind it to C-h ;.
189         (octave-find-definition): New command and bind it to M-.
190         (user-error): Alias to error if not defined.
192 2013-05-02  Leo Liu  <sdl.web@gmail.com>
194         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
195         for \.  (bug#14332)
196         (octave-font-lock-keywords): Include [ and {.
198 2013-05-02  Leo Liu  <sdl.web@gmail.com>
200         * progmodes/octave.el (inferior-octave-startup-file): Change default.
201         (inferior-octave): Remove calling comint-mode and return the buffer.
202         (inferior-octave-startup): Cosmetic changes.
204 2013-05-02  Leo Liu  <sdl.web@gmail.com>
206         * progmodes/octave.el (octave-syntax-propertize-function):
207         Include the case when ' is at line beginning.  (Bug#14336)
209 2013-05-02  Glenn Morris  <rgm@gnu.org>
211         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
212         * desktop.el (vc-dir-mode): Just autoload it here.
214 2013-05-02  Alan Mackenzie  <acm@muc.de>
216         Eliminate variable c-standard-font-lock-fontify-region-function.
217         * progmodes/cc-mode.el
218         (c-standard-font-lock-fontify-region-function): Remove.
219         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
221 2013-05-01  Leo Liu  <sdl.web@gmail.com>
223         * progmodes/octave.el: Compatible with older emacs-24 releases.
224         (inferior-octave-has-built-in-variables): Remove.  Built-in
225         variables were removed from Octave in 2007.
226         (inferior-octave-startup): Fix uses.
227         (comint-line-beginning-position): Remove compatibility code for
228         emacs 21.
230 2013-05-01  Juri Linkov  <juri@jurta.org>
232         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
234 2013-05-01  Juri Linkov  <juri@jurta.org>
236         * comint.el (comint-previous-matching-input): Don't print message
237         "History item: %d" when `isearch-mode' is active.
238         (comint-history-isearch-message): Print message "History item: %d"
239         when `comint-input-ring-index' is not empty and this function is
240         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
242 2013-05-01  Leo Liu  <sdl.web@gmail.com>
244         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
245         definitions.  Use completion-at-point to insert keywords.
246         (octave-abbrev-start): Remove.
247         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
249 2013-04-30  Leo Liu  <sdl.web@gmail.com>
251         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
252         change.
254 2013-04-30  Alan Mackenzie  <acm@muc.de>
256         Handle arbitrarily long C++ member initialisation lists.
257         * progmodes/cc-engine.el (c-back-over-member-initializers):
258         new function.
259         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
260         (most) member init lists.
262 2013-04-30  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
264         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
265         variable.
267 2013-04-30  Leo Liu  <sdl.web@gmail.com>
269         * progmodes/octave.el (octave-variables): Remove.  No builtin
270         variables any more.  All converted to functions.
271         (octave-font-lock-keywords, octave-completion-at-point-function):
272         Fix uses.
273         (octave-font-lock-texinfo-comment): New user variable.
274         (octave-texinfo-font-lock-keywords): New variable for texinfo
275         comment block.
276         (octave-function-comment-block): New face.
277         (octave-font-lock-texinfo-comment): New function.
278         (octave-mode): Font lock texinfo comment block.
280 2013-04-29  Leo Liu  <sdl.web@gmail.com>
282         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
283         indexing expression.
284         (octave-continuation-string): Do not use \.
285         (inferior-octave-complete-impossible): Remove.
286         (inferior-octave-completion-table)
287         (inferior-octave-completion-at-point): Remove its uses.
288         (inferior-octave-startup): completion_matches was introduced to
289         Octave in 1996 so safe to assume it.
290         (octave-function-file-comment): Improve to follow how Octave does it.
291         (octave-update-function-file-comment): Tweak.
293 2013-04-29  Leo Liu  <sdl.web@gmail.com>
295         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
296         (inferior-octave-startup): Remove inferior-octave-startup-hook.
297         (octave-function-file-comment): Fix typo.
298         (octave-sync-function-file-names): Use read-char-choice.
300 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
302         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
303         to t for the less important warnings.
305 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
307         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
309 2013-04-27  Glenn Morris  <rgm@gnu.org>
311         * vc/log-view.el (log-view-current-entry):
312         Treat "---" separator lines as part of the following rev.  (Bug#14169)
314 2013-04-27  Juri Linkov  <juri@jurta.org>
316         * subr.el (read-number): Doc fix about using it by interactive
317         code letter `n'.  (Bug#14254)
319 2013-04-27  Juri Linkov  <juri@jurta.org>
321         * desktop.el (desktop-auto-save-timeout): New option.
322         (desktop-file-checksum): New variable.
323         (desktop-save): Add optional arg `auto-save' and don't auto-save
324         if nothing changed.
325         (desktop-auto-save-timer): New variable.
326         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
327         (after-init-hook): Call `desktop-auto-save-set-timer'.
328         Suggested by Reuben Thomas <rrt@sc3d.org> in
329         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
331 2013-04-27  Leo Liu  <sdl.web@gmail.com>
333         * progmodes/octave.el (octave-function-file-p)
334         (octave-skip-comment-forward, octave-function-file-comment)
335         (octave-update-function-file-comment): New functions.
336         (octave-mode-map): Bind C-c ; to
337         octave-update-function-file-comment.
338         (octave-mode-menu): Add octave-update-function-file-comment.
339         (octave-mode, inferior-octave-mode): Fix doc-string.
340         (octave-insert-defun): Conform to Octave's coding convention.
341         (Bug#14285)
343         * files.el (basic-save-buffer): Don't let errors in
344         before-save-hook prevent saving buffer.
346 2013-04-20  Roland Winkler  <winkler@gnu.org>
348         * faces.el (read-face-name): Use completing-read if arg multiple
349         is nil.
351 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
353         * ls-lisp.el (ls-lisp-insert-directory): If no files are
354         displayed, move point to after the totals line.
355         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
356         for the details.
358 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
360         * emacs-lisp/package.el (package-autoload-ensure-default-file):
361         Add current dir to the load-path.
362         (package-generate-autoloads): Don't rely on
363         autoload-ensure-default-file.
365 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
367         * textmodes/remember.el (remember-store-in-files): Document that
368         the file name format is passed to `format-time-string'.
370 2013-04-26  Leo Liu  <sdl.web@gmail.com>
372         * progmodes/octave.el (octave-sync-function-file-names): New function.
373         (octave-mode): Use it in before-save-hook.
375 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
377         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
378         (bug#14274).
380         * progmodes/octave.el (octave-smie-forward-token): Properly skip
381         \n and comment, even if it's not an implicit ; (bug#14218).
383 2013-04-26  Glenn Morris  <rgm@gnu.org>
385         * subr.el (read-number): Once more use `read' rather than
386         `string-to-number', to trap non-numeric input.  (Bug#14254)
388 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
390         * emacs-lisp/syntax.el (syntax-propertize-multiline):
391         Use `syntax-multiline' text property consistently instead of
392         `font-lock-multiline'. (bug#14237).
394 2013-04-26  Glenn Morris  <rgm@gnu.org>
396         * emacs-lisp/shadow.el (list-load-path-shadows):
397         No longer necessary to check for duplicate simple.el, since
398         2012-07-07 change to init_lread to not include installation lisp
399         directories in load-path when running uninstalled.  (Bug#14270)
401 2013-04-26  Leo Liu  <sdl.web@gmail.com>
403         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
404         (octave-mode, inferior-octave-mode): Use setq-local.
405         (octave-not-in-string-or-comment-p): Rename to
406         octave-in-string-or-comment-p.
407         (octave-in-comment-p, octave-in-string-p)
408         (octave-in-string-or-comment-p): Replace defsubst with defun.
410 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
412         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
414 2013-04-25  Bastien Guerry  <bzg@gnu.org>
416         * textmodes/remember.el (remember-data-directory)
417         (remember-directory-file-name-format): Fix custom types.
419 2013-04-25  Leo Liu  <sdl.web@gmail.com>
421         * progmodes/octave.el (octave-completion-at-point-function):
422         Make use of inferior octave process.
423         (octave-initialize-completions): Remove.
424         (inferior-octave-completion-table): New function.
425         (inferior-octave-completion-at-point): Use it.
426         (octave-completion-alist): Remove.
428 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
430         * progmodes/opascal.el: Use font-lock and syntax-propertize.
431         (opascal-mode-syntax-table): New var.
432         (opascal-literal-kind, opascal-is-literal-end)
433         (opascal-literal-token-at): Rewrite.
434         (opascal--literal-start-re, opascal-font-lock-keywords)
435         (opascal--syntax-propertize): New constants.
436         (opascal-font-lock-defaults): Adjust.
437         (opascal-mode): Use them.  Set comment-<foo> variables as well.
438         (delphi-comment-face, opascal-comment-face, delphi-string-face)
439         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
440         (delphi-other-face, opascal-other-face): Remove face variables.
441         (opascal-save-state): Remove macro.
442         (opascal-fontifying-progress-step): Remove constant.
443         (opascal--ignore-changes): Remove var.
444         (opascal-set-token-property, opascal-parse-next-literal)
445         (opascal-is-stable-literal, opascal-complete-literal)
446         (opascal-is-literal-start, opascal-face-of)
447         (opascal-parse-region, opascal-parse-region-until-stable)
448         (opascal-fontify-region, opascal-after-change)
449         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
450         (opascal-debug-parse-region, opascal-debug-parse-window)
451         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
452         (opascal-debug-fontify-buffer): Remove.
453         (opascal-debug-mode-map): Adjust accordingly.
455 2013-04-25  Leo Liu  <sdl.web@gmail.com>
457         Merge octave-mod.el and octave-inf.el into octave.el with some
458         cleanups.
459         * progmodes/octave.el: New file renamed from octave-mod.el.
460         * progmodes/octave-inf.el: Merged into octave.el.
461         * progmodes/octave-mod.el: Renamed to octave.el.
463 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
465         * textmodes/reftex-vars.el
466         (reftex-label-ignored-macros-and-environments): New defcustom.
468         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
470 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
472         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
473         (smie-indent-keyword): Improve the check to ensure that the next
474         comment is really on the same line.
475         (smie-indent-comment): Don't align with a subsequent closer (or eob).
477         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
478         semi-colons if the line is not otherwise empty (bug#14218).
480 2013-04-25  Glenn Morris  <rgm@gnu.org>
482         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
484 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
486         * progmodes/opascal.el (opascal-set-token-property): Rename from
487         opascal-set-text-properties and only set `token' (bug#14134).
488         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
489         (opascal-literal-text-properties): Remove.
490         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
491         Adjust callers.
493 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
495         * textmodes/remember.el (remember-handler-functions): Add an
496         option for a new handler `remember-store-in-files'.
497         (remember-data-directory, remember-directory-file-name-format):
498         New options.
499         (remember-store-in-files): New function to store remember notes
500         as separate files within a directory.
502 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
504         * progmodes/compile.el (compilation-next-error-function):
505         Pass "formats" to compilation-find-file (bug#11777).
507 2013-04-24  Glenn Morris  <rgm@gnu.org>
509         * vc/vc-bzr.el (vc-bzr-print-log):
510         * vc/vc-hg.el (vc-hg-print-log):
511         * vc/vc-svn.el (vc-svn-print-log):
512         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
514         * vc/vc-bzr.el (vc-bzr-print-log):
515         * vc/vc-cvs.el (vc-cvs-print-log):
516         * vc/vc-git.el (vc-git-print-log):
517         * vc/vc-hg.el (vc-hg-print-log):
518         * vc/vc-mtn.el (vc-mtn-print-log):
519         * vc/vc-rcs.el (vc-rcs-print-log):
520         * vc/vc-sccs.el (vc-sccs-print-log):
521         * vc/vc-svn.el (vc-svn-print-log):
522         * vc/vc.el (vc-print-log-internal): Doc fixes.
524 2013-04-23  Glenn Morris  <rgm@gnu.org>
526         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
527         Remove venerable code attempting to avoid substitute-command-keys.
529 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
531         * textmodes/reftex-vars.el (reftex-label-regexps):
532         Call `reftex-compile-variables' after changes to this variable.
534 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
536         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
537         Use lexical-binding.
538         (jit-lock-force-redisplay): Use markers, check buffer's continued
539         existence and beware narrowed buffers.
540         (jit-lock-fontify-now): Adjust call accordingly.
542 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
544         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
545         to avoid misleading the user.
547 2013-04-22  Leo Liu  <sdl.web@gmail.com>
549         * info-look.el: Prefer latex2e.info.  (Bug#14240)
551 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
553         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
555         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
556         * net/tramp.el (tramp-call-process): ... here
557         (tramp-set-completion-function, tramp-parse-putty):
558         * net/tramp-adb.el (tramp-adb-execute-adb-command):
559         * net/tramp-gvfs.el (tramp-gvfs-send-command):
560         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
561         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
562         (tramp-call-local-coding-command): Use `tramp-call-process'
563         instead of `tramp-compat-call-process'.
565         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
566         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
567         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
568         (tramp-find-inline-compress):Improve traces.
569         (tramp-maybe-send-script): Check for Perl binary.
570         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
572 2013-04-22  Daiki Ueno  <ueno@gnu.org>
574         * epg.el (epg-context-pinentry-mode): New function.
575         (epg-context-set-pinentry-mode): New function.
576         (epg--start): Pass --pinentry-mode option to gpg command.
578 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
580         * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
581         `comint-dynamic-complete' is obsolete since 24.1, replaced by
582         `completion-at-point'. (Bug#13774)
584         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
585         default key binding for `describe-distribution' has been moved to
586         `C-h C-o'.  (Bug#13970)
588 2013-04-21  Glenn Morris  <rgm@gnu.org>
590         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
591         Add doc strings.
592         (vc-print-log): Clarify interactive prompt.
594 2013-04-20  Glenn Morris  <rgm@gnu.org>
596         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
597         No longer include timestamp etc information.
599 2013-04-20  Roland Winkler  <winkler@gnu.org>
601         * faces.el (read-face-name): Bug fix, return just one face if arg
602         multiple is nil.  (Bug#14209)
604 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
606         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
607         (remove-function): Autoload.
609         * comint.el (comint-redirect-original-filter-function): Remove.
610         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
611         * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
612         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
613         * progmodes/prolog.el (prolog-consult-compile):
614         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
615         Use add/remove-function instead.
616         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
617         (gud-tooltip-process-output, gud-tooltip-tips):
618         Use add/remove-function instead.
619         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
620         (scheme-interaction-mode, exit-scheme-interaction-mode):
621         Use add/remove-function instead.
623         * vc/vc-dispatcher.el: Use lexical-binding.
624         (vc--process-sentinel): Rename from vc-process-sentinel.
625         Change last arg to be the code to run.  Don't use vc-previous-sentinel
626         and vc-sentinel-commands any more.
627         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
628         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
630 2013-04-19 Masatake YAMATO  <yamato@redhat.com>
632         * progmodes/sh-script.el (sh-imenu-generic-expression):
633         Handle function names with a single character.   (Bug#14111)
635 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
637         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
638         for subroutines defined in an eval (bug#14182).
640 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
642         * bookmark.el (bookmark-completing-read): Improve handling of empty
643         string (bug#14176).
645 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
647         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
649 2013-04-19  FabiĂ¡n Ezequiel Gallina  <fgallina@gnu.org>
651         New faster Imenu implementation (bug#14058).
652         * progmodes/python.el:
653         (python-imenu-prev-index-position):
654         (python-imenu-format-item-label-function)
655         (python-imenu-format-parent-item-label-function)
656         (python-imenu-format-parent-item-jump-label-function):
657         New vars.
658         (python-imenu-format-item-label)
659         (python-imenu-format-parent-item-label)
660         (python-imenu-format-parent-item-jump-label)
661         (python-imenu--put-parent, python-imenu--build-tree)
662         (python-imenu-create-index, python-imenu-create-flat-index)
663         (python-util-popn): New functions.
664         (python-mode): Set imenu-create-index-function to
665         python-imenu-create-index.
667 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
669         * winner.el (winner-active-region): Use region-active-p, activate-mark
670         and deactivate-mark (bug#14225).
672         * simple.el (deactivate-mark): Don't inline it.
674 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
676         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
678 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
680         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
681         file extensions from the archive-mode entry in order to prefer
682         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
684 2013-04-18  Leo Liu  <sdl.web@gmail.com>
686         * bindings.el (help-event-list): Add ?\?.
688 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
690         * subr.el (with-wrapper-hook): Declare obsolete.
691         * simple.el (filter-buffer-substring-function): New hook.
692         (filter-buffer-substring): Use it.
693         (filter-buffer-substring-functions): Mark obsolete.
694         * minibuffer.el (completion-in-region-function): New hook.
695         (completion-in-region): Use it.
696         (completion-in-region-functions): Mark obsolete.
697         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
698         * abbrev.el (abbrev-expand-function): New hook.
699         (expand-abbrev): Use it.
700         (abbrev-expand-functions): Mark obsolete.
701         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
702         and :filter-return.
704 2013-04-17  FabiĂ¡n Ezequiel Gallina  <fgallina@gnu.org>
706         * progmodes/python.el (python-nav--syntactically): Fix cornercases
707         and do not care about match data.
709 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
711         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
712         completion tables when completing error conditions and
713         `declare' arguments.
714         (lisp-complete-symbol, field-complete): Mark as obsolete.
715         (check-parens): Unmatched parens are user errors.
716         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
718 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
720         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
721         command changed buffer (ie. `flyspell-pre-buffer' is not current
722         buffer), which prevents making decisions based on invalid value of
723         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
724         cause an error when `flyspell-pre-point' was nil after switching
725         buffers.
726         (flyspell-post-command-hook): No longer needs to change buffers when
727         checking pre-word.  While at it remove unnecessary progn.
729 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
731         * textmodes/ispell.el (ispell-add-per-file-word-list):
732         Fix `flyspell-correct-word-before-point' error when accepting
733         words and `coment-padding' is an integer by using
734         `comment-normalize-vars' (Bug #14214).
736 2013-04-17  FabiĂ¡n Ezequiel Gallina  <fgallina@gnu.org>
738         New defun movement commands.
739         * progmodes/python.el (python-nav--syntactically)
740         (python-nav--forward-defun, python-nav-backward-defun)
741         (python-nav-forward-defun): New functions.
743 2013-04-17  FabiĂ¡n Ezequiel Gallina  <fgallina@gnu.org>
745         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
746         (python-syntax-context): Use named compiler-macro for backwards
747         compatibility with Emacs 24.x.
749 2013-04-17  Leo Liu  <sdl.web@gmail.com>
751         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
752         octave-hide-process-buffer.
754 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
756         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
757         (bug#14216).
759 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
761         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
762         Fix adjustment of offset when receiving incomplete responses from GDB
763         (bug#14129).
765 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
767         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
768         python-mode-abbrev-table.
769         (python-skeleton-define): Adjust accordingly.
770         (python-mode-abbrev-table): New table that inherits from it so that
771         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
773         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
774         (abbrev-symbol): Use it.
775         (abbrev--before-point): Use it since we already handle inheritance.
777 2013-04-16  Leo Liu  <sdl.web@gmail.com>
779         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
780         binding to info-lookup-symbol.
782 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
784         * minibuffer.el (completion--twq-all):
785         * term/ns-win.el (ns-initialize-window-system):
786         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
788 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
790         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
791         global bindings.
793         * doc-view.el (doc-view-start-process): Handle url-handler directories.
795 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
797         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
798         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
799         to nil.
800         (ruby-end-of-defun): Remove the unused arg, change the docstring
801         to reflect that this function is only used as the value of
802         `end-of-defun-function'.
803         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
804         to reflect an earlier change that beginning/end-of-defun functions
805         jump between methods in a class definition, as well as top-level
806         functions.
808 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
810         * minibuffer.el (minibuffer-complete): Don't just scroll
811         a *Completions* that's been iconified.
812         (minibuffer-force-complete): Make sure repetitions do cycle when going
813         through completion-in-region -> minibuffer-complete.
815 2013-04-15  Alan Mackenzie  <acm@muc.de>
817         Correct the placement of c-cpp-delimiters when there're #s not at
818         col 0.
820         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
821         place a submatch around the #.
822         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
823         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
824         on the #, not BOL.
826 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
828         * emacs-lisp/nadvice.el: Properly test names when adding advice.
829         (advice--member-p): New arg `name'.
830         (advice--add-function, advice-member-p): Use it (bug#14202).
832 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
834         Reformulate java imenu-generic-expression.
835         The old expression contained ill formed regexps.
837         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
838         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
839         (cc-imenu-java-method-arg-regexp): New defconsts.
840         (cc-imenu-java-build-type-args-regex): New defun.
841         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
842         handling of spaces in the regexp.
844 2013-03-15  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
846         * textmodes/ispell.el (ispell-command-loop): Remove
847         flyspell highlight of a word when ispell accepts it (bug #14178).
849 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
851         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
852         uses code from the previous `ange-ftp-run-real-handler'.
853         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
854         only in case that function exist.  This is needed for proper
855         unloading of Tramp.
857 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
859         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
861         * textmodes/reftex.el (reftex-compile-variables): Use it.
863 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
865         * files.el (normal-mode): Only use default major-mode if no other mode
866         was specified.
868         * emacs-lisp/trace.el (trace-values): New function.
870         * files.el: Allow : in local variables (bug#14089).
871         (hack-local-variable-regexp): New var.
872         (hack-local-variables-prop-line, hack-local-variables): Use it.
874 2013-04-13  Roland Winkler  <winkler@gnu.org>
876         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
877         data before it gets modified by bibtex-beginning-of-entry.
879 2013-04-13  Roland Winkler  <winkler@gnu.org>
881         * textmodes/bibtex.el (bibtex-url): Doc fix.
883 2013-04-13  Roland Winkler  <winkler@gnu.org>
885         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
886         does not visit a BibTeX file, exclude it from the list of buffers
887         returned by bibtex-initialize.
889 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
891         * window.el (split-window): Remove interactive form, since as a
892         command this function is a special case of split-window-below.
893         Correct doc string.
895 2013-04-12  Roland Winkler  <winkler@gnu.org>
897         * faces.el (read-face-name): Do not override value of arg default.
898         Allow single faces and strings as default values.  Remove those
899         elements from return value that are not faces.
900         (describe-face): Simplify.
901         (face-at-point): New optional args thing and multiple so that this
902         function can provide the same functionality previously provided by
903         read-face-name.
904         (make-face-bold, make-face-unbold, make-face-italic)
905         (make-face-unitalic, make-face-bold-italic, invert-face)
906         (modify-face, read-face-and-attribute): Use face-at-point.
908         * cus-edit.el (customize-face, customize-face-other-window)
909         * cus-theme.el (custom-theme-add-face)
910         * face-remap.el (buffer-face-set)
911         * facemenu.el (facemenu-set-face): Use face-at-point.
913 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
915         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
917 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
919         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
920         off leading { and trailing } from field values.
922 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
924         * emacs-lisp/timer.el (timer--check): New function.
925         (timer--time, timer-set-function, timer-event-handler): Use it.
926         (timer-set-idle-time): Simplify.
927         (timer--activate): CSE.
928         (timer-event-handler): Give more info in error message.
929         (internal-timer-start-idle): New function, moved from C.
931         * mpc.el (mpc-proc): Add `restart' argument.
932         (mpc-proc-cmd): Use it.
933         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
934         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
935         less often.
937 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
939         * progmodes/sh-script.el: Implement `sh-mode' own
940         `add-log-current-defun-function' (bug#14112).
941         (sh-current-defun-name): New function.
942         (sh-mode): Use the function.
944 2013-04-09  Bastien Guerry  <bzg@gnu.org>
946         * simple.el (choose-completion-string): Fix docstring (bug#14163).
948 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
950         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
952         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
953         timer (bug#14156).
955 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
957         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
958         declaration.
960 2013-04-07  Leo Liu  <sdl.web@gmail.com>
962         * pcmpl-x.el: New file.
964 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
966         Do not set x-display-name until X connection is established.
967         This is needed to prevent from weird situation described at
968         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
969         * frame.el (make-frame): Set x-display-name after call to
970         window system initialization function, not before.
971         * term/x-win.el (x-initialize-window-system): Add optional
972         display argument and use it.
973         * term/w32-win.el (w32-initialize-window-system):
974         * term/ns-win.el (ns-initialize-window-system):
975         * term/pc-win.el (msdos-initialize-window-system):
976         Add compatible optional display argument.
978 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
980         * files.el (normal-backup-enable-predicate): On MS-Windows and
981         MS-DOS compare truenames of temporary-file-directory and of the
982         file, so that 8+3 aliases (usually found in $TEMP on Windows)
983         don't fail comparison by compare-strings.  Also, compare file
984         names case-insensitively on MS-Windows and MS-DOS.
986 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
988         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
989         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
991 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
993         * whitespace.el (whitespace-color-on, whitespace-color-off):
994         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
996 2013-04-05  Jacek ChrzÄ…szcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
998         * ispell.el (ispell-set-spellchecker-params):
999         Really set `ispell-args' for all equivs.
1001 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1003         * ido.el (ido-completions): Use extra elements of ido-decorations
1004         (bug#14143).
1005         (ido-decorations): Update docstring.
1007 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
1009         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
1010         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
1011         nil during initialization, in order not to miss changes since the
1012         file was opened.  (Bug#14140)
1014 2013-04-05  Leo Liu  <sdl.web@gmail.com>
1016         * kmacro.el (kmacro-call-macro): Fix bug#14135.
1018 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
1020         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
1022 2013-04-04  Glenn Morris  <rgm@gnu.org>
1024         * electric.el (electric-pair-inhibit-predicate): Add :version.
1026 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1028         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
1029         when a package is required several times (bug#14082).
1031 2013-04-04  Roland Winkler  <winkler@gnu.org>
1033         * faces.el (read-face-name): Behave as promised by the docstring.
1034         Assume that arg default is a list of faces.
1035         (describe-face): Call read-face-name with list of default faces.
1037 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1039         * bookmark.el: Fix deletion of bookmarks (bug#13972).
1040         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
1041         (bookmark-bmenu-execute-deletions): Only skip first line if it's
1042         the header.
1043         (bookmark-exit-hook-internal): Save even if list is empty.
1045 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
1047         * emacs-lisp/package.el (package-pinned-packages): New var.
1048         (package--add-to-archive-contents): Obey it (bug#14118).
1050 2013-04-03  Alan Mackenzie  <acm@muc.de>
1052         Handle `parse-partial-sexp' landing inside a comment opener
1053         (Bug#13244). Also adapt to the new values of element 7 of a parse
1054         state.
1056         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
1057         parameter `not-in-delimiter'.  Handle being inside comment opener.
1058         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
1059         character in case we're typing a '*' after a '/'.
1060         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
1061         instead by passing the parameter to c-state-pp-to-literal.
1063         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
1064         for elt. 7 of a parse state.
1066 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
1068         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
1069         * international/latin1-disp.el, international/mule-util.el:
1070         * language/cyril-util.el, language/european.el, language/ind-util.el:
1071         * language/lao-util.el, language/thai.el, language/tibet-util.el:
1072         * language/tibetan.el, language/viet-util.el:
1073         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
1075 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1077         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
1078         (electric-pair-post-self-insert-function): Use it.
1079         (electric-pair-default-inhibit): New function, extracted from
1080         electric-pair-post-self-insert-function.
1082 2013-03-31  Roland Winkler  <winkler@gnu.org>
1084         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
1086 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1088         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
1090 2013-03-30  FabiĂ¡n Ezequiel Gallina  <fabian@anue.biz>
1092         Un-indent after "pass" and "return" statements (Bug#13888)
1093         * progmodes/python.el (python-indent-block-enders): New var.
1094         (python-indent-calculate-indentation): Use it.
1096 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
1098         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
1099         defun.  Defining it as defalias could introduce too eager
1100         byte-compiler optimization.  (Bug#14030)
1102 2013-03-30  Chong Yidong  <cyd@gnu.org>
1104         * iswitchb.el (iswitchb-read-buffer): Fix typo.
1106 2013-03-30  Leo Liu  <sdl.web@gmail.com>
1108         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
1109         (kmacro-execute-from-register): Pass the keyboard macro to
1110         kmacro-call-macro or repeating won't work correctly.
1112 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
1114         * progmodes/subword.el: Back to using `forward-symbol'.
1116         * subr.el (forward-whitespace, forward-symbol)
1117         (forward-same-syntax): Move from thingatpt.el.
1119 2013-03-29  Leo Liu  <sdl.web@gmail.com>
1121         * kmacro.el (kmacro-to-register): New command.
1122         (kmacro-execute-from-register): New function.
1123         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
1125 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1127         * mpc.el: Use defvar-local and setq-local.
1128         (mpc--proc-connect): Connection failures are not bugs.
1129         (mpc-mode-map): `follow-link' only applies to the buffer's content.
1130         (mpc-volume-map): Bind to the up-events.
1132 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
1134         * progmodes/subword.el (superword-mode): Use `forward-sexp'
1135         instead of `forward-symbol'.
1137 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1139         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
1140         (edebug--recursive-edit): Use it.
1141         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
1142         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
1144 2013-03-28  Leo Liu  <sdl.web@gmail.com>
1146         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
1148 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
1150         * facemenu.el (list-colors-callback): New defvar.
1151         (list-colors-redisplay): New function.
1152         (list-colors-display): Install list-colors-redisplay as the
1153         revert-buffer-function.  (Bug#14063)
1155 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1157         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
1158         and suffixes don't overlap (bug#14061).
1160         * case-table.el: Use lexical-binding.
1161         (case-table-get-table): New function.
1162         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
1164 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
1166         * progmodes/subword.el: Add `superword-mode' to do word motion
1167         over symbol_words (parallels and leverages `subword-mode' which
1168         does word motion inside MixedCaseWords).
1170 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
1172         * eshell/em-unix.el: Move su and sudo to...
1173         * eshell/em-tramp.el: ...Eshell tramp module.
1175 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1177         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
1178         Change return value to be a sexp.  Delay `get-buffer' to after
1179         restoring the desktop (bug#13951).
1181 2013-03-26  Leo Liu  <sdl.web@gmail.com>
1183         * register.el: Move semantic tag handling back to
1184         cedet/semantic/senator.el.  (Bug#14052)
1186 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1188         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
1189         into the prompt either (bug#13963).
1191 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1193         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
1194         part of "(error-foo)".
1196 2013-03-24  Juri Linkov  <juri@jurta.org>
1198         * replace.el (list-matching-lines-prefix-face): New defcustom.
1199         (occur-1): Pass `list-matching-lines-prefix-face' to the function
1200         `occur-engine' if `face-differs-from-default-p' returns t.
1201         (occur-engine): Add `,' inside backquote construct to evaluate
1202         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
1203         Pass `prefix-face' to the functions `occur-context-lines' and
1204         `occur-engine-add-prefix'.
1205         (occur-engine-add-prefix, occur-context-lines): Add optional arg
1206         `prefix-face' and propertize the prefix with `prefix-face'.
1207         (Bug#14017)
1209 2013-03-24  Leo Liu  <sdl.web@gmail.com>
1211         * nxml/rng-valid.el (rng-validate-while-idle)
1212         (rng-validate-quick-while-idle): Guard against deleted buffer.
1213         (Bug#13999)
1215         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
1216         is the last entry in kill-buffer-hook.
1218         * files.el (kill-buffer-hook): Doc fix.
1220 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
1222         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
1223         Make it safe-local.
1225         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
1227 2013-03-23  Leo Liu  <sdl.web@gmail.com>
1229         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
1230         Remove.
1232         * nxml/rng-valid.el (rng-validate-mode)
1233         (rng-after-change-function, rng-do-some-validation):
1234         * nxml/rng-maint.el (rng-validate-buffer):
1235         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
1236         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
1237         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
1238         (nxml-extend-after-change-region): Use with-silent-modifications.
1240         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
1241         timer-idle-list.
1243         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
1244         (rng-next-error-1, rng-previous-error-1): Do not let-bind
1245         timer-idle-list.  (Bug#13999)
1247 2013-03-23  Juri Linkov  <juri@jurta.org>
1249         * info.el (info-index-match): New face.
1250         (Info-index, Info-apropos-matches): Add a nested subgroup to the
1251         main pattern and add text properties with the new face to matches
1252         in index entries relative to the beginning of the index entry.
1253         (Bug#14015)
1255 2013-03-21  Eric Ludlam  <zappo@gnu.org>
1257         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
1258         Inhibit read only while inserting objects.
1260 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
1262         * progmodes/cfengine.el: Update docs to mention
1263         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
1264         symbol motion.  Remove "_" from the word syntax.
1266 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
1268         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
1269         syntax for both `cfengine2-mode' and `cfengine3-mode'.
1271 2013-03-20  Juri Linkov  <juri@jurta.org>
1273         * info.el (Info-next-reference-or-link)
1274         (Info-prev-reference-or-link): New functions.
1275         (Info-next-reference, Info-prev-reference): Use them.
1276         (Info-try-follow-nearest-node): Handle footnote navigation.
1277         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
1279 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1281         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
1282         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
1284 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
1286         Suppress unnecessary non-ASCII chatter during build process.
1287         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
1288         (batch-skkdic-convert): Suppress most of the chatter.
1289         It's not needed so much now that machines are faster,
1290         and its non-ASCII component was confusing; see Dmitry Gutov in
1291         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
1293 2013-03-20  Leo Liu  <sdl.web@gmail.com>
1295         * ido.el (ido-chop): Fix bug#10994.
1297 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
1299         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
1300         Remove vars.
1301         (whitespace-color-on, whitespace-color-off):
1302         Use `font-lock-fontify-buffer' (Bug#13817).
1304 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1306         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
1307         remapping in mode-line.
1308         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
1310 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
1312         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
1313         value for `whitespace-line' face (Bug#13875).
1314         (whitespace-font-lock-keywords): Change description.
1315         (whitespace-color-on): Don't save `font-lock-keywords' value, save
1316         the constructed keywords instead.
1317         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
1319 2013-03-19  Leo Liu  <sdl.web@gmail.com>
1321         * progmodes/compile.el (compilation-display-error): New command.
1322         (compilation-mode-map, compilation-minor-mode-map): Bind it to
1323         C-o.  (Bug#13992)
1325 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
1327         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
1329 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
1331         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
1333 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
1335         * net/tramp-compat.el (tramp-compat-user-error): New defun.
1337         * net/tramp-adb.el (tramp-adb-handle-shell-command):
1338         * net/tramp-gvfs.el (top):
1339         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
1340         (tramp-handle-shell-command): Use it.
1341         (tramp-dissect-file-name): Raise an error when hostname is a
1342         method name, and neither method nor user is specified.
1344         * net/trampver.el: Update release number.
1346 2013-03-18  Leo Liu  <sdl.web@gmail.com>
1348         Make sure eldoc can be turned off properly.
1349         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
1350         eldoc-mode.
1351         (eldoc-display-message-p): Revert last change.
1352         (eldoc-display-message-no-interference-p)
1353         (eldoc-print-current-symbol-info): Tweak.
1355 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
1357         * doc-view.el (doc-view-new-window-function): Check the new window
1358         overlay's display property instead the char property of the
1359         buffer's first char.  Use `with-selected-window' instead of
1360         `save-window-excursion' with `select-window'.
1361         (doc-view-document->bitmap): Check the current doc-view overlay's
1362         display property instead the char property of the buffer's first char.
1364 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
1366         Automate the build of ja-dic.el (Bug#13984).
1367         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
1368         from the input, rather than assume that it's been done for us by the
1369         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
1370         the current date into a ja-dic.el comment, as that complicates
1371         regression testing.
1373 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1375         * whitespace.el: Fix double evaluation.
1376         (whitespace-space, whitespace-hspace, whitespace-tab)
1377         (whitespace-newline, whitespace-trailing, whitespace-line)
1378         (whitespace-space-before-tab, whitespace-indentation)
1379         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
1380         obsolete defvars.
1381         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
1382         (whitespace-color-on): Use a single font-lock-add-keywords call.
1383         Fix double-evaluation of face variables.
1385 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
1387         * net/tramp-adb.el (tramp-adb-parse-device-names):
1388         Use `start-process' instead of `call-process'.  Otherwise, the
1389         function might be blocked under MS Windows.  (Bug#13299)
1391 2013-03-17  Leo Liu  <sdl.web@gmail.com>
1393         Extend eldoc to display info in the mode-line.  (Bug#13978)
1394         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
1395         (eldoc-mode-line-string): New variable.
1396         (eldoc-minibuffer-message): New function.
1397         (eldoc-message-function): New variable.
1398         (eldoc-message): Use it.
1399         (eldoc-display-message-p)
1400         (eldoc-display-message-no-interference-p):
1401         Support eldoc-post-insert-mode.
1403         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
1404         (eval-expression): Run it.
1406 2013-03-17  Roland Winkler  <winkler@gnu.org>
1408         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
1409         strings in the list of return values.
1411 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
1413         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1414         radix before checking for HMS forms.
1416 2013-03-16  Leo Liu  <sdl.web@gmail.com>
1418         * progmodes/scheme.el: Add indentation and font-locking for Î».
1419         (Bug#13975)
1421 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1423         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1424         token before point (bug#13942).
1426 2013-03-16  Leo Liu  <sdl.web@gmail.com>
1428         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
1430 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
1432         * startup.el (command-line-normalize-file-name): Fix handling of
1433         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
1434         <xfq.free@gmail.com> in
1435         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1437 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
1439         Sync with Tramp 2.2.7.
1441         * net/trampver.el: Update release number.
1443 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
1445         * doc-view.el Fix bug#13887.
1446         (doc-view-insert-image): Don't modify overlay associated to
1447         non-live windows, and implement horizontal centering of image in
1448         case it's smaller than the window.
1449         (doc-view-new-window-function): Force redisplay of new windows on
1450         doc-view buffers.
1452 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
1454         * saveplace.el (save-place-alist-to-file): Don't sort
1455         `save-place-alist', just pretty-print it (bug#13882).
1457 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
1459         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1460         whether `default-file-name-coding-system' is bound.  It isn't in
1461         XEmacs.
1463 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1465         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1466         backquotes for `obsolete' (bug#13929).
1468         * international/mule.el (find-auto-coding): Include file name in
1469         obsolescence warning (bug#13922).
1471 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
1473         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1474         for CFEngine 3-specific indentation.
1475         (cfengine3-indent-line): Use it.  Fix up category regex.
1476         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1478 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1480         * type-break.el (type-break-file-name):
1481         * textmodes/remember.el (remember-data-file):
1482         * strokes.el (strokes-file):
1483         * shadowfile.el (shadow-initialize):
1484         * saveplace.el (save-place-file):
1485         * ps-bdf.el (bdf-cache-file):
1486         * progmodes/idlwave.el (idlwave-config-directory):
1487         * net/quickurl.el (quickurl-url-file):
1488         * international/kkc.el (kkc-init-file-name):
1489         * ido.el (ido-save-directory-list-file):
1490         * emulation/viper.el (viper-custom-file-name):
1491         * emulation/vip.el (vip-startup-file):
1492         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1493         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1495 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
1497         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1498         * language/thai-word.el: Switch to UTF-8.
1500 2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1502         * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1504 2013-03-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1506         * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1507         Use with-current-buffer and don't move point.
1508         (net-utils-run-simple): Remove useless code.
1509         (net-utils-remove-ctl-m): Remove unused custom.
1511 2013-03-11  Per Starbäck  <starback@stp.lingfil.uu.se>
1513         * international/characters.el (glyphless-set-char-table-range): New fun.
1514         (update-glyphless-char-display): Use it (bug#13744).
1516 2013-03-11  Teodor Zlatanov  <tzz@lifelogs.com>
1518         * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1519         namespaces in the syntax, indent closer for hanging brace
1520         correctly, allow single-quote delimited 'strings', and make
1521         `cfengine3-mode' the default.
1523 2013-03-11  Jean-Philippe Gravel  <jpgravel@gmail.com>
1525         * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1526         Use lexical-binding.  Fix up docstring according to conventions.
1527         (gdbmi-debug-mode): New var.
1528         (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1529         (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1530         (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1531         (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1532         (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1533         (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1534         (gdbmi-bnf-incomplete-record-result): New functions.
1535         (gdb-car<): Remove function.
1536         (gdbmi-record-list): Remove variable.
1537         (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1538         (gdbmi-bnf-result-state-configs): New const.
1539         (gud-gdbmi-marker-filter): Rewrite.
1540         (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1541         (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1542         Add `token' argument.
1543         (gdb-done, gdb-error): New functions.
1544         (gdb-done-or-error): Add `is-complete' argument.  Change arg order.
1546 2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1548         * term/xterm.el (xterm--report-background-handler): Don't burp
1549         upon timeout.
1550         (xterm--version-handler): Extract from terminal-init-xterm.
1551         (xterm--query): Don't mishandle timeout.  Remove debugging messages.
1552         Allow multiple handlers.
1553         (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1555         * term/xterm.el: Don't discard input (bug#6758).  Use lexical-binding.
1556         (xterm--report-background-handler, xterm--query): New functions.
1557         (terminal-init-xterm): Use them.
1559 2013-03-11  Michael R. Mauger  <michael@mauger.com>
1561         * progmodes/sql.el Version 3.2
1562         Please note that my address changed to <michael@mauger.com>;
1563         the <mmaug@yahoo.com> address remains active.
1564         (sql-connection-alist): Updates documentation to fix bug#13715.
1565         (sql-connect): Handle missing `sql-connection-alist' correctly.
1566         (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1567         (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1568         property.
1569         (sql-default-value): New function.
1570         (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1571         values were not used.
1572         (sql-rename-buffer): Make sure alternate buffer name has no text
1573         properties.
1574         (sql-input-sender, sql-execute-feature): Fetch variable with
1575         `buffer-local-value' rather than `with-current-buffer'.
1576         (sql-*): Use #' function syntax consistently.
1577         (sql-*): Use message/error/user-error consistently.
1579 2013-03-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1581         * xt-mouse.el (xterm-mouse-event-read): Remove.
1582         (xterm-mouse--read-event-sequence-1000)
1583         (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1585 2013-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1587         * term/xterm.el (xterm-function-map): Support format used with
1588         formatOtherKeys=1 (bug#13839).
1590         * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1591         (with-no-warnings): Use `declare'.
1593         * whitespace.el (whitespace-enable-predicate): New variable.
1594         (whitespace-enable-predicate): Use it.
1596         * comint.el (comint-send-input, comint-snapshot-last-prompt)
1597         (comint-output-filter, comint-update-fence):
1598         Use with-silent-modifications.
1600 2013-03-10  Jambunathan K  <kjambunathan@gmail.com>
1602         * replace.el (occur-read-regexp-defaults-function): New var.
1603         (occur-read-regexp-defaults): New defun.
1604         (occur-read-primary-args): Propagate above change (bug#13892).
1606 2013-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1608         * mouse.el (mouse-drag-track): Remove left-over debugging code.
1610 2013-03-09  Michael Albinus  <michael.albinus@gmx.de>
1612         Major rewrite due to changed D-Bus interface of GVFS 1.14.
1614         * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1615         (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1616         (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1617         New defconst.
1618         (tramp-gvfs-file-name-handler-alist) [directory-files]
1619         [directory-files-and-attributes, file-exists-p, file-modes]:
1620         Use Tramp default handler.
1621         [file-acl, file-selinux-context, process-file, set-file-acl]:
1622         [set-file-modes, set-file-selinux-context, shell-command]:
1623         [start-file-process]: Remove handler.
1624         [verify-visited-file-modtime]: New handler.
1625         (tramp-gvfs-dbus-string-to-byte-array)
1626         (tramp-gvfs-dbus-byte-array-to-string): New defuns.  Replace all
1627         calls of `dbus-string-to-byte-array' and
1628         `tramp-gvfs-dbus-byte-array-to-string'.
1629         (tramp-gvfs-handle-copy-file)
1630         (tramp-gvfs-handle-delete-directory)
1631         (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1632         (tramp-gvfs-handle-file-directory-p)
1633         (tramp-gvfs-handle-file-executable-p)
1634         (tramp-gvfs-handle-file-name-all-completions)
1635         (tramp-gvfs-handle-file-readable-p)
1636         (tramp-gvfs-handle-file-writable-p)
1637         (tramp-gvfs-handle-insert-directory)
1638         (tramp-gvfs-handle-insert-file-contents)
1639         (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1640         (tramp-gvfs-handle-set-visited-file-modtime)
1641         (tramp-gvfs-handle-write-region): Rewrite.
1642         (tramp-gvfs-handle-file-acl)
1643         (tramp-gvfs-handle-file-selinux-context)
1644         (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1645         (tramp-gvfs-handle-set-file-modes)
1646         (tramp-gvfs-handle-set-file-selinux-context)
1647         (tramp-gvfs-handle-shell-command)
1648         (tramp-gvfs-handle-start-file-process)
1649         (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1650         (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1651         over the symlinks.  Fix user handling.
1652         (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1653         of the D-Bus signals.
1654         (tramp-gvfs-connection-mounted-p): Handle different names of the
1655         D-Bus methods.
1656         (tramp-gvfs-mount-spec-entry): New defun.
1657         (tramp-gvfs-mount-spec): Use it.
1658         (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1659         there is a share name.  Handle different names of the D-Bus
1660         signals and methods.  Set connection properties needed for
1661         `tramp-check-cached-permissions'.
1662         (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1663         Return t or nil.
1665         * net/tramp.el (tramp-backtrace): Move up.
1666         (tramp-error): Dump a backtrace into the debug buffer when
1667         `tramp-verbose > 9.
1668         (tramp-file-mode-type-map, tramp-file-mode-from-int)
1669         (tramp-file-mode-permissions, tramp-get-local-uid)
1670         (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1671         tramp-sh.el.
1673         * net/tramp-sh.el (tramp-file-mode-type-map)
1674         (tramp-check-cached-permissions, tramp-file-mode-from-int)
1675         (tramp-file-mode-permissions, tramp-get-local-uid)
1676         (tramp-get-local-gid): Move to tramp.el.
1678 2013-03-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1680         Separate mouse-1-click-follows-link from mouse-drag-region.
1681         * mouse.el (mouse--down-1-maybe-follows-link): New function.
1682         (key-translation-map): Use it to implement mouse-1-click-follows-link.
1683         (mouse-drag-line, mouse-drag-track):
1684         Remove mouse-1-click-follows-link code.
1685         (mouse--remap-link-click-p): Remove.
1687 2013-03-08  Jambunathan K  <kjambunathan@gmail.com>
1689         * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1690         (hi-lock-read-regexp-defaults):  New defun.
1691         (hi-lock-line-face-buffer, hi-lock-face-buffer)
1692         (hi-lock-face-phrase-buffer): Propagate above change.
1693         Update docstring (bug#13892).
1695         * subr.el (find-tag-default-as-regexp): New defun.
1696         * replace.el (read-regexp): Propagate above change.
1698 2013-03-08  Jay Belanger  <jay.p.belanger@gmail.com>
1700         * calc/calc-units.el (calc-convert-units): Fix the way that default
1701         new units are stored.
1703 2013-03-07  Matthias Meulien  <orontee@gmail.com>
1705         * bookmark.el: Define a face to highlight bookmark names in
1706         bookmark menu buffers, where the default is a bold face similarly
1707         to buffer names in buffer menu buffers.
1708         (bookmark-menu-bookmark): New face to highlight bookmark names.
1709         (bookmark-insert-location): Remove duplicated text property to
1710         conform to buffer list (see `list-buffers').
1711         (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1712         `bookmark-menu-bookmark' to bookmark names.
1714 2013-03-07  Matthias Meulien  <orontee@gmail.com>
1715             Karl Fogel  <kfogel@red-bean.com>
1717         * bookmark.el: Display the bookmark list header similarly to the
1718         buffer list header (see `list-buffers'), where the default is now
1719         an immovable/immutable header line.
1720         (bookmark-bmenu-use-header-line): New variable.
1721         (bookmark-bmenu-inline-header-height): New name for
1722         `bookmark-bmenu-header-height', to avoid confusion with the code
1723         for the new immovable header.  All references changed.
1724         (bookmark-bmenu-set-header): New function.
1725         (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1726         Conditionalize header construction accordingly.
1727         (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1728         the inline header height.
1729         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1730         Conditionalize the skipping of the inline header height.
1732 2013-03-07  Dmitry Gutov  <dgutov@yandex.ru>
1734         * progmodes/js.el (js--multi-line-declaration-indentation):
1735         Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1737 2013-03-06  Dmitry Gutov  <dgutov@yandex.ru>
1739         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1740         Only propertize regexp when not inside a string (Bug#13885).
1742 2013-03-06  Alan Mackenzie  <acm@muc.de>
1744         Correct the position of point in some line-up functions.
1745         * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1746         (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1747         point at column 0 rather than at a random place in the line.
1749 2013-03-05  Michael Albinus  <michael.albinus@gmx.de>
1751         * net/tramp-compat.el (tramp-compat-delete-directory):
1752         Implement TRASH argument.
1754 2013-03-05  Dmitry Gutov  <dgutov@yandex.ru>
1756         Keep pre-existing highlighting in completion candidates (Bug#13250).
1757         * minibuffer.el (completions-first-difference): State that the
1758         face is "added" in the docstring.
1759         (completions-common-part): Same.  And don't inherit from default.
1760         (completion-hilit-commonality): Prepend 'completions-common-part
1761         and 'completion-first-difference faces to the 'face property,
1762         instead of replacing the value(s).
1763         (completion--insert-strings): Same with 'completions-annotations face.
1764         (completion-hilit-commonality): Use 'face instead of
1765         'font-lock-face, because it gets priority if the completion
1766         strings already have 'face set.
1768 2013-03-04  Alan Mackenzie  <acm@muc.de>
1770         Replace `last-command-event' by `last-command-char' in XEmacs.
1771         * progmodes/cc-defs.el (c-last-command-char): New macro.
1772         * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1773         (c-semi&comma-no-newlines-before-nonblanks)
1774         (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1775         in place of `last-command-event'.
1776         * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1777         (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1778         (c-electric-paren, c-electric-continued-statement): Use the new
1779         macro in place of `last-command-event'.
1781 2013-03-04  Glenn Morris  <rgm@gnu.org>
1783         * files.el (inhibit-local-variables-regexps):
1784         Add .diff and .patch.  (Bug#13862)
1786 2013-03-03  Michael Albinus  <michael.albinus@gmx.de>
1788         * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1789         whether the "su" command is available on the device.
1791 2013-03-01  Michael Albinus  <michael.albinus@gmx.de>
1793         * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1794         (tramp-adb-handle-process-file): Remove superfluous setting.
1795         (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1796         (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1797         (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1799 2013-03-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1801         * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1802         (ispell-print-if-debug): Build `format' in.  Avoid end-of-buffer.
1803         (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1804         Use dict-key rather than dict-name for the error message.
1806 2013-03-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1808         * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1809         when reverting (bug#13831).
1811 2013-03-01  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
1813         * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1814         Always expand affix-file before storing to protect against changed
1815         `default-directory'.
1816         (ispell-print-if-debug): Make sure message is printed at the end
1817         of the debug buffer.
1819 2013-03-01  Michael Albinus  <michael.albinus@gmx.de>
1821         * net/tramp.el (tramp-obsolete-methods): New defconst.
1822         (tramp-warned-obsolete-methods): New defvar.
1823         (tramp-find-method): Check for obsolete methods.  Map them to a
1824         replacement method if appropriate.
1826         * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1827         Remove methods.
1828         (top): Remove completion functions for "scp1", "scp2", "ssh1",
1829         "ssh2" and "plink1".
1831 2013-02-28  Dale Sedivec  <dale@codefu.org>
1833         * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1834         Return valid syntax-table property value when converting
1835         quotes within text from string syntax to punctuation syntax (bug#13844).
1837 2013-02-28  Juri Linkov  <juri@jurta.org>
1839         * dired-aux.el (dired-diff): If file at point is a backup file,
1840         use its original as the default value, and reverse the order
1841         of arguments to the `diff' call.  Doc fix.  (Bug#13772)
1843 2013-02-28  Michael Albinus  <michael.albinus@gmx.de>
1845         * net/tramp-adb.el (tramp-adb-sdk-dir): Remove.  Replaced by ...
1846         (tramp-adb-program): New defcustom.  Remove function.  Adapt calls.
1848 2013-02-28  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
1850         Initial support for hunspell dictionaries auto-detection (Bug#13639)
1852         * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1853         Ask hunspell about available and default dictionaries.
1854         (ispell-parse-hunspell-affix-file): Extract relevant info from
1855         hunspell affix file.
1856         (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1857         `ispell-dictionary-alist' entry for given dictionary after info
1858         provided by `ispell-parse-hunspell-affix-file'.
1859         (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1860         of parsed hunspell dicts and associated affix files.
1861         (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1862         of parsed hunspell dicts and associated parameters.
1863         (ispell-set-spellchecker-params):
1864         Call `ispell-find-hunspell-dictionaries' if hunspell and not
1865         previously done.
1866         (ispell-start-process):
1867         Call `ispell-hunspell-fill-dictionary-entry' for current
1868         dictionary if it is not initialized.
1870 2013-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1872         * imenu.el: Comment nitpicks.
1874 2013-02-28  Sam Steingold  <sds@gnu.org>
1876         * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1877         See <http://stackoverflow.com/questions/14720205>.
1879 2013-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1881         * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1882         (net-utils-mode): Use it.
1883         (net-utils--revert-cmd): New var.
1884         (net-utils-run-simple): Set it, and remove bogus interactive spec.
1885         (traceroute): Use net-utils-run-simple.
1887 2013-02-28  Glenn Morris  <rgm@gnu.org>
1889         * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1891 2013-02-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1893         * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1894         (doc-view-fallback-mode): Remove overlays here.
1895         (doc-view-toggle-display): Instead of here.  Don't throw away
1896         image-mode-winprops-alist.
1897         (doc-view-goto-page): Don't mess with hscroll.
1899 2013-02-27  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
1901         * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1902         &optional (bug#13819).
1904 2013-02-27  Michael Albinus  <michael.albinus@gmx.de>
1906         * net/tramp-adb.el (tramp-adb-parse-device-names)
1907         (tramp-adb-maybe-open-connection): Add timeouts.  (Bug#13299)
1909 2013-02-26  Michael Albinus  <michael.albinus@gmx.de>
1911         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1912         Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1913         defined.  POSIX environments fall back to the "C" locale then and
1914         emit a warning, which shall be suppressed.
1916 2013-02-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1918         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1919         (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1921 2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1923         * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1925 2013-02-25  Juri Linkov  <juri@jurta.org>
1927         * replace.el (read-regexp): Let-bind `default' to the first
1928         element of `defaults' if it's a list, otherwise it should be
1929         a string or nil.  Let-bind `suggestions' to `defaults' if it's
1930         a list, otherwise make a list with the string value.  Doc fix.
1931         (Bug#13805)
1933 2013-02-25  Eli Zaretskii  <eliz@gnu.org>
1935         * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1936         that match "\`\.#", to avoid compiling lock files, even if they
1937         are readable (as they are on MS-Windows).
1939 2013-02-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1941         * files.el (basic-save-buffer): Remove redundant directory-creation.
1943 2013-02-24  Jay Belanger  <jay.p.belanger@gmail.com>
1945         * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1946         Add option to force `pi' to remain symbolic.
1947         * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1948         (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1949         (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1950         derivatives, when necessary.
1952 2013-02-23  Peter Kleiweg  <p.c.j.kleiweg@rug.nl>
1954         * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1955         (ps-mode-octal-region): Use string-make-unibyte.
1957 2013-02-23  Glenn Morris  <rgm@gnu.org>
1959         * emulation/viper-cmd.el (viper-submit-report):
1960         * progmodes/ps-mode.el (ps-mode-maintainer-address):
1961         * progmodes/vera-mode.el (vera-mode-help-address):
1962         * textmodes/artist.el (artist-maintainer-address):
1963         * textmodes/reftex.el (reftex-report-bug):
1964         * vc/ediff-util.el (ediff-submit-report):
1965         Add bug-gnu-emacs to bug report address.
1967         * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1968         Remove bug report entries.
1969         (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1971         * emacs-lisp/bytecomp.el (byte-compile-level): New.
1972         (byte-compile-file, byte-compile-from-buffer):
1973         Use separate input/output buffers for each level of recursive
1974         byte-compile-file calls.  (Bug#13787)
1976 2013-02-23  Michael Albinus  <michael.albinus@gmx.de>
1978         * net/tramp.el (tramp-methods): Fix docstring.
1979         (tramp-ssh-controlmaster-options): Rename it from
1980         `tramp-ssh-controlmaster-template'.  Return a string.
1981         (tramp-default-method): Adapt check for
1982         `tramp-ssh-controlmaster-options'.
1984         * net/tramp-sh.el (tramp-methods):
1985         Replace `tramp-ssh-controlmaster-template' by "%c".
1986         (tramp-do-copy-or-rename-file-out-of-band)
1987         (tramp-maybe-open-connection): Use it in format spec.  Ensure,
1988         that it is applied for the first hop only.
1990 2013-02-22  Juri Linkov  <juri@jurta.org>
1992         * isearch.el (isearch-lazy-highlight-new-loop):
1993         Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1994         to `isearch-other-end' if it is not nil.  (Bug#13402)
1996         * replace.el (replace-highlight): Let-bind `isearch-other-end'
1997         to `match-beg'.
1999         * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
2000         Let-bind `isearch-other-end' to `start', `isearch-forward' to t
2001         and `isearch-error' to nil.
2003 2013-03-16  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2005         * progmodes/python.el (python-info-current-defun):
2006         Enhance match-data cluttering prevention.
2008 2013-02-22  Michael Albinus  <michael.albinus@gmx.de>
2010         * net/tramp.el (tramp-tramp-file-p): Fix docstring.
2012         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
2013         Handle multibyte file names.
2015 2013-02-22  Glenn Morris  <rgm@gnu.org>
2017         * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
2018         (sgml-transformation-function): Give it a :set function.
2019         (sgml-tag): Doc fix.
2021         * cmuscheme.el (scheme-buffer):
2022         * progmodes/inf-lisp.el (inferior-lisp-buffer):
2023         * progmodes/tcl.el (inferior-tcl-buffer):
2024         * textmodes/tex-mode.el (tex-command): Doc fixes.
2026         * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
2028         * htmlfontify.el (hfy-default-header): Encode title string.  (Bug#7457)
2030 2013-02-21  Bastien Guerry  <bzg@gnu.org>
2032         * cmuscheme.el (scheme-buffer): Fix docstring.  (Bug#13778)
2034 2013-02-21  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2036         * progmodes/python.el (python-info-current-defun):
2037         Enhance match-data cluttering prevention.
2039 2013-02-21  Glenn Morris  <rgm@gnu.org>
2041         * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
2042         loaded while outline-regexp is let bound.  (Bug#9584)
2044 2013-02-21  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2046         * progmodes/python.el (python-info-current-defun): Fix failed
2047         defun name retrieval because of unwanted match-data cluttering.
2049 2013-02-21  Michael Albinus  <michael.albinus@gmx.de>
2051         * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
2052         defconst.  Apply independent check for ControlPersist.
2054         * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
2055         temporarily, via "env".
2057 2013-02-21  Glenn Morris  <rgm@gnu.org>
2059         * info.el (Info-enable-edit): Remove.
2060         (Info-edit): Disable it rather than using Info-enable.
2061         (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
2062         (Info-cease-edit): Make editing of Info files obsolete.
2064         * informat.el (Info-tagify):
2065         Handle buffers not visiting files.  (Bug#13763)
2067 2013-02-21  Juanma Barranquero  <lekktu@gmail.com>
2069         * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
2071 2013-02-21  Glenn Morris  <rgm@gnu.org>
2073         * files.el (basic-save-buffer): Move check for existing parent
2074         directory after hooks.  (Bug#13773)
2076 2013-02-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2078         * simple.el (command-execute): Move from C.  Add obsolete check.
2079         (extended-command-history): Move from C.
2081 2013-02-20  Ulrich MĂ¼ller  <ulm@gentoo.org>
2083         * jka-cmpr-hook.el (jka-compr-compression-info-list)
2084         (jka-compr-mode-alist-additions): Handle .txz suffix for
2085         XZ-compressed tar archives (bug#13770).
2087 2013-02-20  Bastien Guerry  <bzg@gnu.org>
2089         * outline.el (outline-regexp, outline-heading-end-regexp):
2090         Make variables, not options (bug#13731).
2092 2013-02-20  Glenn Morris  <rgm@gnu.org>
2094         * image.el (image-current-frame): Change from variable to function.
2095         (image-show-frame): Rename from image-nth-frame.  Update callers.
2096         * image-mode.el (image-multi-frame): New variable.
2097         (image-mode-map, image-mode, image-goto-frame):
2098         Use image-multi-frame rather than image-current-frame.
2099         (image-mode, image-goto-frame): Use image-current-frame as
2100         function rather than as variable.
2102         * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
2103         * emacs-lisp/cl-macs.el (cl--make-type-test)
2104         (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
2106 2013-02-19  Michael Albinus  <michael.albinus@gmx.de>
2108         * net/tramp-cache.el (tramp-get-hash-table): New defun.
2109         (tramp-get-file-property, tramp-set-file-property)
2110         (tramp-get-connection-property, tramp-set-connection-property): Use it.
2111         (tramp-flush-file-property, tramp-flush-directory-property):
2112         Rename argument to KEY.
2113         (tramp-flush-connection-property): Simplify a little bit.
2114         (tramp-connection-property-p): New defun.
2115         (top): Reapply saved values only if there isn't a corresponding
2116         entry in `tramp-connection-properties'.
2118 2013-02-19  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2120         * progmodes/python.el (python-indent-context):
2121         Fix python-info-line-ends-backslash-p call.
2122         (python-info-line-ends-backslash-p)
2123         (python-info-beginning-of-backslash): Respect line-number argument.
2124         (python-info-current-line-comment-p):
2125         Fix behavior when not at beginning-of-line.
2126         (python-util-position): Remove function.
2127         (python-util-goto-line): New function.
2129 2013-02-19  Michael Albinus  <michael.albinus@gmx.de>
2131         * eshell/em-unix.el (eshell/su): Require tramp.
2132         (eshell/sudo): Require tramp.  Remove now unnecessary check.
2134         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
2135         `tramp-current-connection' in order to avoid an error when several
2136         commands are invoked in a short time in eshell and friends.
2138 2013-02-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2140         Cleanup some of EIEIO's namespace.
2141         * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
2142         Use it to define all the class-* and object-* field accessors (renamed
2143         to eieio--class-* and eieio--object-*).  Update all uses.
2144         (eieio--class-num-slots, eieio--object-num-slots): Rename from
2145         class-num-slots and object-num-slots.
2146         (eieio--check-type): New macro.
2147         (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
2148         (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
2149         (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
2150         (object-assoc-list-safe): Use it.
2151         (eieio-defclass): Tighten regexp.
2152         (eieio--defmethod): Use `memq'.  Signal an error for unknown method kind.
2153         Remove unreachable code.
2154         (object-class-fast): Declare obsolete.
2155         (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
2156         (eieio-object-class, eieio-object-class-name, eieio-class-parents)
2157         (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
2158         Rename from class-name, object-name, object-set-name-string,
2159         object-class, object-class-name, class-parents, class-children,
2160         class-precedence-list, class-parent; with obsolete alias.
2161         (class-of, class-direct-superclasses, class-direct-subclasses):
2162         Declare obsolete.
2163         (eieio-defmethod): Use `memq'; remove unreachable code.
2164         * emacs-lisp/eieio-base.el (eieio-persistent-read):
2165         * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
2166         (eieio-browse-tree, eieio-browse): Use eieio--check-type.
2168 2013-02-18  Aidan Gauland  <aidalgol@no8wireless.co.nz>
2170         * eshell/em-cmpl.el: Correct "context-related help" keybinding in
2171         commentary.
2173 2013-02-18  Michael Heerdegen  <michael_heerdegen@web.de>
2175         * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
2176         Use font-lock-keyword-face for macros and special forms (bug#8345).
2178 2013-02-17  Didier Verna  <didier@didierverna.net>
2180         * net/network-stream.el (network-stream-open-starttls):
2181         Check that response to the starttls-command is non-nil.  (Bug#13706)
2183 2013-02-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2185         * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
2186         Don't assume all identifier chars have syntax word.
2187         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2188         Remove bar-not-symbol.  Adjust callers.
2189         (lisp-mode-variables): Don't set a font-lock-syntax-table.
2191 2013-02-17  Leo Liu  <sdl.web@gmail.com>
2193         * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
2195 2013-02-17  Glenn Morris  <rgm@gnu.org>
2197         * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
2199         * image-mode.el (image-mode-map): Add image-dired menu entry.
2201         * image-dired.el (tumme): Make this alias obsolete.
2203 2013-02-16  Glenn Morris  <rgm@gnu.org>
2205         * image.el (image-animated-types): Remove.
2206         (image-multi-frame-p): Rename from image-animated-p, and generalize.
2207         (image-animated-p): Make obsolete alias.
2208         (image-animate, image-nth-frame, image-animate-timeout):
2209         Use image-multi-frame-p.
2210         (image-animate-timeout): If no delay, use image-default-frame-delay.
2211         * image-mode.el (image-mode, image-toggle-animation):
2212         Use image-multi-frame-p.  (Bug#763, bug#10739)
2213         (image-mode): Adjust startup message for a multi-frame image.
2215         * image-mode.el (image-mode-map): Give it a menu.
2217 2013-02-16  Michael Albinus  <michael.albinus@gmx.de>
2219         * net/tramp-cache.el (tramp-connection-properties): New customer
2220         option.
2221         (tramp-get-connection-property): Use it.
2223         * net/tramp-compat.el (top): Require 'trampver.
2225         * net/tramp-sh.el (tramp-remote-process-environment):
2226         Set tramp-autoload cookie.
2228 2013-02-16  Kevin Ryde  <user42@zip.com.au>
2230         * info-look.el (info-lookup-select-mode): If major-mode has no
2231         info-lookup-alist entry then search up derived-mode-parent (bug#8660).
2233 2013-02-16  Jambunathan K  <kjambunathan@gmail.com>
2235         * replace.el (read-regexp): Tighten the regexp that matches tag.
2236         When tag is retrieved with `find-tag-default', use regexp that
2237         matches tag at point.  Also update docstring (Bug#13687).
2239 2013-02-16  Eli Zaretskii  <eliz@gnu.org>
2241         * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
2242         add watch for the file, not its parent directory, since w32notify
2243         sets up the watch for the directory internally.  (Bug#13725)
2245 2013-02-16  Glenn Morris  <rgm@gnu.org>
2247         * image.el (image-default-frame-delay): New variable.
2248         (image-animated-p): Use image-default-frame-delay.
2249         (image-minimum-frame-delay): New constant.
2250         (image-animate-timeout): Use image-minimum-frame-delay.
2252         * image.el (image-nth-frame): New, split from image-animate-timeout.
2253         (image-animate-timeout): Use image-nth-frame.
2254         * image-mode.el (image-goto-frame, image-next-frame)
2255         (image-previous-frame): New commands.
2256         (image-mode-map): Add new frame commands.
2258 2013-02-16  Jonas Bernoulli  <jonas@bernoul.li>
2260         * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
2261         If col-desc already has help-echo, use it.  (Bug#13563)
2263 2013-02-16  Glenn Morris  <rgm@gnu.org>
2265         * image.el (image-current-frame): New variable.
2266         (image-animate-timeout): Set image-current-frame.
2267         * image-mode.el (image-mode): For animated images,
2268         display a frame counter via mode-line-process.
2270         * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
2272 2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2274         * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
2276 2013-02-15  Alan Mackenzie  <acm@muc.de>
2278         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
2279         global minor mode has been enabled, call the minor mode function
2280         for a new buffer once only, after the major mode hook, whilst
2281         allowing that hook explicitly to disable the minor mode.
2282         (MODE-disable-in-buffer): New (generated) function.
2283         (disable-MODE): New (generated) buffer local variable.
2285 2013-02-15  Jambunathan K  <kjambunathan@gmail.com>
2287         * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
2288         `iswitchb-next-match' and `iswitchb-prev-match' resply.
2289         * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
2290         `ido-next-match' and `ido-prev-match' resply.
2291         * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
2292         Bind `C-.' and `C-,' to `icomplete-forward-completions' and
2293         `icomplete-backward-completions' (Bug#13708).
2295 2013-02-15  Glenn Morris  <rgm@gnu.org>
2297         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
2299 2013-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2301         * net/goto-addr.el (goto-address-fontify): Add start and end args.
2302         (goto-address-fontify-region): Use them instead of narrowing, so
2303         syntax-ppss has access to the whole buffer.
2305 2013-02-15  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2307         * progmodes/python.el: Explain how to restore "cc-mode"-like
2308         forward-sexp movement in header documentation (Bug#13642).
2309         (python-nav--forward-sexp): Behave like emacs-lisp-mode in
2310         comments and strings (GH bug 114).
2312 2013-02-15  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2314         * progmodes/python.el (python-info-current-defun): Fix current
2315         defun detection (Bug#13618).
2317 2013-02-15  Chong Yidong  <cyd@gnu.org>
2319         * xml.el (xml-parse-string): Fix typo in handling of bad character
2320         references.
2322 2013-02-15  Glenn Morris  <rgm@gnu.org>
2324         * play/fortune.el (fortune-compile): Simplify and fix previous change.
2326 2013-02-14  Michael Albinus  <michael.albinus@gmx.de>
2328         * net/tramp.el (tramp-debug-message):
2329         Add `tramp-condition-case-unless-debug'.
2330         (tramp-debug-on-error): New defvar.
2331         (tramp-condition-case-unless-debug): New defun.
2332         (tramp-file-name-handler): Use it.
2334 2013-02-14  Juri Linkov  <juri@jurta.org>
2336         * info.el (Info-isearch-filter): Treat non-nil values of
2337         `search-invisible' including its default value `open'
2338         like the value `t' to match hidden text.  (Bug#13402)
2340 2013-02-14  Glenn Morris  <rgm@gnu.org>
2342         * help-fns.el (find-lisp-object-file-name): Give special treatment
2343         to all ~/.foo.elc files, not just ~/.emacs.  (Bug#9007)
2345 2013-02-14  David Biesack  <sasdjb@d72933.na.sas.com>  (tiny change)
2347         * net/quickurl.el (quickurl-save-urls):
2348         Ensure quickurl-urls is not truncated on printing.  (Bug#9276)
2350 2013-02-14  Dmitry Gutov  <dgutov@yandex.ru>
2352         * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
2353         depth for unfinished percent literal.  Not using it in the caller.
2354         (ruby-move-to-block): Jump over multiline literals of all types,
2355         ignoring code-looking contents inside them.
2356         (ruby-add-log-current-method): Improve performance at the expense
2357         of accuracy.  `ruby-block-contains-point' is relatively slow, so
2358         only use it for method and singleton class blocks.
2360 2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
2362         Use ControlMaster where applicable.  (Bug#13677)
2364         * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
2365         replacing `tramp-detect-ssh-controlmaster'.
2366         (tramp-default-method): Use it.
2368         * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
2369         [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
2370         arguments.
2371         [scpc, rsyncc]: Remove methods.
2372         (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
2373         and "ssh2_old".
2374         (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
2375         (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
2377 2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2379         * emacs-lisp/package.el (package--initialized): Move before first use.
2381 2013-02-13  Jambunathan K  <kjambunathan@gmail.com>
2383         * icomplete.el (icomplete-hide-common-prefix): New user option.
2384         (icomplete-first-match): New face.
2385         (icomplete-completions): Correct handling of "complete but not
2386         unique" (Bug#12638).
2388 2013-02-13  YE Qianchuan  <stool.ye@gmail.com>  (tiny change)
2390         * descr-text.el (describe-char): Display the script (bug#13698).
2392 2013-02-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2394         * tmm.el: Use lexical-binding and current-active-maps.
2395         (tmm-menubar): Use map-keymap and pcase.
2396         (tmm--completion-table): New function.
2397         (tmm-prompt): Use it to fix the menu order.
2398         (tmm-get-keybind): Use current-active-maps.
2400 2013-02-12  Christopher Schmidt  <christopher@ch.ristopher.com>
2402         Add dired-hide-details-mode.  (Bug#6799)
2404         * locate.el (locate-mode): Set parent mode property to dired-mode.
2406         * find-dired.el (find-dired): Call dired-insert-set-properties on
2407         initial information line.  Set process mark on end of buffer.
2408         (find-dired-sentinel):
2409         Call dired-insert-set-properties on summary.
2411         * dired.el (dired-hide-details-hide-symlink-targets)
2412         (dired-hide-details-hide-information-lines): New options.
2413         (dired-insert-directory):
2414         Set properties after final treatment of output.
2415         (dired-insert-set-properties):
2416         Set dired-hide-details-* properties.
2417         (dired-mode-map): Bind dired-hide-details-mode.
2418         (dired-mode): Set buffer-invisibility-spec to a list.
2419         (dired-next-line): Skip hidden lines.
2420         (dired-previous-line): Use dired-next-line.
2421         (dired-hide-details-mode): New minor mode.
2422         (dired-hide-details-update-invisibility-spec): New function.
2424 2013-02-13  Glenn Morris  <rgm@gnu.org>
2426         * play/yow.el: Move to obsolete/.  (Bug#9384)
2428 2013-02-13  Juri Linkov  <juri@jurta.org>
2430         * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2431         to select `ediff-control-frame' and set input focus correctly on Xfce.
2432         (Bug#12218)
2434 2013-02-13  Juri Linkov  <juri@jurta.org>
2436         * image-mode.el (image-mode-map):
2437         * doc-view.el (doc-view-mode-map):
2438         * vc/ediff-util.el (ediff-setup-keymap):
2439         Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)
2441 2013-02-13  Dmitry Gutov  <dgutov@yandex.ru>
2443         * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2444         performance.  Instead of recalculating indentation fully for each
2445         line, sum up indentation depth based only on visited lines.
2446         (ruby-parse-partial): Increase the depth after "do" even when END
2447         is right after it.
2448         (ruby-parse-partial): When END is in the middle of a percent
2449         literal, increase the depth if the delimiter chars belong to the
2450         paren syntax class.
2452 2013-02-13  Kirill A. Korinskiy  <catap@catap.ru>
2454         * play/fortune.el (fortune-compile): Also make the compiled file
2455         if it does not exist at all, not just if it is old.  (Bug#5338)
2457 2013-02-13  Glenn Morris  <rgm@gnu.org>
2459         * emacs-lisp/package.el (package-menu-execute): Doc fix.
2461 2013-02-13  Yves Baumes  <ybaumes@gmail.com>  (tiny change)
2463         * lisp/emacs-lisp/package.el (package-menu-execute):
2464         Add optional noquery argument.  (Bug#13625)
2466 2013-02-13  Michael Albinus  <michael.albinus@gmx.de>
2468         * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2469         if DIR exists and PARENTS is non-nil.
2471 2013-02-13  Juanma Barranquero  <lekktu@gmail.com>
2473         * progmodes/js.el (js--multi-line-declaration-indentation):
2474         Silence byte-compiler warning.
2476 2013-02-12  Michael Albinus  <michael.albinus@gmx.de>
2478         * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2480         * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2481         only if it doesn't exist.
2483         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2484         Set process marker.
2486 2013-02-12  Tassilo Horn  <tsdh@gnu.org>
2488         * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2489         UserInstallation when calling soffice to work around LibreOffice
2490         bug 37531.
2492 2013-02-12  Glenn Morris  <rgm@gnu.org>
2494         * files.el (basic-save-buffer):
2495         Offer to create a non-existing directory.  (Bug#3016)
2497         * calc/calc-graph.el (calc-graph-show-dumb):
2498         * calendar/calendar.el (calendar-mode-map):
2499         * cus-edit.el (custom-mode-map):
2500         * ehelp.el (electric-help-map):
2501         * emulation/vip.el (vip-mode-map):
2502         * epa.el (epa-key-list-mode-map):
2503         * info.el (Info-mode-map):
2504         * mail/rmail.el (rmail-mode-map):
2505         * mail/rmailsum.el (rmail-summary-mode-map):
2506         * man.el (Man-mode-map):
2507         * net/newst-plainview.el (newsticker-mode-map):
2508         * progmodes/cpp.el (cpp-edit-mode-map):
2509         * progmodes/grep.el (grep-mode-map):
2510         * progmodes/idlw-help.el (idlwave-help-mode-map):
2511         * simple.el (special-mode-map):
2512         * startup.el (splash-screen-keymap):
2513         * view.el (view-mode-map):
2514         Make S-SPC scroll in the opposite sense to SPC.  (Bug#2145)
2516 2013-02-11  Elias Pipping  <pipping@lavabit.com>
2518         * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2519         (bug#13679).
2521 2013-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2523         * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2525 2013-02-11  Glenn Morris  <rgm@gnu.org>
2527         * vc/diff.el (diff-use-labels): New variable.
2528         (diff-no-select): Use --label rather than -L, and first
2529         check that it is supported.  (Bug#11067)
2531         * files.el (enable-dir-local-variables): New variable.
2532         (hack-dir-local-variables): Respect enable-dir-local-variables.
2533         * tutorial.el (help-with-tutorial):
2534         Ignore directory-local variables.  (Bug#11127)
2536         * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2537         (vc-svn-global-switches): ... to here.  (Bug#13513)
2539 2013-02-10  Christopher Schmidt  <christopher@ch.ristopher.com>
2541         * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2542         Handle "foo (bar, default: xxx): " prompts.
2544 2013-02-10  Chong Yidong  <cyd@gnu.org>
2546         * files.el (basic-save-buffer-1): Do not set
2547         buffer-file-coding-system-explicit (Bug#4533).
2549         * mail/emacsbug.el (report-emacs-bug): Change binding of
2550         report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2552 2013-02-09  Jay Belanger  <jay.p.belanger@gmail.com>
2554         * calc/calc.el (calc-allow-units-as-numbers): New variable.
2555         * calc/calc-units.el (calc-convert-units): Use new variable.
2557 2013-02-09  Eli Zaretskii  <eliz@gnu.org>
2559         * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2561         * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2562         buffer-file-type.
2564         * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2565         (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2566         (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2567         coding-system-for-write instead.
2569         * jka-compr.el (jka-compr-write-region): Don't bind
2570         buffer-file-type.
2572         * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2573         buffer-file-type.
2575         * files.el (file-name-buffer-file-type-alist): Remove defvar.
2576         (insert-file-contents-literally): Remove reference to
2577         file-name-buffer-file-type-alist.
2579         * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2580         make-obsolete.
2581         (find-buffer-file-type-match, find-buffer-file-type): Remove.
2582         (find-buffer-file-type-coding-system): Remove references to
2583         find-buffer-file-type-match, find-buffer-file-type, and
2584         buffer-file-type.
2585         Don't put find-buffer-file-type-coding-system into
2586         file-coding-system-alist.
2587         (find-file-binary, find-file-text): Bind coding-system-for-read
2588         instead of file-name-buffer-file-type-alist.
2590 2013-02-09  Jambunathan K  <kjambunathan@gmail.com>
2592         * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2593         converter (Bug#13622).
2594         (doc-view-unoconv-program): Make obsolete alias.
2595         (doc-view-odf->pdf-converter-program): New variable.
2596         (doc-view-odf->pdf-converter-function): New variable.
2597         (doc-view-mode-p): Use it.
2598         (doc-view-odf->pdf-converter-unoconv):
2599         Rename from `doc-view-odf->pdf-converter-unoconv'.
2600         (doc-view-odf->pdf-converter-soffice): New function.
2601         (doc-view-convert-current-doc):
2602         Use `doc-view-odf->pdf-converter-function'.
2604 2013-02-09  Chong Yidong  <cyd@gnu.org>
2606         * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2607         view-echo-area-messages (Bug#13340).
2609         * help.el (view-echo-area-messages): Use display-buffer.
2611         * dired-x.el (dired-do-run-mail): Prompt for confirmation
2612         (Bug#13561).
2614 2013-02-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2616         * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2617         Eval body right away, now that we do eager macroexpansion (bug#13605).
2619         * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2620         (fundamental-mode): Use run-mode-hooks.
2622         * eshell/esh-proc.el (eshell/kill): Fix last change.
2623         * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2625 2013-02-08  Aidan Gauland  <aidalgol@no8wireless.co.nz>
2627         * eshell/esh-proc.el (eshell/kill): Rewrite.
2629         * eshell/em-ls.el (show-almost-all): Declare.
2630         (eshell-do-ls): Add support for -A argument.
2632 2013-02-08  Jambunathan K  <kjambunathan@gmail.com>
2634         * icomplete.el (icomplete-forward-completions)
2635         (icomplete-backward-completions): Handle corner case (bug#13602).
2637 2013-02-07  Michael Albinus  <michael.albinus@gmx.de>
2639         * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2640         be nil.  Handle this.  (Bug#13636)
2642 2013-02-07  Richard Stallman  <rms@gnu.org>
2644         * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2645         `save-buffer-coding-system'.
2647 2013-02-07  Alan Mackenzie  <acm@muc.de>
2649         Fix bug in state cache mechanism.  Remove 'BOD "strategy".  Refactor.
2650         * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2651         (c-parse-state-get-strategy): Don't return 'BOD any more.
2652         (c-append-lower-brace-pair-to-state-cache):
2653         Extra parameter HERE instead of narrowing.
2654         Widen to top of buffer before searching backwards for a brace pair.
2655         (c-state-push-any-brace-pair): Add HERE parameter to function call.
2656         (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2657         Narrow to parameter HERE, in place of being called narrowed.
2658         (c-remove-stale-state-cache): Extra parameter HERE in place of
2659         narrowing.  Check there's an open brace in the cache before
2660         searching for its match.
2661         (c-invalidate-state-cache-1): Add HERE parameter to function call.
2662         (c-parse-state-1): Don't narrow here for 'forward strategy,
2663         instead passing extra parameter HERE to several functions.
2664         Remove 'BOD strategy.
2666 2013-02-06  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
2668         * emacs-lisp/package.el (describe-package-1): Tell what archive is
2669         used to install the package.
2671 2013-02-06  Glenn Morris  <rgm@gnu.org>
2673         * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2674         if we can't get user input.  (Bug#6567)
2676         * startup.el (command-line): If simple.el is missing,
2677         test and warn about for some possible causes.
2679 2013-02-05  Jan Djärv  <jan.h.d@swipnet.se>
2681         * cus-start.el (all): Add ns-use-native-fullscreen.
2683 2013-02-05  Glenn Morris  <rgm@gnu.org>
2685         * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2687         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2688         Fix directory creation in fallback case.
2690 2013-02-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
2692         * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2693         (vc-update-change-log): Use dolist.
2695 2013-02-04  Chong Yidong  <cyd@gnu.org>
2697         * thingatpt.el: Rewrite the URL detection routines, absorbing some
2698         code from ffap.el.
2699         (thing-at-point-beginning-of-url-regexp): New var.
2700         (thing-at-point-uri-schemes): Update list of URI schemes.
2701         (thing-at-point-url-regexp): Variable deleted.
2702         (thing-at-point-markedup-url-regexp): Disallow newlines.
2703         (thing-at-point-newsgroup-regexp)
2704         (thing-at-point-newsgroup-heads)
2705         (thing-at-point-default-mail-uri-scheme): New variables.
2706         (thing-at-point-bounds-of-url-at-point): Rewrite.  Use ffap's
2707         method to find the possible bounds of the URI at point.
2708         New optional argument to find ill-formed URIs.
2709         (thing-at-point-url-at-point): Rewrite.  New arguments for finding
2710         ill-formed URIs.  Use thing-at-point-bounds-of-url-at-point, and
2711         the scheme-adding heuristics from ffap-url-at-point.
2712         (thing-at-point--bounds-of-well-formed-url): New function.
2713         Do parens matching to decide whether to include parens in the URI
2714         (Bug#9153).
2716         * ffap.el: Require thingatpt.
2717         (ffap-url-at-point): Delegate URI detection to thing-at-point.
2718         All URI-valid characters are now recognized (Bug#5673).
2719         (ffap-string-at-point): Use use-region-p.
2720         (ffap-url-regexp): Extra character is handled by thing-at-point.
2721         (ffap-string-at-point-mode-alist): Allow parentheses.
2722         (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2723         Convert to aliases; code moved to thingatpt.el.
2724         (ffap-gnus-hook): Use setq-local.
2726 2013-02-04  Glenn Morris  <rgm@gnu.org>
2728         * emacs-lisp/ert.el (ert--explain-format-atom):
2729         Don't try to print non-characters as characters.  (Bug#13543)
2731 2013-02-03  Michael Albinus  <michael.albinus@gmx.de>
2733         * net/tramp.el (tramp-debug-message): Extend function exclude list.
2734         (tramp-backtrace): New defun.
2735         (tramp-handle-insert-file-contents): Use `visit' when inserting
2736         the local copy.
2738         * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2739         Use `remote-file-name-inhibit-cache'.
2741 2013-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2743         * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2744         (bug#13614).
2746         * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2747         current-load-list (bug#13366).
2749 2013-02-02  Christopher Schmidt  <christopher@ch.ristopher.com>
2751         * progmodes/compile.el (compilation-error-regexp-alist-alist):
2752         Identify g++ template instantiation trace.  (Bug#12287)
2753         (compilation-mode-hook, compilation-start-hook)
2754         (compilation-window-height): Simplify docstrings.  (Bug#13379)
2756 2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2758         * mouse.el (mouse-drag-track): Always deactivate the mark before
2759         running the final event's command since that command is in charge of
2760         activating the mark if needed (bug#13523).
2762 2013-02-02  Juri Linkov  <juri@jurta.org>
2764         * replace.el (perform-replace): Move let-bindings of isearch-*
2765         variables deeper to the loop that searches for the next match.
2766         Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2767         Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2768         (Bug#13579)
2770         * isearch.el (isearch-search-fun-default): Check for null
2771         first element of isearch-cmds as a precaution when it's used
2772         with inactive isearch.
2774 2013-02-02  Andrew W. Nosenko  <andrew.w.nosenko@gmail.com>  (tiny change)
2776         * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2777         error when buffer in question is narrowed so position 1 is out of
2778         visible part.
2780 2013-02-02  Glenn Morris  <rgm@gnu.org>
2782         * textmodes/remember.el (remember-clipboard): Doc fix.
2784 2013-02-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2786         * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2787         properties (bug#13179).
2789 2013-02-02  Juri Linkov  <juri@jurta.org>
2791         * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2792         instead of hard-coded default face `match'.  (Bug#9438)
2794 2012-02-01  Christopher Schmidt  <christopher@ch.ristopher.com>
2796         * vc/vc-arch.el (vc-arch-registered):
2797         * vc/vc-bzr.el (vc-bzr-registered):
2798         * vc/vc-cvs.el (vc-cvs-registered):
2799         * vc/vc-git.el (vc-git-registered):
2800         * vc/vc-hg.el (vc-hg-registered):
2801         * vc/vc-mtn.el (vc-mtn-registered):
2802         * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2803         (Bug#13139)
2805         * info.el (Info-next-reference, Info-prev-reference): Add numeric
2806         prefix argument.  (Bug#11656)
2808 2013-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2810         * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2812 2013-02-01  Glenn Morris  <rgm@gnu.org>
2814         * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2815         if the backend is known not to support it.
2817         * imenu.el (imenu-default-create-index-function):
2818         Tweak infinite loop test to check for forward motion as well as none.
2820 2013-02-01  Alex Harsanyi  <AlexHarsanyi@gmail.com>
2822         * net/soap-client.el (soap-invoke): Encode the string for
2823         `url-request-data' as UTF-8.
2824         Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2826 2013-02-01  Glenn Morris  <rgm@gnu.org>
2828         * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2830         * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2832 2013-01-31  Michael Albinus  <michael.albinus@gmx.de>
2834         * net/tramp.el (tramp-tramp-file-p): Comment check for
2835         `string-as-unibyte'.  The function does not exist on XEmacs, and
2836         likely we need another approach.
2838         * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2839         `tramp-gw-*' variables are bound.
2841 2013-01-31  Glenn Morris  <rgm@gnu.org>
2843         * files.el (basic-save-buffer-2): Choose coding system for
2844         writing the file before backing it up, to reduce delay between
2845         backing up and writing the new version.  (Bug#13522)
2847 2013-01-31  Michal Nazarewicz  <mina86@mina86.com>
2849         * simple.el (cycle-spacing): New command.
2850         (just-one-space): Use it.
2852 2013-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2854         * progmodes/opascal.el: Rename from delphi.el.  Use lexical-binding.
2855         (opascal-newline-always-indents): Remove custom.
2856         (opascal-tab, opascal-newline): Remove commands.
2857         (opascal-new-comment-line): Insert "\n" instead of calling newline.
2858         (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2859         (opascal-save-match-data): Remove, use save-match-data instead.
2860         (opascal-save-state): Use with-silent-modifications.
2862         * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2863         (bug#13585).
2865 2013-01-30  Juri Linkov  <juri@jurta.org>
2867         * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2868         Use fullboth as an alias for fullscreen.  Suggested by Jan Djärv in
2869         <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2871 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2873         * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2874         column if we're just deleting the backslashes.
2875         (makefile-fill-paragraph): Use eolp.
2877 2013-01-30  Michael Albinus  <michael.albinus@gmx.de>
2879         * autorevert.el (auto-revert-use-notify): Fix docstring.
2881 2013-01-30  Leo Liu  <sdl.web@gmail.com>
2883         * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2885 2013-01-30  Glenn Morris  <rgm@gnu.org>
2887         * mouse.el (mouse-drag-line): Avoid pushing same event onto
2888         unread-command-events twice in some cases.  This tries to implement
2889         the 2012-07-26 changes in a different way.  (Bug#13560)
2891 2013-01-30  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2893         * progmodes/python.el
2894         (python-pdbtrack-comint-output-filter-function): Enhancements on
2895         stacktrace detection.  (thanks @gnovak)
2897 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2899         * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2900         (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2901         Use defvar-local.
2902         (jit-lock-register): Use setq-local.
2904 2013-01-30  Jay Belanger  <jay.p.belanger@gmail.com>
2906         * calc-units.el (math-default-units-table): Remove initial value.
2907         (calc-convert-units): Treat expressions where all the units cancel as
2908         if they didn't have units.
2910 2013-01-30  Michael Albinus  <michael.albinus@gmx.de>
2912         * net/tramp.el (tramp-process-connection-type): Fix docstring.
2913         (tramp-completion-reread-directory-timeout): Fix type.
2914         (tramp-connection-min-time-diff): New defcustom.
2916         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2918 2013-01-30  Glenn Morris  <rgm@gnu.org>
2920         * imenu.el (imenu-default-create-index-function):
2921         Put back a version of the infinite loop test removed 2013-01-23.
2923 2013-01-30  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
2925         * progmodes/python.el (python-shell-parse-command):
2926         Find python-shell-interpreter with modified environment.
2928 2013-01-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2930         * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2932 2013-01-29  Alan Mackenzie  <acm@muc.de>
2934         Amend to fontify /regexp/s in actions correctly.
2935         * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2936         (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2937         are no longer included.
2938         (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2939         What used to be these variables without "-line" in the name.
2940         (c-awk-neutral-re): { is no longer neutral.  Escaped newlines now are.
2941         (c-awk-non-arith-op-bra-re): Now also matches {.
2942         (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2943         "return", and "case".
2944         (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2945         by /.
2946         (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2947         (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2949 2013-01-29  Michael Albinus  <michael.albinus@gmx.de>
2951         * autorevert.el (auto-revert-use-notify):
2952         Use `custom-initialize-default' for initialization.  (Bug#13583)
2954         * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2956         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2957         Catch `suppress'.  Otherwise, `tramp-run-real-handler' might be called
2958         in `tramp-file-name-handler'.
2959         (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2960         compatibility.
2961         (tramp-compute-multi-hops): Check, whether
2962         `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2964 2013-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2966         * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2967         (bug#13297).
2969 2013-01-27  Dmitry Gutov  <dgutov@yandex.ru>
2971         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2972         checks made superfluous by the \_< operator.
2973         * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2974         temporarily) broken indentation.
2975         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2976         Highlight nested constants, too.  \_< broke that.
2978 2013-01-27  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2980         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2981         instead of "\\b".
2983 2013-01-27  Michael Albinus  <michael.albinus@gmx.de>
2985         * autorevert.el (auto-revert-handler): Notifications which result
2986         from a saved file shall not be taken into account.  (Bug#13557)
2988 2013-01-26  Andreas Schwab  <schwab@linux-m68k.org>
2990         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2991         parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2992         (lisp-mode): Pass t for it.  (Bug#13556)
2994 2013-01-25  Alan Mackenzie  <acm@muc.de>
2996         AWK Mode: Fix indentation bug at top level.  Bug #12274.
2998         * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2999         just before CASE 5D.
3001 2013-01-25  Dmitry Antipov  <dmantipov@yandex.ru>
3003         * net/socks.el (socks-nslookup-host): Use string-to-number.
3005 2013-01-25  Michael Albinus  <michael.albinus@gmx.de>
3007         * autorevert.el (auto-revert-remote-files)
3008         (auto-revert-notify-exclude-dir-regexp): New defcustoms.
3009         (auto-revert-notify-enabled, auto-revert-use-notify)
3010         (auto-revert-notify-watch-descriptor-hash-list)
3011         (auto-revert-notify-modified-p, auto-revert-notify-event-p)
3012         (auto-revert-notify-event-descriptor)
3013         (auto-revert-notify-event-action)
3014         (auto-revert-notify-event-file-name): Doc fix.
3015         (global-auto-revert-mode): Reorder checks.
3016         (auto-revert-notify-rm-watch): Respect changed values of
3017         `auto-revert-notify-watch-descriptor-hash-list'.
3018         (auto-revert-notify-add-watch): Check for
3019         `auto-revert-notify-exclude-dir-regexp'.  Adapt filters for
3020         `inotify-add-watch'.  Watch `default-directory' instead of
3021         `buffer-file-name'.  `auto-revert-notify-watch-descriptor-hash-list'
3022         has a changed meaning now.  (Bug#13540)
3023         (auto-revert-notify-handler): Change implementation wrt events
3024         returning from a directory.
3025         (auto-revert-handler): Reorder implementation for checks of remote
3026         files.
3027         (auto-revert-buffers): Fix parentheses error.
3029 2013-01-25  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
3031         * progmodes/python.el: Enhancements to header documentation about
3032         skeletons.  (Bug#5716)
3034         * imenu.el (imenu-default-create-index-function): Remove useless
3035         infinite loop check.  (Bug#13438)
3037 2013-01-25  Alan Mackenzie  <acm@muc.de>
3039         Fix a bug in the state cache mechanism.  Refactor this a bit.
3041         * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
3042         `cache-pos' element from the return value.
3043         (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
3044         buffer to enable proper searching from beyond HERE.  Amend the
3045         test for detecting the sought brace pair.  Amend the value written
3046         to the "brace desert cache" when the brace isn't found.
3047         (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
3048         and several other variables analogously.
3049         (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
3050         parameter to a locally calculated variable.
3051         (c-parse-state-1): Change the calling conventions to the two
3052         defuns involving `cache-pos'.
3054 2013-01-25  Chong Yidong  <cyd@gnu.org>
3056         * xml.el (xml-entity-or-char-ref-re): Fix regexp.
3058 2013-01-24  Aaron Ecay  <aaronecay@gmail.com>  (tiny change)
3060         * paren.el (show-paren-function): Make sure to set 'priority and
3061         'face only if the overlay does exist.
3063 2013-01-24  Michael Albinus  <michael.albinus@gmx.de>
3065         * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
3067         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
3068         basic attributes.
3069         (tramp-sh-handle-set-file-acl): Improve error checking.
3071 2013-01-24  Dmitry Antipov  <dmantipov@yandex.ru>
3073         * doc-view.el (doc-view-display): Force mode line update until all
3074         document is converted.  Suggested by Stefan Monnier (Bug#13164).
3076 2013-01-23  Bastien Guerry  <bzg@gnu.org>
3078         * paren.el (show-paren-function): Make sure an overlay exists
3079         before trying to delete it.  Also use `pos' as a position only
3080         when it is an integer.
3082 2013-01-23  Dmitry Antipov  <dmantipov@yandex.ru>
3084         * play/gametree.el (gametree-break-line-here): Use point-marker.
3086 2013-01-22  Michael Albinus  <michael.albinus@gmx.de>
3088         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
3089         Mark descriptive parts with `display' property.
3091 2013-01-21  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
3093         * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
3094         New variable to map standard dict names to hunspell ones.
3095         (ispell-set-spellchecker-params): Make sure specific dict names
3096         are used for standard dicts with hunspell.
3098 2013-01-21  Tassilo Horn  <tsdh@gnu.org>
3100         * textmodes/reftex-cite.el (reftex-format-citation): Add format
3101         chars for note (%N) and url (%U).
3102         * textmodes/reftex-vars.el (reftex-cite-format): Document them.
3104 2013-01-21  Juri Linkov  <juri@jurta.org>
3106         * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
3107         in addition to existing separate binding `meta f10' in `global-map'.
3108         (Bug#13484)
3110 2013-01-21  Michael Albinus  <michael.albinus@gmx.de>
3112         Improve XEmacs compatibility.
3114         * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
3116         * net/tramp-adb.el (top): Require `time-date'.
3117         (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
3118         (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
3119         Use `tramp-file-name-handler'.
3120         (tramp-adb-maybe-open-connection):
3121         Use `tramp-compat-set-process-query-on-exit-flag'.
3123         * net/tramp-sh.el (tramp-sh-handle-file-acl):
3124         Use `tramp-compat-funcall'.
3126         * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
3127         `tramp-compat-funcall'.
3129 2013-01-21  JĂ¼rgen Hötzel  <juergen@archlinux.org>
3131         * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
3132         reimplementation using "adb shell command ..." instead of running
3133         remote shell interactively.
3135 2013-01-20  Glenn Morris  <rgm@gnu.org>
3137         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3138         Add native profiler menu entries.
3140         * profiler.el (profiler-running-p): New function.
3141         (profiler-cpu-profile): Use profiler-running-p.
3142         (profiler-report-mode-map): Add some more menu entries.
3144 2013-01-19  Glenn Morris  <rgm@gnu.org>
3146         * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
3147         fixes 2012-12-07 change.  (Bug#13499)
3149 2013-01-19  Leo Liu  <sdl.web@gmail.com>
3151         * dired.el (dired-get-marked-files): Prune erroneous values due to
3152         last change.  (Bug#13152)
3154 2013-01-19  Glenn Morris  <rgm@gnu.org>
3156         * progmodes/etags.el (tags-table-check-computed-list):
3157         Preserve point in tags buffer.  (Bug#13412)
3159         * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
3161 2013-01-19  Christian Wittern  <cwittern@gmail.com>  (tiny change)
3162             Chong Yidong  <cyd@gnu.org>
3164         * image-mode.el (image-next-file, image-previous-file):
3165         New commands (Bug#8453).
3166         (image-mode-map): Bind them to n and p.
3167         (image-mode--images-in-directory): New helper function.
3169 2013-01-19  Chong Yidong  <cyd@gnu.org>
3171         * image-mode.el (image-mode-fit-frame): Add a frame argument.
3172         Suggested by Drew Adams (Bug#7730).  Handle window decorations;
3173         save and restore the old window configuration.
3175 2013-01-18  Leo Liu  <sdl.web@gmail.com>
3177         * progmodes/js.el: Tweak autoload cookie for alias.
3179 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
3181         * autorevert.el (auto-revert-notify-watch-descriptor): Make it
3182         buffer local, again.  This was lost with the fix on 2013-01-12.
3184 2013-01-17  JĂ¼rgen Hötzel  <juergen@archlinux.org>
3186         * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
3187         order to support several eshell buffers in parallel.
3189 2013-01-17  Michael Albinus  <michael.albinus@gmx.de>
3191         * autorevert.el (auto-revert-use-notify): In the :set function, do
3192         not modify `kill-buffer-hook'.
3193         (auto-revert-notify-rm-watch):
3194         Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
3195         (auto-revert-notify-add-watch): Do not call
3196         `auto-revert-notify-rm-watch', but add it to a buffer local
3197         `kill-buffer-hook'.
3199 2013-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3201         * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
3202         call to `eval' rather than a backquoted lambda.
3204 2013-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3206         * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
3207         to return an explicit nil.
3208         (advice--remove-function): Change accordingly.
3210         * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
3211         the use of nadvice.el.
3213         * progmodes/which-func.el (which-function): Silence imenu errors
3214         (bug#13433).
3216 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
3218         * progmodes/sql.el (sql-imenu-generic-expression):
3219         (sql-mode-font-lock-object-name): Match schema qualified names.
3220         (sql-connect): Use string keys.
3221         (sql-product-interactive): Wait for interpreter prompt.
3222         (sql-comint-oracle): Set process coding based on NLS_LANG.
3224 2013-01-15  Michael R. Mauger  <mmaug@yahoo.com>
3226         * progmodes/sql.el (sql-output-to-send): Remove, unused.
3227         (sql-interactive-remove-continuation-prompt):
3228         (sql-send-magic-terminator, sql-interactive-mode): Remove references.
3230 2013-01-14  Leo Liu  <sdl.web@gmail.com>
3232         * calendar/calendar.el (calendar-redraw): Sync window-point and point.
3233         (Bug#13420)
3235 2013-01-14  Glenn Morris  <rgm@gnu.org>
3237         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3238         Fix interpretation of gnu line.col1-col2 format.  (Bug#13335)
3240 2013-01-13  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
3242         * progmodes/python.el (python-nav-end-of-statement):
3243         Fix cornercase when handling multiline strings.
3245 2013-01-13  Richard Stallman  <rms@gnu.org>
3247         * mail/sendmail.el (mail-position-on-field): Add doc string.
3249         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3250         Get current message boundaries and pass them to
3251         message-forward-make-body-mime.  Minor style changes.
3253 2013-01-13  Eli Zaretskii  <eliz@gnu.org>
3255         * cus-start.el (all): Avoid warnings about
3256         scroll-bar-adjust-thumb-portion on platforms where it is not defined.
3258 2013-01-11  Jan Djärv  <jan.h.d@swipnet.se>
3260         * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
3262 2013-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3264         * jit-lock.el (jit-lock-debug-mode): New minor mode.
3265         (jit-lock--debug-fontifying): New var.
3266         (jit-lock--debug-fontify): New function.
3267         * subr.el (condition-case-unless-debug): Don't prevent catching the
3268         error, just let the debbugger run.
3269         * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
3270         timer code and don't drop errors silently.
3272 2013-01-12  Michael Albinus  <michael.albinus@gmx.de>
3274         * autorevert.el (auto-revert-notify-watch-descriptor): Give it
3275         `permanent-local' property.
3276         (auto-revert-notify-handler): Use `file-equal-p'.
3278 2013-01-12  Eli Zaretskii  <eliz@gnu.org>
3280         * autorevert.el (auto-revert-notify-handler): Fix filtering of
3281         file notification by ACTION. For filtering by file name, compare
3282         only the non-directory part of the file name.
3284 2013-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3286         * autorevert.el: Use cl-lib instead of cl.
3288         * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
3289         (vc-bzr-checkin): Use it.
3290         * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
3291         will preserve match-data.
3293 2013-01-11  Felix H. Dahlke  <fhd@ubercode.de>
3295         * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
3296         (js--declaration-keyword-re): New var.
3297         (js--multi-line-declaration-indentation): New function.
3298         (js--proper-indentation): Use it.
3300 2013-01-11  Aaron S. Hawley  <Aaron.Hawley@vtinfo.com>
3302         * calc/calc.el (calc-highlight-selections-with-faces)
3303          (calc-dispatch):
3304         * comint.el (comint-history-isearch-message):
3305         * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
3306         * ffap.el (ffap-string-at-point-region, ffap-next)
3307         (ffap-string-at-point, ffap-string-around)
3308         (ffap-copy-string-as-kill, ffap-highlight-overlay)
3309         (ffap-literally):
3310         * font-lock.el (font-lock-keywords-alist)
3311         (font-lock-removed-keywords-alist):
3312         * help-mode.el (help-xref-symbol-regexp):
3313         * info.el (Info-find-emacs-command-nodes):
3314         * international/mule.el (add-to-coding-system-list):
3315         * isearch.el (isearch-message-function, isearch-fail-pos):
3316         * misearch.el (multi-isearch-next-buffer-function):
3317         * newcomment.el (comment-box):
3318         * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
3319         (pr-setting-database):
3320         * progmodes/cc-fonts.el (c-font-lock-keywords-3)
3321         (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
3322         (java-font-lock-keywords-3, idl-font-lock-keywords-3)
3323         (pike-font-lock-keywords-3):
3324         * progmodes/compile.el (compile):
3325         * progmodes/etags.el (tags-table-files)
3326         (tags-table-files-function, tags-included-tables-function):
3327         * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
3328         (gdb-restore-windows):
3329         * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
3330         (ps-n-up-filling-database):
3331         * server.el (server-buffer, server-log):
3332         * simple.el (newline, delete-backward-char, delete-forward-char)
3333         (minibuffer-history-isearch-message, kill-line, track-eol)
3334         (temporary-goal-column):
3335         * textmodes/flyspell.el (flyspell-mark-duplications-flag)
3336         (flyspell-default-deplacement-commands):
3337         * textmodes/ispell.el (ispell-accept-output):
3338         * textmodes/sgml-mode.el (html-tag-help):
3339         * vc/compare-w.el (compare-ignore-whitespace)
3340         (compare-ignore-case, compare-windows-dehighlight):
3341         * vc/diff.el (diff):
3342         * whitespace.el (whitespace-point)
3343         (whitespace-font-lock-refontify, whitespace-bob-marker)
3344         (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
3346 2013-01-11  Michael Albinus  <michael.albinus@gmx.de>
3348         * autorevert.el (top): Require 'cl in order to pacify byte compiler.
3349         (auto-revert-notify-rm-watch): Ignore errors.
3350         (auto-revert-notify-add-watch): Ignore errors.  Use '(modify) for
3351         inotify, and '(size last-write-time) for w32notify.
3352         Set buffer-local `auto-revert-use-notify' to nil when adding a file
3353         watch fails - this is a fallback to the file modification check.
3354         (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
3355         (auto-revert-notify-event-action)
3356         (auto-revert-notify-event-file-name): New defuns.
3357         (auto-revert-notify-handler): Use them.  Implement first
3358         plausibility checks.
3359         (auto-revert-handler): Handle also `auto-revert-tail-mode'.
3361 2013-01-11  Julien Danjou  <julien@danjou.info>
3363         * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
3364         max are almost equal. Also return the correct value for V which is
3365         already between 0 and 1.
3367 2013-01-11  Dmitry Antipov  <dmantipov@yandex.ru>
3369         * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
3371 2013-01-11  Eli Zaretskii  <eliz@gnu.org>
3373         * autorevert.el (auto-revert-notify-rm-watch)
3374         (auto-revert-notify-add-watch): Fix typos in w32notify function
3375         names.
3377 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
3379         * autorevert.el (auto-revert-notify-enabled): Move up.
3380         (auto-revert-use-notify): New defcustom.
3381         (auto-revert-mode, global-auto-revert-mode)
3382         (auto-revert-notify-add-watch, auto-revert-handler)
3383         (auto-revert-buffers): Use `auto-revert-use-notify' instead of
3384         `auto-revert-notify-enabled'.
3386 2013-01-10  Elias Pipping  <pipping@exherbo.org>
3388         * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
3389         * doc-view.el (doc-view-document->bitmap):
3390         Use doc-view-single-page-converter-function instead of
3391         single-page-converter arg; adjust callers.
3393 2013-01-10  Feng Li  <fengli@gmail.com>  (tiny change)
3395         * progmodes/which-func.el (which-function): Understand Semantic's use
3396         of overlays in imenu--index-alist.
3398 2013-01-10  Wolfgang Jenkner  <wjenkner@inode.at>
3400         * man.el: Handle different "man -k" behaviors (bug#13160).  Use utf-8.
3401         (Man-man-k-use-anchor): New var.
3402         (Man-parse-man-k): New function.
3403         (Man-completion-table): Use it.
3404         (man): Flush the completion cache between uses.
3406 2013-01-10  Michael Albinus  <michael.albinus@gmx.de>
3408         * autorevert.el: Add file watch support.
3409         (auto-revert-notify-enabled): New defconst.
3410         (auto-revert-notify-watch-descriptor-hash-list)
3411         (auto-revert-notify-watch-descriptor)
3412         (auto-revert-notify-modified-p): New defvars.
3413         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3414         (auto-revert-notify-handler): New defuns.
3415         (auto-revert-mode, global-auto-revert-mode): Remove file watches
3416         when mode is disabled.
3417         (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3418         (auto-revert-buffers): Add file watches for active buffers.
3420 2013-01-10  Dmitry Antipov  <dmantipov@yandex.ru>
3422         * cus-start.el (toplevel): Only allow float values for
3423         scroll-up-aggressively and scroll-down-aggressively.
3424         Allow any number for line-spacing.
3426 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3428         * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3429         (doc-view-pdf->png-converter-function): Use mupdf if available.
3430         (doc-view-djvu->png-converter-function)
3431         (doc-view-ps->png-converter-function): Remove.
3432         (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3433         (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3434         (doc-view-already-converted-p): Adjust accordingly.
3435         (doc-view-mode-p): Simplify.
3436         (doc-view-enlarge): Use setq-local.
3437         (doc-view-pdf->png-converter-ghostscript)
3438         (doc-view-djvu->png-converter-ddjvu)
3439         (doc-view-pdf->png-converter-mupdf): Rework to call
3440         doc-view-start-process directly.
3441         (doc-view-pdf/ps->png): Simplify accordingly.
3442         (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3443         (doc-view-document->bitmap): Rename from doc-view-document->png.
3444         (doc-view-convert-current-doc): Merge pdf and djvu cases.
3445         (doc-view-set-slice-from-bounding-box): Fix completion table.
3446         (doc-view-mode): Use add-hook for after-revert-hook.
3448 2013-01-10  Glenn Morris  <rgm@gnu.org>
3450         * emacs-lisp/authors.el (authors-ignored-files)
3451         (authors-valid-file-names, authors-renamed-files-alist):
3452         Add some more entries.
3454 2013-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3456         * image-mode.el (image-mode-winprops): Don't throw away the fallback
3457         `t' pseudo-window entry.
3459 2013-01-10  Alan Mackenzie  <acm@muc.de>
3461         Fix bugs in the c-parse-state mechanism.  Reuse some markers
3462         instead of continually generating new ones.
3464         * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3465         (c-state-old-cpp-end-marker): New variables.
3466         (c-append-lower-brace-pair-to-state-cache): Start a backward
3467         search for "}" definitively outside CPP constructs.
3468         (c-remove-stale-state-cache): Inform the caller of a need to
3469         search back for a brace pair in certain circumstances.
3470         (c-state-maybe-marker): New macro.
3471         (c-parse-state): Reuse markers when appropriate.
3473 2013-01-10  Glenn Morris  <rgm@gnu.org>
3475         * simple.el (execute-extended-command): Doc fix.
3476         Bind prefix-arg around read-extended-command, for prompt.  (Bug#13395)
3478 2013-01-10  Chong Yidong  <cyd@gnu.org>
3480         * faces.el (read-face-name): Doc fix.
3482 2013-01-10  Roland Winkler  <winkler@gnu.org>
3484         * emacs-lisp/crm.el: Allow any regexp for separators.
3485         (crm-default-separator): All spaces around the default comma separator.
3486         (crm--completion-command): New macro.
3487         (crm-completion-help, crm-complete, crm-complete-word): Use it.
3488         (crm-complete-and-exit): Handle non-single-char separators.
3490 2013-01-09  Elias Pipping  <pipping@lavabit.com>
3492         * doc-view.el: Add support for DjVu (bug#13164).
3493         (doc-view-djvu->png-converter-function): New config var.
3494         (doc-view-single-page-converter-function, doc-view--image-type)
3495         (doc-view--image-file-extension): New vars.
3496         (doc-view-mode): Initialize them.
3497         (doc-view-goto-page): Use them.
3498         (doc-view-mode-p): Add support for ddjvu.
3499         (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3500         (doc-view-set-up-single-converter): New funs.
3501         (doc-view-pdf/ps->png): Extend for djvu.
3502         (doc-view-document->png): Rename from doc-view-pdf->png.
3503         (doc-view-convert-current-doc): Handle djvu.
3504         (doc-view-insert-image, doc-view-display)
3505         (doc-view-already-converted-p): Don't hardcode png.
3506         (doc-view-set-doc-type): Recognize djvu docs.
3508 2013-01-09  Elias Pipping  <pipping@lavabit.com>
3510         * doc-view.el: Add support for mupdf converter (bug#13164).
3511         (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3512         (doc-view-ps->png-converter-function): New config vars.
3513         (doc-view-pdf->png-converter-ghostscript)
3514         (doc-view-ps->png-converter-ghostscript)
3515         (doc-view-pdf->png-converter-mupdf): New functions.
3516         (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3518 2013-01-09  JĂ¼rgen Hötzel  <juergen@archlinux.org>
3520         * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3521         first in session cache: When `tramp-own-remote-path' is in
3522         `tramp-remote-path', the remote path is only set in the session
3523         cache.
3525 2013-01-09  Glenn Morris  <rgm@gnu.org>
3527         * emacs-lisp/trace.el (trace-function-foreground)
3528         (trace-function-background): Doc fix.
3530 2013-01-09  Juri Linkov  <juri@jurta.org>
3532         * international/mule-cmds.el (read-char-by-name): Move let-binding
3533         of completion-ignore-case around completing-read to fix regression
3534         exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3535         `string-match-p' using the nil value of `case-fold-search' and
3536         `completion-ignore-case' in `completion-pcm--all-completions'.
3537         (Bug#12615).
3539 2013-01-09  Glenn Morris  <rgm@gnu.org>
3541         * progmodes/compile.el (compilation-parse-errors):
3542         Fix typo.  (Bug#13369)
3544 2013-01-09  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
3546         * comint.el (comint-send-input): Check size of buffer before
3547         waiting for process output, in case already accepted.  (Bug#13290)
3549 2013-01-09  Paul Eggert  <eggert@cs.ucla.edu>
3551         Spelling fixes.
3552         * net/tramp-adb.el (tramp-adb-get-toolbox):
3553         Fix misspelling of 'unknown'.
3555 2013-01-08  Juri Linkov  <juri@jurta.org>
3557         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3558         * progmodes/flymake.el (flymake-errline, flymake-warnline):
3559         Use underline style wave on terminals that support it.  (Bug#13000)
3561 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3563         * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3564         the predicate returns nil.
3566         * simple.el: Use lexical-binding.
3567         (primitive-undo): Use pcase.
3568         (minibuffer-history-isearch-push-state): Use a closure.
3570 2013-01-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3572         * simple.el (primitive-undo): Move from undo.c.
3574 2013-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3576         * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3577         (cvs-mode-remove-handled): Use it (bug#13380).
3579         * emacs-lisp/nadvice.el (advice--tweak): New function.
3580         (advice--remove-function, advice--subst-main): Use it.
3582         * emacs-lisp/advice.el: Update commentary.
3584 2013-01-08  Michael Albinus  <michael.albinus@gmx.de>
3586         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3587         Remove spurious entry.
3589 2013-01-08  Glenn Morris  <rgm@gnu.org>
3591         * net/tramp.el (tramp-default-host-alist): Add :version.
3593 2013-01-08  Juri Linkov  <juri@jurta.org>
3595         * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3596         single completion.  (Bug#12456)
3597         (info--manual-names): Expand node completions into an explicit list
3598         before appending it to another list.  Filter out internal buffers
3599         with the leading space in the buffer name.  (Bug#10771)
3601 2013-01-08  Juri Linkov  <juri@jurta.org>
3603         * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3604         that defaults to the Top node.
3605         (Info-goto-node, Info-read-node-name): Doc fix to mention that
3606         the short format (FILENAME) goes to the Top node.
3607         (Info-build-node-completions): Rename arg `file' to `filename'.
3608         (Bug#13365)
3610 2013-01-07  Bastien Guerry  <bzg@gnu.org>
3612         * menu-bar.el (menu-bar-search-documentation-menu):
3613         Use `apropos-user-option' and fix the help message.
3615 2013-01-07  Bastien Guerry  <bzg@gnu.org>
3617         * apropos.el (apropos-do-all): Update docstring.
3618         (apropos-user-option-button): New face.
3619         (apropos-user-option): Rename from `apropos-variable' and update
3620         docstring.
3621         (apropos-variable): Rewrite, now show all variables by default.
3622         (apropos-print): Mention "User option" instead of "Variable" when
3623         printing doc for user options.  (Bug#13276)
3625 2013-01-07  JĂ¼rgen Hötzel  <juergen@archlinux.org>
3627         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3628         Handle filename correctly, when parsing "source -> target" symlink
3629         output.
3630         (tramp-adb-handle-set-file-times): New defun.
3632 2013-01-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3634         * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3635         advice list when the interactive-spec of ad-Advice-* changes.
3637 2013-01-07  Katsumi Yamaoka  <yamaoka@jpl.org>
3639         * wid-edit.el (widget-default-get): Work for inlined elements.
3640         (Bug#12670)
3642 2013-01-07  Michael Albinus  <michael.albinus@gmx.de>
3644         * net/tramp.el (tramp-default-host-alist): New defcustom.
3645         (tramp-find-host): Use it.
3646         (tramp-eshell-directory-change): Move from tramp-sh.el.  Add to
3647         `eshell-directory-change-hook'.
3649         * net/tramp-adb.el (top): Add adb specific entry in
3650         `tramp-default-host-alist'.
3651         (tramp-adb-file-name-host): Remove function.
3652         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3653         Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3655         * net/tramp-sh.el: Move eshell integration code to tramp.el.
3657 2013-01-06  JĂ¼rgen Hötzel  <juergen@archlinux.org>
3659         * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3661 2013-01-06  Michael Albinus  <michael.albinus@gmx.de>
3663         * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3664         consist of more than one digit.
3665         (tramp-adb-file-name-handler-alist):
3666         Use `tramp-handle-file-exists-p' consistently.
3667         (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3668         (tramp-adb-handle-file-exists-p): Remove function.
3669         (tramp-adb-file-name-host): New defun.
3670         (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3671         Use it.
3672         (tramp-adb-maybe-open-connection): Set "remote-path" property.
3674 2013-01-06  Chong Yidong  <cyd@gnu.org>
3676         * vc/vc.el (vc-next-action): Detect buffer modifications
3677         conflicting with locking VCS operation (Bug#11490).
3679         * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3681 2013-01-05  Michael Albinus  <michael.albinus@gmx.de>
3683         * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3684         (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3686 2013-01-05  JĂ¼rgen Hötzel  <juergen@archlinux.org>
3688         * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3689         parsing of ls output using regular expression (handle filenames
3690         with spaces).  Use virtual device number.
3691         (tramp-do-parse-file-attributes-with-ls): New defun (Code
3692         cleanup).
3694 2013-01-04  Daiki Ueno  <ueno@gnu.org>
3696         * epg.el: Silence byte-compiler warnings.
3697         (epg--start): Use delete-char instead of delete-backward-char.
3698         (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3700 2013-01-04  Daiki Ueno  <ueno@gnu.org>
3702         * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3703         Suggested by Eli Zaretskii  <eliz@gnu.org>.
3705 2013-01-04  Michael Albinus  <michael.albinus@gmx.de>
3707         * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3708         non-negative integers.  Otherwise, the default values are used.
3709         (tramp-convert-file-attributes): Convert uid and gid to integers.
3711 2013-01-04  Glenn Morris  <rgm@gnu.org>
3713         * term.el (term-handle-colors-array): Ensure face attributes
3714         are fully specified, not nil.  (Bug#13337)
3716         * term.el (term-default-fg-color, term-default-bg-color):
3717         Fix custom type.
3719         * progmodes/etags.el (tags-compression-info-list): Doc fix.
3720         (tag-find-file-of-tag-noselect): Check auto-compression-mode
3721         rather than 'jka-compr being loaded.  (Bug#13338)
3723 2013-01-04  Wesley Dawson  <whd@lavabit.com>  (tiny change)
3725         * icomplete.el (icomplete-completions):
3726         Honor icomplete-prospects-height once more following
3727         2012-11-29 changes.  (Bug#13224)
3729 2013-01-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3731         * subr.el (internal--called-interactively-p--get-frame): Find aliases
3732         of called-interactively-p as well (bug#13237).
3734         * view.el (view--enable, view--disable): Rename from view-mode-enable
3735         and view-mode-disable and assume it's called from view-mode.
3736         (view-mode-enable, view-mode-disable): Redefine as obsolete
3737         compatibility layer above view-mode.
3738         (view-mode-enter): Call `view-mode'.
3740         * files.el (after-find-file): Call `view-mode'.
3742         * doc-view.el (doc-view-scale-internally): New var.
3743         (doc-view-enlarge, doc-view-insert-image): Obey it.
3745 2013-01-03  Daiki Ueno  <ueno@gnu.org>
3747         * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3748         exist.  (Bug#13344)
3750 2013-01-03  Glenn Morris  <rgm@gnu.org>
3752         * mail/rmail.el (rmail-set-header-1): Ignore case.
3753         Handle multi-line headers.  (Bug#13330)
3755         * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3756         Handle paragraph starting at beginning of buffer.
3758         * subr.el (eval-after-load): Don't purecopy the form, so that it
3759         can be nconc'd later on; reverts 2009-11-11 change.  (Bug#13331)
3761         * emacs-lisp/byte-run.el (defun): Place cl declarations
3762         after any interactive spec.  (Bug#13265)
3764 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
3766         * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3767         defun.  Don't check for DECL if DOCSTRING isn't a string.
3768         (defun): Likewise.
3770 2013-01-02  Glenn Morris  <rgm@gnu.org>
3772         * eshell/em-cmpl.el (eshell-pcomplete):
3773         More thoroughly imitate pcomplete.  (Bug#13293)
3775         * files.el (parse-colon-path): Doc fix.  (Bug#12351)
3776         Return nil for empty path elements.  (Bug#13296)
3778 2013-01-02  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
3780         * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3781         order to improve efficiency (Based on Daniel Colascione's
3782         <dancol@dancol.org> patch).  (Bug#13182)
3784 2013-01-02  Glenn Morris  <rgm@gnu.org>
3786         * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3788 2013-01-02  Andreas Schwab  <schwab@linux-m68k.org>
3790         * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3791         neither DOCSTRING nor DECL was given.  (Bug#13316)
3793 2013-01-02  Michael Albinus  <michael.albinus@gmx.de>
3795         * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3796         `error' call.
3797         (tramp-do-copy-or-rename-file): Ignore errors when calling
3798         `set-file-extended-attributes'.
3800         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3801         Add handler for `file-acl'.
3802         (tramp-smb-handle-file-acl): New defun.
3804 2013-01-02  Jay Belanger  <jay.p.belanger@gmail.com>
3806         * calc/README: Mention ISO 8601 week-numbering dates.
3808 2013-01-01  Martin Rudalics  <rudalics@gmx.at>
3810         * view.el (view-mode-enable): New argument run-view-mode-hook.
3811         Run view-mode-hook only when it's non-nil (Bug#13315).
3812         (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3813         argument t.
3815 2012-12-31  JĂ¼rgen Hötzel  <juergen@archlinux.org>
3817         * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3818         (No device connected, invalid device name). (Bug #13299)
3820 2012-12-31  Martin Rudalics  <rudalics@gmx.at>
3822         * window.el (window-resizable--p): Rename to window-resizable-p.
3823         (window-resize-no-error): New function.
3825         * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3826         broken in fix from 2012-12-28.
3828 2012-12-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3830         * subr.el (special-form-p): Don't signal errors on undef aliases.
3832 2012-12-31  Jay Belanger  <jay.p.belanger@gmail.com>
3834         * calc/calc-forms.el (math-parse-date): Try using
3835         `math-parse-iso-date' when it looks like it might be needed.
3836         Allow times of 24:00.
3837         (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3838         of 24:00.
3840 2012-12-30  Glenn Morris  <rgm@gnu.org>
3842         * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3843         Remove unnecessary/buggy autoloads (missing interactive).  (Bug#13294)
3844         (rmail-summary-displayed, rmail-summary): Declare.
3845         (mairix-rmail-display): Just require rmail.
3847 2012-12-30  Chong Yidong  <cyd@gnu.org>
3849         * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3850         check for the tarball contents.
3852 2012-12-30  Matt Fidler  <matt.fidler@alcon.com>  (tiny change)
3854         * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3855         tarfile content listings (Bug#13136).
3857 2012-12-30  Mark Lillibridge  <mark.lillibridge@hp.com>
3859         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3860         Insert the undecoded text of the message being forwarded.  (Bug#9521)
3862 2012-12-30  Michael Albinus  <michael.albinus@gmx.de>
3864         * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3865         integers, if they are real numbers.  (Bug#13282)
3867         * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3868         Return `t' on success.
3870         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3871         Add handler for `set-file-selinux-context'.
3873 2012-12-29  Michael Albinus  <michael.albinus@gmx.de>
3875         * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3876         (tramp-sh-handle-set-file-acl): Return `t' on success.
3878 2012-12-29  Eli Zaretskii  <eliz@gnu.org>
3880         * files.el (backup-buffer-copy, basic-save-buffer-2):
3881         If set-file-extended-attributes fails, fall back on set-file-modes
3882         instead of signaling an error.  (Bug#13298)
3883         (basic-save-buffer): Likewise.
3885 2012-12-29  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
3887         * progmodes/python.el: Support other commands triggering
3888         python-indent-line so indentation cycling continues to work.
3889         (python-indent-trigger-commands): New defcustom.
3890         (python-indent-line): Use it.
3892 2012-12-29  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
3894         * progmodes/python.el (python-shell-send-region): Add blank lines
3895         for non sent code so backtraces remain correct.
3897 2012-12-29  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
3899         * progmodes/python.el: Remove cl dependency.
3900         (python-syntax-count-quotes): Replace incf call.
3901         (python-fill-string): Replace setf call.
3903 2012-12-29  Damien Cassou  <damien.cassou@gmail.com>
3905         * info.el (info-other-window): New arg, for consistency with info.
3907 2012-12-28  Martin Rudalics  <rudalics@gmx.at>
3909         * mail/rmail.el (rmail-maybe-display-summary):
3910         Rewrite (Bug#13066).
3912 2012-12-28  Andreas Schwab  <schwab@linux-m68k.org>
3914         * epg.el (epg--start): Modify process-environment locally.
3916 2012-12-28  Daiki Ueno  <ueno@gnu.org>
3918         * epg.el: Support pinentry-curses.
3919         Suggested by Werner Koch in
3920         <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3921         (epg-agent-file, epg-agent-mtime): New variable.
3922         (epg--start): Record the modified time of gpg-agent socket file,
3923         to restore Emacs frame after pinentry-curses termination.
3924         (epg-wait-for-completion): Restore Emacs frame here.
3926 2012-12-27  Juri Linkov  <juri@jurta.org>
3928         * info.el (Info-file-completions): New variable.
3929         (Info-read-node-name-1): Complete node names in the Info file
3930         when a file name is given.  Call `Info-build-node-completions'
3931         with a file name.
3932         (Info-build-node-completions): Add new arg `file'.  When it is
3933         non-nil, visit it in a temporary buffer and cache its completions in
3934         `Info-current-file-completions'.  Move most of the function body to
3935         `Info-build-node-completions-1'.
3936         (Info-build-node-completions-1): New function with the body from
3937         `Info-build-node-completions'.  (Bug#12456)
3939 2012-12-27  Juri Linkov  <juri@jurta.org>
3941         * frame.el (frame-maximization-style): Remove user option.
3942         (cycle-frame-maximized): Remove function.
3943         (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3944         (toggle-frame-fullscreen): New command bound to <f11> instead of
3945         `toggle-frame-maximized'.
3946         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3948 2012-12-27  Michael Albinus  <michael.albinus@gmx.de>
3950         * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3952         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3953         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3954         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3955         for `file-accessible-directory-p'.  (Bug#13275)
3957 2012-12-27  Sam Steingold  <sds@gnu.org>
3959         * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3960         continuations, see <http://stackoverflow.com/questions/3582436>.
3962 2012-12-27  Dmitry Gutov  <dgutov@yandex.ru>
3964         * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3965         "module" and "def" to have indentation before them.
3966         Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3968         * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3970 2012-12-27  Alan Mackenzie  <acm@muc.de>
3972         Speed up fontification where there's large brace blocks.
3973         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3974         to a call of c-beginning-of-decl-1.
3976 2012-12-27  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
3978         * comint.el (comint-adjust-window-point): New function.
3979         (comint-postoutput-scroll-to-bottom):
3980         Call comint-adjust-window-point (Bug#13248).
3982 2012-12-26  Dmitry Gutov  <dgutov@yandex.ru>
3984         * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3985         Rakefile regexp.
3986         (auto-mode-alist): Associate .gemspec files with ruby-mode
3987         (https://bugs.ruby-lang.org/issues/5453).
3989 2012-12-26  JĂ¼rgen Hötzel  <juergen@archlinux.org>
3991         * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3992         Suppress coloring, if possible (required for BusyBox based systems like
3993         CyanogenMod).
3994         (tramp-adb-handle-file-attributes)
3995         (tramp-adb-handle-insert-directory)
3996         (tramp-adb-handle-file-name-all-completions): Use it.
3997         (tramp-adb-get-toolbox): New defun.  Check for remote shell
3998         implementation (BusyBox or Toolbox).
4000 2012-12-24  Constantin Kulikov  <zxnotdead@gmail.com>  (tiny change)
4002         * startup.el (initial-buffer-choice): Allow function as value
4003         (Bug#13251).
4004         (command-line-1): Handle case where initial-buffer-choice
4005         specifies a function.
4006         * server.el (server-execute): Handle case where
4007         initial-buffer-choice specifies a function.
4009 2012-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
4011         * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
4012         its own function.
4013         (smtpmail-try-auth-methods): Forget the user name/password if the
4014         login is unsuccessful (bug#12424).
4016 2012-12-22  Michael Albinus  <michael.albinus@gmx.de>
4018         * notifications.el (notifications-notify): Protect body with
4019         `with-demoted-errors'.
4021         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4022         Check properties of remote device.  Restart connection, if there is a
4023         change.
4025 2012-12-21  Chong Yidong  <cyd@gnu.org>
4027         * sort.el (sort-subr): Doc fix (Bug#13056).
4029 2012-12-21  Bastien Guerry  <bzg@gnu.org>
4031         * progmodes/etags.el (tags-search): Fix typo.  Bug #13232.
4033 2012-12-21  Michael Albinus  <michael.albinus@gmx.de>
4035         * simple.el (process-file): Overwrite stderr file, if exists.
4037 2012-12-21  Daiki Ueno  <ueno@gnu.org>
4039         * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
4040         (epg-error): Set `error-message' property.
4042 2012-12-21  Chong Yidong  <cyd@gnu.org>
4044         * international/mule-cmds.el (read-char-by-name): Signal an error
4045         if the user does not supply a valid character (Bug#13177).
4047         * simple.el (transpose-subr-1): Preserve marker positions by
4048         changing the insertion sequence (Bug#13122).
4050 2012-12-21  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
4052         * simple.el (kill-region): Deactivate mark even for empty regions
4053         (Bug#13169).
4055 2012-12-21  Chong Yidong  <cyd@gnu.org>
4057         * help-fns.el (describe-variable): Make sure we get the right
4058         buffer name (Bug#13105).  Suggested by Kelly Dean.
4060 2012-12-20  Michael R. Mauger  <mmaug@yahoo.com>
4062         * comint.el (comint-redirect-previous-input-string): New variable.
4063         (comint-redirect-setup, comint-redirect-cleanup)
4064         (comint-redirect-preoutput-filter): Use it.  Fixes redirection bug.
4065         (comint-redirect-preoutput-filter): Fix verbose message.
4067 2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
4069         * progmodes/grep.el (rgrep): Escape command line.  Sometimes, it
4070         is too long for Tramp.  See discussion in
4071         <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
4073         * progmodes/compile.el (compilation-start): Remove line escape
4074         template.
4076 2012-12-20  Dmitry Antipov  <dmantipov@yandex.ru>
4078         * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
4079         Adjust comment.
4081 2012-12-19  Jonas Bernoulli  <jonas@bernoul.li>
4083         * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
4084         following non-comment text (bug#13207).
4085         (lm-header-multiline): Continuation lines need to be indented more than
4086         the first line.
4087         (lm-homepage): New function.
4088         (lm-with-file): Don't be confused if narrowing is in effect.
4090 2012-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4092         * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
4093         very beginning of a hunk (e.g. killing the first line).
4095 2012-12-19  Michael Albinus  <michael.albinus@gmx.de>
4097         * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
4098         and text properties from returned ACL string.
4099         (tramp-sh-handle-set-file-acl): Do not use additional parentheses
4100         for "setfacl" command.
4102 2012-12-18  Michael Albinus  <michael.albinus@gmx.de>
4104         * net/tramp.el (tramp-error-with-buffer): Give a hint to use
4105         `tramp-cleanup-this-connection', when the process has died.
4106         (Bug#13151)
4108 2012-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4110         * icomplete.el (icomplete-completions): Also use â€¦ to truncate prefix.
4112 2012-12-17  Kevin Ryde  <user42@zip.com.au>
4114         * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
4116 2012-12-17  Michael Albinus  <michael.albinus@gmx.de>
4118         Add support for preserving ACL entries of files.
4120         * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
4121         `set-file-acl' handlers.
4123         * net/tramp-adb.el (tramp-adb-handle-copy-file):
4124         Handle PRESERVE-EXTENDED-ATTRIBUTES.
4126         * net/tramp-compat.el (tramp-compat-copy-file):
4127         Handle PRESERVE-EXTENDED-ATTRIBUTES.
4129         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4130         Add `file-acl' and `set-file-acl' handlers.
4131         (tramp-gvfs-handle-copy-file):
4132         Handle PRESERVE-EXTENDED-ATTRIBUTES.
4133         (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
4134         New defuns.
4136         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4137         Add `file-acl' and `set-file-acl' handlers.
4138         (tramp-remote-acl-p, tramp-sh-handle-file-acl)
4139         (tramp-sh-handle-set-file-acl): New defuns.
4140         (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
4141         Handle PRESERVE-EXTENDED-ATTRIBUTES.
4143         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4144         Add `file-acl' and `set-file-acl' handlers.
4145         (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
4147 2012-12-17  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
4149         * help-macro.el (make-help-screen): Instead of switch-to-buffer
4150         use pop-to-buffer with NORECORD argument t.  As buffer name, use
4151         *Metahelp* with a leading space (Bug#13190).
4153 2012-12-16  Romain Francoise  <romain@orebokech.com>
4155         * files.el (file-extended-attributes)
4156         (set-file-extended-attributes): New functions.
4157         (backup-buffer): Use them to handle both SELinux context and ACL
4158         entries.
4159         (backup-buffer-copy): Work with an alist of extended attributes,
4160         rather than an SELinux context.
4161         (basic-save-buffer-2): Ditto.
4163 2012-12-16  Timo Myyrä  <timo.myyra@gmail.com>
4165         * battery.el (battery-bsd-apm): New function.
4167 2012-12-16  Jay Belanger  <jay.p.belanger@gmail.com>
4169         * calc/calc.el (calc-standard-date-formats): Adjust one of the
4170         standard date formats.
4172 2012-12-15  Juri Linkov  <juri@jurta.org>
4174         * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
4175         `isearch-insert-char-by-name'.
4176         (with-isearch-suspended): New defmacro with body mostly from
4177         `isearch-edit-string' except the part that sets
4178         `isearch-new-string' and `isearch-new-message'.
4179         (isearch-edit-string): Use new macro `with-isearch-suspended' with
4180         body that sets `isearch-new-string' and `isearch-new-message'.
4181         (isearch-insert-char-by-name): New command.
4182         * international/mule-cmds.el (read-char-by-name): Let-bind
4183         `enable-recursive-minibuffers' to t.
4184         http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
4186 2012-12-15  Juri Linkov  <juri@jurta.org>
4188         * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
4189         (Bug#13175)
4191 2012-12-15  Christopher Schmidt  <christopher@ch.ristopher.com>
4193         * dired-x.el (dired-guess-shell-command): Put colon at the end of
4194         the prompt.  (Bug#13045)
4196 2012-12-14  Glenn Morris  <rgm@gnu.org>
4198         * emacs-lisp/macroexp.el (macroexp--warn-and-return):
4199         Try to include filename in non-bytecomp warning.  (Bug#13132)
4201 2012-12-14  Paul Eggert  <eggert@cs.ucla.edu>
4203         Fix permissions bugs with setgid directories etc. (Bug#13125)
4204         * files.el (backup-buffer): Don't rely on 9th output of
4205         file-attributes, as it's now a placeholder.  Instead, use the new
4206         optional arg of file-ownership-preserved-p.
4207         (file-ownership-preserved-p): New optional arg GROUP.
4208         Fix mishandling of setuid directories that would cause this
4209         function to return t when it should have returned nil.
4210         Document what happens if the file does not exist, and when
4211         it's not known whether the ownership will be preserved.
4212         * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
4213         Likewise.
4214         (tramp-get-local-gid): Use group-gid for integer, as that's
4215         faster and more reliable.
4217 2012-12-14  Julien Danjou  <julien@danjou.info>
4219         * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
4220         Update keywords list, data type and PL/pgSQL.
4222 2012-12-14  Dave Abrahams  <dave@boostpro.com>
4224         * vc/ediff-util.el (ediff-buffer-type): New function.
4225         (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
4226         rather than taking it as as argument.
4227         (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
4229 2012-12-14  Ryan Crum  <ryan.crum@eleostech.com>
4231         * json.el: Add pretty-print option (bug#12634).
4232         (json-encoding-separator, json-encoding-default-indentation)
4233         (json--encoding-current-indentation, json-encoding-pretty-print)
4234         (json-encoding-lisp-style-closings): New vars.
4235         (json--with-indentation): New macro.
4236         (json-encode-hash-table, json-encode-alist, json-encode-plist)
4237         (json-encode-array): Use it to obey json-encoding-pretty-print.
4238         (json-pretty-print-buffer, json-pretty-print): New commands.
4240 2012-12-14  Dmitry Gutov  <dgutov@yandex.ru>
4242         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4243         Extract `ruby-syntax-propertize-expansions'.
4244         (ruby-syntax-propertize-expansions): Only change syntax on
4245         certain string delimiters, to punctuation.  This way the common
4246         functions like forward-word and thing-at-point still work.
4247         (ruby-match-expression-expansion): Improve readability.
4248         (ruby-block-contains-point): New function.
4249         (ruby-add-log-current-method): Handle several edge cases.
4251 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
4253         * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
4254         unload-feature finishes even when aborting an ongoing edebug session.
4255         Also, do not worry about edebug-mode, unload-feature takes care of it.
4257 2012-12-13  Andreas Schwab  <schwab@suse.de>
4259         * net/tls.el (tls-program): Update customize type.
4261 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
4263         * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
4264         (edebug-setup-hook, cl-read-load-hooks): Use it.
4265         (edebug-unload-function): New function.  (Bug#13163)
4267 2012-12-13  Michael Albinus  <michael.albinus@gmx.de>
4269         * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
4270         Otherwise, there could be errors in autoloading.  (Bug#13151)
4272 2012-12-13  JĂ¼rgen Hötzel  <juergen@archlinux.org>
4274         * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
4275         sequences.
4277 2012-12-13  Alan Mackenzie  <acm@muc.de>
4279         Make CC Mode not hang when _some_ lines end in CRLF.  Bug #11841.
4280         * progmodes/cc-engine.el (c-backward-comments): Add code to work
4281         around `forward-comment' not recognizing ^M as whitespace.
4283 2012-12-13  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
4285         * progmodes/python.el (python-skeleton-class)
4286         (python-skeleton-def): Do not add space after defun name.
4288 2012-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4290         * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
4291         (cl--symbol-function): Remove (now that funbound is like nil).
4293 2012-12-12  Glenn Morris  <rgm@gnu.org>
4295         * button.el (button--area-button-p): Fix typo.
4297 2012-12-12  Sam Steingold  <sds@gnu.org>
4299         * frame.el (frame-maximization-style): New user option.
4300         (toggle-frame-maximized): Toggle frame maximization according to
4301         `frame-maximization-style', bound to <f11>.
4302         (cycle-frame-maximized): Cycle between all maximization styles and
4303         non-maximized frame, bound to shift-<f11>.
4305 2012-12-12  David CadĂ©  <codename68@gmail.com>
4307         * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
4309 2012-12-12  Jonas Bernoulli  <jonas@bernoul.li>
4311         * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
4312         (eieio-override-prin1): Don't quote kewords and booleans.
4313         (object-write) <eieio-default-superclass>: Don't put closing parens
4314         on new line, avoid needless empty lines, align values that are objects
4315         with the slot keyword (instead of beginning on the same line).
4316         (eieio-list-prin1): Align value with slot keyword; increase
4317         eieio-print-depth before printing members of the list.
4319 2012-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4321         * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
4322         a display text-property.
4323         (report-emacs-bug-hook): Don't bother deleting it any more.
4325         * hilit-chg.el (highlight-save-buffer-state): Delete.
4326         Use with-silent-modifications instead.
4327         (hilit-chg-set-face-on-change): Only fixup the text that's modified.
4329         * button.el: Handle buttons in display text-properties.
4330         (button--area-button-p, button--area-button-string):
4331         Use (STRING . STRING-POS) representation instead of just STRING.
4333 2012-12-11  Eli Zaretskii  <eliz@gnu.org>
4335         * makefile.w32-in (compile4-SH): Fix a typo that caused term
4336         subdirectory be skipped.
4338 2012-12-11  Glenn Morris  <rgm@gnu.org>
4340         * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
4342         * progmodes/f90.el (f90-line-continued, f90-indent-region):
4343         Treat preprocessor lines embedded in continuations like comments.
4344         (f90-indent-line): Special-case preprocessor lines.  (Bug#13138)
4346 2012-12-11  Jay Belanger  <jay.p.belanger@gmail.com>
4348         * calc/calc.el (calc-standard-date-formats): Add more date
4349         formats.
4350         * calc/calc-forms.el (math-parse-iso-date): New function.
4351         (math-parse-date): Use `math-parse-iso-date' when appropriate.
4352         (math-parse-iso-date-validate): Add extra error checking.
4353         (calc-date-notation): Add ability to access new date formats.
4355 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4357         * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
4358         font-lock as well as when there's no text-property.
4360 2012-12-10  Jambunathan K  <kjambunathan@gmail.com>
4362         * hi-lock.el: Refine the choice of default face.
4363         (hi-lock-keyword->face): New function.  Use it wherever we used
4364         cadadadr instead.
4365         (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
4366         (hi-lock--last-face): Remove var.
4367         (hi-lock--unused-faces): New var to replace it.
4368         (hi-lock-read-face-name): Use/maintain it.
4369         (hi-lock-unface-buffer): Maintain it.  Fix error for the C-u case.
4370         (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
4371         if it has another face.
4373 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
4375         * subr.el (w32notify-handle-event): New function.
4376         (inotify-handle-event): Doc fix.
4378 2012-12-10  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
4380         * subr.el (inotify-event-p, inotify-handle-event): New functions.
4382 2012-12-10  Dani Moncayo  <dmoncayo@gmail.com>
4384         * simple.el (just-one-space): Doc fix.
4386 2012-12-10  Eli Zaretskii  <eliz@gnu.org>
4388         * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
4390 2012-12-10  Le Wang  <l26wang@gmail.com>
4392         * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
4393         narrowed buffer (bug#12361).
4395 2012-12-10  Juanma Barranquero  <lekktu@gmail.com>
4397         * vc/vc-hooks.el (vc-state): Doc fix.
4399 2012-12-10  Glenn Morris  <rgm@gnu.org>
4401         * mail/rmail.el (rmail-maybe-display-summary):
4402         Preserve buffer, in case select-window changes it.  (Bug#13066)
4404 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4406         * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
4407         cl-load-hook where they belong.
4409 2012-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4411         * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
4413 2012-12-09  Eli Zaretskii  <eliz@gnu.org>
4415         Parallelize byte compilation on MS-Windows.
4416         * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4417         (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4418         (WINS_BASIC): Define as concatenation of the above.
4419         (compile): Subdivide into 4 separate and independent jobs that can
4420         be run in parallel.
4421         (compile0-CMD, compile0-SH): New targets for compiling
4422         COMPILE_FIRST files, which are prerequisites for the rest of the
4423         byte-compilation.
4424         (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4425         New targets for parallel compilation with cmd.exe.
4426         (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4427         compiling under a Unixy shell.
4429 2012-12-09  Chong Yidong  <cyd@gnu.org>
4431         * simple.el (set-mark-default-inactive): Delete this
4432         accidentally-introduced option.
4433         (set-mark-command, exchange-point-and-mark): Remove calls.
4435 2012-12-09  Glenn Morris  <rgm@gnu.org>
4437         * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4438         Respect a defcustom's :set function, if appropriate.  (Bug#109)
4439         (eval-defun): Doc fix.
4441 2012-12-08  Juri Linkov  <juri@jurta.org>
4443         * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4444         (Info-fontify-node, Info-bookmark-make-record): Remove the
4445         file extension from Info-current-file (Bug#13016).
4447 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4449         * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4450         point, still provide some default.
4451         (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4452         names, since we don't use it right now.  Actually return the list.
4453         (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4455 2012-12-07  Chong Yidong  <cyd@gnu.org>
4457         * novice.el (disabled-command-function): Remove a spurious help
4458         xref (Bug#13043).  Suggested by Kelly Dean.
4460         * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4461         syntax is specified (Bug#13025).
4463         * info.el (Info-set-mode-line): Remove the file extension from
4464         Info-current-file if there is one (Bug#13016).
4466 2012-12-07  Glenn Morris  <rgm@gnu.org>
4468         * mail/rmail.el (rmail-mime-decoded): New permanent local.
4469         (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4470         * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4471         and rmail-mime-decoded.  (Bug#9841)
4473         * mail/unrmail.el (unrmail-mbox-format): New option.  (Bug#6574)
4474         (batch-unrmail, unrmail): Doc fixes.
4475         (unrmail): Respect unrmail-mbox-format.
4476         * mail/rmail.el (rmail-mbox-format): New option.
4477         (rmail-show-message-1): Respect rmail-mbox-format.
4479 2012-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4481         * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4483 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4485         Further cleanup of the "cl-" namespace.  Fit CL in 80 columns.
4486         * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4487         (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4488         (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4489         (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4490         (cl-progv): Don't rely on dynamic scoping to find the body.
4491         * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4492         (cl--proclaims-deferred): Rename from the "cl-" prefix.
4493         (cl-declaim): Use backquotes.
4494         * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4495         Use "cl--" prefix for the object's tag.
4497         * ses.el: Use advice-add/remove.
4498         (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4499         (copy-region-as-kill, yank): Use advice-add.
4500         (ses-unload-function): Use advice-remove.
4502 2012-12-06  Jonas Bernoulli  <jonas@bernoul.li>
4504         * button.el: Make them work in header-lines (bug#12817).
4505         (button-map): Add bindings for header-line and mode-line use.
4506         (button-get, button-put, button-label): `button' may now be a string.
4507         (button-activate): Don't make it a defsubst.
4508         (button--area-button-p, button--area-button-string): New functions.
4509         (make-text-button): Fix the return value when `beg' was a string.
4510         (push-button): Handle the mode-line case.
4512 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4514         * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4515         (sql-signum): Remove.  Use `cl-signum' instead.
4516         (sql-read-passwd): Remove; use read-passwd instread.
4517         (sql-get-login-ext): Use read-string.
4518         (sql-get-login): Use dolist and pcase.
4519         (sql--completion-table): Rename from sql-try-completion.
4520         Use complete-with-action.
4521         (sql-mode): Don't change abbrev-all-caps globally.
4522         (sql-connect): Don't rely on dynamic scoping for `new-name'.
4523         (sql-postgres-completion-object): Initialize vars in their `let'.
4524         (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4525         (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4526         (sql-comint-interbase): Use a single append, without setq.
4527         (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4529         * hi-lock.el: Rework the default face and the serialize regexp code.
4530         (hi-lock--auto-select-face-defaults): Remove.
4531         (hi-lock-string-serialize-serial): Remove.
4532         (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4533         make weak.
4534         (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4535         equal string.
4536         (hi-lock-set-pattern): Adjust accordingly.
4537         (hi-lock--regexps-at-point): Simplify accordingly.
4538         (hi-lock--auto-select-face-defaults): Remove.
4539         (hi-lock--last-face): New var to replace it.
4540         (hi-lock-read-face-name): Rewrite (bug#11095).
4541         (hi-lock-unface-buffer): Arrange for the face to be the next default.
4543 2012-12-06  Michael Albinus  <michael.albinus@gmx.de>
4545         * net/tramp.el (tramp-replace-environment-variables):
4546         Hide compiler warning.
4547         (tramp-file-name-for-operation): Remove `executable-find',
4548         `start-process', `call-process' and `call-process-region'.
4550         * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4552         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4553         compatibility.
4555         * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4557 2012-12-06  Chong Yidong  <cyd@gnu.org>
4559         * ffap.el (ffap-replace-file-component): Fix typo.
4561 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4563         * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4564         fix open-paren-like token test (bug#12785).
4566 2012-12-06  Glenn Morris  <rgm@gnu.org>
4568         * mail/rmailsum.el (rmail-new-summary): Tweak for
4569         rmail-maybe-display-summary changing buffer.  (Bug#13066)
4571 2012-12-06  Juri Linkov  <juri@jurta.org>
4573         * info.el (Info-fontify-node): Don't hide the last newline.
4574         (Bug#12272)
4576 2012-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
4578         * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4579         so as to enable message-read-from-minibuffer to expand mail aliases.
4581 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4583         * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4584         the `intangible' property.
4585         Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4587 2012-12-05  Deniz Dogan  <deniz@dogan.se>
4589         * net/rcirc.el (rcirc-urls): Update documentation.
4590         (rcirc-condition-filter): New function.
4591         (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4592         and exclude consecutive duplicate URLs (Bug#6082).
4594 2012-12-05  Michael Albinus  <michael.albinus@gmx.de>
4596         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4597         Check return code of copy command.
4599         * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4600         Use group `tramp'.  Add version.
4602 2012-12-05  Chong Yidong  <cyd@gnu.org>
4604         * ffap.el (ffap-url-regexp): Don't require matching at front of
4605         string (Bug#4952).
4606         (ffap-url-p): If only a substring matches, return that.
4607         (ffap-url-at-point): Use the return value of ffap-url-p.
4608         (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4609         (find-file-at-point, dired-at-point, dired-at-point-prompter)
4610         (ffap-guess-file-name-at-point): Likewise.
4611         (ffap-replace-file-component): Fix typo.
4613         * info.el (info-display-manual): Add existing Info buffers, whose
4614         files may not be in Info-directory-list, to the completion.
4615         (info--manual-names): New helper function.
4617 2012-12-05  Glenn Morris  <rgm@gnu.org>
4619         * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4620         New functions, for detecting and resolving conflicts.  (Bug#10709)
4622 2012-12-04  Jambunathan K  <kjambunathan@gmail.com>
4624         * hi-lock.el (hi-lock-auto-select-face): New user variable.
4625         (hi-lock-auto-select-face-defaults): New buffer local variable.
4626         (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4627         (hi-lock-unface-buffer): Prompt user with useful defaults.
4628         With prefix arg, unhighlight all hi-lock patterns in buffer.
4630 2012-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4632         * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4634 2012-12-04  Michael Albinus  <michael.albinus@gmx.de>
4636         * Makefile.in (TRAMP_SRC):
4637         * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4639 2012-12-04  Juergen Hoetzel  <juergen@archlinux.org>
4641         * net/tramp-adb.el: New package.
4643 2012-12-04  Chong Yidong  <cyd@gnu.org>
4645         * terminal.el: Move to obsolete/.
4647         * longlines.el: Move to obsolete/.
4649         * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4650         Remove code referring to longlines mode.
4652 2012-12-03  Juri Linkov  <juri@jurta.org>
4654         * sort.el (delete-duplicate-lines): New command.  (Bug#13032)
4656 2012-12-03  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
4658         * textmodes/ispell.el (ispell-init-process)
4659         (ispell-start-process, ispell-internal-change-dictionary):
4660         Make sure personal dictionary name is expanded after initial
4661         `default-directory' value. Use expanded strings for
4662         keep/restart checks and for value (Bug#13019).
4664 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
4666         * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4668 2012-12-03  Leo Liu  <sdl.web@gmail.com>
4670         * files.el (dir-locals-read-from-file): Check file non-empty
4671         before reading.  (Bug#13038)
4673 2012-12-03  Glenn Morris  <rgm@gnu.org>
4675         * jka-cmpr-hook.el (jka-compr-get-compression-info):
4676         Remove any version extension before checking filename.  (Bug#13006)
4677         (jka-compr-compression-info-list): Belated :version bump.
4679 2012-12-03  Chong Yidong  <cyd@gnu.org>
4681         * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4683         * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4684         (buffer-menu): Doc fix (Bug#12294).
4686 2012-12-03  Roland Winkler  <winkler@gnu.org>
4688         * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4689         of diary-show-all-entries in the diary buffer (Bug#12994).
4691 2012-12-03  Michael Albinus  <michael.albinus@gmx.de>
4693         * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4694         "<STDIN>".  This is binary safe.
4696 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
4698         * calc/calc-forms.el (math-absolute-from-iso-dt)
4699         (math-date-to-iso-dt, math-parse-iso-date-validate)
4700         (math-iso-dt-to-date): New functions.
4701         (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4702         (math-fd-isoweekday): New variables.
4703         (calc-date-notation, math-parse-standard-date, math-format-date)
4704         (math-format-date-part): Add support for more formatting codes.
4706 2012-12-02  Dmitry Gutov  <dgutov@yandex.ru>
4708         * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4709         current buffer's file name when called interactively (Bug#12488).
4711 2012-12-02  Juri Linkov  <juri@jurta.org>
4713         * info.el (info-display-manual): Don't clobber an existing Info
4714         buffer (Bug#10770).  Add completion (Bug#10771).
4716 2012-12-01  Yuya Nishihara  <yuya@tcha.org>  (tiny change)
4718         * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4719         before using it for comparison (Bug#5297).
4721 2012-12-01  Jari Aalto  <jari.aalto@cante.net>
4723         * textmodes/css-mode.el (css-current-defun-name): New function.
4724         (css-mode): Use it.
4726         * textmodes/sgml-mode.el (html-current-defun-name): New function.
4727         (html-mode): Use it.
4729 2012-12-01  Chong Yidong  <cyd@gnu.org>
4731         Modularize add-log-current-defun (Bug#2224).
4732         Suggested by Jari Aalto.
4734         * vc/add-log.el (add-log-current-defun-function): Doc fix.
4735         (add-log-current-defun): Move mode-specific code to other files.
4736         (add-log-lisp-like-modes, add-log-c-like-modes)
4737         (add-log-tex-like-modes): Variables deleted.
4739         * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4740         (lisp-mode-variables): Use it.
4742         * progmodes/cc-mode.el (c-common-init):
4743         * progmodes/cperl-mode.el (cperl-mode): Set a value for
4744         add-log-current-defun-function.
4746         * progmodes/m4-mode.el (m4-current-defun-name): New function.
4747         (m4-mode): Use it.
4749         * progmodes/perl-mode.el (perl-current-defun-name): New.
4750         (perl-mode): Use it.
4752         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4753         Use lisp-current-defun-name.
4755         * textmodes/tex-mode.el (tex-current-defun-name): New.
4756         (tex-common-initialization): Use it.
4758         * textmodes/texinfo.el (texinfo-current-defun-name): New.
4759         (texinfo-mode): Use it.
4761 2012-12-01  Chong Yidong  <cyd@gnu.org>
4763         * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4764         * progmodes/autoconf.el (autoconf-mode):
4765         * progmodes/js.el (js-mode):
4766         * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4767         (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4768         * progmodes/perl-mode.el (perl-mode):
4769         * progmodes/sh-script.el (sh-mode, sh-set-shell):
4770         * textmodes/css-mode.el (css-mode):
4771         * textmodes/sgml-mode.el (html-mode, sgml-mode)
4772         (sgml-tags-invisible, sgml-guess-indent):
4773         * textmodes/tex-mode.el (tex-common-initialization)
4774         (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4775         (doctex-mode, plain-tex-mode, latex-mode):
4776         * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4778 2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>
4780         * vc/vc-hg.el (vc-hg-next-revision):
4781         Ensure use of default "tip" output format.  (Bug#6968)
4783 2012-12-01  Kim F. Storm  <storm@cua.dk>
4785         * startup.el (fancy-startup-tail): Add a clickable link
4786         (Bug#2176).
4788 2012-12-01  Chong Yidong  <cyd@gnu.org>
4790         * startup.el (fancy-startup-tail): Improve the message about
4791         auto-save files (Bug#2176).
4793         * files.el (recover-session): Improve the descriptive message, and
4794         use substitute-command-keys.
4796 2012-12-01  Glenn Morris  <rgm@gnu.org>
4798         * ido.el (ido-file-internal):
4799         Handle other-window, other-frame for dired.  (Bug#13036)
4801 2012-11-30  Glenn Morris  <rgm@gnu.org>
4803         * icomplete.el (icomplete-separator): Fix :version.
4805 2012-11-30  Chong Yidong  <cyd@gnu.org>
4807         * shell.el (shell): For C-u M-x shell, use an inactive shell
4808         buffer as the default (Bug#1975).
4809         (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4810         (shell-mode): Use them to reapply ansi colorization if Shell mode
4811         is re-enabled.
4813 2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
4815         * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4817 2012-11-30  Samuel Bronson  <naesten@gmail.com>
4819         * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4820         flag to xargs, for compatibility with BSD xargs (Bug#11703).
4822 2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
4824         * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4825         by move-to-column (Bug#3234).
4827 2012-11-30  Chong Yidong  <cyd@gnu.org>
4829         * longlines.el (longlines-wrap-line, longlines-encode-region):
4830         Preserve text properties (Bug#1425).
4832 2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
4834         * vc/vc.el (vc-register): Allow registering a file which is
4835         already registered with a different backend (Bug#10589).
4837 2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
4838             Stefan Monnier  <monnier@iro.umontreal.ca>
4840         * icomplete.el: Change separator; add ido-style commands.
4841         (icomplete-show-key-bindings): Remove custom var.
4842         (icomplete-get-keys): Remove function.
4843         (icomplete-forward-completions, icomplete-backward-completions):
4844         New commands.
4845         (icomplete-minibuffer-map): New var.
4846         (icomplete-minibuffer-setup): Use it.
4847         (icomplete-exhibit): Don't delay if the list of completions is known.
4848         (icomplete-separator): New custom.
4849         (icomplete-completions): Use it.
4850         * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4851         (minibuffer-force-complete-and-exit): New command.
4852         (minibuffer--complete-and-exit): New function extracted from
4853         minibuffer-complete-and-exit.
4854         (minibuffer-complete-and-exit): Use it.
4856         * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4857         error message when the file doesn't exist (bug#12974).
4859 2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
4861         * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4863 2012-11-29  Glenn Morris  <rgm@gnu.org>
4865         * files.el (hack-dir-local-variables): Warn if try to set
4866         coding via dir-locals, since it doesn't work.  (Bug#7169)
4868         Add desktop support for restoring vc-dir buffers.  (Bug#10606)
4869         * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4870         Set buffer-local value of desktop-save-buffer.
4871         (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4872         New functions.
4873         (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4874         * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4876         * files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
4877         (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4878         Doc fix.
4879         (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4880         Doc fixes.
4882 2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
4884         * calc/calc-forms.el (calc-date-notation): Fix regexp
4885         used to find time codes.  Fix symbol for seconds.
4887 2012-11-27  Glenn Morris  <rgm@gnu.org>
4889         * emacs-lisp/derived.el (derived-mode-make-docstring):
4890         Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)
4892 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4894         * textmodes/table.el (table-insert): Don't use `symbol-name' on
4895         lexically scoped variables (bug#13005).
4897 2012-11-27  Glenn Morris  <rgm@gnu.org>
4899         * vc/vc-hooks.el (vc-mistrust-permissions):
4900         Default to t, to avoid data-loss.  (Bug#11490)
4902 2012-11-27  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
4904         * progmodes/python.el (python-indent-guess-indent-offset):
4905         If indentation is guessed make python-indent-offset buffer-local.
4907         Fix Imenu regression.
4908         * progmodes/python.el (python-nav-beginning-of-defun):
4909         Fix forward movement when statement(s) separates point from defun.
4910         (python-imenu-prev-index-position): New function.
4912 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
4914         * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
4916         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4917         Don't set buffer-file-type.  Return nil.  (Bug#12989)
4919 2012-11-27  Glenn Morris  <rgm@gnu.org>
4921         * hippie-exp.el (hippie-expand-try-functions-list):
4922         Re-autoload it.  (Bug#12982)
4924 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
4926         * descr-text.el (describe-char-padded-string):
4927         Call internal-char-font only on GUI frames.  (Bug#11964)
4929 2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
4931         * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4932         and obsoletion message.
4934 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4936         * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4937         the constructs to keep outside of the `cl-block' (bug#12977).
4939 2012-11-27  Chong Yidong  <cyd@gnu.org>
4941         * mouse.el (mouse-drag-line): Even if the line is not draggable,
4942         keep reading until we get the up-event anyway, in order to process
4943         the up-event for mouse-1-click-follows-link (Bug#12971).
4945 2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4947         * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4948         base function is not yet defined (bug#12965).
4949         (ad-activate-advised-definition): Use ad-compile-function.
4950         (ad-activate): Use cond.
4952 2012-11-25  Leo Liu  <sdl.web@gmail.com>
4954         * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4955         (Bug#12979)
4957 2012-11-24  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
4959         * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4960         reftex-section-info-function in order to be compatible with
4961         Texinfo integration.
4963         * textmodes/reftex.el (reftex-section-pre-regexp)
4964         (reftex-section-post-regexp, reftex-section-info-function):
4965         New variable.
4966         (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4967         reftex-section-post-regexp, and reftex-section-info-function in order
4968         to be compatible with Texinfo integration.
4970         * textmodes/reftex-toc.el (reftex-toc-promote-action):
4971         use reftex-section-pre-regexp variable in order to be compatible with
4972         Texinfo integration.
4974 2012-11-25  Chong Yidong  <cyd@gnu.org>
4976         * faces.el: Make face-spec-set more analogous to setq.
4977         (face-spec-set): Change the third arg to specify whether this
4978         function is being called via defface, customize, or a third party.
4979         Set the appropriate symbol properties.  Clear the override spec if
4980         setting via Custom.  Initialize face if necessary.  (Bug#4988)
4981         (face-spec-recalc): Allow theme faces to completely replace the
4982         defface spec, in the same way as custom faces (Bug#8454).
4984         * cus-face.el (custom-declare-face): Move face initialization to
4985         face-spec-set.
4986         (custom-theme-set-faces): Don't initialize the face name here, as
4987         that is now done in face-spec-set.
4989         * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4990         (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4991         Simplify by using the new arg to face-spec-set.
4993         * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4994         reset face-override-spec too, and use custom-declare-face.
4996 2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>
4998         * term/ns-win.el (ns-initialize-window-system): Move creation of
4999         fontsets here (Bug#11964).
5001 2012-11-24  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
5003         * ses.el (ses-rename-cell): Correct bug on mode-line update after
5004         cell renaming.
5006 2012-11-24  Chong Yidong  <cyd@gnu.org>
5008         * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
5009         obsolete.
5011         * custom.el (custom-theme-set-variables): Use a topological sort
5012         for ordering by custom dependencies (Bug#12952).
5013         (custom--sort-vars, custom--sort-vars-1): New functions.
5015 2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
5017         * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
5018         lexical-binding (bug#12938).
5020 2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
5022         * image-mode.el (image-transform-check-size): Use assertions only
5023         for images of type imagemagick.
5025         Otherwise no error, image-transform-fit-to-{width,height} is
5026         silently ignored, as before.  Doc fix.
5028 2012-11-24  Chong Yidong  <cyd@gnu.org>
5030         * faces.el (color-defined-p): Doc fix (Bug#12853).
5032 2012-11-24  Juri Linkov  <juri@jurta.org>
5034         * dired.el (dired-mark): Add optional arg `interactive'.
5035         Check for `use-region-p' if `interactive' is non-nil.
5036         (dired-unmark, dired-flag-file-deletion): Add optional arg
5037         `interactive'.  Call `dired-mark' with the arg `interactive'.
5038         (Bug#10624)
5040         * wdired.el: Revert 2012-10-17 change partly and replace it with
5041         Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
5042         (wdired-finish-edit): Add marks for new file names to
5043         `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
5044         after `revert-buffer'.
5045         (wdired-do-renames): Remove calls to `dired-remove-file',
5046         `dired-add-file', `dired-add-entry'.  (Bug#11795)
5048 2012-11-24  Alan Mackenzie  <acm@muc.de>
5050         * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
5052         Fix bugs in the state cache.  Enhance a debugging mechanism.
5053         * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
5054         "brace at column zero" strategy for C++.
5055         (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
5056         (c-parse-state-point): New variable.
5057         (c-record-parse-state-state): Record old parse state with
5058         `copy-tree'.  Record previous value of point.
5059         (c-debug-parse-state-double-cons): New debugging function.
5060         (c-debug-parse-state): Call the above new function.
5061         (c-toggle-parse-state-debug): Output a confirmatory message.
5063         * progmodes/cc-mode.el (c-before-change, c-after-change):
5064         Call c-invalidate-state-cache from `c-before-change' instead of
5065         `c-after-change'.
5067 2012-11-23  Chong Yidong  <cyd@gnu.org>
5069         * find-cmd.el (find-constituents): Add executable, ipath,
5070         readable, samefile, writable, daystart, regextype (Bug#12856).
5072 2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5074         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
5076 2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
5078         * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
5079         definition.  This fixes a bootstrap failure.
5080         (calc-gregorian-switch): In menu, put dates before regions.
5081         This is easier to follow, lines up better in the menu, and lets us
5082         coalesce regions that switch at the same time.  Give country
5083         names, not "Vatican", as that's better for non-expert users.
5084         Use names that are stable between the date of switch and now, e.g.,
5085         Bohemia and Moravia (which existed then and now) and not
5086         Czechoslovakia (which didn't exist then and doesn't exist now).
5087         What is now the U.S. mostly did not switch at the same time as
5088         Britain, so omit the U.S.  Correct spelling of "Britain".
5089         Catholic Switzerland was too much of a mess, so omit it.
5091 2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
5093         * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
5094         after the variable is changed.
5096 2012-11-21  Daniel Colascione  <dancol@dancol.org>
5098         * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
5099         in SQL declarations for font-lock.
5100         (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
5102 2012-11-21  Glenn Morris  <rgm@gnu.org>
5104         * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
5105         (face-italic-p): Add optional argument "inherit".
5107         * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
5108         Remove -p suffix from names, for consistency with other set-face-*.
5109         (set-face-inverse-video): Fix interactive spec.
5110         * play/gamegrid.el (gamegrid-make-mono-tty-face):
5111         * textmodes/table.el (table--update-cell-face):
5112         Use set-face-inverse-video rather than now obsolete alias.
5114 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
5116         * simple.el (line-move): Don't call line-move-partial if
5117         scroll-conservatively is in effect.  (Bug#12927)
5119 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5121         * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
5122         Fallback on completion-at-point rather than
5123         pcomplete-expand-and-complete, and only if pcomplete actually failed.
5124         (eshell-cmpl-initialize): Setup completion-at-point.
5126         * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
5128         * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
5130 2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
5132         * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
5133         are remote, check out-of-band property for both.
5135 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5137         * window.el (switch-to-buffer): Re-add the warning that was lost in the
5138         code rewrite.
5140 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
5142         More minor time fixes.
5143         * calendar/time-date.el: Commentary fix.
5144         * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
5145         too much other code depends on (0 0) time stamps.
5146         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
5147         Add a couple of FIXME comments.
5149         Minor cleanup for times as lists of four integers.
5150         * files.el (dir-locals-directory-cache):
5151         * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
5152         Doc fixes.
5153         * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
5154         * ps-bdf.el (bdf-file-newer-than-time):
5155         Process four-integers time stamps, not two.  Doc fixes.
5157 2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5159         * uniquify.el (uniquify-managed): Use defvar-local.
5160         (rename-buffer, create-file-buffer): Advise with advice-add.
5161         (uniquify-unload-function): Unadvise accordingly.
5163         * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
5164         (trace-buffer): Don't purecopy.
5165         (trace-entry-message, trace-exit-message): Add `context' arg.
5166         (trace--timer): New var.
5167         (trace-make-advice): Adjust for use in nadvice.
5168         Add `context' argument.  Delay `display-buffer' via a timer.
5169         (trace-function-internal): Use advice-add.
5170         (trace--read-args): New function.
5171         (trace-function-foreground, trace-function-background): Use it.
5172         (trace-function): Rename to trace-function-foreground and redefine as
5173         an alias to that new name.
5174         (untrace-function, untrace-all): Adjust to the use of nadvice.
5176         * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
5178         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
5180         * subr.el (called-interactively-p-functions): New var.
5181         (internal--called-interactively-p--get-frame): New macro.
5182         (called-interactively-p, interactive-p): Rewrite in Lisp.
5183         * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
5184         (called-interactively-p-functions): Use it.
5185         * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
5186         (called-interactively-p-functions): Use it.
5187         * allout.el (allout-called-interactively-p): Don't assume
5188         called-interactively-p is a subr.
5190 2012-11-20  Glenn Morris  <rgm@gnu.org>
5192         * profiler.el (profiler-report-mode-map): Add a menu.
5193         No need to bind `q' because we derive from special-mode.
5194         (profiler-report-find-entry): Handle calls from the menu-bar.
5196 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5198         * emacs-lisp/byte-run.el (defun-declarations-alist):
5199         Allow a compiler-macro to be a lambda expression.
5201         * progmodes/python.el: Use cl-lib.  Move var declarations outside of
5202         eval-when-compile.
5203         (python-syntax-context): Add compiler-macro.
5204         (python-font-lock-keywords): Simplify with De Morgan.
5206         * vc/diff-mode.el (diff-hunk): Don't make useless timers.
5208         * files.el (load-file): Require match in minibuffer selection, as was
5209         the case in Emacs-20 before we changed the spec to allow .elc files
5210         (bug#12935).
5212         * json.el: Don't require cl since we don't use it.
5213         * color.el: Don't require cl.
5214         (color-complement): `caddr' -> `nth 2'.
5216         * calendar/time-date.el (time-to-seconds): De-obsolete.
5218 2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
5220         * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
5221         year numbers.
5222         (math-date-to-julian-dt): Adjust the initial approximation for the
5223         year to deal with the new definition of the DATE.
5225 2012-11-19  Daniel Colascione  <dancol@dancol.org>
5227         * term/w32-win.el (cygwin-convert-path-from-windows):
5228         Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
5230 2012-11-18  Chong Yidong  <cyd@gnu.org>
5232         * filecache.el (file-cache--read-list): New function.
5233         (file-cache-add-directory-list, file-cache-add-file-list)
5234         (file-cache-delete-file-list, file-cache-delete-directory-list):
5235         Use it to read a list of files or directories (Bug#12846).
5236         (file-cache-add-file, file-cache-add-directory)
5237         (file-cache-delete-file-list, file-cache-delete-file-regexp)
5238         (file-cache-delete-directory): Print an message.
5240 2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
5242         * calc/calc-forms.el (math-date-to-dt): Use integer date when
5243         calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
5245 2012-11-18  Glenn Morris  <rgm@gnu.org>
5247         * image.el (insert-image, insert-sliced-image): Doc fix.
5249 2012-11-18  Chong Yidong  <cyd@gnu.org>
5251         * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
5252         (Bug#12810).
5254 2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
5256         * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
5257         response when the target file is in a subdirectory (Bug#12757).
5259 2012-11-18  Chong Yidong  <cyd@gnu.org>
5261         * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
5263 2012-11-18  Glenn Morris  <rgm@gnu.org>
5265         * emacs-lisp/cl-lib.el (face-underline-p):
5266         Use set-face-underline rather than the alias set-face-underline-p.
5268         * window.el (with-temp-buffer-window): Doc fix.
5269         * subr.el (with-output-to-temp-buffer):
5270         Add doc xref to with-temp-buffer-window.
5272 2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
5274         * woman.el (woman-non-underline-faces): Use `set-face-underline'.
5275         * calc/calc.el (math-format-date-cache): Declare.
5277 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
5279         Calc by default uses the Gregorian calendar for all dates (Bug#12633).
5280         It also uses January 1, 1 AD as its day number 1.
5281         * calc/calc-forms.el (math-julian-date-beginning)
5282         (math-julian-date-beginning-int): Implement this.
5284 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
5286         * descr-text.el (quail-find-key):
5287         * dired.el (desktop-file-name):
5288         * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
5289         * generic-x.el (comint-mode, comint-exec):
5290         * image-dired.el (widget-forward):
5291         * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
5292         (speedbar-change-expand-button-char)
5293         (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
5294         (speedbar-make-specialized-keymap, speedbar-make-tag-line):
5295         * printing.el (easy-menu-add-item, easy-menu-remove-item)
5296         (widget-field-action, widget-value-set):
5297         * speedbar.el (imenu--make-index-alist):
5298         * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
5299         (ring-length, ring-insert):
5300         * vcursor.el (compare-windows-skip-whitespace):
5301         * woman.el (dired-get-filename):
5302         Declare functions.
5304         * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
5306 2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
5308         * calc/calc.el (calc-gregorian-switch): New variable.
5310         * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
5311         (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
5312         (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
5313         (math-leap-year-p): Add option to distinguish between Julian
5314         and Gregorian calendars.
5315         (math-day-number): Use `math-day-in-year' to do the computations.
5316         (math-absolute-from-dt): Rename from `math-absolute-from-date'.
5317         Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
5318         to do the computations.
5319         (math-date-to-dt): Use `math-date-to-julian-dt' and
5320         `math-date-to-gregorian-dt' to do the computations.
5321         (calcFunc-weekday, math-format-date-part): Use the new version of
5322         the DATE to determine the weekday.
5323         (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
5324         when necessary.
5326 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
5328         * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
5329         Cygwin; otherwise use 'file:'.  (Bug#12914)
5330         (cygwin-convert-path-from-windows): Declare, to avoid
5331         byte-compiler warnings.
5333 2012-11-17  Andreas Politz  <politza@fh-trier.de>
5335         * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
5336         (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
5337         prefix and negative numeric prefix args (Bug#12795).
5339 2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
5341         * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
5342         Don't signal an error with a score that is too low to add to the
5343         list of top scores. (Bug#12779)
5345 2012-11-17  Chong Yidong  <cyd@gnu.org>
5347         * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
5349         * filecache.el (file-cache-add-file): Handle relative file name in
5350         the argument (Bug#12694).
5352 2012-11-16  JĂ¼rgen Hötzel  <juergen@archlinux.org>  (tiny change)
5354         * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
5356 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5358         * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
5360         * emacs-lisp/cl-lib.el: Set more meaningful version number.
5362 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
5364         * window.el (enlarge-window, shrink-window): Don't mention return
5365         value in doc-string (Bug#12896).
5366         (window--display-buffer): Don't resize frames - it won't work
5367         with all window managers and defeat pop-up-frame-alist.
5368         (display-buffer-alist): In doc-string explain that CONDITION can
5369         be a function and which arguments are passed to it (Bug#12854).
5370         (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
5371         expressions (Bug#12854).
5372         (display-buffer): Pass ACTION argument to
5373         display-buffer-assq-regexp.
5375 2012-11-16  Glenn Morris  <rgm@gnu.org>
5377         * window.el (fit-frame-to-buffer-bottom-margin)
5378         (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
5380         * faces.el (face-underline-p): Use face-attribute-specified-or.
5382 2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
5384         * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
5386 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5388         * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
5390 2012-11-16  Glenn Morris  <rgm@gnu.org>
5392         * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
5393         (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
5395         * faces.el (face-underline-p): Doc fix.  Handle :underline being
5396         things other than `t' (a string, a list).
5397         (face-inverse-video-p): Doc fix.
5398         (set-face-underline): Rename it back from set-face-underline-p.
5399         Doc fix.  Allow interactive input of values other than t.
5400         (read-face-attribute): Apply formatting to :underline,
5401         since like :box and :stipple it can take list values.
5403         * term.el (ansi-term): Don't let C-x escape-char binding
5404         clobber the more standard C-c binding.  (Bug#12842)
5406         * subr.el (set-temporary-overlay-map): Doc fix.
5408 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
5410         * window.el (record-window-buffer)
5411         (display-buffer-record-window): When copying the markers to
5412         window-point preserve window-point-insertion-type. (Bug#12588)
5414 2012-11-16  Glenn Morris  <rgm@gnu.org>
5416         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5417         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5418         Use new names for hooks rather than obsolete aliases.
5420 2012-11-15  Daniel Colascione  <dancol@dancol.org>
5422         * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5423         prefix instead of "file:" so that when FILE-NAME begins with "//",
5424         as it does when the target file is on a network share, url-handler
5425         isn't confused.
5427 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5429         * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5430         a preactivated advice from an old advice.el; they're not compatible!
5432 2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
5434         * emacs-lisp/nadvice.el (advice--make-interactive-form):
5435         Fix string-spec case.
5437         * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5439 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5441         * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5442         (advice--buffer-local-function-sample): New var.
5443         (advice--set-buffer-local, advice--buffer-local): New functions.
5444         (add-function, remove-function): Use them.
5446 2012-11-15  Drew Adams  <drew.adams@oracle.com>
5448         * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5450 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5452         * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5453         potential binding of print-gensym to t, and prettify (back)quotes in
5454         case they appear in args's default values (bug#12884).
5456 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5458         * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5459         (advice-eval-interactive-spec): New function.
5460         (advice--make-interactive-form): Support around advice (bug#12844).
5462 2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
5464         * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5465         more strict.  Add docstring.
5466         (ruby-expression-expansion-re): Extract from
5467         `ruby-match-expression-expansion'.
5468         (ruby-syntax-propertize-function): After everything else, search
5469         for expansions in string literals, mark their insides as
5470         whitespace syntax and save match data for font-lock.
5471         (ruby-font-lock-keywords): Use the 2nd group from expression
5472         expansion matches.
5473         (ruby-match-expression-expansion): Use the match data saved to the
5474         text property in ruby-syntax-propertize-function.
5476 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5478         * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5479         (bug#12879).
5481 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
5483         * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5484         start/end keyword a bit harder.  Works with different values of N.
5485         Add more comments.
5486         (ruby-end-of-block): Update accordingly.
5488 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5490         * woman.el (woman-file-name): Don't mess with unread-command-events
5491         (bug#12861).
5493         * emacs-lisp/advice.el: Layer on top of nadvice.el.
5494         Remove out of date self-require hack.
5495         (ad-do-advised-functions): Use simple `dolist'.
5496         (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5497         (ad-advice-definition): Redefine as functions.
5498         (ad-advice-classes): Move before first use.
5499         (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5500         (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5501         (ad--defalias-fset): Remove functions.
5502         (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5503         (ad-get-orig-definition): Rewrite.
5504         (ad-make-advised-definition-docstring): Change base docstring.
5505         (ad-real-orig-definition): Rewrite.
5506         (ad-map-arglists): Change name of called function.
5507         (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5508         (ad-make-advised-definition): Simplify.
5509         (ad-assemble-advised-definition): Tweak for new calling context.
5510         (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5511         (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
5512         function and call ad-activate if needed.
5513         (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5514         (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5515         (ad-compile-function): Compile ad-Advice-*.
5516         (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5517         (ad-start-advice, ad-stop-advice): Remove.
5519 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
5521         * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5522         period before class method names, not after.  Remove handling of
5523         one impossible case.  Add comments.
5525 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5527         * emacs-lisp/advice.el: Remove support for freezing.
5528         (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5529         (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5530         Remove support for `freeze'.
5532         * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5533         override the default.
5534         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5535         cl--dotimes/dolist.
5536         * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5537         `cl' is loaded.
5539         * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5540         from add-advice.
5541         (advice--strip-macro): New function.
5542         (advice--defalias-fset): Use them to handle macros.
5543         (advice-add): Use them.
5544         (advice-member-p): Correctly handle macros.
5546 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
5548         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5549         Never font-lock the beginning of singleton class as heredoc.
5551 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5553         * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5555 2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
5557         * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5558         39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
5559         thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5561 2012-11-13  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5563         Fix end-of-defun misbehavior.
5564         * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5565         python-beginning-of-defun-function.  Handle nested defuns
5566         correctly.
5567         (python-nav-end-of-defun): Rename from
5568         python-end-of-defun-function.  Ensure forward movement.
5569         (python-info-current-defun): Reimplement to work as intended
5570         with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
5571         parent defuns as soon as possible.
5573 2012-11-13  Glenn Morris  <rgm@gnu.org>
5575         * progmodes/flymake.el (flymake-error-bitmap)
5576         (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5577         (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5579 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
5581         * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5582         backward, always stop at indentation.  Reverts the change from
5583         2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5585 2012-11-13  Glenn Morris  <rgm@gnu.org>
5587         * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5588         Add ibuffer-filter-by-derived-mode.
5590         * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5591         the same name shadowing each other.
5593         * window.el (with-temp-buffer-window): Doc tweak.
5595         * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5597         * help.el (temp-buffer-max-height):
5598         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5599         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5601 2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5603         * emacs-lisp/nadvice.el: New package.
5604         * subr.el (special-form-p): New function.
5605         * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5606         (elp-all-instrumented-list): Remove var.
5607         (elp-not-profilable): Remove elp-wrapper.
5608         (elp-profilable-p): Use autoloadp and special-form-p.
5609         (elp--advice-name): New const.
5610         (elp-instrument-function): Use advice-add.
5611         (elp--instrumented-p): New predicate.
5612         (elp-restore-function): Use advice-remove.
5613         (elp-restore-all, elp-reset-all): Use mapatoms.
5614         (elp-set-master): Use elp--instrumented-p.
5615         (elp--make-wrapper): Rename from elp-wrapper, return a function
5616         suitable for advice-add.  Use cl-inf.
5617         (elp-results): Use mapatoms+elp--instrumented-p.
5618         * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5619         (debug-function-list): Remove var.
5620         (debug): Rename arg, and then let-bind it explicitly inside.
5621         (debugger-setup-buffer): Rename arg.
5622         (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5623         (debugger-frame-number): Adjust to new debug-on-entry setup.
5624         (debug--implement-debug-on-entry): Rename from
5625         implement-debug-on-entry, add argument.
5626         (debugger-special-form-p): Remove, use special-form-p instead.
5627         (debug-on-entry): Use advice-add.
5628         (debug--function-list): New function.
5629         (cancel-debug-on-entry): Use it, along with advice-remove.
5630         (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5631         (debugger-list-functions): Use debug--function-list instead of
5632         debug-function-list.
5633         * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5634         (ad-special-form-p): Remove, use special-form-p instead.
5635         (ad-set-advice-info): Use add-function and remove-function.
5636         (ad--defalias-fset): Adjust accordingly.
5638 2012-11-10  Glenn Morris  <rgm@gnu.org>
5640         * mail/emacsbug.el (report-emacs-bug-tracker-url)
5641         (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5642         (report-emacs-bug-create-existing-bugs-buffer)
5643         (report-emacs-bug-parse-query-results)
5644         (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
5646         * term.el (term-default-fg-color, term-default-bg-color):
5647         Make obsolete, rather than just saying "deprecated" in the doc.
5649         * term.el (term): Rename from `term-face'.
5650         (term-current-face, ansi-term-color-vector)
5651         (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5652         Update all users.
5654 2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
5656         * server.el (server-create-window-system-frame): Handle Nextstep
5657         specially (Bug#12780).
5659 2012-11-10  Glenn Morris  <rgm@gnu.org>
5661         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5662         Unautoload, and make obsolete.  (Bug#7449)
5664 2012-11-10  Chong Yidong  <cyd@gnu.org>
5666         * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5667         rename from diff-remove-trailing-whitespace (Bug#12831).
5669 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5671         * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5672         miscompilation of trace.el.
5674 2012-11-10  Glenn Morris  <rgm@gnu.org>
5676         * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5678 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5680         * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5681         (bug#12812).
5683 2012-11-10  Chong Yidong  <cyd@gnu.org>
5685         * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5686         a defcustom with an appropriate :set function.
5687         (minibuffer-default--in-prompt-regexps): New function.
5689 2012-11-10  Glenn Morris  <rgm@gnu.org>
5691         * emacs-lisp/cl.el (define-setf-expander, defsetf)
5692         (define-modify-macro): Doc fixes.
5694         * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5695         (gv-define-simple-setter): Update doc of `fix-return'.
5697 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5699         * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5700         twice when `fix-return' is set (bug#12813).
5702         * emacs-lisp/cl.el (defsetf): Pass the third arg to
5703         gv-define-simple-setter (bug#12812).
5705         * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5706         (bug#12756).
5708 2012-11-10  Glenn Morris  <rgm@gnu.org>
5710         * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5712         * emacs-lisp/cl-extra.el (cl-prettyexpand):
5713         * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5714         * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5715         (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5717         * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5719 2012-11-10  Leo Liu  <sdl.web@gmail.com>
5721         * ido.el (ido-set-matches-1): Improve flex matching performance by
5722         removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
5724 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5726         * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5727         (ad--defalias-fset): New function.
5728         (ad-safe-fset): Remove.
5729         (ad-make-freeze-definition): Use cl-letf*.
5731 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5733         * subr.el (dolist): Don't bind VAR in RESULT.
5735         * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
5736         (fset, documentation): Don't save real def since we don't advise.
5737         (ad-do-advised-functions): Remove problematic `result-form'.
5738         (ad-safe-fset): `ad-real-fset' => `fset'.
5739         (ad-read-advised-function): Don't assume that ad-do-advised-functions
5740         uses CL's dolist internally.
5741         (ad-arglist): Remove unused arg `name'.
5742         (ad-docstring, ad-make-advised-docstring):
5743         `ad-real-documentation' => `documentation'.
5744         (warning-suppress-types): Declare.
5745         (ad-set-arguments): Simple CSE.
5746         (ad-recover-normality): Sanity check.
5748         * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5749         (funcall '(lambda ..) ..) into ((lambda ..) ..).
5751 2012-11-09  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
5753         * ses.el: symbol to coordinate mapping is made by symbol property
5754         `ses-cell'.  This means that the same mapping is done for all SES
5755         sheets.  That is good enough for cells with standard A1 names, but
5756         not for named cell.  So a hash map is added for the latter.
5757         (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5758         (ses-sym-rowcol): Use hashmap for named cell.
5759         (ses-is-cell-sym-p): New defun.
5760         (ses-decode-cell-symbol): New defun.
5761         (ses-create-cell-variable): Add cell to hashmap when name is not
5762         A1-like.
5763         (ses-rename-cell): Check that cell new name is not already in
5764         spreadsheet with the use of ses-is-cell-sym-p
5765         (ses-rename-cell): Use hash map for named cells, but accept also
5766         renaming back to A1-like.
5768 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5770         * emacs-lisp/advice.el: Use new dynamic docstrings.
5771         (ad-make-advised-definition-docstring, ad-advised-definition-p):
5772         Use dynamic-docstring-function instead of ad-advice-info.
5773         (ad--make-advised-docstring): New function extracted from
5774         ad-make-advised-docstring.
5775         (ad-make-advised-docstring): Use it.
5776         * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5777         from sql-help.
5778         (sql-help): Use it with dynamic-docstring-function.
5780         * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5782 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5784         * files.el (hack-one-local-variable--obsolete): New function.
5785         (hack-one-local-variable): Use it for obsolete settings.
5787         * subr.el (locate-user-emacs-file): If both old and new name exist, use
5788         the new name.
5790         * progmodes/js.el (js--filling-paragraph): New var.
5791         (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5792         (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5793         less sneaky.
5795 2012-11-08  Julien Danjou  <julien@danjou.info>
5797         * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5798         `auto-mode-alist' (Bug#12835).
5800 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5802         * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5803         (perl--prettify-symbols-alist): New const.
5804         (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5805         New functions.
5806         (perl-font-lock-keywords-2): Use them.
5807         (perl-electric-noindent-p): New function.
5808         (perl-mode): Use it to set up electric-indent-mode.
5809         (perl-electric-terminator, perl-indent-command): Mark obsolete.
5810         (perl-mode-map): Remove bindings for them.
5811         (perl-imenu-generic-expression, perl-outline-level):
5812         Match functions&packages in column>0.
5814         * env.el (env--substitute-vars-regexp): New const.
5815         (substitute-env-vars): Use it.  Add `only-defined' arg.
5816         * net/tramp.el (tramp-replace-environment-variables): Use it.
5818         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5819         Byte-compile *before* eval in eval-and-compile.
5820         (byte-compile-log-warning): Remove redundant inhibit-read-only.
5821         (byte-compile-file-form-autoload): Don't hide actual definition.
5822         (byte-compile-maybe-guarded): Accept `functionp' as well.
5824         * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5826 2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
5828         * notifications.el (notifications-get-server-information-method):
5829         New defconst.
5830         (notifications-get-capabilities): Fix docstring.
5831         (notifications-get-server-information): New defun.
5833 2012-11-06  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
5835         * textmodes/ispell.el (ispell-region): Standard re-indent for better
5836         readability.
5838         * textmodes/ispell.el: Experimental support for support debugging.
5839         (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5840         buffer for ispell.
5841         (ispell-print-if-debug): New function to print stuff to
5842         `ispell-debug-buffer' if debugging is enabled.
5843         (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5844         show some debugging info.
5845         (ispell-buffer-with-debug): New function that creates a debugging
5846         buffer and calls `ispell-buffer' with debugging enabled.
5848         * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5849         comment in autoconf mode. (Bug#12768)
5851 2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
5853         * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5854         frame-first-window, frame-root-window, frame-selected-window,
5855         minibuffer-selected-window, minibuffer-window,
5856         window-absolute-pixel-edges, window-at, window-body-height,
5857         window-body-width, window-display-table, window-combination-limit,
5858         window-frame, window-fringes, window-inside-absolute-pixel-edges,
5859         window-inside-edges, window-inside-pixel-edges, window-left-child,
5860         window-left-column, window-margins, window-next-buffers,
5861         window-next-sibling, window-new-normal, window-new-total,
5862         window-normal-size, window-parameter, window-parameters, window-parent,
5863         window-pixel-edges, window-point, window-prev-buffers,
5864         window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5865         window-start, window-text-height, window-top-child, window-top-line,
5866         window-total-height, window-total-width and window-use-time to the list
5867         of functions without side-effects.
5868         (toplevel): Add window-valid-p to the list of error-free functions
5869         without side-effects.
5871 2012-11-05  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
5873         * textmodes/ispell.el (ispell-program-name):
5874         Update spellchecker parameters when customized.
5876 2012-11-04  Glenn Morris  <rgm@gnu.org>
5878         * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
5880 2012-11-04  Chong Yidong  <cyd@gnu.org>
5882         * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5883         same-window-* variables.
5885 2012-11-04  Juri Linkov  <juri@jurta.org>
5887         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5888         (isearch-describe-key, isearch-describe-mode): Use a display
5889         action instead of binding same-window-* variables (Bug#10040).
5891 2012-11-03  Glenn Morris  <rgm@gnu.org>
5893         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5894         Rename handler properties back from cl-- to cl-.  (Bug#12788)
5896         * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5898 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
5900         * term/pc-win.el: Don't load term/internal from here.
5902         * loadup.el: Load term/internal from here.
5904 2012-11-03  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
5906         * progmodes/python.el (inferior-python-mode): Fix hang in
5907         jit-lock (Bug#12645).
5909 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
5911         * window.el (switch-to-visible-buffer)
5912         (switch-to-buffer-preserve-window-point): Fix doc-strings.
5914 2012-11-03  Glenn Morris  <rgm@gnu.org>
5916         * emacs-lisp/cl-lib.el (cl--random-time):
5917         Rename from cl-random-time.  (Bug#12773)
5918         (cl--gensym-counter, cl--random-state): Update callers.
5919         * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5921 2012-11-03  Chong Yidong  <cyd@gnu.org>
5923         * cus-start.el: Make cursor-type customizable (Bug#11633).
5925 2012-11-02  Glenn Morris  <rgm@gnu.org>
5927         * filecache.el: No need to load find-lisp when compiling.
5928         (find-lisp-find-files): Autoload it.
5929         (file-cache-add-directory-recursively): Don't require find-lisp.
5931         * image.el (image-type-from-file-name): Trivial simplification.
5933         * emacs-lisp/bytecomp.el (byte-compile-eval):
5934         Decouple "noruntime" and "cl-functions" warnings.
5936 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
5938         * play/gomoku.el (gomoku-display-statistics): Update mode line
5939         only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5941 2012-10-31  Martin Rudalics  <rudalics@gmx.at>
5943         * window.el (quit-restore-window): If the window has been
5944         created on an existing frame and ended up as the sole window on
5945         that frame, do not delete it (Bug#12764).
5947 2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5949         * progmodes/sh-script.el (sh--inside-noncommand-expression):
5950         Rename from sh--inside-arithmetic-expression, handle more cases
5951         (bug#11263).
5953         * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5954         (sh-font-lock-open-heredoc): Use it (bug#12770).
5956 2012-10-30  Glenn Morris  <rgm@gnu.org>
5958         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
5960         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
5962 2012-10-29  Chong Yidong  <cyd@gnu.org>
5964         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5965         function key is stored in a keyboard macro (Bug#4894).
5967         * thingatpt.el (number-at-point): Apply a thing-at-point property.
5969 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5971         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5972         header comments".
5973         (diff-unified->context, diff-context->unified)
5974         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5976         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5978         * files.el (find-alternate-file): Only ask one question (bug#12487).
5980 2012-10-29  Chong Yidong  <cyd@gnu.org>
5982         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5983         Suggested by Dan Nicolaescu (Bug#6326).
5985         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5987         * startup.el (fancy-about-screen): Don't message (Bug#12680).
5989         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5991         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5993         * face-remap.el (face-remap-add-relative): Handle the case where a
5994         face-remapping-alist entry is a cons cell (Bug#12762).
5996 2012-10-29  Kevin Ryde  <user42@zip.com.au>
5998         * woman.el (woman-parse-numeric-value): Handle picas correctly
5999         (Bug#12639).
6001 2012-10-29  Glenn Morris  <rgm@gnu.org>
6003         * emacs-lisp/cl.el (defsetf): Doc fix.
6005 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6007         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
6008         syntax to the matching opener, if any (bug#12547).
6009         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
6010         matching open as a "case-(".
6011         (sh-smie-rc-grammar): Add a corresponding rule for it.
6013 2012-10-28  Daniel Hackney  <dan@haxney.org>
6015         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
6016         "PKGNAME-autoloads.el" in case we created it.
6018 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6020         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
6021         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
6022         (completion--twq-all): Disable too-strict assertions.
6024         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
6026 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
6028         * profiler.el (profiler-report-make-entry-part): Fix help-echo
6029         text to match the real keybindings.
6031 2012-10-27  Juri Linkov  <juri@jurta.org>
6033         * wdired.el (wdired-keep-marker-rename): New defcustom.
6034         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
6035         (Bug#11795)
6037         * dired.el (dired-keep-marker-rename): Add reference to
6038         `wdired-keep-marker-rename' in the docstring.
6039         Add default character value ?R to display initially in
6040         Customization UI instead of ?@.
6042 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
6044         * window.el (display-buffer): In doc-string describe
6045         window-height and window-width alist entries.
6047         * time.el (display-time-world): Restore fit-window-to-buffer
6048         behavior.
6050 2012-10-27  Chong Yidong  <cyd@gnu.org>
6052         * subr.el (insert-buffer-substring-as-yank): Doc fix.
6054 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
6056         * minibuffer.el (completion-category-overrides): New completion
6057         category `bookmark' (bug#11131).
6059 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6061         * emacs-lisp/advice.el (ad-assemble-advised-definition):
6062         Silence bogus compiler warnings for ad-do-it.
6064         * bookmark.el (bookmark-completing-read): Set the completion category
6065         to `bookmark' (bug#11131).
6067 2012-10-26  Bastien  <bzg@altern.org>
6068             Stefan Monnier  <monnier@iro.umontreal.ca>
6070         * face-remap.el: Use lexical-binding.
6071         (text-scale-adjust): Improve docstring.  Use itself for the temporary
6072         overlay-map bindings, so as to repeat the "Use..." message each time.
6074 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6076         * emacs-lisp/macroexp.el (macroexp--expand-all):
6077         Obey byte-compile-warning-enabled-p (bug#12486).
6079         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
6080         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
6082 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
6084         * mouse.el (mouse-drag-line): Move last form into preceding when
6085         clause (Bug#12731).
6087         * help.el (resize-temp-buffer-window): Fix doc-string.
6089 2012-10-25  David Engster  <deng@randomsample.de>
6091         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
6092         Remove.  This feature is already integrated in imenu.
6094         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
6095         always loaded.  Require `speedbar' unconditionally.
6097 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6099         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
6101         * minibuffer.el (minibuffer-force-complete): Fix thinko.
6103         * net/ldap.el (ldap-search-internal): The official ldif format starts
6104         with a "version: 1" header (bug#12724).
6106         * emacs-lisp/package.el (package-installed-p): Warn if not ready
6107         (bug#12721).
6109 2012-10-25  Glenn Morris  <rgm@gnu.org>
6111         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
6113 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6115         * minibuffer.el (minibuffer-force-complete): Use one more marker
6116         for the temporary-overlay-map command (bug#12619).
6118 2012-10-24  Chong Yidong  <cyd@gnu.org>
6120         * time.el (display-time-world-mode): Derive from special-mode.
6121         (display-time-world): Use display-buffer (Bug#12708).
6122         (display-time-world-mode-map): Variable deleted.
6123         (display-time-world-display): Wrap the final delete-char inside
6124         inhibit-read-only.
6126 2012-10-24  Chong Yidong  <cyd@gnu.org>
6128         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
6129         Doc fix.
6131         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
6133 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
6135         * minibuffer.el (completion--all-sorted-completions-location): New var.
6136         (completion--cache-all-sorted-completions)
6137         (completion--flush-all-sorted-completions): Use it.
6138         (completion-in-region, completion-in-region--postch)
6139         (completion-at-point, completion-help-at-point): Use markers in
6140         completion-in-region--data (bug#12619).
6142 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6144         * progmodes/compile.el (compilation-start): Try to handle common
6145         quoting of `cd' argument (bug#12640).
6147         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
6148         (bug#12671).
6150 2012-10-23  Glenn Morris  <rgm@gnu.org>
6152         * progmodes/gud.el (gud-menu-map):
6153         Check gdb-active-process is bound.  (Bug#12358)
6155 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6157         * repeat.el (repeat): Set real-this-command (bug#12232).
6159         * htmlfontify.el (hfy-post-html-hook):
6160         * filesets.el (filesets-cache-fill-content-hook):
6161         * arc-mode.el (archive-extract-hook):
6162         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
6163         * net/rcirc.el (rcirc-sentinel-functions)
6164         (rcirc-receive-message-functions, rcirc-activity-functions)
6165         (rcirc-print-functions):
6166         * net/dbus.el (dbus-event-error-functions):
6167         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
6168         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
6169         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
6170         * term/sun.el (sun-raw-prefix-hooks):
6171         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
6173 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
6175         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6176         Set `tramp-chunksize' to 1.  This improves the performance.
6177         (tramp-smb-wait-for-output): Add timeout to
6178         `tramp-accept-process-output' calls.
6180 2012-10-23  Chong Yidong  <cyd@gnu.org>
6182         * faces.el (font-list-limit): Define as an obsolete variable.
6184         * startup.el (command-line):
6185         * cus-start.el: Don't refer to font-list-limit.
6187         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
6189 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6191         * subr.el (internal-temp-output-buffer-show): Rename from
6192         temp-output-buffer-show, since previously compiled files expect this name.
6194 2012-10-23  Glenn Morris  <rgm@gnu.org>
6196         * image.el (image-type-from-file-name): If multiple types match,
6197         return the first one that is supported.  (Bug#9045)
6199 2012-10-22  Glenn Morris  <rgm@gnu.org>
6201         * image.el (imagemagick-enabled-types): Doc fix.
6203 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
6205         * progmodes/which-func.el (which-func-current): The hash-table may have
6206         an explicit nil (bug#12338).
6208 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6210         * electric.el (electric-pair-delete-selection-self-insert-function):
6211         Rename to electric-pair-will-use-region, return a boolean.
6212         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
6214         * delsel.el (delete-selection-helper): Use a function instead of a hook.
6215         (delete-selection-pre-hook): Use use-region-p.
6216         (delete-selection-self-insert-function): Remove.
6217         (self-insert-command): Obey self-insert-uses-region-functions.
6218         (self-insert-iso): Revert to previous setting, since we don't actually
6219         know what that command does.
6220         (delete-selection-self-insert-hooks): Remove.
6222 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
6224         * delsel.el (delete-selection-helper): New function, extracted from
6225         delete-selection-pre-hook.
6226         (delete-selection-pre-hook): Use it.
6227         (delete-selection-self-insert-function): New function.
6228         (delete-selection-self-insert-hooks): New hook.
6229         (self-insert-command, self-insert-iso): Use it.
6230         * electric.el (electric-pair-syntax): New function, extracted from
6231         electric-pair-post-self-insert-function.
6232         (electric-pair-post-self-insert-function): Use it.
6233         (electric-pair-delete-selection-self-insert-function): New function.
6234         (electric-pair-mode): Require delsel and setup
6235         delete-selection-self-insert-hooks (bug#11520).
6237 2012-10-20  Chong Yidong  <cyd@gnu.org>
6239         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
6240         no changes to show (Bug#12586).
6242         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
6243         list explicitly (Bug#12571).
6245 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
6247         * progmodes/flymake.el (flymake-create-temp-inplace):
6248         Use file-truename.
6250 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
6252         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
6254 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
6256         * calc/calc-units.el (math-extract-units): Properly extract powers
6257         of units.
6259 2012-10-20  Daniel Colascione  <dancol@dancol.org>
6261         * frame.el (make-frame): Set x-display-name as we used to in order
6262         to unbreak creating an X11 frame from an Emacs daemon started
6263         without a display.
6265 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6267         * minibuffer.el (minibuffer-force-complete): Make the next completion use
6268         the same completion-field (bug#12221).
6270 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
6272         * emacs-lisp/debug.el (debug): Record height of debugger window
6273         also when debugger will be back (Bug#8789).
6275 2012-10-18  Chong Yidong  <cyd@gnu.org>
6277         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
6278         Convert to defcustom.
6279         (gdb-get-source-file): Don't bind pop-up-windows.
6281         * progmodes/gud.el (gud-display-line): Don't specially re-use
6282         other frames for the gdb-mi case (Bug#12648).
6284 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6286         * emacs-lisp/advice.el: Clean up commentary a bit.
6287         (ad-do-advised-functions, ad-with-originals): Use `declare'.
6288         (byte-code-function-p): Never redefine.
6290         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
6292 2012-10-18  Glenn Morris  <rgm@gnu.org>
6294         * dired.el (dired-sort-toggle): Some ls implementations only allow
6295         a single option string.  (Bug#12666)
6297         * minibuffer.el (completion-cycle-threshold): Doc fix.
6299 2012-10-17  Kenichi Handa  <handa@gnu.org>
6301         * international/mule.el (set-keyboard-coding-system):
6302         Recover input meta mode when the new coding system doesn not use 8-bit.
6303         Supply TERMINAL arg to set-input-meta-mode.
6305 2012-10-17  Michael Heerdegen  <michael_heerdegen@web.de>
6307         * wdired.el (wdired-old-marks): New variable.
6308         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
6309         (wdired-do-renames): Move point with renamed file and don't lose
6310         mark status (Bug#11795).
6312 2012-10-16  Juri Linkov  <juri@jurta.org>
6314         * replace.el (query-replace-help): Mention multi-buffer replacement
6315         keys in the Help message.  (Bug#12655)
6317 2012-10-15  Chong Yidong  <cyd@gnu.org>
6319         * emacs-lisp/byte-run.el (defsubst): Doc fix.
6321 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
6323         * window.el (display-buffer): Doc fix.
6325         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6326         Adjust the msft regexp to the output of Studio 2010, and move msft
6327         before edg-1.  See the discussion on emacs-devel,
6328         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
6329         for the details.
6331 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6333         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
6334         (oset): Move uses of object-class-fast macro after its definition.
6336         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
6338 2012-10-13  Chong Yidong  <cyd@gnu.org>
6340         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
6341         enabled, re-enable it (Bug#11963).
6343 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
6345         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
6346         non-nil, restore window configuration (Bug#12623).
6348 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6350         * help-fns.el (describe-variable, describe-function-1):
6351         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
6353         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
6355 2012-10-12  Glenn Morris  <rgm@gnu.org>
6357         * mail/rmailsum.el (rmail-header-summary):
6358         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
6360 2012-10-12  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6362         * progmodes/python.el (python-mode-map):
6363         Replace subtitute-key-definition with proper command remapping.
6364         (python-nav--up-list): Fix behavior for blocks on the same level.
6366 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6368         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
6370         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
6371         changes to the format of load-history.
6373         * international/mule-cmds.el (read-char-by-name): Move let-binding of
6374         completion-ignore-case in case that var is buffer-local (bug#12615).
6376 2012-10-11  Kenichi Handa  <handa@gnu.org>
6378         * international/eucjp-ms.el: Re-generated.
6380 2012-10-10  Kenichi Handa  <handa@gnu.org>
6382         * select.el (xselect--encode-string): If a coding is specified for
6383         selection, and that is compatible with COMPOUND_TEXT, use it.
6385 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
6387         * window.el (switch-to-buffer-preserve-window-point): New option.
6388         (switch-to-buffer):
6389         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
6391 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6393         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
6394         Don't document nil as a useful value (bug#12583).
6396 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
6398         * net/tramp.el (tramp-debug-message):
6399         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
6400         (with-tramp-progress-reporter): Rename from
6401         `tramp-with-progress-reporter'.
6402         (with-tramp-file-property, with-tramp-connection-property):
6403         Move from tramp-cache.el, rename from `with-file-property' and
6404         `with-connection-property', respectively.
6406         * net/tramp-cache.el: Remove `with-file-property' and
6407         `with-connection-property'.
6409         * net/tramp.el:
6410         * net/tramp-gvfs.el:
6411         * net/tramp-sh.el:
6412         * net/tramp-smb.el: Adapt callees.
6414         * net/trampver.el: Update release number.
6416 2012-10-09  Glenn Morris  <rgm@gnu.org>
6418         * w32-fns.el (set-message-beep):
6419         * term/w32-win.el (set-message-beep): Update declarations.
6421 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6423         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6424         (mode-line-widen, mode-line-input-method-map)
6425         (mode-line-coding-system-map, mode-line-remote)
6426         (mode-line-unbury-buffer, mode-line-bury-buffer)
6427         (mode-line-next-buffer, mode-line-previous-buffer):
6428         Replace save-selected-window+select-window => with-selected-window.
6430         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6431         * progmodes/cc-vars.el (bq-process): Remove, unused.
6433         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6435 2012-10-09  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6437         Implemented `backward-up-list'-like navigation.
6438         * progmodes/python.el (python-nav-up-list)
6439         (python-nav-backward-up-list): New functions.
6440         (python-mode-map): Define substitute key for backward-up-list to
6441         python-nav-backward-up-list.
6443 2012-10-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6445         * progmodes/python.el (python-fill-paragraph): Rename from
6446         python-fill-paragraph-function.  Fixed fill-paragraph for
6447         decorators (Bug#12605).
6449 2012-10-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6451         * progmodes/python.el (python-shell-output-filter): Handle extra
6452         carriage return in OSX (Bug#12409).
6454 2012-10-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6456         Fix shell handling of unbalanced quotes and parens in output.
6457         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6458         (python-syntax-propertize-function): Use it.
6459         (python-shell-output-syntax-table): New var.
6460         (inferior-python-mode): Prevent unbalanced parens/quotes from
6461         previous output mess with current input context.
6463 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
6465         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6466         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6468 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
6470         * ffap.el (ffap-replace-file-component): Support Tramp file name
6471         syntax, not only ange-ftp's one.
6473 2012-10-08  Glenn Morris  <rgm@gnu.org>
6475         * cus-start.el (message-log-max): Set :version.
6477         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6479 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
6481         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6482         the minibuffer window (Bug#10851).
6484 2012-10-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6486         Enhancements on forward-sexp movement.
6487         * progmodes/python.el (python-nav-beginning-of-statement)
6488         (python-nav-end-of-statement): Return point-marker.
6489         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6490         (python-info-current-symbol)
6491         (python-info-statement-starts-block-p): Rename from
6492         python-info-beginning-of-block-p.
6493         (python-info-statement-ends-block-p): Rename from
6494         python-info-end-of-block-p.
6495         (python-info-beginning-of-statement-p)
6496         (python-info-end-of-statement-p)
6497         (python-info-beginning-of-block-p, python-info-end-of-block-p):
6498         New functions.
6500 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6502         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6503         frame-selected-windows.
6505 2012-10-08  Daniel Colascione  <dancol@dancol.org>
6507         * battery.el (battery-status-function): Check for
6508         w32-battery-status itself, not system-time windows-nt.
6510         * frame.el: Require cl-lib.
6511         (display-format-alist): New variable mapping frame types to
6512         functions that initialize them.
6513         (window-system-for-display): New function: interprets
6514         display-format-alist.
6515         (make-frame-on-display): Remove existing display-selection logic
6516         and just forward to make-frame, which will now DTRT.
6517         (make-frame): Restructure to use window-system-for-display to
6518         figure out how to create a frame on a given display.
6519         (display-mouse-p): Look for frame-type w32, not a particular
6520         system-type.
6522         * loadup.el: Load w32 lisp code when we have the w32 feature.
6524         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6525         system-type windows-nt.
6527         * server.el (server-create-window-system-frame): Look for window
6528         type.
6529         (server-proces-filter): Only force a window system when windows-nt
6530         _and_ w32.  Explain why.
6532         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6533         of window systems we configure for the mode.
6535         * startup.el (command-line): Mark window system is initialized
6536         after we've done it.
6538         * common-win.el (x-select-text): Look for w32, not windows-nt.
6540         * ns-win.el: Require cl-lib.  Add ourselves to
6541         display-format-alist.
6542         (ns-initialize-window-system): Assert we're not initialized twice.
6544         * w32-win.el: Enable lexical binding; require cl-lib; add
6545         ourselves to display-format-alist.
6546         (w32-handle-dropped-file): Convert incoming dropped files from
6547         Windows paths to Cygwin ones before passing them on to the rest of
6548         Emacs.
6549         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
6550         (w32-initialize-window-system): Assert we're not initialized twice.
6552         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6553         (x-initialize-window-system): Assert we're not initialized twice.
6555         * w32-common-fns.el: New File.
6556         (w32-version, w32-using-nt, w32-get-clipboard-data)
6557         (w32-set-clipboard-data, x-set-selection, x-get-selection)
6558         (w32-charset-info-alist, x-last-selected, text)
6559         (x-get-selection-value, x-selection-value): Move here.
6561         * w32-fns.el: Require w32-common-fns.
6562         (w32-version, w32-using-nt, w32-get-clipboard-data)
6563         (w32-set-clipboard-data, x-set-selection, x-get-selection)
6564         (w32-charset-info-alist, x-last-selected, text)
6565         (x-get-selection-value, x-selection-value): Move to
6566         w32-common-fns.
6568         * w32-vars.el:
6569         (w32-allow-system-shell, w32-system-shells): Define only in
6570         non-cygwin case.
6572 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6574         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6575         (read-passwd): Remove a few more potential sources of leaks.
6577 2012-10-07  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6579         * progmodes/python.el (inferior-python-mode)
6580         (python-shell-make-comint): Fix initialization of local
6581         variables copied from parent buffer.
6583 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
6585         * term/ns-win.el (ns-read-file-name): Update declaration to match
6586         nsfns.m.
6587         (ns-respond-to-change-font): Change fontsize separately so we are sure
6588         it is set when font is acted upon.
6590 2012-10-07  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6592         Enhancements to indentation.
6593         * progmodes/python.el (python-indent-context): Give priority to
6594         inside-string context.  Make comments indentation markers.
6595         (python-indent-region): Do not mess with strings, unless it's the
6596         enclosing set of quotes.
6598 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6600         * window.el (internal--before-save-selected-window)
6601         (internal--after-save-selected-window): New functions extracted from
6602         save-selected-window.  Make sure we return the `alist' we construct.
6603         (save-selected-window): Use them.
6605         * textmodes/tex-mode.el (tex-recenter-output-buffer):
6606         Use with-selected-window.
6608         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6609         forms that define macros (bug#12593).
6611 2012-10-07  Kenichi Handa  <handa@gnu.org>
6613         * international/mule-conf.el (compound-text-with-extensions):
6614         Add :mime-charset property as x-ctext.
6616 2012-10-07  Stefan Merten  <smerten@oekonux.de>
6618         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6619         (rst-indent-literal-normal, rst-indent-literal-minimized)
6620         (rst-indent-comment): Correct :version tag.
6621         (rst-official-cvs-rev): Correct version string.
6623 2012-10-07  Glenn Morris  <rgm@gnu.org>
6625         * mail/rmailmm.el (rmail-mime-process-multipart):
6626         Do not confuse a multipart message with an epilogue
6627         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
6629 2012-10-07  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6631         Fix shell output retrieval and comint-prompt-regexp init.
6632         * progmodes/python.el (inferior-python-mode):
6633         (python-shell-make-comint): Fix initialization of
6634         comint-prompt-regexp from copied file local variables.
6635         (python-shell-fetched-lines): Remove var.
6636         (python-shell-output-filter-in-progress): Rename from
6637         python-shell-fetch-lines-in-progress.
6638         (python-shell-output-filter-buffer): Rename from
6639         python-shell-fetch-lines-string.
6640         (python-shell-fetch-lines-filter): Delete function.
6641         (python-shell-output-filter): New function.
6642         (python-shell-send-string-no-output): Use them.
6644 2012-10-07  Glenn Morris  <rgm@gnu.org>
6646         * hi-lock.el (hi-lock-process-phrase):
6647         Try to make it less fragile.  (Bug#7161)
6649         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6651 2012-10-06  Glenn Morris  <rgm@gnu.org>
6653         * ehelp.el (electric-help-mode): Use help-mode rather than
6654         non-existent mode `help'.
6655         (electric-help-map): Use button-buffer-map.  (Bug#10917)
6657         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6658         (reftex-create-bibtex-footer): Fix custom types.
6660         * progmodes/sh-script.el (sh-indent-after-continuation):
6661         Add explicit :group.
6663         * textmodes/rst.el (rst-preferred-decorations)
6664         (rst-shift-basic-offset): Clarify obsolescence versions.
6666         * profiler.el (profiler): Add missing group :version tag.
6667         * avoid.el (mouse-avoidance-banish-position):
6668         * proced.el (proced-renice-command):
6669         * calc/calc.el (calc-ensure-consistent-units):
6670         * calendar/icalendar.el (icalendar-import-format-uid):
6671         * net/tramp.el (tramp-save-ad-hoc-proxies):
6672         * progmodes/bug-reference.el (bug-reference-bug-regexp):
6673         * progmodes/flymake.el (flymake-error-bitmap)
6674         (flymake-warning-bitmap, flymake-fringe-indicator-position):
6675         * progmodes/sh-script.el (sh-indent-after-continuation):
6676         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6677         (verilog-before-save-font-hook, verilog-after-save-font-hook):
6678         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6679         (vhdl-array-index-record-field-in-sensitivity-list)
6680         (vhdl-indent-comment-like-next-code-line):
6681         * textmodes/reftex-vars.el (reftex-ref-style-alist)
6682         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6683         (reftex-cite-key-separator, reftex-create-bibtex-header)
6684         (reftex-create-bibtex-footer):
6685         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6686         (rst-indent-literal-normal, rst-indent-literal-minimized)
6687         (rst-indent-comment): Add missing custom :version tags.
6689         * calendar/timeclock.el (timeclock-modeline-display):
6690         Add missing obsolete alias for renamed user option.
6692         * strokes.el (strokes-modeline-string):
6693         * emulation/crisp.el (crisp-mode-modeline-string):
6694         * eshell/esh-mode.el (eshell-status-in-modeline):
6695         Aliases to defcustoms must come before the defcustom.
6697         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6698         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6699         (cal-tex-cursor-week-monday): Doc fixes.
6700         (cal-tex-cursor-week2-summary): Doc fix.
6701         Rename from cal-tex-cursor-week-at-a-glance.
6703         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6704         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
6706         * calendar/calendar.el (calendar-mode-map):
6707         Add cal-tex-cursor-week2-summary.
6709 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6711         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6713         * subr.el (read-passwd-map): New var.
6714         (read-passwd): Use `read-string' again.
6715         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6717 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
6719         * register.el (append-to-register, prepend-to-register):
6720         Deactivate mark, as does `copy-to-register' (bug#12389).
6722 2012-10-06  Chong Yidong  <cyd@gnu.org>
6724         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6726 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
6728         * international/characters.el: Fix simple mistake ((car chars) ->
6729         elt), delete duplicated code.
6731 2012-10-06  Glenn Morris  <rgm@gnu.org>
6733         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
6735 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
6737         * color.el (color-hsl-to-rgb): Fix incorrect results for
6738         small and large hue values.  (Bug#12559)
6740 2012-10-05  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6742         Enhancements to docstring formatting when filling paragraphs.
6743         * progmodes/python.el (python-fill-docstring-style): Rename from
6744         python-fill-string-style.  Added new style.
6745         (python-fill-string): Use new style.  Better checks for
6746         docstrings.
6748 2012-10-05  Glenn Morris  <rgm@gnu.org>
6750         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6752         * color.el (color-name-to-rgb, color-rgb-to-hex)
6753         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6754         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6755         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6756         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6758         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
6760 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
6762         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6763         to get the correct size across symlinks.
6765         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6767 2012-10-04  Juri Linkov  <juri@jurta.org>
6769         * replace.el (query-replace-interactive): Declare obsolete.
6770         (query-replace-read-from): Add the last incremental search string
6771         to the list of default values accessible via M-n.
6772         (map-query-replace-regexp): Use `read-regexp'.
6773         (query-replace, query-replace-regexp, query-replace-regexp-eval)
6774         (map-query-replace-regexp, replace-string, replace-regexp):
6775         Fix docstrings to replace mentions of `query-replace-interactive'
6776         with alternatives.  (Bug#12526)
6778 2012-10-04  Juri Linkov  <juri@jurta.org>
6780         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
6781         (dired-pop-to-buffer): Declare obsolete.
6782         (dired-mark-pop-up): Doc fix.
6784 2012-10-04  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6786         Allow user to set docstring style for fill-paragraph.
6787         * progmodes/python.el
6788         (python-fill-comment-function, python-fill-string-function)
6789         (python-fill-decorator-function, python-fill-paren-function):
6790         Remove :safe for defcustoms.
6791         (python-fill-string-style): New defcustom
6792         (python-fill-paragraph-function): Enhance context detection.
6793         (python-fill-string): Honor python-fill-string-style settings.
6795 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
6797         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6798         after setting its buffer (Bug#10805).
6800 2012-10-03  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6802         Fix cornercase for string syntax.
6803         * progmodes/python.el (python-syntax-propertize-function):
6804         Simplify and enhance the regexp for unescaped quotes.  Now it also
6805         matches quotes in weird situations like the single quote in
6806         "something\"'".
6807         (python-syntax-stringify): Simplify num-quotes detecting code.
6809 2012-10-03  Glenn Morris  <rgm@gnu.org>
6811         * help-macro.el (three-step-help):
6812         Revert 2012-09-29 change.  (Bug#12567)
6814 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
6816         * menu-bar.el (kill-this-buffer): Don't do anything when
6817         `menu-frame' is not alive or visible (Bug#8184).
6819         * emacs-lisp/debug.el (debug): When quitting the debugger window
6820         restore current buffer (Bug#12502).
6822 2012-10-02  Chong Yidong  <cyd@gnu.org>
6824         * progmodes/hideif.el (hif-lookup, hif-defined):
6825         Handle semantic-c-takeover-hideif.
6827 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
6829         Change sampling interval units from ms to ns.
6830         * profiler.el (profiler-sampling-interval): Change units
6831         from ms to ns, multiplying the default by 1000000 so that
6832         it remains 1 ms.
6833         (profiler-report-cpu-line-format): Give enough room for
6834         the maximum counters on 64-bit hosts.
6835         (profiler-report-render-calltree-1): Call them "CPU samples",
6836         not "Time (ms)", since they are not milliseconds now (and
6837         never really were).
6839 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
6841         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6842         Fix querying BBDB for entries without a last name (Bug#11580).
6844 2012-10-02  Chong Yidong  <cyd@gnu.org>
6846         * emacs-lisp/eieio.el: Restore Version header.
6848 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6850         * vc/diff-mode.el (diff--auto-refine-data): New var.
6851         (diff-hunk): Use it to delay refinement.
6852         (diff-mode): Remove overlays when we turn off font-lock.
6854         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6855         (table-initialize-table-fixed-width-mode)
6856         (table-set-table-fixed-width-mode): Remove functions.
6857         (table-command-list): Move initialization into declaration.
6858         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6859         (table-with-cache-buffer): Use `declare'.
6860         (table-span-cell): Simplify via CSE.
6861         (table-fixed-width-mode): Use define-minor-mode.
6862         (table-call-interactively, table-funcall, table-apply): Remove.
6863         (table-function): New function, to replace them.
6865         * bookmark.el (bookmark-search-pattern): Remove var.
6866         (bookmark-read-search-input): Remove function.
6867         (bookmark-bmenu-search): Reimplement using a minibuffer.
6869         * faces.el (modeline): Remove obsolete face name.
6871         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6872         and give a non-nil default value.
6873         (add-change-log-entry): Simplify accordingly.
6875 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
6877         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6878         (vc-git-log-edit-toggle-amend): New function.
6879         (vc-git-log-edit-toggle-signoff): New function.
6880         (vc-git-log-edit-mode): New major mode.
6881         (vc-git-log-edit-mode-map): Keymap for it.
6882         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6884         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6885         header names.
6886         (log-edit-toggle-header): New function.
6887         (log-edit-extract-headers): Accept function values in HEADERS alist.
6889 2012-10-01  David Engster  <deng@randomsample.de>
6891         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6892         from symbol property and change message to be more consistent with
6893         Emacs proper.
6894         (eieio-describe-generic): Add filename for each implementation.
6895         Fix indices for generic and normal methods.
6896         (eieio-method-def, eieio-class-def): New buttons.
6897         (eieio-help-find-method-definition)
6898         (eieio-help-find-class-definition): New functions.
6899         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6900         class, constructor and method definitions.
6902         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6903         information in symbol property.
6904         (scoped-class): Remove.
6905         (eieio-slot-name-index, call-next-method): Check if it is bound.
6907 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
6909         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6910         (eieio-custom-mode): New major mode.
6911         (eieio-customize-object): Use it.
6913 2012-10-01  Eric Ludlam  <zappo@gnu.org>
6915         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6916         specifying the expected class, and whether subclassing is allowed.
6917         (eieio-persistent-convert-list-to-object):
6918         (eieio-persistent-validate/fix-slot-value)
6919         (eieio-persistent-slot-type-is-class-p): New functions.
6920         (eieio-named::slot-missing): Doc fix.
6922         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6923         Stop using unused publd variable.
6925         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6926         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6927         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6928         (eieio-speedbar-handle-click): Do not specify a class for the
6929         method.  Fixes method invocation order problems with EDE.
6931 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6933         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6934         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6936 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
6938         * bookmark.el (bookmark-version-control): Give tags in the
6939         :type choices (Bug#12309), and improve doc string.
6940         (bookmark-write-file): Bind `print-circle' to `t' to allow
6941         circular custom bookmark types.  (Bug#12503)
6943 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
6945         Revert the FOLLOW-SYMLINKS change for file-attributes.
6946         * files.el (remote-file-name-inhibit-cache, after-find-file):
6947         * time.el (display-time-file-nonempty-p): Undo last change.
6949         * profiler.el (profiler-sampling-interval): Change default back to 1.
6950         See Stefan Monnier in
6951         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6953 2012-10-01  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
6955         Shell output catching a la gud-gdb.
6956         * progmodes/python.el (python-shell-fetch-lines-in-progress)
6957         (python-shell-fetch-lines-string, python-shell-fetched-lines):
6958         New Vars.
6959         (python-shell-fetch-lines-filter): New function.
6960         (python-shell-send-string-no-output): Use them.
6962 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
6964         * profiler.el (profiler-sampling-interval): Rename from
6965         profiler-sample-interval.
6966         (profiler-sampling-interval): Default to 10.
6967         (profiler-find-profile): New command (was profiler-find-log).
6968         (profiler-find-profile-other-window): New command.
6969         (profiler-find-profile-other-frame): New command.
6970         (profiler-profile): Introduce API-level data structure.
6972 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
6974         file-attributes has a new optional arg FOLLOW-SYMLINKS.
6975         * files.el (remote-file-name-inhibit-cache):
6976         * time.el (display-time-file-nonempty-p): Use it.
6977         * files.el (after-find-file): Don't chase links before calling
6978         file-exists-p, as file-exists-p already does the right thing.
6980 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
6982         Merge from standalone RefTeX repository.
6984         The following ChangeLog entries are shortened versions of the
6985         original ones with file paths adapted.  A not so strongly edited
6986         version of the original ChangeLog can be found in the commit log.
6988         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6989         (reftex-arg-cite): Use `reftex-cite-key-separator'.
6990         Correctly handle new value type returned by `reftex-citation'.
6992         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6993         that entries with whitespace at various places are found.
6994         Doc fix. Include entries that are cross-referenced from cited entries.
6995         Include @String definitions in the resulting bib file.  Add header
6996         and footer defined in `reftex-create-bibtex-header' and
6997         `reftex-create-bibtex-footer'.
6998         (reftex-do-citation): Make it possible again to insert
6999         non-existent entries.  Save match data when asking for optional
7000         arguments. Return all keys, not just the first one.
7001         (reftex-all-used-citation-keys): Fix regexp to correctly extract
7002         all citations in the same line.
7003         (reftex-parse-bibtex-entry): Accept additional optional argument
7004         `raw' and keep quotes or braces if it is non-nil.  Match fields
7005         containing hyphens besides word constituents.
7006         (reftex-get-string-refs): New function.
7007         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
7008         and ask if it should be reread in case it did.
7009         (reftex-pop-to-bibtex-entry)
7010         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
7011         entries with spaces or tabs in front of arguments.
7012         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
7013         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
7014         Match entries containing numbers and symbol constituents.
7015         (reftex-do-citation, reftex-figure-out-cite-format):
7016         Use `reftex-cite-key-separator'.
7018         * textmodes/reftex-dcr.el: Move provide statement to end of file.
7019         (reftex-mouse-view-crossref): Explain why point is set.
7021         * textmodes/reftex-global.el: Whitespace changes.
7023         * textmodes/reftex-index.el: Move provide statement to end of
7024         file.
7025         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
7026         (reftex-index-visit-phrases-buffer): Set marker when visiting
7027         buffer.  This allows for returning from the phrases file to the
7028         file one was just editing instead of the file where the last
7029         phrases was added from.
7030         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
7031         punctuation syntax as it usually is not used as string quote in
7032         TeX-related modes and may occur unmatched.  The change also
7033         prevents fontification of quoted content.
7034         (reftex-index-phrases-mode): Use it.
7036         * textmodes/reftex-parse.el (reftex-parse-from-file):
7037         Move backward one char if a `\' was matched after a section macro.
7038         (reftex-parse-from-file): Use beginning of match instead of end as
7039         bound.
7041         * textmodes/reftex-ref.el: Adapt creation of
7042         `reftex-<package>-<macro>' functions to new structure of
7043         `reftex-ref-style-alist'.
7044         (reftex-reference): Use `reftex-ref-style-list' function.
7045         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
7046         reference macro if `reftex-ref-macro-prompt' is non-nil.
7047         (reftex-reference): Pass refstyle to `reftex-format-special'.
7048         Determine reference macro by looking at
7049         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
7050         Use only one special format function.
7051         (reftex-varioref-vref, reftex-fancyref-fref)
7052         (reftex-fancyref-Fref): Remove definitions.  The functions are now
7053         generated from `reftex-ref-style-alist'.
7054         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
7055         Remove.
7056         (reftex-format-special): New function.
7058         * textmodes/reftex-sel.el
7059         (reftex-select-cycle-ref-style-internal): Adapt to new structure
7060         of `reftex-ref-style-alist'. Remove code for testing macro type.
7061         (reftex-select-toggle-varioref)
7062         (reftex-select-toggle-fancyref): Remove.
7063         (reftex-select-cycle-ref-style-internal)
7064         (reftex-select-cycle-ref-style-forward)
7065         (reftex-select-cycle-ref-style-backward): New functions.
7066         (reftex-select-label-map): Use `v' and `V' for general cycling
7067         through reference styles.  Add `p' for switching between number
7068         and page reference types.
7070         * textmodes/reftex-toc.el (reftex-re-enlarge):
7071         Call `enlarge-window' only if there is something to do because in Emacs
7072         the horizontal version throws an error even if the parameter is 0.
7074         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
7075         (reftex-plug-into-AUCTeX): Doc fix.
7076         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
7077         string.  Adapt to new name.
7078         (reftex-ref-style-alist): Change structure so that it is not
7079         possible to use multiple different package names within a style.
7080         Remove the symbols for symbols for macro type distinction.
7081         Add characters for macro selection.
7082         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
7083         (reftex-create-bibtex-footer): New variables.
7084         (reftex-format-ref-function): Mention third argument of special
7085         format function.
7086         (reftex-ref-style-alist, reftex-ref-style-default-list):
7087         New variables.
7088         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
7089         to new implementation.  Mark as obsolete.  Add compatibility code
7090         for honoring the variable values in case they are set.
7091         (reftex-cite-format-builtin, reftex-bibliography-commands):
7092         Add support for ConTeXt.
7093         (reftex-format-ref-function, reftex-format-cite-function):
7094         Fix custom type.
7095         (reftex-cite-key-separator): New variable.
7097         * textmodes/reftex.el (reftex-syntax-table-for-bib)
7098         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
7099         `reftex-syntax-table' because parens have to retain their paren
7100         syntax in order for parsing of BibTeX entries like @book(...) to
7101         work.
7102         (reftex-in-comment): Do not error out if `comment-start-skip' is
7103         not set.  Deal correctly with escaped comment characters.
7104         (reftex-tie-multifile-symbols): Add doc string.
7105         Initialize `reftex-ref-style-list'.
7106         (reftex-untie-multifile-symbols): Add doc string.
7107         (reftex-add-index-macros): Doc fix.
7108         (reftex-ref-style-activate, reftex-ref-style-toggle)
7109         (reftex-ref-style-list): New functions.
7110         (reftex-mode-menu): Use them.  Adapt to new structure of
7111         `reftex-ref-style-alist'.
7112         (reftex-select-with-char): Kill the RefTeX Select buffer when
7113         done.
7114         (reftex-remove-if): New function.
7115         (reftex-erase-all-selection-and-index-buffers)
7116         (reftex-mode-menu): Reference styles are now computed from
7117         `reftex-ref-style-alist'.  Fix typo.
7118         (reftex-report-bug): New function.
7119         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
7120         algorithms with O(n log n).  Introduce optional argument SORT (not
7121         yet used).
7123 2012-09-30  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
7125         Enhancements for triple-quote string syntax.
7126         * progmodes/python.el (python-syntax-propertize-function):
7127         Match both quote cases in one regexp.
7128         (python-syntax-stringify): Handle matches properly.
7130 2012-09-30  Juri Linkov  <juri@jurta.org>
7132         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
7133         to nil around the call to `insert' to prevent
7134         directory time modification by lock_file.  (Bug#2295)
7135         * tar-mode.el (tar-summarize-buffer): Idem.
7137 2012-09-30  Juri Linkov  <juri@jurta.org>
7139         * facemenu.el (list-colors-sort): Add option "Luminance".
7140         (list-colors-sort-key): Implement it.
7142         * vc/diff-mode.el (diff-refine-removed):
7143         * vc/ediff-init.el (ediff-fine-diff-A):
7144         * vc/smerge-mode.el (smerge-refined-removed):
7145         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
7147 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
7149         * term/ns-win.el (x-file-dialog): New function.
7151 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
7153         * ido.el (ido-max-directory-size): Default to nil; the current
7154         default is small for POSIX systems, and impractical on Windows 7
7155         now that lstat returns directory sizes for NTFS.
7157 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
7159         In buffer display functions handle window-height/window-width
7160         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
7161         * window.el (window--display-buffer): New argument ALIST.
7162         Obey window-height and window-width alist entries.
7163         (window--try-to-split-window): New argument ALIST.
7164         Bind window-combination-limit to t when the window's size shall be
7165         changed and window-combination-limit equals `window-size'.
7166         (display-buffer-in-atom-window)
7167         (display-buffer-in-major-side-window)
7168         (display-buffer-in-side-window, display-buffer-same-window)
7169         (display-buffer-reuse-window, display-buffer-pop-up-frame)
7170         (display-buffer-pop-up-window, display-buffer-below-selected)
7171         (display-buffer-at-bottom, display-buffer-in-previous-window)
7172         (display-buffer-use-some-window): Adjust all callers of
7173         window--display-buffer and window--try-to-split-window.
7174         (fit-frame-to-buffer): New option.
7175         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
7176         is non-nil.
7177         (display-buffer-in-major-side-window): Evaluate window-height /
7178         window-width alist entries.
7180         * help.el (temp-buffer-resize-frames)
7181         (temp-buffer-resize-regexps): Remove options.
7182         (temp-buffer-resize-mode): Adjust doc-string.
7183         (resize-temp-buffer-window): Don't consult
7184         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
7185         temp-buffer-resize-frames.
7187         * dired.el (dired-mark-pop-up):
7188         Call display-buffer-below-selected with a fit-window-to-buffer alist
7189         entry.
7191 2012-09-30  Chong Yidong  <cyd@gnu.org>
7193         * server.el (server-host): Document the security implications.
7194         (server-auth-key): Doc fix.
7196         * startup.el (initial-buffer-choice): Doc fix.
7198         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
7200         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
7201         restriction change.
7203         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
7205         * help-fns.el (help-fns--obsolete): Fix last change.
7207 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7209         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
7210         (minor-mode-map-alist): Remove redundant code.
7212         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
7213         visited in a buffer.
7214         (cvs-insert-visited-file): New function.
7215         (find-file-hook): Use it.
7217         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
7219         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
7220         chose face.
7221         (log-edit-empty-buffer-p): Don't require a space after a header.
7223         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
7225         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
7227         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
7228         a proper minor-mode.
7230         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
7232 2012-09-29  Glenn Morris  <rgm@gnu.org>
7234         * winner.el (winner-mode): Remove variable (let define-minor-mode
7235         handle it).
7236         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
7237         Doc fixes.
7238         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
7239         (winner-mode): Use define-minor-mode.
7241         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
7242         the full definition in loaddefs, rather than duplicating it.
7244         * help-macro.el (three-step-help): No need to autoload defcustom.
7246         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
7247         (inferior-lisp-program, inferior-lisp-load-command)
7248         (inferior-lisp-prompt, inferior-lisp-mode-hook):
7249         No need to autoload defcustoms.
7251         * hippie-exp.el (hippie-expand-try-functions-list)
7252         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
7253         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
7254         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
7255         (hippie-expand-only-buffers): No need to autoload defcustoms.
7256         * progmodes/vhdl-mode.el (vhdl-line-expand):
7257         Explicitly load hippie-exp, so it does not get autoloaded
7258         while hippie-expand-try-functions-list is let-bound.
7260 2012-09-28  Glenn Morris  <rgm@gnu.org>
7262         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
7264         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
7265         Only "cl.el" counts as cl these days.
7267 2012-09-28  Juri Linkov  <juri@jurta.org>
7269         Display archive errors in the echo area instead of inserting
7270         to the file buffer.
7272         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
7273         to STDERR-TEST that can be a regexp matching a successful output.
7274         Create a temporary file and redirect stderr to it.  Search for
7275         STDERR-TEST in the stderr output and display it in the echo area
7276         if no match is found.
7277         (archive-extract-by-file): New function like
7278         `archive-extract-by-stdout' but extracting archives to files
7279         and looking for successful matches in stdout.  Function body is
7280         mostly copied from `archive-rar-extract'.
7281         (archive-rar-extract): Use `archive-extract-by-file'.
7282         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
7284 2012-09-28  Leo Liu  <sdl.web@gmail.com>
7286         * pcomplete.el (pcomplete-show-completions):
7287         Use minibuffer-message to make pcomplete usable in minibuffer.
7289         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
7291 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7293         * type-break.el: Use lexical-binding.
7294         (type-break-mode): Use define-minor-mode.
7296         * emacs-lisp/pcase.el (pcase--mark-used): New.
7297         (pcase--u1): Use it (bug#12512).
7299         * custom.el (load-theme): Set buffer-file-name so the load is recorded
7300         in load-history with the right file name.
7302 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
7304         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
7305         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
7306         (doc-view-get-bounding-box): Make bounding box slicing work for
7307         ODF and DVI documents.
7309 2012-09-28  Glenn Morris  <rgm@gnu.org>
7311         * type-break.el (type-break-mode, type-break-interval)
7312         (type-break-good-rest-interval, type-break-keystroke-threshold):
7313         No need to autoload.
7314         (type-break-good-rest-interval, type-break-keystroke-threshold):
7315         Add :set-after.
7317 2012-09-28  Chong Yidong  <cyd@gnu.org>
7319         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
7320         Add :version tag.
7322 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7324         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
7326 2012-09-27  Glenn Morris  <rgm@gnu.org>
7328         * faces.el (x-display-name): Declare (for without-x builds).
7330         * linum.el (linum-format): Don't autoload it.  Improve :type.
7332         * progmodes/tcl.el: Don't require outline when compiling.
7333         (outline-regexp, outline-level): Declare.
7334         * textmodes/sgml-mode.el: Don't require outline when compiling.
7335         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
7337         * term.el (term-ansi-reset):
7338         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
7340         * vc/vc.el (vc-next-action): Only gripe about committing read-only
7341         files for RCS and SCCS.  (Bug#9781)
7343 2012-09-27  Chong Yidong  <cyd@gnu.org>
7345         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
7346         change; value should be t.
7348 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7350         * image-mode.el: Use lexical-binding.
7351         (image-mode-winprops): Use t to stand for the window of
7352         a buffer that's not displayed.
7353         * doc-view.el (doc-view-new-window-function): Handle the new
7354         t in winprops.
7355         (doc-view-enlarge): Make it a real nop if the size is not changed.
7356         (doc-view-display): Handle the case where the buffer is not (yet?)
7357         displayed in any window.
7358         (doc-view-saved-settings): New var.
7359         (doc-view-mode): Use it.
7360         (doc-view-fallback-mode): Set it.
7362         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
7363         Set lexical-binding.
7364         (minibuffer-eldef-shorten-default): New var.
7365         (minibuffer-default-in-prompt-regexps): Use it for new default.
7366         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
7368 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
7370         * international/uni-bidi.el:
7371         * international/uni-category.el:
7372         * international/uni-name.el:
7373         * international/uni-numeric.el: Regenerate.
7375 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
7376             Stefan Monnier  <monnier@iro.umontreal.ca>
7378         * profiler.el: New file.
7380 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7382         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
7383         (testcover-reinstrument): Simplify with CSE.
7385 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
7387         * window.el (temp-buffer-window-setup): Fix typo in docstring.
7389 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
7391         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
7392         (verilog-auto-input, verilog-auto-insert-lisp)
7393         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
7394         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
7395         (verilog-auto-unused, verilog-auto-wire)
7396         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
7397         newline.  Reported by Andrew Jones.
7398         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
7399         Reported by Brad Dobbie.
7400         (verilog-batch-delete-trailing-whitespace):
7401         Create verilog-batch-delete-trailing-whitespace.
7402         Reported by Brad Dobbie.
7403         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
7404         parameters from another module.  Reported by Dan Katz.
7405         (verilog-auto, verilog-auto-assign-modport)
7406         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
7407         AUTOINOUTMODPORT for UVM interface module shell generation.
7408         Reported by Brad Dobbie.
7409         (verilog-auto-inst-interfaced-ports): Make default nil, as more
7410         standard behavior.
7411         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
7412         Reported by Matt Martin.
7414 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
7416         * window.el (window--resize-child-windows): When resizing child
7417         windows proportionally, process them in reverse order to
7418         preserve the "when splitting a window the new one gets the odd
7419         line" behavior.
7420         (window--resize-root-window-vertically): When resizing the
7421         minibuffer window try to affect only windows at the bottom of the
7422         frame.  (Bug#12419)
7424 2012-09-25  Chong Yidong  <cyd@gnu.org>
7426         * subr.el (declare): Doc fix.
7428         * help-fns.el (help-fns--obsolete): Handle macros properly.
7430 2012-09-25  Chong Yidong  <cyd@gnu.org>
7432         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7433         this function obsolete.
7435         * calendar/cal-x.el (calendar-two-frame-setup)
7436         (calendar-only-one-frame-setup, calendar-one-frame-setup):
7437         * calendar/calendar.el (american-calendar, european-calendar)
7438         (calendar-for-loop):
7439         * comint.el (comint-dynamic-simple-complete)
7440         (comint-dynamic-complete-as-filename, comint-unquote-filename):
7441         * desktop.el (desktop-load-default):
7442         * dired-x.el (dired-omit-here-always)
7443         (dired-hack-local-variables, dired-default-directory):
7444         * emacs-lisp/derived.el (derived-mode-class):
7445         * emacs-lisp/timer.el (timer-set-time-with-usecs):
7446         * emacs-lock.el (toggle-emacs-lock):
7447         * epa.el (epa-display-verify-result):
7448         * epg.el (epg-sign-keys, epg-start-sign-keys)
7449         (epg-passphrase-callback-function):
7450         * eshell/esh-util.el (eshell-for):
7451         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7452         (eshell-add-to-window-buffer-names):
7453         * files.el (locate-file-completion):
7454         * imenu.el (imenu-example--create-c-index)
7455         (imenu-example--create-lisp-index)
7456         (imenu-example--lisp-extract-index-name)
7457         (imenu-example--name-and-position):
7458         * international/mule-cmds.el (princ-list):
7459         * international/mule-diag.el (decode-codepage-char):
7460         * international/mule-util.el (detect-coding-with-priority):
7461         * iswitchb.el (iswitchb-read-buffer):
7462         * mail/mailalias.el (mail-complete):
7463         * mail/sendmail.el (mail-sent-via):
7464         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7465         (mouse-major-mode-menu):
7466         * password-cache.el (password-read-and-add):
7467         * pcomplete.el (pcomplete-parse-comint-arguments):
7468         * progmodes/sh-script.el (sh-maybe-here-document):
7469         * replace.el (query-replace-regexp-eval):
7470         * savehist.el (savehist-load):
7471         * simple.el (choose-completion-delete-max-match):
7472         * term.el (term-dynamic-simple-complete):
7473         * vc/ediff-init.el (ediff-check-version):
7474         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7475         * vc/vc.el (vc-diff-switches-list):
7476         * view.el (view-return-to-alist-update): Likewise.
7478         * subr.el (eval-next-after-load, makehash, insert-string)
7479         (assoc-ignore-representation, assoc-ignore-case): Use declare to
7480         mark obsolete.
7481         (mode-line-inverse-video): Variable deleted.
7483         * international/mule-util.el (string-to-sequence): Remove.
7485         * calendar/calendar.el (calendar-version):
7486         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7487         (icalendar-convert-diary-to-ical):
7488         * cus-edit.el (custom-mode):
7489         * ansi-color.el (ansi-color-unfontify-region):
7490         * international/latin1-disp.el (latin1-char-displayable-p):
7491         * progmodes/cwarn.el (turn-on-cwarn-mode):
7492         * progmodes/which-func.el (which-func-update-1):
7493         Use define-obsolete-function-alias.
7495         * net/newst-backend.el (newsticker-cache-filename):
7496         * net/newst-treeview.el (newsticker-groups-filename):
7497         Fix incorrect obsolescence declaration.
7499         * allout.el (allout-passphrase-hint-string): Likewise.
7500         (allout-init): Use a declare form to mark obsolete.
7502         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7503         this applies to functions.
7505         * iswitchb.el (iswitchb-read-buffer): Move code of
7506         iswitchb-define-mode-map here, and delete that obsolete function.
7508         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7509         font-lock-reference-face.
7511 2012-09-25  Glenn Morris  <rgm@gnu.org>
7513         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7514         Doc fixes.
7516         * eshell/em-term.el (eshell-term-name):
7517         Default to term-term-name.  (Bug#12485)
7519 2012-09-24  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
7521         * progmodes/python.el (python-shell-send-buffer): Better handling
7522         of "if __name__ == '__main__':" conditionals when sending the buffer.
7524 2012-09-24  Glenn Morris  <rgm@gnu.org>
7526         * eshell/esh-cmd.el (eshell-find-alias-function):
7527         Tighten up file-name regexp.  (Bug#12499)
7529 2012-09-24  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
7531         Enhancements for triple-quote string syntax.
7532         * progmodes/python.el (python-quote-syntax): Remove.
7533         (python-syntax-propertize-function): New value.
7534         (python-syntax-count-quotes, python-syntax-stringify):
7535         New functions.
7537 2012-09-24  Chong Yidong  <cyd@gnu.org>
7539         * mail/supercite.el (sc-version): Remove obsolete function.
7540         (sc-describe): Don't mark as obsolete, since it is bound.
7541         (sc-submit-bug-report): Remove.
7543         * vc/log-edit.el (cvs-changelog-full-paragraphs)
7544         (cvs-commit-buffer-require-final-newline): Remove.
7545         (log-edit-require-final-newline)
7546         (log-edit-changelog-full-paragraphs): Default to t.
7548         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7549         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7550         * vc/vc.el (vc-checkout-carefully): Likewise.
7552         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7553         (emerge-version): Remove.
7555         * progmodes/compile.el (compile-internal): Remove.
7556         (compilation-parse-errors-function): Fix typo.
7558         * international/mule.el (set-char-table-default): Remove.
7559         (set-coding-priority, make-coding-system, generic-char-p)
7560         (charset-list, charset-bytes, charset-id): Use declare to mark
7561         functions as obsolete.
7563         * vc/pcvs-defs.el (cvs-buffer-name-alist)
7564         (cvs-invert-ignore-marks): Remove references to obsolete vars.
7565         * vc/vc-hooks.el (vc-default-registered): Don't use
7566         vc-master-templates.
7568         * font-lock.el (font-lock-reference-face):
7569         Use define-obsolete-variable-alias.
7571         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7572         * calendar/calendar.el (calendar-font-lock-keywords):
7573         * calendar/diary-lib.el (diary-font-lock-keywords)
7574         (diary-fancy-font-lock-keywords):
7575         * textmodes/reftex-sel.el (reftex-insert-docstruct):
7576         * textmodes/reftex-index.el (reftex-insert-index):
7577         * textmodes/reftex-cite.el (reftex-format-bib-entry):
7578         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7579         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7580         * progmodes/prolog.el (prolog-font-lock-keywords):
7581         * progmodes/idlwave.el (idlwave-idl-keywords):
7582         * progmodes/ada-mode.el (ada-font-lock-keywords):
7583         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7585 2012-09-24  Glenn Morris  <rgm@gnu.org>
7587         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7589 2012-09-23  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
7591         * progmodes/python.el (python-indent-line): More consistent cursor
7592         movement behavior.
7594 2012-09-23  Stefan Merten  <smerten@oekonux.de>
7596         * textmodes/rst.el: Fix compiler warning.
7598 2012-09-23  Roland Winkler  <winkler@gnu.org>
7600         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7601         Transcribe also LaTeX hyphenation.
7602         (bibtex-reformat): Bug fix. Do not quote twice the elements of
7603         bibtex-reformat-previous-options.
7605 2012-09-23  Roland Winkler  <winkler@gnu.org>
7607         * proced.el (proced-renice-command): New variable.
7608         (proced-marked-processes): New function.
7609         (proced-with-processes-buffer): New macro.
7610         (proced-send-signal): Use them.
7611         (proced-renice): New command bound to r.
7613 2012-09-23  Roland Winkler  <winkler@gnu.org>
7615         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7616         ibuffer-saved-filter-groups has one element, shortcut the call of
7617         completing-read.  (Bug#12331)
7619 2012-09-23  Chong Yidong  <cyd@gnu.org>
7621         * bindings.el (mode-line-toggle-read-only):
7622         * bs.el (bs-toggle-readonly):
7623         * buff-menu.el (Buffer-menu-toggle-read-only):
7624         * dired.el (dired-toggle-read-only):
7625         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7627 2012-09-23  Chong Yidong  <cyd@gnu.org>
7629         * image.el (image-type-available-p): Adapt to init-image-library
7630         argument changes.
7632 2012-09-22  Juri Linkov  <juri@jurta.org>
7634         * dired.el (dired-mode-map): Add [remap read-only-mode] for
7635         `dired-toggle-read-only'.  (Bug#12462)
7637 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
7639         * subr.el (temp-output-buffer-show): New function.
7640         (with-output-to-temp-buffer): Call temp-output-buffer-show
7641         instead of internal-temp-output-buffer-show.
7643 2012-09-22  Chong Yidong  <cyd@gnu.org>
7645         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7646         (Bug#12462).
7648         * repeat.el (repeat): Doc fix (Bug#12348).
7650         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7651         (Bug#10909).
7653         * simple.el (shell-command-on-region): Doc fix.
7654         (read-only-mode): Doc fix.
7656 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
7658         * emacs-lisp/timer.el (run-with-idle-timer)
7659         (timer-activate-when-idle): Warn against reinvoking an idle timer
7660         from within its own timer action.  (Bug#12447)
7662 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
7664         * cus-start.el (window-combination-limit): Add new optional
7665         values.
7666         * window.el (temp-buffer-window-show)
7667         (window--try-to-split-window): Handle new values of
7668         window-combination-limit (Bug#1806).
7669         (split-window): Test window-combination-limit for t instead of
7670         non-nil.
7671         (display-buffer-at-bottom): New buffer display action function.
7672         * help.el (temp-buffer-resize-regexps): New option.
7673         (temp-buffer-resize-mode): Rewrite doc-string.
7674         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7675         Don't resize reused window.  Suggested by Glenn Morris.
7677 2012-09-22  Stefan Merten  <smerten@oekonux.de>
7679         * textmodes/rst.el: Revamp section title faces.
7680         (rst-official-version)
7681         (rst-package-emacs-version-alist): Sync with official version
7682         V1.4.0.
7683         (rst-faces-defaults, rst-set-level-default)
7684         (rst-level-face-max, rst-level-face-base-color)
7685         (rst-level-face-base-light, rst-level-face-format-light)
7686         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7687         (rst-adornment-faces-alist): Match new setup.
7688         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7689         (rst-level-5, rst-level-6): New faces.
7691 2012-09-22  Chong Yidong  <cyd@gnu.org>
7693         * simple.el (undo): Handle indirect buffers (Bug#8207).
7695 2012-09-21  Leo Liu  <sdl.web@gmail.com>
7697         IDO: Disable match re-ordering for buffer switching.
7698         * ido.el (ido-buffer-disable-smart-matches): New variable.
7699         (ido-set-matches-1): Use it.  (Bug#2042)
7701 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
7703         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7704         Fix 2011-05-17 change.  (Bug#12418)
7706 2012-09-21  Leo Liu  <sdl.web@gmail.com>
7708         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7710 2012-09-21  Glenn Morris  <rgm@gnu.org>
7712         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7713         Be more robust about locating simple.el.
7715 2012-09-21  Glenn Morris  <rgm@gnu.org>
7717         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7719 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
7721         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
7723 2012-09-20  Juri Linkov  <juri@jurta.org>
7725         * replace.el (query-replace-read-from): Use `read-regexp' instead
7726         of `read-from-minibuffer' when `regexp-flag' is non-nil.
7727         (occur-read-primary-args): Use `read-regexp' instead of
7728         `read-string'.
7729         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7730         `read-from-minibuffer'.
7731         * isearch.el (isearch-occur): Use `read-regexp' instead of
7732         `read-string'.
7733         * dired.el (dired-read-regexp): Use `read-regexp' instead of
7734         `read-from-minibuffer'.
7735         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7736         of `read-string'.  (Bug#7567)
7738         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7739         and allow accepting a list of strings prepended to a list of
7740         standard default values.  Doc fix.  (Bug#12321)
7742         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
7744         * replace.el (read-regexp): Don't add ": " when PROMPT already
7745         ends with a colon and space.  (Bug#12321)
7747 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
7749         * doc-view.el (doc-view-display): Better fix for the cl-assertion
7750         error.
7752 2012-09-20  Stefan Merten  <smerten@oekonux.de>
7754         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7755         Fixes feature request bug#11711.
7756         (rst-mode): Create `imenu-create-index-function'.
7757         (rst-get-stripped-line): Delete after refactoring.
7758         (rst-section-tree, rst-section-tree-rec)
7759         (rst-section-tree-point): Refactor and document properly.
7760         (rst-imenu-find-adornments-for-position)
7761         (rst-imenu-convert-cell, rst-imenu-create-index):
7762         New function.
7764 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7766         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7767         (macroexp--expand-all): Use it.
7768         (macroexp--funcall-and-return): Remove by folding it into its sole
7769         caller (macroexp--warn-and-return).
7770         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7771         Use macroexp--obsolete-warning.
7773         * calc/calc.el: Fix last change by removing the whole chunk, since it
7774         was only needed back when Calc was not bundled.
7776 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
7778         * emacs-lisp/debug.el (debug): Restore assignment to
7779         debugger-old-buffer removed on 2012-09-08.
7781 2012-09-20  Juri Linkov  <juri@jurta.org>
7783         * dired-aux.el (dired-diff): Remove (require 'diff) since
7784         `diff-latest-backup-file' is now autoloaded.
7786 2012-09-20  Chong Yidong  <cyd@gnu.org>
7788         * vc/diff.el (diff-latest-backup-file): Autoload.
7790 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7792         * calc/calc.el: Remove redundant autoload shape check.
7793         (sel-mode): Don't defvar.
7794         (calc-get-stack-element): Add `sel-mode' arg instead.
7795         (calc-top, calc-top-list): Pass it this additional argument.
7796         * calc/calc-store.el (calc-store-map):
7797         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7798         (calc-map-equation, calc-outer-product, calc-inner-product):
7799         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7801         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7803 2012-09-19  Juri Linkov  <juri@jurta.org>
7805         * dired-aux.el (dired-diff): Add (require 'diff) because
7806         `diff-latest-backup-file' is not autoloaded.
7807         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7808         of `dired-get-filename' to t to not report error when there is
7809         no default file on the current line.
7811 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7813         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7814         macroexp--eval-if-compile.
7815         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7816         (macroexp--expand-all): Use them (bug#12371).
7818         * doc-view.el (doc-view-guess-paper-size)
7819         (doc-view-scale-bounding-box): Fix unbound `caddr'.
7821 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
7823         New feature: set optimal slice from BoundingBox information.
7824         * doc-view.el (doc-view-mode-map): Add keybinding.
7825         (doc-view-menu): Add menu entry.
7826         (doc-view-set-slice): Adapt docstring.
7827         (doc-view-get-bounding-box, doc-view-guess-paper-size)
7828         (doc-view-scale-bounding-box)
7829         (doc-view-set-slice-from-bounding-box): New functions.
7830         (doc-view-paper-sizes): New defvar.
7832 2012-09-19  Glenn Morris  <rgm@gnu.org>
7834         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7835         (byte-compile-log-warning): Autoload.  (Bug#12371)
7837         * calendar/calendar.el (calendar-american-month-header)
7838         (calendar-european-month-header, calendar-iso-month-header)
7839         (calendar-month-header): New options.
7840         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
7841         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
7843 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
7845         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7847 2012-09-18  Juri Linkov  <juri@jurta.org>
7849         * dired-aux.el (dired-diff): Restore original functionality of
7850         getting the default value, but keep new feature of using the
7851         latest existing backup file (`diff-latest-backup-file').
7853 2012-09-18  Juri Linkov  <juri@jurta.org>
7855         * dired.el (dired-mark): If the region is active in Transient Mark
7856         mode, mark all files in the active region.  Doc fix.
7857         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7858         Doc fix.  (Bug#10624)
7860 2012-09-18  Juri Linkov  <juri@jurta.org>
7862         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7863         attributes for M-n are pulled from the file at point.
7864         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7865         Suggested by Drew Adams.  (Bug#10624)
7867 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
7869         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7870         whitespace after "end".
7871         (ruby-do-end-to-brace): Collapse block to one line if it fits
7872         within fill-column.
7874 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
7876         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7877         value.
7878         (debug): Don't remove debugger window when debugger is expected
7879         to be back.
7881 2012-09-18  Chong Yidong  <cyd@gnu.org>
7883         * custom.el (defface): Doc fix.
7885         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7887 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
7889         * progmodes/compile.el (compilation-start): Use compilation-always-kill
7890         to initialize query-on-exit; then test that instead (bug#12288).
7892 2012-09-17  Stefan Merten  <smerten@oekonux.de>
7894         * textmodes/rst.el: Add support for `testcover'.
7895         (rst-defcustom-testcover, rst-testcover-add-compose)
7896         (rst-testcover-add-1value): New functions.
7897         (rst-portable-mark-active-p): Replace by `use-region-p'.
7898         (rst-update-section, rst-classify-adornment)
7899         (rst-find-title-line): Mark `1value' forms.
7900         (rst-classify-adornment): Remove superfluous form.
7901         (rst-update-section, rst-get-adornments-around)
7902         (rst-adornment-complete-p, rst-get-next-adornment)
7903         (rst-adjust, rst-promote-region)
7904         (rst-display-adornments-hierarchy, rst-straighten-adornments)
7905         (rst-find-pfx-in-region, rst-section-tree-rec)
7906         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7907         (rst-toc-node, rst-toc, rst-forward-section)
7908         (rst-iterate-leftmost-paragraphs)
7909         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7910         (rst-bullet-list-region)
7911         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7912         (rst-compile-find-conf, rst-compile)
7913         (rst-repeat-last-character): Fix style.
7915 2012-09-17  Chong Yidong  <cyd@gnu.org>
7917         * comint.el (comint--complete-file-name-data): Don't add a space
7918         if the status is `sole'; that adds a gratuitous space in the
7919         completion-cycling case (Bug#12092).
7921         * pcomplete.el (pcomplete-completions-at-point): Likewise.
7923 2012-09-17  Richard Stallman  <rms@gnu.org>
7925         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7926         only in the mime-shown mode, not in raw mode.
7927         (rmail-mime): Toggle off mime by displaying the message without
7928         mime processing.  (Bug#12305)
7930         * mail/rmail.el (rmail-retry-failure):
7931         Turn off mime processing first.  (Bug#12037)
7933         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7935 2012-09-17  Chong Yidong  <cyd@gnu.org>
7937         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7938         (shell-dynamic-complete-functions): Convert to defcustom.
7939         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7941         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7942         * comint.el (comint-prompt-read-only):
7943         * custom.el (defcustom):
7944         * hi-lock.el (hi-lock-mode):
7945         * ibuffer.el (ibuffer-formats):
7946         * ielm.el (ielm-prompt-read-only):
7947         * novice.el (disable-command):
7948         * saveplace.el (toggle-save-place):
7949         * speedbar.el (speedbar-supported-extension-expressions):
7950         * startup.el (auto-save-list-file-prefix, init-file-user)
7951         (after-init-hook, inhibit-startup-echo-area-message):
7952         * strokes.el (strokes-help):
7953         * time-stamp.el (time-stamp):
7954         * calendar/calendar.el (calendar, diary-file):
7955         * calendar/diary-lib.el (diary-mail-entries, diary)
7956         (diary-list-entries-hook):
7957         * calendar/holidays.el (holidays, calendar-holidays):
7958         * calendar/lunar.el (lunar-phases):
7959         * calendar/solar.el (sunrise-sunset):
7960         * emulation/edt.el (edt-load-keys):
7961         * emulation/viper.el (viper-mode):
7962         * eshell/em-alias.el (eshell-command-aliases-list):
7963         * eshell/esh-util.el (eshell-convert-numeric-arguments):
7964         * international/ogonek.el (ogonek-information):
7965         * net/tramp-cmds.el (tramp-bug):
7966         * net/quickurl.el (quickurl-reread-hook-postfix):
7967         * play/decipher.el (decipher-font-lock-keywords):
7968         * progmodes/cc-styles.el (c-set-style):
7969         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7970         * progmodes/inf-lisp.el (inferior-lisp-prompt):
7971         * progmodes/octave-mod.el (octave-mode):
7972         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7973         * progmodes/verilog-mode.el (verilog-read-defines):
7974         * textmodes/two-column.el (2C-mode): Likewise.
7976 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
7978         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7979         that holds many addresses.
7981 2012-09-16  Chong Yidong  <cyd@gnu.org>
7983         * align.el (align-areas): Call the indication function with
7984         positions instead of markers for arguments (Bug#12343).
7986         * files.el (parse-colon-path): Use split-string (Bug#12351).
7988         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7989         (display-buffer-function): Mark as obsolete.
7991         * progmodes/compile.el (compilation-parse-errors): Accept list
7992         values similar to font-lock-keywords (Bug#12136).
7993         Suggested by Oleksandr Manzyuk.
7994         (compilation-error-regexp-alist): Doc fix.
7996 2012-09-15  Glenn Morris  <rgm@gnu.org>
7998         * version.el (emacs-bzr-version-bzr): New function.
7999         (emacs-bzr-get-version): Add optional EXTERNAL argument.
8001         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
8002         checkouts, check the parent dirstate matches the branch.
8003         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
8004         empty string.
8006         * version.el (emacs-bzr-version): Doc fix.
8007         (emacs-bzr-version-dirstate): New function.
8008         (emacs-bzr-get-version): For lightweight checkouts, if the parent
8009         is local try and check that it matches the branch.  If not, just
8010         use dirstate information.  (Bug#12441)
8012 2012-09-14  Juri Linkov  <juri@jurta.org>
8014         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
8015         (Bug#12399)
8017 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8019         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
8021         * emacs-lisp/edebug.el: Miscellaneous cleanup.
8022         Remove obsolete byte-compiler hack that tried to silence some warnings.
8023         (edebug-submit-bug-report): Remove.
8024         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
8025         Remove aliases, use the un-prefixed name instead.
8026         (edebug-pop-to-buffer): Consider other frames.
8027         (edebug-original-read):: Make it more obvious that it's always defined.
8028         (edebug--make-form-data-entry, edebug--form-data-name)
8029         (edebug--form-data-begin, edebug--form-data-end): Rename from the
8030         single-dashed name, and implement with cl-defstruct.
8031         (edebug-set-form-data-entry): Use the standard accessors.
8032         (edebug-make-top-form-data-entry): Use push.
8033         (edebug-no-match): Drop useless `funcall'.
8034         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
8035         to functions.
8036         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
8037         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
8038         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
8039         (easy-menu-define, with-custom-print): Remove redundant specs.
8040         (edebug-outside-overriding-local-map)
8041         (edebug-outside-overriding-terminal-local-map): Remove, unused.
8042         (edebug--display): Bind unread-command-events directly to nil rather
8043         than binding it to unread-command-events and later setting it to nil.
8044         (edebug--display): Kill edebug-eval-buffer here...
8045         (edebug--recursive-edit): ...rather than here.
8046         Bind standard-output and standard-input.
8047         (edebug-eval): Check cl-macroexpand-all is fboundp.
8048         (edebug-temp-display-freq-count): Fix last change.
8050         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
8051         * subr.el (noreturn, 1value): Add `debug' spec.
8052         * emacs-lisp/advice.el: Require cl-lib.
8053         (ad-copy-tree): Remove, use copy-tree instead.
8054         (ad-dolist): Remove use dolist or cl-dolist instead.
8055         (ad-do-return): Remove, use cl-return instead.
8056         (defadvice): Add `debug' spec.
8058 2012-09-13  Juri Linkov  <juri@jurta.org>
8060         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
8061         (Bug#12399)
8063 2012-09-13  Glenn Morris  <rgm@gnu.org>
8065         * calc/calc.el (math-compose-expr):
8066         * calc/calc-ext.el (math-compose-expr):
8067         * progmodes/cc-defs.el (cl-macroexpand-all):
8068         * progmodes/cc-langs.el (delete-duplicates, mapcan)
8069         (cl-macroexpand-all): Update declarations.
8071         * vc/vc.el: No need to require ediff.
8072         (ediff-load-version-control): Declare.
8073         (ediff-vc-internal): Fix declaration.
8074         (vc-version-ediff): Require ediff.
8076 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
8078         Use a more backwards-compatible timer format (Bug#12430).
8079         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
8080         being right after USECS, as that better supports old code that
8081         inadvisedly looked directly at the timer vector.
8083 2012-09-13  Kenichi Handa  <handa@gnu.org>
8085         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8086         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
8087         `coding-priority' property of these language environment.
8089 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
8091         Fix glitches caused by addition of psec to timers (Bug#12430).
8092         * image.el (image-animate-timer):
8093         * time.el (display-time-world-timer):
8094         Use timer--function and timer--args rather than raw access to
8095         timer vector.
8097 2012-09-13  Glenn Morris  <rgm@gnu.org>
8099         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
8100         If not compiling a file, try using load-file-name.
8102 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8104         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
8105         Fix last change.
8106         (edebug-update-eval-list): Use `push'.
8108         * emacs-lisp/edebug.el: Use lexical-binding.
8109         Remove the "edebug-" prefix from non-dynamically-scoped variables.
8110         Mark unused args with underscore.
8111         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
8112         (edebug-form-data): Use defvar-local.
8113         (edebug-make-before-and-after-form, edebug-make-after-form):
8114         Use backquote.
8115         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
8116         Not dynamically scoped any more.
8117         (edebug--enter-trace): Add arguments `function' and `args'.
8118         Rename from edebug-enter-trace.
8119         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
8120         (edebug--update-coverage): Add `after-index' and `value' args.
8121         Rename from edebug-update-coverage.
8122         (edebug-slow-after): Call it accordingly.
8123         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
8124         edebug-recursive-edit.
8125         (edebug--display): Call it accordingly.  Add args `value',
8126         `offset-index', and `arg-mode'.  Rename from edebug-display.
8127         (edebug-debugger, edebug): Call it accordingly.
8128         (edebug-eval-display-list): Use dolist.
8130 2012-09-12  Juri Linkov  <juri@jurta.org>
8132         * info.el (Info-search): Don't check for isearch-mode and
8133         isearch-regexp before let-binding search-spaces-regexp to
8134         Info-search-whitespace-regexp.
8135         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
8136         search-whitespace-regexp if isearch-lax-whitespace or
8137         isearch-regexp-lax-whitespace is non-nil.
8138         (Info-mode): Don't set local variable search-whitespace-regexp.
8139         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
8141 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8143         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
8144         (debugger-env-macro): Remove support for unread-command-char.
8146         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
8147         the temporary map re-appearing on emulation-mode-map-alists.
8149         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
8150         since 22.1.
8152         * ehelp.el (with-electric-help): Accept functions in
8153         electric-help-form-to-execute.
8154         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
8155         And replace unread-command-char -> unread-command-events.
8157 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
8159         Sync with Tramp 2.2.6.
8161         * net/tramp.el (tramp-accept-process-output): Don't use
8162         JUST-THIS-ONE in the XEmacs case.
8164         * net/trampver.el: Update release number.
8166 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
8168         * emacs-lisp/debug.el (debugger-previous-window-height):
8169         New variable.
8170         (debug): When debugger-jumping-flag is non-nil try to restore
8171         height of debugger window.  (Bug#8789)
8173 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8175         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
8176         overriding-local-map and pre/post-command-hook here.
8177         (edebug-recursive-edit): Do it here instead (bug#12345).
8178         (edebug-outside-unread-command-char): Remove all uses of
8179         unread-command-char.
8181         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
8182         inhibit-debugger is bound instead.
8184 2012-09-11  Bastien Guerry  <bzg@gnu.org>
8186         * subr.el (set-temporary-overlay-map): Add a docstring.
8187         (Bug#12346)
8189 2012-09-11  Bastien Guerry  <bzg@gnu.org>
8191         * minibuffer.el (completion-table-subvert): Fix docstring.
8192         (Bug#12347)
8194 2012-09-11  Bastien Guerry  <bzg@gnu.org>
8196         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
8198 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
8200         * progmodes/sql.el: Version 3.1
8201         (sql-db2-escape-newlines): New variable.
8202         (sql-escape-newlines-filter): Use it.
8204 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
8206         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
8208 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
8210         * vc/diff-mode.el (diff-mode-menu):
8211         Bind diff-remove-trailing-whitespace.
8213 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8215         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
8216         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
8217         (emacs-lisp-byte-code-mode): New functions.
8218         (eval-sexp-add-defvars): Don't skip defvars in column >0.
8219         (eval-defun-2): Remove bogus interactive spec.
8220         (lisp-indent-line): Remove redundant whole-exp code, now done in
8221         indent-according-to-mode.
8222         (save-match-data): Remove redundant indent data.
8224         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
8225         Use `declare'.
8227 2012-09-09  Juri Linkov  <juri@jurta.org>
8229         * replace.el (replace-regexp-lax-whitespace): New defcustom.
8230         (replace-lax-whitespace, query-replace-regexp)
8231         (query-replace-regexp-eval, replace-regexp): Doc fix.
8232         (perform-replace, replace-highlight): Let-bind
8233         isearch-lax-whitespace to replace-lax-whitespace and
8234         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
8236         * isearch.el (isearch-query-replace): Let-bind
8237         replace-lax-whitespace to isearch-lax-whitespace and
8238         replace-regexp-lax-whitespace to
8239         isearch-regexp-lax-whitespace.  (Bug#10885)
8241 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8243         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
8245 2012-09-09  Alan Mackenzie  <acm@muc.de>
8247         * progmodes/cc-engine.el (c-state-cache-init):
8248         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
8249         (c-record-parse-state-state):
8250         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
8252 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
8254         * register.el (register-separator): Rename from
8255         separator-register.  All uses changed.  Doc fix.
8256         (register): Fix version.
8258 2012-09-09  Chong Yidong  <cyd@gnu.org>
8260         * replace.el (query-replace-map): Bind four new symbols for
8261         requesting window scrolling.
8263         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
8264         query-replace-map (Bug#8948).
8266         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
8268         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
8269         since they are now in query-replace-map.
8271         * window.el (scroll-other-window-down): Make the arg optional.
8273 2012-09-09  Chong Yidong  <cyd@gnu.org>
8275         * files.el (hack-local-variables-confirm): Use quit-window to kill
8276         the *Local Variables* buffer.
8278 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
8280         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
8281         not just expect to be at its beginning.  Adjust callees.
8282         Succeed when do-end block has no space before the pipe character.
8283         (ruby-brace-to-do-end): When the original block is one-liner,
8284         convert to multiline.  Reindent the result.
8286 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
8288         * register.el (register): New group.
8289         (separator-register): New user option.
8290         (increment-register): Route it to `append-to-register', if
8291         register contains text.  Implication is that `C-x r +' can now be
8292         used for appending to a text register (bug#12217).
8293         (append-to-register, prepend-to-register): Add separator based on
8294         `separator-register'.
8296 2012-09-08  Alan Mackenzie  <acm@muc.de>
8298         AWK Mode: make auto-newline work when there's "==" in the pattern.
8299         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
8300         correctly.
8301         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
8302         Test more rigorously for "=" token.
8304 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
8306         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
8307         Only fail when reached LIMIT.
8309 2012-09-08  Chong Yidong  <cyd@gnu.org>
8311         * dired.el (dired-mode-map): Don't bind M-=.
8313         * dired-aux.el (dired-diff): Use backup file as default.
8315 2012-09-08  Drew Adams  <drew.adams@oracle.com>
8317         * subr.el (add-to-history): Fix delete usage (Bug#12314).
8319 2012-09-08  Chong Yidong  <cyd@gnu.org>
8321         * subr.el (syntax-after, syntax-class): Doc fix.
8323 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
8325         * window.el (display-buffer-in-previous-window): New buffer
8326         display action function.
8328         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
8329         (debugger-previous-window): New variable.
8330         (debug): Rewrite using display-buffer-in-previous-window,
8331         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
8333 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8335         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
8337 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
8339         * progmodes/python.el (python-shell-send-string):
8340         When default-directory is remote, create temp file on remote
8341         filesystem.
8342         (python-shell-send-file): When file is remote, pass local view of
8343         file paths to remote Python interpreter.  (Bug#12340)
8345 2012-09-07  Chong Yidong  <cyd@gnu.org>
8347         * window.el (switch-to-buffer): Doc fix (Bug#12181).
8349         * files.el (after-find-file): Don't fail on a read-only buffer if
8350         require-final-newline is `visit' or `visit-save' (Bug#11156).
8352         * subr.el (read-char-choice): Allow quitting via ESC ESC.
8354         * userlock.el (ask-user-about-supersession-threat):
8355         Use read-char-choice (Bug#12093).
8357 2012-09-07  Chong Yidong  <cyd@gnu.org>
8359         * subr.el (buffer-narrowed-p): New function.
8361         * ses.el (ses-widen):
8362         * simple.el (count-words--buffer-message):
8363         * net/browse-url.el (browse-url-of-buffer): Use it.
8365         * simple.el (count-words-region): Don't signal an error if there
8366         is a non-nil prefix arg and the mark is not set.
8368         * help.el (describe-key-briefly): Allow the message to be seen
8369         when invoked from the minibuffer (Bug#7014).
8371 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
8373         * progmodes/ruby-mode.el (ruby-end-of-defun)
8374         (ruby-beginning-of-defun): Simplify, allow indentation before
8375         block beginning and end keywords.
8376         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
8377         (ruby-end-of-defun): Expect that the point is at the beginning of
8378         the defun.
8380 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8382         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
8383         (bug#12367).
8384         (cl--make-usage-args): Strip _ from argument names.
8386 2012-09-06  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
8388         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
8389         obsolete alias speedbar-key-map.
8390         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
8391         (vhdl-index-menu-init): Don't use obsolete variable
8392         font-lock-maximum-size.
8394 2012-09-06  Chong Yidong  <cyd@gnu.org>
8396         * frame.el (window-system-version): Mark as obsolete.
8398         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
8399         of obsolete variable speedbar-key-map.
8401 2012-09-06  Juri Linkov  <juri@jurta.org>
8403         * replace.el (replace-lax-whitespace): New defcustom.
8404         (query-replace, query-replace-regexp, query-replace-regexp-eval)
8405         (replace-string, replace-regexp): Mention it in docstrings.
8406         (perform-replace, replace-highlight): Let-bind
8407         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
8408         to the values of replace-lax-whitespace and regexp-flag.
8409         Don't let-bind search-whitespace-regexp.  (Bug#10885)
8411         * isearch.el (isearch-query-replace): Let-bind
8412         replace-lax-whitespace instead of let-binding
8413         replace-search-function and replace-re-search-function.
8414         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8415         and isearch-regexp-lax-whitespace to lazy-highlight variables.
8416         (isearch-toggle-symbol): Set isearch-regexp to nil
8417         in isearch-word mode (like in isearch-toggle-word).
8419 2012-09-06  Juri Linkov  <juri@jurta.org>
8421         * replace.el (replace-search-function)
8422         (replace-re-search-function): Set default values to nil.
8423         (perform-replace): Let-bind isearch-related variables based on
8424         replace-related values, call `isearch-search-fun' and let-bind
8425         the result to `search-function'.  Remove code that sets
8426         `search-function' and `search-string' separately for
8427         `delimited-flag'.
8428         (replace-highlight): Add new argument `delimited-flag' and
8429         rename other arguments to the names used in `perform-replace'.
8430         Let-bind `isearch-word' to the argument `delimited-flag'.
8431         (Bug#10885, bug#10887)
8433 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
8435         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8436         ruby-beginning-of-indent, simplify, allow all keywords to have
8437         indentation before them.
8438         (ruby-beginning-of-indent): Adjust for above.  Search until the
8439         found point is not inside a string or comment.
8440         (ruby-font-lock-keywords): Allow symbols to start with "@"
8441         character, give them higher priority than variables.
8442         (ruby-syntax-propertize-function)
8443         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8444         matchers.  Expression expansions are not comments when inside a
8445         string, and there comment syntax status is irrelevant.
8446         (ruby-match-expression-expansion): New function.  Check that
8447         expression expansion is inside a string, and it's not escaped.
8448         (ruby-font-lock-keywords): Use it.
8450 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
8452         * help.el (temp-buffer-max-height): New default value.
8453         (temp-buffer-resize-frames): New option.
8454         (resize-temp-buffer-window): Optionally resize frame.
8456         * window.el (fit-frame-to-buffer-bottom-margin): New option.
8457         (fit-frame-to-buffer): New function.
8459 2012-09-05  Glenn Morris  <rgm@gnu.org>
8461         * emulation/cua-rect.el (cua--init-rectangles):
8462         * textmodes/picture.el (picture-mode-map):
8463         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8464         like forward-char and backward-char.  (Bug#12317)
8466 2012-09-05  Leo Liu  <sdl.web@gmail.com>
8468         * progmodes/flymake.el (flymake-warning-re): New variable.
8469         (flymake-parse-line): Use it.
8471 2012-09-05  Glenn Morris  <rgm@gnu.org>
8473         * calendar/holidays.el (holiday-christian-holidays):
8474         Rename an entry.  (Bug#12289)
8476 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8478         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8479         (bug#12222).
8481 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8483         * loadup.el: Load macroexp.  Remove hack.
8484         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8485         (macroexp--expand-all): Use it to get better warnings.
8486         (macroexp--backtrace, macroexp--trim-backtrace-frame)
8487         (internal-macroexpand-for-load): New functions.
8488         (macroexp--pending-eager-loads): New var.
8489         (emacs-startup-hook): New hack to replace one in loadup.el.
8490         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8491         (cl--compiler-macro-cXXr): Move to top, before they can be used.
8492         (cl-psetf): Simplify.
8493         (cl-defstruct): Add indent rule.
8495 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
8497         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8498         over `user-mail-address' for the SMTP MAIL FROM envelope.
8499         (smtpmail-via-smtp): Ditto.
8501 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
8503         * progmodes/ruby-mode.el: Clean up keybindings.
8504         (ruby-mode-map): Don't bind ruby-electric-brace,
8505         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8506         backward-kill-word, reindent-then-newline-and-indent.
8507         (ruby-mark-defun): Remove.
8508         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
8509         (ruby-mode): Set local beginning-of-defun-function and
8510         end-of-defun-function values.
8512 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
8514         * window.el (temp-buffer-window-setup-hook)
8515         (temp-buffer-window-show-hook): New hooks.
8516         (temp-buffer-window-setup, temp-buffer-window-show)
8517         (with-temp-buffer-window): New functions.
8518         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8519         (special-display-popup-frame): Make sure the window used shows BUFFER.
8521         * help.el (temp-buffer-resize-mode): Fix doc-string.
8522         (resize-temp-buffer-window): New optional argument WINDOW.
8524         * files.el (recover-file, save-buffers-kill-emacs):
8525         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8527 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
8529         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8530         remote definition of `default-directory', ensure we can connect.
8532 2012-09-02  Juri Linkov  <juri@jurta.org>
8534         Toggle whitespace matching mode with M-s SPC.
8535         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8537         * isearch.el (search-whitespace-regexp): Doc fix.
8538         Remove cons cell customization.
8539         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8540         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8541         New variables.
8542         (isearch-forward, isearch-forward-regexp): Doc fix.
8543         (isearch-toggle-lax-whitespace): New command.
8544         (search-forward-lax-whitespace, search-backward-lax-whitespace)
8545         (re-search-forward-lax-whitespace)
8546         (re-search-backward-lax-whitespace): New functions.
8547         (isearch-whitespace-regexp): Remove function.
8548         (isearch-query-replace): Let-bind replace-search-function and
8549         replace-re-search-function.
8550         (isearch-occur): Let-bind search-spaces-regexp according to the
8551         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8552         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8553         condition for C-q SPC.
8554         (isearch-search-fun-default): Use new functions mentioned above.
8555         (isearch-search-forward, isearch-search-backward): Remove functions.
8556         (isearch-search): Don't let-bind search-spaces-regexp.
8557         (isearch-lazy-highlight-space-regexp): Remove variable.
8558         (isearch-lazy-highlight-lax-whitespace)
8559         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8560         (isearch-lazy-highlight-new-loop): Use them.
8561         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8563 2012-09-02  Chong Yidong  <cyd@gnu.org>
8565         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8567 2012-09-02  Glenn Morris  <rgm@gnu.org>
8569         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
8571 2012-09-01  Glenn Morris  <rgm@gnu.org>
8573         * term.el: Tidy up menu definitions.
8574         (term-mode-map): Use easymenu for In/Out, Complete menus.
8575         (term-pager-break-map): Initialize in the defvar.
8576         (term-terminal-menu, term-signals-menu): Define with easymenu.
8577         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
8578         (term-pager-menu): New, extracted from term-process-pager.
8579         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8580         (term-update-mode-line): Propertize line/char and page items.
8581         (term-process-pager): Move keymap initialization elsewhere.
8583 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
8585         * window.el (switch-to-prev-buffer): Handle additional values of
8586         BURY-OR-KILL argument.  Don't switch in minibuffer window.
8587         (switch-to-next-buffer): Don't switch in minibuffer window.
8588         (quit-restore-window): New function based on quit-window.
8589         Handle additional values of former KILL argument.
8590         (quit-window): Call quit-restore-window with appropriate
8591         interpretation of KILL argument.
8592         (display-buffer-below-selected): New buffer display action
8593         function.
8595 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8597         * minibuffer.el (completion-at-point-functions): Complete docstring
8598         (bug#12254).
8600 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
8602         Better seed support for (random).
8603         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8604         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8605         * play/mpuz.el, play/tetris.el, play/zone.el:
8606         * calc/calc-comb.el (math-init-random-base):
8607         * play/blackbox.el (bb-init-board):
8608         * play/life.el (life):
8609         * server.el (server-use-tcp):
8610         * type-break.el (type-break):
8611         Remove unnecessary call to (random t).
8612         * net/sasl.el (sasl-unique-id-function):
8613         Change (random t) to (random), now that the latter is more random.
8614         * play/life.el (life-initialized): Remove no-longer-needed var.
8616 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
8618         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8619         Consider frame's buffer predicate when choosing the buffer.
8620         (Bug#12081)
8622 2012-08-30  Richard Stallman  <rms@gnu.org>
8624         * simple.el (special-mode-map): Delete binding for `z'.
8626 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
8628         * progmodes/compile.el (compilation-always-kill): Doc fix.
8630 2012-08-30  Chong Yidong  <cyd@gnu.org>
8632         * window.el (display-buffer-reuse-frames): Make the obsolescence
8633         message more informative.
8635 2012-08-30  Glenn Morris  <rgm@gnu.org>
8637         * paren.el (show-paren-delay):
8638         Add a :set function.  Doc fix.  (Bug#12297)
8640 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
8642         * progmodes/compile.el (compilation-always-kill): New var.
8643         (compilation-start): Use it.
8645 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8647         * simple.el (read-only-mode): Move from files.el for bootstrapping.
8648         * files.el (read-only-mode): Move to simple.el.
8650         * files.el (read-only-mode): New minor mode.
8651         (toggle-read-only): Use it and mark obsolete.
8652         (find-file--read-only):
8653         * vc/vc.el (vc-next-action, vc-checkout):
8654         * vc/vc-cvs.el (vc-cvs-checkout):
8655         * obsolete/vc-mcvs.el (vc-mcvs-update):
8656         * ffap.el (ffap--toggle-read-only): Update callers.
8658 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
8660         * eshell/esh-ext.el (eshell-external-command): Do not examine
8661         remote shell scripts.
8662         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8664         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8665         "/usr/local/sbin".
8667 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8669         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8671 2012-08-28  Leo Liu  <sdl.web@gmail.com>
8673         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8674         completion-at-point.  (Bug#12220)
8676         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8678         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8680 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8682         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8683         be buffer-local; add delete-trailing-whitespace (bug#12259).
8685 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
8687         * progmodes/hideif.el (hif-compress-define-list):
8688         Fix typo.  (Bug#11951)
8690 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
8692         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8693         buffer local setting.
8695         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8696         rcirc-encode-coding-system.
8698 2012-08-28  Leo Liu  <sdl.web@gmail.com>
8700         * net/rcirc.el (rcirc-split-message): New function.
8701         (rcirc-send-message): Use it.  (Bug#12051)
8703 2012-08-28  Juri Linkov  <juri@jurta.org>
8705         * info.el (Info-fontify-node): Hide empty lines at the end of
8706         the node.  (Bug#12272)
8708 2012-08-27  Drew Adams  <drew.adams@oracle.com>
8710         * dired.el (dired-pop-to-buffer): Make window start at beginning
8711         of buffer (Bug#12281).
8713 2012-08-26  Chong Yidong  <cyd@gnu.org>
8715         * window.el (special-display-regexps, special-display-frame-alist)
8716         (special-display-buffer-names, special-display-function)
8717         (display-buffer-reuse-frames): Mark as obsolete.
8719         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8721         * help.el (help-print-return-message): Don't treat
8722         display-buffer-reuse-frames specially.
8724 2012-08-26  Chong Yidong  <cyd@gnu.org>
8726         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8727         New variable, replacing gdb-frame-parameters.
8728         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8729         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8730         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8731         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8732         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
8733         the functions directly with gdb-display-buffer-other-frame-action.
8734         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8735         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8736         (gdb-display-stack-buffer, gdb-display-locals-buffer)
8737         (gdb-display-registers-buffer): Define directly.
8738         (def-gdb-display-buffer): Macro deleted.
8739         (gdb-display-buffer): Remove second and third args, callers don't
8740         use them.  Defer to the default display-buffer behavior, apart
8741         from making windows dedicated.
8742         (gdb-setup-windows): Don't call display-buffer unnecessarily.
8744         * progmodes/gud.el (gud-display-line): Just use display-buffer.
8746         * window.el (display-buffer-pop-up-frame): Handle a
8747         pop-up-frame-parameters alist entry.
8748         (display-buffer): Document it.
8750 2012-08-26  Chong Yidong  <cyd@gnu.org>
8752         * isearch.el (search-whitespace-regexp): Make string and nil
8753         values apply to both ordinary and regexp search.  Allow a cons
8754         cell value to distinguish between the two.
8755         (isearch-whitespace-regexp, isearch-search-forward)
8756         (isearch-search-backward): New functions.
8757         (isearch-occur, isearch-search-fun-default, isearch-search)
8758         (isearch-lazy-highlight-new-loop): Use them.
8759         (isearch-forward, isearch-forward-regexp): Doc fix.
8761 2012-08-26  Chong Yidong  <cyd@gnu.org>
8763         * faces.el (help-argument-name): Always inherit from italic
8764         (Bug#12213).
8766 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
8768         * window.el (window--even-window-heights): Even heights when
8769         WINDOW and the selected window form a vertical combination.
8770         (display-buffer-use-some-window): Provide that window used gets
8771         sized back by quit-window.  (Bug#11880) and (Bug#12091)
8773 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
8775         Fix file time stamp problem with bzr and CVS (Bug#12001).
8776         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8777         in the file's time stamp, since the version control system loses
8778         that information.
8780 2012-08-22  Juri Linkov  <juri@jurta.org>
8782         * info.el (Info-fontify-node): Hide the suffix of the
8783         Info file name in the header line.  (Bug#12187)
8785 2012-08-22  Glenn Morris  <rgm@gnu.org>
8787         * calendar/cal-tex.el (cal-tex-weekly-common):
8788         Restore leading blank page.
8790 2012-08-22  Le Wang  <l26wang@gmail.com>
8792         * misc.el (forward-to-word, backward-to-word): Activate or extend
8793         the region under `shift-select-mode'.  (Bug#12231)
8795 2012-08-22  Bastien Guerry  <bzg@gnu.org>
8797         * progmodes/executable.el (executable-prefix): Set to "#!" instead
8798         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
8799         gives details on why the space is never needed.
8801 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
8803         * window.el (walk-window-tree, window-with-parameter):
8804         New optional argument MINIBUF to control whether these functions
8805         should run on the minibuffer window.
8806         (window-at-side-list): Don't operate on minibuffer window.
8807         (window-in-direction): Simplify and rewrite doc-string.
8808         (window--size-ignore): Rename to window--size-ignore-p.
8809         Update callers.
8810         (display-buffer-in-atom-window, window--major-non-side-window)
8811         (window--major-side-window, display-buffer-in-major-side-window)
8812         (delete-side-window, display-buffer-in-side-window):
8813         New functions.
8814         (window--side-check, window-deletable-p, delete-window)
8815         (delete-other-windows, split-window): Handle side windows and
8816         atomic windows appropriately.
8817         (window--display-buffer): Call display-buffer-record-window also
8818         when the window buffer did not change.
8820 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
8822         * help-fns.el (help-fns--key-bindings):
8823         Abbreviate non-symbol remap targets.  (Bug#12174)
8825 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
8827         * dired.el (dired-mark-remembered): Don't clobber point.
8828         (Bug#11795)
8830 2012-08-22  Glenn Morris  <rgm@gnu.org>
8832         * progmodes/bug-reference.el (bug-reference): New custom group.
8833         (bug-reference-bug-regexp): Make it a defcustom.
8835 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
8837         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8838         (js-paren-indent-offset, js-square-indent-offset)
8839         (js-curly-indent-offset): Add :safe (Bug#12257).
8841 2012-08-22  Edward O'Connor  <hober0@gmail.com>
8843         * json.el (json-key-format): Add error properties.
8844         (json-encode-key): New function.
8845         (json-encode-hash-table, json-encode-alist, json-encode-plist):
8846         Use json-encode-key.
8848 2012-08-22  Glenn Morris  <rgm@gnu.org>
8850         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8851         (cal-tex-leftday, cal-tex-rightday): Remove functions.
8852         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8853         Update for above change.
8855 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
8857         * cus-face.el (custom-face-attributes): Fix customize type for the
8858         :underline attribute.  (Bug#11805)
8860 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
8862         * window.el (window-point-1, set-window-point-1): Remove.
8863         (window-in-direction, record-window-buffer)
8864         (set-window-buffer-start-and-point, split-window-below)
8865         (window--state-get-1, display-buffer-record-window):
8866         Replace calls to window-point-1 and set-window-point-1 by calls to
8867         window-point and set-window-point respectively.
8869 2012-08-21  Glenn Morris  <rgm@gnu.org>
8871         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8872         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8873         Use it.
8875         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8876         (cal-tex-shortday): New function.
8877         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8878         (cal-tex-cursor-filofax-daily): Use the above.
8880         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8881         New functions.
8882         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8883         (cal-tex-cursor-filofax-week): Use them.
8885         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8886         New constants.
8887         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8888         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8890         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8891         (cal-tex-end-document): Don't rely on buffer name.
8893         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8894         Use cal-tex-vspace.
8895         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8896         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8897         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8898         Use cal-tex-arg.
8900         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8901         (cal-tex-cursor-week, cal-tex-cursor-week2)
8902         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8903         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8904         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8905         (cal-tex-insert-preamble, cal-tex-b-document)
8906         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8907         Improve cal-tex-cmd usage.
8909         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8910         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8911         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8912         (cal-tex-weekly-paper): New function.
8913         (cal-tex-cursor-week, cal-tex-cursor-week2)
8914         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8915         (cal-tex-cursor-day): Use it.
8917         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8918         (cal-tex-cursor-filofax-week): Remove leading blank page.
8920         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8921         Add autoload cookie.  For now at least, don't use color, since
8922         no other cal-tex function does.
8924         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8925         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8926         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8928 2012-08-21  Juri Linkov  <juri@jurta.org>
8930         * info.el (Info-file-attributes): New variable.
8931         (info-insert-file-contents): Add file attributes to
8932         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
8933         `Info-toc-nodes' when previous modtime of the Info file is less
8934         than new modtime.
8935         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8936         of info.el.  (Bug#12230)
8938 2012-08-20  Glenn Morris  <rgm@gnu.org>
8940         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8941         * calendar/holidays.el (calendar-holiday-list):
8942         Report errors with display-warning rather than beep'n'sleep.
8944 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
8946         * net/tramp.el (tramp-accept-process-output): Accept only output
8947         from PROC.  Otherwise, process filters and sentinels might be
8948         confused.  (Bug#12145)
8950 2012-08-20  Chong Yidong  <cyd@gnu.org>
8952         * descr-text.el (describe-text-properties-1): Use overlays-in to
8953         report on empty overlays (Bug#3322).
8955 2012-08-20  Glenn Morris  <rgm@gnu.org>
8957         * mail/rmailout.el (rmail-output-read-file-name):
8958         Trap and report errors in rmail-output-file-alist elements.
8960         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8961         since most non-font-lock faces are not also variables).
8963 2012-08-20  Edward Reingold  <reingold@iit.edu>
8965         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8966         New function.  (Bug12160)
8968 2012-08-19  Glenn Morris  <rgm@gnu.org>
8970         * mail/rmailout.el (rmail-output-read-file-name):
8971         Fix previous change (when the alist is nil or does not match).
8973 2012-08-19  Chong Yidong  <cyd@gnu.org>
8975         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8976         (Bug#12228).
8978 2012-08-18  Chong Yidong  <cyd@gnu.org>
8980         * simple.el (yank-handled-properties): New defcustom.
8981         (yank-excluded-properties): Add font-lock-face and category.
8982         (yank): Doc fix.
8984         * subr.el (remove-yank-excluded-properties):
8985         Obey yank-handled-properties.  The special handling of font-lock-face
8986         and category is now done this way, instead of being hard-coded.
8987         (insert-for-yank-1): Remove font-lock-face handling.
8988         (yank-handle-font-lock-face-property)
8989         (yank-handle-category-property): New function.
8991 2012-08-17  Glenn Morris  <rgm@gnu.org>
8993         * mail/rmailout.el (rmail-output-read-file-name):
8994         Check rmail-output-file-alist against the full message body
8995         in the correct rmail buffer.  (Bug#12214)
8997 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
8999         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
9000         Eliminate superfluous prompt.  (Bug#12203)
9002 2012-08-17  Chong Yidong  <cyd@gnu.org>
9004         * mouse.el (mouse-appearance-menu): If x-select-font returns a
9005         font spec, set the font directly (Bug#3228).
9007 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
9009         * window.el (delete-window): Fix last fix.
9011 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
9013         * window.el (window-valid-p): Move to window.c.
9014         (window-child, window-child-count, window-last-child)
9015         (window-normalize-window, window-combined-p)
9016         (window-combinations, window-atom-root, window-min-size)
9017         (window-sizable, window-sizable-p, window-size-fixed-p)
9018         (window-min-delta, window-max-delta, window--resizable)
9019         (window--resizable-p, window-resizable, window-total-size)
9020         (window-full-height-p, window-full-width-p, window-body-size)
9021         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
9022         (minimize-window, window-deletable-p, delete-window)
9023         (delete-other-windows, set-window-buffer-start-and-point)
9024         (next-buffer, previous-buffer, split-window, balance-windows-2)
9025         (set-window-text-height, window-buffer-height)
9026         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
9027         (truncated-partial-width-window-p): Minor code adjustments.
9028         In doc-strings state whether the argument window has to denote a
9029         live, valid or any window.
9031 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
9033         * progmodes/subword.el (subword-forward-function)
9034         (subword-backward-function, subword-forward-regexp)
9035         (subword-backward-regexp): New variables.
9036         (subword-forward, subword-forward-internal, subword-backward-internal):
9037         Use new variables, eg so that different "word" definitions
9038         can be easily used.  (Bug#11411)
9040 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9042         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
9043         for composite selectors.
9044         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
9045         operation just because we can't find a previous revision.
9047 2012-08-15  Chong Yidong  <cyd@gnu.org>
9049         * frame.el (set-frame-font): Accept font objects.
9051 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9053         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
9055 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
9057         * man.el (Man-overstrike-face, Man-underline-face)
9058         (Man-reverse-face): Remove variables.
9059         (Man-overstrike, Man-underline, Man-reverse): New faces.
9060         (Man-fontify-manpage): Use them instead of the variables.
9061         (Man-cleanup-manpage): Comment change.
9062         (Man-ansi-color-map): New variable.
9063         (Man-fontify-manpage): Use it.
9064         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
9066         Implement ANSI SGR parameters 22-27 (bug#12146).
9067         * ansi-color.el (ansi-colors): Doc fix.
9068         (ansi-color-context, ansi-color-context-region): Doc fix.
9069         (ansi-color--find-face): New function.
9070         (ansi-color-apply, ansi-color-apply-on-region): Use it.
9071         Rename the local variable `face' to `codes' since it is now a list of
9072         ansi codes.  Doc fix.
9073         (ansi-color-get-face): Remove.
9074         (ansi-color-parse-sequence): New function, derived from
9075         ansi-color-get-face.
9076         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
9077         codes 22-27.
9079 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9081         * subr.el (read-passwd): Allow use from a minibuffer.
9083 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
9085         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
9086         inside comments and strings as identifiers.
9088         * progmodes/gud.el (gud-tooltip-print-command): Quote the
9089         expression to evaluate.  This allows to evaluate expressions with
9090         embedded whitespace.
9091         (gud-tooltip-tips): Add a blank before the newline in the
9092         message-box text, for the benefit of message-box emulation on
9093         MS-Windows.
9095         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
9096         messages from GDB, pop them up in a tooltip to give feedback to
9097         user.
9098         (gdb-tooltip-print-1): Quote the expression to evaluate.
9099         This allows to evaluate expressions with embedded whitespace.
9100         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
9101         if the TTY name is nil or empty (which happens when communicating
9102         with the inferior via pipes, e.g. on MS-Windows).
9103         (gdb-internals): If GDB sends a "&\n" empty debugging message,
9104         don't send that to the GUD buffer.
9106 2012-08-14  Glenn Morris  <rgm@gnu.org>
9108         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
9109         Optimize away setq-default with no args, as for setq.  (Bug#12195)
9111 2012-08-14  Chong Yidong  <cyd@gnu.org>
9113         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9115         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
9116         (Bug#12085).
9118 2012-08-14  Glenn Morris  <rgm@gnu.org>
9120         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
9122 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
9124         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
9125         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9126         Use cached shell name.
9128 2012-08-14  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
9130         * progmodes/python.el (python-shell-send-string):
9131         (python-shell-send-setup-code): Do not use `format' with `message'.
9133 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
9135         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
9136         (ruby-percent-literal-beg-re): New constant.
9137         (ruby-syntax-general-delimiters-goto-beg): Rename to
9138         `ruby-syntax-enclosing-percent-literal', improve literal type check.
9139         (ruby-syntax-propertize-general-delimiters): Rename to
9140         `ruby-syntax-propertize-percent-literal', it's a shorter and more
9141         popular term.  Adjust comments everywhere.
9142         (ruby-syntax-propertize-percent-literal): Only propertize when not
9143         inside a simple string or comment.  When the literal is unclosed,
9144         leave the text after it unpropertized.
9145         (ruby-syntax-methods-before-regexp): New constant.
9146         (ruby-syntax-propertize-function): Use it to recognize regexps.
9147         Don't look at the text after regexp, just use the whitelist.
9149 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
9151         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
9152         non-nil always load the compiled file if it exists.  (Bug#12197)
9154 2012-08-14  Chong Yidong  <cyd@gnu.org>
9156         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9157         (hi-lock-set-pattern): When deciding whether to use font lock or
9158         overlays, look at font-lock-mode instead of font-lock-fontified
9159         (Bug#12168).
9160         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
9161         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
9163 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
9165         * subr.el (internal--after-with-selected-window): Fix typo
9166         (Bug#12193).
9168 2012-08-14  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
9170         Use `completion-table-dynamic' for completion functions.
9171         * progmodes/python.el
9172         (python-shell-completion--do-completion-at-point)
9173         (python-shell-completion--get-completions):
9174         Remove functions.
9175         (python-shell-completion-complete-at-point): New function.
9176         (python-completion-complete-at-point): Use it.
9178 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
9180         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
9181         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
9183 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9185         * subr.el (function-get): Refine `autoload' arg so it can also
9186         autoload functions for gv.el (bug#12191).
9187         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
9188         autoloads macros.
9190         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
9191         Prefer pcase-let over destructuring-bind.
9192         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
9193         Also, remove whitespace as we go, rather than after accumulating the
9194         various places.
9196         * subr.el (internal--before-with-selected-window)
9197         (internal--after-with-selected-window): Fix typo seleted->selected.
9198         (with-selected-window): Adjust callers.
9199         Reported by Dmitry Gutov <dgutov@yandex.ru>.
9201 2012-08-13  Bastien Guerry  <bzg@gnu.org>
9203         * window.el (special-display-popup-frame): Minor docstring
9204         enhancement.  (Bug#12172)
9206 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
9208         * tar-mode.el (tar-header-data-end): Only ignore size for files of
9209         type 1-6.
9210         (tar-header-block-summarize, tar-get-descriptor): Handle pax
9211         extended headers.
9213         * files.el (hack-local-variables-filter): Remove useless eval.
9215 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
9217         * subr.el (with-selected-window): Fix last change.
9219 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9221         * subr.el (internal--before-with-seleted-window)
9222         (internal--after-with-seleted-window): New functions.
9223         (with-selected-window): Use them, to replace dependency on
9224         tty-top-frame.
9226 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
9228         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
9229         binding for `newline'.
9230         (ruby-move-to-block): When moving backward, stop at block opening,
9231         not indentation.
9232         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
9233         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
9234         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
9235         `ruby-toggle-block'.
9237 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9239         * ibuffer.el (ibuffer-do-toggle-read-only):
9240         * dired.el (dired-toggle-read-only):
9241         * buff-menu.el (Buffer-menu-toggle-read-only):
9242         * bindings.el (mode-line-toggle-read-only):
9243         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
9245 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
9247         * descr-text.el (describe-char): Put the overlays over the
9248         "displayed as" character.
9250 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
9252         * calc/calc-units.el (math-default-units-table): Give an
9253         initial value.
9254         (math-put-default-units): Add options to put composite units and
9255         unit systems in the default units table.
9256         (calc-convert-units): Send composite units to
9257         `math-put-default-units' when appropriate.
9259 2012-08-11  Glenn Morris  <rgm@gnu.org>
9261         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
9263         * tutorial.el (help-with-tutorial):
9264         * emacs-lisp/copyright.el (copyright-update-directory):
9265         * emacs-lisp/autoload.el (autoload-find-generated-file)
9266         (autoload-find-file): Disable local eval: (for insurance).
9268         * files.el (hack-local-variables-filter): If an eval: form is not
9269         known to be safe, and enable-local-variables is :safe, then ignore
9270         the form totally, as is done for non-eval forms.  (Bug#12155)
9271         This is CVE-2012-3479.
9273 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9275         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
9276         (rx-form): Simplify.
9278 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
9280         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
9281         ?, _, and : are symbol constituents, ! is not (but kinda should be).
9282         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
9283         (ruby-syntax-propertize-function): Adjust for changes in
9284         `ruby-syntax-propertize-heredoc'.
9286 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
9288         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
9289         binding (use `M-;' instead).
9290         (ruby-singleton-class-p): New function.
9291         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9293 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9295         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
9297 2012-08-10  Chong Yidong  <cyd@gnu.org>
9299         * progmodes/python.el (python-shell-get-process-name): Don't mess
9300         with same-window-buffer-names.
9302         * eshell/eshell.el (eshell-add-to-window-buffer-names)
9303         (eshell-remove-from-window-buffer-names): Make obsolete.
9304         (eshell-buffer-name, eshell-unload-hook): Don't use them.
9305         (eshell): Just use pop-to-buffer-same-window instead.
9307 2012-08-10  Chong Yidong  <cyd@gnu.org>
9309         * bindings.el: Bind M-= back to count-words-region.
9311         * simple.el (count-words-region): Accept a prefix arg for acting
9312         on the entire buffer.
9313         (count-words--buffer-message): New helper function.
9315 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9317         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
9318         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
9319         (event-start, event-end): Use posn-at-point to return a more
9320         informative posn.
9321         (posnp): New function.
9322         * mouse.el (popup-menu-normalize-position): Use it.
9324 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
9326         * mouse.el (popup-menu-normalize-position): New function.
9327         (popup-menu): Use `popup-menu-normalize-position' to normalize
9328         the form for POSITION argument.
9330         * term/x-win.el (x-menu-bar-open):
9331         Use the value returend from (posn-at-point) as position
9332         passed to `popup-menu'.
9334 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
9336         * calc/calccomp.el (math-compose-expr): Add extra argument
9337         indicating that parentheses should be put around products in
9338         denominators.  Give multiplication precedence over division during
9339         composition.
9341 2012-08-09  Chong Yidong  <cyd@gnu.org>
9343         * man.el (Man-switches, Man-sed-command, Man-awk-command)
9344         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
9345         (Man-untabify-command, manual-program): Convert to defcustom
9346         (Bug#10429).
9348         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
9350         * descr-text.el (describe-char): Don't insert extra newlines
9351         (Bug#10127).
9353         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
9354         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
9356         * align.el (align-region): Delete temporary markers (Bug#10047).
9357         Plus some code cleanups.
9359 2012-08-09  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
9361         * progmodes/python.el (python-pdbtrack-tracked-buffer)
9362         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
9363         (python-shell-internal-last-output): Use make-local-variable
9364         instead of make-variable-buffer-local.
9366 2012-08-09  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
9368         * progmodes/python.el: Enhancements to forward-sexp.
9369         (python-nav-forward-sexp): Rename from
9370         python-nav-forward-sexp-function.
9371         (python-nav--forward-sexp, python-nav--backward-sexp):
9372         New functions.
9374 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
9376         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
9377         modes and simplification modes.
9379 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9381         * delsel.el (delete-selection-pre-hook): Don't propagate the
9382         file-supersession signals (bug#12161).
9384 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9386         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
9387         (cl-map-extents): Add compatibility aliases (bug#12135).
9389 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
9391         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
9392         tests by `ignore-error'.
9393         (tramp-find-shell): Open also a new shell, when cache is already
9394         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
9396 2012-08-08  Juri Linkov  <juri@jurta.org>
9398         * bookmark.el: Add `defaults' property to the bookmark record.
9399         (bookmark-current-buffer): Doc fix.
9400         (bookmark-make-record): Add `defaults' property with default values
9401         to the bookmark record.
9402         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
9403         with `bookmark-insert-current-bookmark'.
9404         (bookmark-set): Get `defaults' property from the bookmark record
9405         and use it in `read-from-minibuffer'.
9406         (bookmark-insert-current-bookmark): Remove function.
9408         * info.el (Info-bookmark-make-record): Add `defaults' property
9409         with values of canonical Info node name, the current Info file
9410         name and the current Info node name.  (Bug#12107)
9412 2012-08-08  Juri Linkov  <juri@jurta.org>
9414         * files.el (basic-save-buffer): Use `buffer-name' as the default
9415         of `read-file-name' when buffer is not visiting a file (bug#12128).
9417 2012-08-08  Juri Linkov  <juri@jurta.org>
9419         * info.el (Info-isearch-search): Doc fix.
9420         (Info-search): Change search-failed message from "initial node" to
9421         "end of node" (bug#12078).
9422         (Info-isearch-search): Change `isearch-string-state' to
9423         `isearch--state-string'.
9425 2012-08-08  Glenn Morris  <rgm@gnu.org>
9427         * language/persian.el: Remove file.
9428         * language/misc-lang.el: Move unique part of persian.el here.
9429         * loadup.el: Remove language/persian.
9431 2012-08-08  Ă“scar Fuentes  <ofv@wanadoo.es>
9433         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9435 2012-08-08  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
9437         * progmodes/python.el: Fix defsubst warning.
9438         (python-syntax-context) Rename from python-info-ppss-context.
9439         (python-syntax-context-type): Rename from
9440         python-info-ppss-context-type.
9441         (python-syntax-comment-or-string-p): Rename from
9442         python-info-ppss-comment-or-string-p.
9444 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
9446         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9448 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
9450         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9451         a defcustom that is quoted with backquote.
9453         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9454         Fix handling of interactive spec when the body uses return.
9455         (math-do-arg-check, math-define-function-body): Use backquote forms.
9456         * calc/calc-ext.el (math-defcache): Likewise.
9457         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9458         * allout.el (allout-new-exposure): Likewise.
9459         * calc/calcalg2.el (math-tracing-integral): Likewise.
9460         * info.el (Info-last-menu-item): Likewise.
9461         * emulation/vip.el (vip-loop): Likewise.
9462         * textmodes/artist.el (artist-funcall): Likewise.
9463         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9464         Construct menu-item directly.
9466         * progmodes/autoconf.el (font-lock-syntactic-keywords):
9467         Don't declare.
9469 2012-08-07  Chong Yidong  <cyd@gnu.org>
9471         * simple.el (deactivate-mark): Preserve text properties when
9472         saving the primary selection (Bug#8384).
9474 2012-08-07  Kevin Ryde  <user42@zip.com.au>
9476         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9477         (woman-parse-numeric-value): On a bad .IP line, issue a warning
9478         and continue processing (Bug#12110).
9480 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9482         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9483         syntax-propertize-function (bug#10095).
9485 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9487         * help-fns.el (help-fns--key-bindings, help-fns--signature)
9488         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9489         describe-function-1.
9490         (describe-function-1): Use them.  Move compiler macro after sig.
9491         (help-fns--compiler-macro): Use function-get.  Assume we're already in
9492         standard-output.  Adjust layout to new call order.
9494         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9495         re-binding a symbol that has a symbol-macro (bug#12119).
9497 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
9499         * language/persian.el: New file.  (Bug#11812)
9500         * loadup.el: Add language/persian.el.
9502 2012-08-06  Chong Yidong  <cyd@gnu.org>
9504         * window.el (window--maybe-raise-frame): New function.
9505         (window--display-buffer): Split off from here.
9506         (display-buffer-reuse-window, display-buffer-pop-up-frame)
9507         (display-buffer-pop-up-window, display-buffer-use-some-window):
9508         Obey an inhibit-switch-frame action alist entry.
9509         (display-buffer): Update doc.
9511         * replace.el (occur-after-change-function): Avoid losing focus by
9512         using the inhibit-switch-frame display parameter (Bug#12139).
9514 2012-08-06  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
9516         Make internal shell process buffer names start with space.
9517         * progmodes/python.el (python-shell-make-comint): Add optional
9518         argument INTERNAL.
9519         (run-python-internal): Use it.
9520         (python-shell-internal-get-or-create-process): Check for new
9521         internal buffer names.
9523 2012-08-06  Glenn Morris  <rgm@gnu.org>
9525         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9526         Do less getting and setting of environment variables.
9528 2012-08-05  Chong Yidong  <cyd@gnu.org>
9530         * proced.el (proced): Add substitution string to docstring to
9531         trigger autoloading of the proced library on C-h f (Bug#1768).
9533         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9534         Don't show defvars which have no second argument (Bug#8638).
9536         * imenu.el (imenu-generic-expression): Move documentation here
9537         from imenu--generic-function.
9538         (imenu--generic-function): Refer to imenu-generic-expression.
9540 2012-08-05  Vegard Ă˜ye  <vegard_oye@hotmail.com>  (tiny change)
9542         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9543         indentation declaration.
9544         (viper-loop): Add indentation declaration (Bug#7025).
9546 2012-08-05  Chong Yidong  <cyd@gnu.org>
9548         * help-fns.el (describe-variable): Add hyperlink for
9549         directory-local variables files.  Improve buffer-local and
9550         permanent-local reporting; suggested by MON KEY (Bug#6644).
9552         * help-mode.el (help-dir-local-var-def): New button type.
9554         * files.el (kill-buffer-hook): Provide a defvar.
9556 2012-08-05  Glenn Morris  <rgm@gnu.org>
9558         * eshell/esh-ext.el (eshell/addpath):
9559         Also update eshell-path-env.  (Bug#12013)
9561 2012-08-05  Chong Yidong  <cyd@gnu.org>
9563         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9565         * fringe.el (fringe-styles): Add docstring.
9566         (fringe--check-mode): New function.
9567         (set-fringe-mode, set-fringe-style): Use it.
9568         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9570         * files.el (set-auto-mode): Fix invalid setq call.
9572 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9574         * isearch.el: Misc simplification; use defstruct.
9575         (isearch-mode-map): Dense maps now work like sparse ones.
9576         (isearch--state): New defstruct.
9577         (isearch-string-state, isearch-message-state, isearch-point-state)
9578         (isearch-success-state, isearch-forward-state)
9579         (isearch-other-end-state, isearch-word-state, isearch-error-state)
9580         (isearch-wrapped-state, isearch-barrier-state)
9581         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9582         replaced by defstruct's accessors.
9583         (isearch--set-state): Rename from isearch-top-state and change
9584         calling convention.
9585         (isearch-push-state): Use new isearch--get-state.
9586         (isearch-toggle-word): Disable regexp when enabling word.
9587         (isearch-message-prefix): Remove unused arg _c-q-hack.
9588         (isearch-message-suffix): Remove unused arg _ellipsis.
9590 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
9592         * simple.el (list-processes--refresh): For a server use :host or
9593         :local as the address.
9594         (list-processes): Doc fix.
9596 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
9598         * lisp/mpc.el: Support password in host argument.
9599         (mpc--proc-connect): Parse and use new password element.
9600         Set mpc-proc variable instead of returning process.
9601         (mpc-proc): Adjust accordingly.
9603 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
9605         * whitespace.el (whitespace-display-mappings): Use Unicode
9606         codepoints, instead of emacs-mule codepoints.  See
9607         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9608         for the details.
9610         * files.el (file-truename): Don't skip symlink-chasing part on
9611         windows-nt.  Incorporate the resolution of 8+3 short aliases on
9612         Windows into the loop that recursively chases symlinks.
9613         Compare directory and its parent case-insensitively on MS-Windows and
9614         MS-DOS.
9616 2012-08-03  Chong Yidong  <cyd@gnu.org>
9618         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9620         * sort.el (sort-regexp-fields): Doc fix.
9622 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
9624         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9625         labels regex position point at the expected place.
9627 2012-08-03  MON KEY  <monkey@sandpframing.com>
9629         * net/imap.el (imap-interactive-login, imap-authenticate)
9630         (imap-mailbox-lsub, imap-mailbox-list)
9631         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9632         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9633         (imap-parse-response): Doc fix.
9635 2012-08-03  JoĂ£o TĂ¡vora  <joaotavora@gmail.com>
9637         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9638         if sexp scanning does not move point (Bug#5734).
9640 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
9642         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9643         Add listings, minted, and ctable packages.
9644         (reftex-label-alist-builtin): Move listings, minted, and ctable
9645         entries before LaTeX.
9646         (reftex-label-alist): Docfix.
9648 2012-08-02  Bastien Guerry  <bzg@gnu.org>
9650         * replace.el (occur): Fix docstring (bug#12122).
9652 2012-08-02  Glenn Morris  <rgm@gnu.org>
9654         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9656 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
9658         Obsolete alias inactivate-current-input-method-function (Bug#10150).
9659         * international/mule-cmds.el: Create
9660         inactivate-current-input-method-function as an obsolete alias for
9661         deactivate-current-input-method-function.  See Katsumi Yamaoka in
9662         <http://bugs.gnu.org/10150#46>.
9664 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
9666         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9667         of nested `if's.
9669 2012-08-01  Glenn Morris  <rgm@gnu.org>
9671         * progmodes/autoconf.el (autoconf-definition-regexp):
9672         Add AH_TEMPLATE, adjust submatch numbering.
9673         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9674         (autoconf-current-defun-function): Update for above change.
9675         (autoconf-current-defun-function): First skip to end of current word.
9677 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
9679         * calendar/cal-html.el (cal-html-insert-agenda-days):
9680         Fix typo.  (Bug#12018)
9682 2012-07-31  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
9684         Shell processes: enhancements to startup and CEDET compatibility.
9685         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9686         (python-shell-make-comint): accept-process-output at startup.
9687         (run-python-internal): Set inferior-python-mode-hook to nil.
9688         (python-shell-internal-get-or-create-process): call sit-for.
9689         (python-preoutput-result): Add obsolete alias.
9690         (python-shell-internal-send-string): Use it.
9691         (python-shell-send-setup-code): Remove call to
9692         accept-process-output.
9694 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
9696         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9697         (Bug#12108)
9699 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
9701         * calc-mode.el (calc-basic-simplification-mode): Rename from
9702         `calc-limited-simplification-mode'.
9703         (calc-alg-simplification-mode): New function.
9704         (calc-set-simplify-mode): Adjust message.
9706         * calc.el (calc-set-mode-line): Adjust mode line display for
9707         basic simplification mode.
9709         * calc-help.el (calc-m-prefix-help): Update help message.
9711         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9712         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9714 2012-07-31  Bastien Guerry  <bzg@gnu.org>
9716         * man.el (man): Fix comment.  (bug#12101)
9718 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
9720         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9721         Don't return a non-nil value when no suitable buffer was found.
9723 2012-07-31  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
9725         * progmodes/python.el (run-python-internal): Disable font lock for
9726         internal shells.
9728 2012-07-30  Stefan Merten  <smerten@oekonux.de>
9730         * textmodes/rst.el: Silence `checkdoc-ispell'.
9731         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9732         (rst-official-version, rst-official-cvs-rev)
9733         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9734         (rst-mode-map): New key binding.
9736 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
9738         Update .PHONY listings in makefiles.
9739         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9740         autoloads, update-subdirs, updates, bzr-update, update-authors,
9741         compile-onefile, compile-calc, backup-compiled-files,
9742         compile-after-backup, compile-one-process, mh-autoloads,
9743         bootstrap-clean, distclean, maintainer-clean.
9745 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
9747         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9748         (calc-set-mode-line): Don't display "AlgSimp ".
9750         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9751         (calc-lim-simplify-mode): New function.
9752         (calc-set-simplify-mode): Default to 'alg.
9753         (calc-default-simplify-mode): Make algebraic simplifications
9754         the default.
9756         * calc/calc-ext.el (calc-init-extensions): Remove binding for
9757         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
9759         * calc/calc-help.el (calc-m-prefix-help): Change messages to
9760         indicate new simplification modes.
9762         * calc/README: Mention new default simplification mode.
9764         * calc/calc.el (math-normalize-error): New variable.
9765         (math-normalize): Set `math-normalize-error' to t
9766         when there's an error.
9768         * calc/calc-alg.el (math-simplify): Don't simplify when
9769         `math-normalize' returns an error.
9771 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
9773         * international/mule-cmds.el (set-locale-environment): Revert last
9774         change, since display-graphic-p returns nil when this function is
9775         called during startup.  Instead...
9777         * term/w32console.el (terminal-init-w32console): ...setup the
9778         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
9780 2012-07-29  Juri Linkov  <juri@jurta.org>
9782         * simple.el (goto-line): Don't display default line number in the
9783         prompt because it should be displayed by `read-number' (bug#9952).
9784         Add the current line number to the defaults of `goto-line' to
9785         allow its easier modification by users with `M-n' (bug#9201).
9787         * subr.el (read-number): Support multiple default values like in
9788         other minibuffer reading functions.  Replace `read' with
9789         `string-to-number' for consistency with `number-to-string'.
9791 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
9793         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9794         * emulation/viper-init.el (viper-deactivate-input-method-action):
9795         Rename from viper-inactivate-input-method-action.
9796         (viper-deactivate-input-method):
9797         Rename from viper-inactivate-input-method.
9798         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9799         * international/mule-cmds.el (deactivate-input-method):
9800         Rename from inactivate-input-method.
9801         Also run input-method-deactivate-hook.
9802         (deactivate-current-input-method-function):
9803         Rename from inactivate-current-input-method-function.
9804         (input-method-deactivate-hook): New hook.
9805         (input-method-inactivate-hook): Mark obsolete.
9806         (inactivate-input-method): Mark obsolete.
9808         * international/quail.el (quail-activate):
9809         Also run quail-deactivate-hook.
9810         (quail-deactivate): Rename from quail-inactivate.
9811         * international/robin.el (robin-activate):
9812         Also run robin-deactivate-hook.
9813         (robin-deactivate): Rename from robin-inactivate.
9815 2012-07-29  Chong Yidong  <cyd@gnu.org>
9817         * simple.el (indicate-copied-region): New function.
9818         (kill-ring-save): Split off from here.
9820         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9821         (kill-rectangle): Set deactivate-mark to t on read-only error.
9823         * register.el (copy-to-register, copy-rectangle-to-register):
9824         Deactivate the mark, and use indicate-copied-region (Bug#10056).
9825         (append-to-register, prepend-to-register): Call indicate-copied-region.
9827 2012-07-29  Juri Linkov  <juri@jurta.org>
9829         * simple.el (async-shell-command-buffer): New defcustom.
9830         (shell-command): Use it.  (Bug#4719)
9832 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
9834         * international/mule-cmds.el (set-locale-environment): In a
9835         console session on MS-Windows, set up keyboard and terminal
9836         encoding from the OEM codepage, not the ANSI codepage.
9837         (Bug#12055)
9839 2012-07-28  Chong Yidong  <cyd@gnu.org>
9841         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9842         gdb-get-location.
9844 2012-07-28  Leo Liu  <sdl.web@gmail.com>
9846         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9847         the alist (bug#12029).
9849 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
9851         * makefile.w32-in (custom-deps, finder-data, updates, compile)
9852         (compile-always, compile-first)
9853         ($(lisp)/calendar/cal-loaddefs.el)
9854         ($(lisp)/calendar/diary-loaddefs.el)
9855         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9856         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9857         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9858         instead of on update-subdirs.
9859         (bootstrap-clean): Delete $(lisp)/subdirs.el.
9861 2012-07-28  Chong Yidong  <cyd@gnu.org>
9863         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9864         directory if vc-deduce-backend returns nil (Bug#7350).
9866         * simple.el (delete-trailing-lines): New option.
9867         (delete-trailing-whitespace): Obey it (Bug#11879).
9869 2012-07-28  David Engster  <deng@randomsample.de>
9871         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9872         Explanation of new 'symbol-qnames feature in doc-strings.
9873         (xml-maybe-do-ns): Return expanded names as plain symbols if
9874         'symbol-qnames was provided in XML-NS argument (Bug#11916).
9875         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9877 2012-07-27  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
9879         Consistent completion in inferior python with emacs -nw.
9880         * progmodes/python.el (inferior-python-mode): replace "<tab>"
9881         binding in inferior-python-mode-map with "\t".
9882         (python-shell-completion-complete-at-point)
9883         (python-completion-complete-at-point): Remove interactive spec.
9885 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
9887         * calc/calccomp.el (math-compose-expr): Undo previous change.
9889 2012-07-27  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
9891         * progmodes/python.el (python-mode-map): Add keybinding for
9892         run-python.
9893         (python-shell-make-comint): Fix pop-to-buffer call.
9894         (run-python): Autoload.  New arg SHOW.
9895         (python-shell-get-or-create-process): Do not pop python process
9896         buffer.
9898 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
9900         * notifications.el (notifications-on-action-signal)
9901         (notifications-on-closed-signal): Use also the bus address for the map.
9902         (notifications-notify, notifications-close-notification)
9903         (notifications-get-capabilities): Add optional argument BUS.
9905 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
9907         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9908         Add support for the lstlisting and minted environments, and for the
9909         ctable macro.
9910         * textmodes/reftex.el (reftex-compile-variables): Also recognize
9911         labels written in keyvals syntax.
9913 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
9915         * calc/calccomp.el (math-compose-expr): Use parentheses when
9916         there is a product in the denominator of a fraction.
9918 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
9920         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9921         ($(lisp)/calendar/diary-loaddefs.el)
9922         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9923         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9924         Fixes failures in parallel bootstrap because subdirs.el is being
9925         rewritten while the autoload files are built at the same time,
9926         which needs to load subdirs.el.
9928 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
9930         * mouse.el (popup-menu): Fix doc-string and re-indent code.
9931         (mouse-drag-line): Don't exit tracking when a switch-frame or
9932         switch-window event occurs (Bug#12006).
9934 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9936         * mouse.el (popup-menu): Fix last change.
9938 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9940         Autoload from Lisp with more care.  Follow aliases when looking for
9941         function properties.
9942         * subr.el (autoloadp): New function.
9943         (symbol-file): Use it.
9944         (function-get): New function.
9945         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9946         autoload-do-load.
9947         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9948         (lisp-indent-function):
9949         * emacs-lisp/gv.el (gv-get):
9950         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9951         * emacs-lisp/byte-opt.el (byte-optimize-form):
9952         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9953         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9954         Use function-get.
9955         * emacs-lisp/cl.el: Don't propagate function properties any more.
9957         * speedbar.el (speedbar-add-localized-speedbar-support):
9958         * emacs-lisp/disass.el (disassemble-internal):
9959         * desktop.el (desktop-load-file):
9960         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9961         (describe-function-1):
9962         * emacs-lisp/find-func.el (find-function-noselect):
9963         * emacs-lisp/elp.el (elp-instrument-function):
9964         * emacs-lisp/advice.el (ad-has-proper-definition):
9965         * apropos.el (apropos-safe-documentation, apropos-macrop):
9966         * emacs-lisp/debug.el (debug-on-entry):
9967         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9968         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9969         * calc/calc.el (name): Use autoloadp & autoload-do-load.
9971 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
9973         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9974         function, not an obsolete variable (Bug#12046).
9976 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
9978         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
9980 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
9982         * emacs-lisp/pp.el (pp-display-expression): Select old selected
9983         window only if it is still live (Bug#12034).
9985 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
9987         * subr.el (redirect-frame-focus): Add advertised calling
9988         convention (Bug#12030).
9990 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
9992         Prefer typical American spelling for "acknowledgment".
9993         * vc/add-log.el (change-log-acknowledgment): Rename from
9994         change-log-acknowledgement, with an alias for the old name.
9996 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
9998         * calc-alg.el (math-simplify-divide): Don't cross multiply
9999         in an equation when the lhs is a variable.
10001 2012-07-24  Julien Danjou  <julien@danjou.info>
10003         * net/netrc.el (netrc-find-service-number, netrc-store-data):
10004         Remove, unused.
10006 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
10008         * startup.el (command-line): Don't display an empty user name in
10009         the error message about non-existent home directory, when
10010         init-file-user was set to an empty string.  See
10011         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
10012         for the details and context.
10014 2012-07-22  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
10016         * ses.el (ses-cell-formula-aset): New macro.
10017         (ses-cell-references-aset): New macro.
10018         (ses-cell-p): New function.
10019         (ses-rename-cell): Do no longer rely on complex operations like
10020         ses-cell-set-formula or ses-set-cell to change the cell and handle
10021         the undo at the same time, but rather use lower level new macros
10022         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
10023         the undo directly.  Refresh the mode line.
10025 2012-07-21  Leo Liu  <sdl.web@gmail.com>
10027         * progmodes/cc-cmds.el (c-defun-name):
10028         Use match-string-no-properties instead for consistency.
10030 2012-07-20  Leo Liu  <sdl.web@gmail.com>
10032         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
10033         (Bug#7879)
10035         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
10037 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10039         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
10040         * progmodes/bug-reference.el, misearch.el: Provide themselves
10041         (bug#11915).
10043         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
10044         of narrowed buffer (bug#11966).
10046 2012-07-20  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
10048         * ses.el (ses-rename-cell): Set new name also in reference list of
10049         cells of which the renamed cell depends.
10051 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
10053         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
10054         to check whether menu-bar is shown or not.  If not shown,
10055         show the menu-bar as a popup menu instead of using tmm.
10056         * mouse.el (popup-menu): Accept `point' as `position' argument.
10058 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
10060         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
10061         up inside string symbol literal (bug#11923).
10063 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
10065         * startup.el (fancy-startup-text): Read the whole tutorial, not
10066         just its first 256 bytes.  Prevents gibberish in display of the
10067         tutorial title.
10069 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
10071         Drop idle buffer compaction due to an absence of the
10072         proved efficiency.
10073         * compact.el: Remove.
10075 2012-07-19  Sam Steingold  <sds@gnu.org>
10077         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
10078         vc-bzr-pull & vc-bzr-merge-branch.
10079         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
10080         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
10081         for consistency with compilation-error-regexp-alist.
10082         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
10083         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
10084         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
10085         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
10087 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10089         * emacs-lisp/chart.el: Use lexical-binding.
10090         (chart-emacs-storage): Don't hardcode the list of entries.
10092 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
10094         Next round of tweaks caused by Fgarbage_collect changes.
10095         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
10097 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
10099         Compact buffers when idle.
10100         * compact.el: New file.
10102 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10104         * subr.el (eventp): Presume that if it looks vaguely like an event,
10105         it's an event (bug#10190).
10107 2012-07-19  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
10109         Enhancements to ppss related code (thanks Stefan).
10110         * progmodes/python.el (python-indent-context)
10111         (python-indent-calculate-indentation, python-indent-dedent-line)
10112         (python-indent-electric-colon, python-nav-forward-block)
10113         (python-mode-abbrev-table)
10114         (python-info-assignment-continuation-line-p): Simplify checks
10115         for ppss context.
10116         (python-info-continuation-line-p): Cleanup.
10117         (python-info-ppss-context): Do not catch 'quote.
10118         (python-info-ppss-context-type)
10119         (python-info-ppss-comment-or-string-p): Simplify.
10121 2012-07-18  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
10123         * progmodes/python.el: Enhancements to eldoc support.
10124         (python-info-current-symbol): New function.
10125         (python-eldoc-at-point): Use python-info-current-symbol.
10126         (python-info-current-defun): Fix cornercase on first defun scan.
10127         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
10128         and signal error when no inferior python process is available.
10130 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
10132         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
10133         assume it's always t.
10134         (vc-git-registered): Remove caching, the function is only called
10135         once.
10136         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
10138 2012-07-18  Chong Yidong  <cyd@gnu.org>
10140         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
10142         * simple.el (count-words): Report on narrowing (Bug#9959).
10144         * bindings.el: Bind M-= to count-words.
10146         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
10148 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
10150         * progmodes/sh-script.el (sh-imenu-generic-expression):
10151         Capture a function with `function' keyword and without parentheses
10152         like "function FOO" (bug#11856).
10154 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
10156         * window.el (split-window-sensibly): Make WINDOW argument
10157         optional.
10159 2012-07-18  Chong Yidong  <cyd@gnu.org>
10161         * subr.el (keyboard-translate): Doc fix (Bug#7261).
10163         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
10164         and make C-x 8 RET exit isearch (Bug#11439).
10166         * international/iso-transl.el: Move isearch-mode-map key
10167         definitions to isearch.el.
10169 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10171         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
10172         (eieio-defclass): Use gv-define-setter when possible.
10174 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
10176         Reflect recent changes in Fgarbage_collect.
10177         * emacs-lisp/chart.el (chart-emacs-storage): Change to
10178         reflect new format of data returned by Fgarbage_collect.
10180 2012-07-17  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
10182         New utility functions + python-info-ppss-context fix (Bug#11910).
10183         * progmodes/python.el (python-info-beginning-of-block-statement-p)
10184         (python-info-ppss-comment-or-string-p): New functions.
10185         (python-info-ppss-context): Small fix for string check.
10187 2012-07-17  Juri Linkov  <juri@jurta.org>
10189         * dired-aux.el (dired-do-async-shell-command): Doc fix.
10190         (dired-do-async-shell-command): Don't add `*' at the end of the
10191         command (Bug#11815).
10192         (dired-do-shell-command): Doc fix.
10193         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
10194         Join the individual commands using either "&" or ";" as the
10195         separator depending on the values of these trailing characters.
10196         At the end re-add the trailing "&".  (Bug#10598)
10198         * simple.el (async-shell-command): Sync the interactive spec with
10199         `shell-command'.  Doc fix.
10200         (shell-command): Doc fix.
10202 2012-07-17  Juri Linkov  <juri@jurta.org>
10204         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
10206 2012-07-17  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
10208         Final renames and doc fixes for movement commands (bug#11899).
10209         * progmodes/python.el (python-nav-beginning-of-statement):
10210         Rename from python-nav-statement-start.
10211         (python-nav-end-of-statement): Rename from
10212         python-nav-statement-end.
10213         (python-nav-beginning-of-block): Rename from
10214         python-nav-block-start.
10215         (python-nav-end-of-block): Rename from python-nav-block-end.
10217 2012-07-17  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
10219         * progmodes/python.el (python-shell-send-string-no-output):
10220         Allow accept-process-output to quit, keeping shell process ready for
10221         future interactions (Bug#11868).
10223 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10225         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
10227         * emacs-lisp/elint.el (elint-find-args-in-code):
10228         Use help-function-arglist, so as to handle lexical byte-code.
10230         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
10231         change (bug#11826).
10233 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10235         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
10236         Avoid spuriously marking the buffer as modified because of c-is-sws.
10238         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
10239         as not-a-comment (bug#11946).
10241         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
10242         for uninterned vars.
10244         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
10245         Use read-event since we don't really want to read chars but bytes.
10247         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
10248         $$..$$ but also $..$ using regexps (bug#11953).
10249         Use tex-verbatim for \url and \path.
10250         (tex-font-lock-keywords): Define as defconst like the others.
10251         (tex-common-initialization): Don't use font-lock-syntax-table any more.
10253 2012-07-16  RenĂ© Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
10255         * international/mule-cmds.el (ucs-insert): Make it an obsolete
10256         alias for insert-char.
10258 2012-07-16  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
10260         * progmodes/python.el: Simplified imenu implementation.
10261         (python-nav-jump-to-defun): Remove command.
10262         (python-mode-map): Use `imenu' instead.
10263         (python-nav-list-defun-positions-cache)
10264         (python-imenu-include-defun-type, python-imenu-make-tree)
10265         (python-imenu-subtree-root-label, python-imenu-index-alist):
10266         Remove vars.
10267         (python-nav-list-defun-positions, python-nav-read-defun)
10268         (python-imenu-tree-assoc, python-imenu-make-element-tree)
10269         (python-imenu-make-tree, python-imenu-create-index):
10270         Remove functions.
10271         (python-mode): Update to interact with imenu by setting
10272         `imenu-extract-index-name-function' only.
10274 2012-07-16  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
10276         * progmodes/python.el: Enhancements to navigation commands.
10277         (python-nav-backward-sentence)
10278         (python-nav-forward-sentence): Remove.
10279         (python-nav-backward-statement, python-nav-forward-statement)
10280         (python-nav-statement-start, python-nav-statement-end)
10281         (python-nav-backward-block, python-nav-forward-block)
10282         (python-nav-block-start, python-nav-block-end)
10283         (python-nav-forward-sexp-function)
10284         (python-info-current-line-comment-p)
10285         (python-info-current-line-empty-p): New functions.
10286         (python-indent-context): Use `python-nav-statement-start'.
10288 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
10290         * eshell/em-ls.el (eshell/ls): Use `apply'.
10292         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
10293         multi-hops, instead of Tramp internals.
10295         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
10297         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
10298         when F1 and F2 are located on different hosts.
10300 2012-07-14  Chong Yidong  <cyd@gnu.org>
10302         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
10303         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
10304         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
10305         (xterm-mouse--read-event-sequence-1000)
10306         (xterm-mouse--read-event-sequence-1006): New functions.  For old
10307         mouse protocol, handle M-mouse-X events correctly.
10308         (xterm-mouse-event): New arg specifying mouse protocol.
10309         (turn-on-xterm-mouse-tracking-on-terminal)
10310         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
10311         sequence to toggle extended coordinates on newer XTerms.
10312         This appears to be harmless on terminals which do not support this.
10314 2012-07-14  Leo Liu  <sdl.web@gmail.com>
10316         Add fringe bitmap indicators for flymake.  (Bug#11253)
10317         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
10318         (flymake-make-overlay): New arg BITMAP.
10319         (flymake-error-bitmap, flymake-warning-bitmap)
10320         (flymake-fringe-indicator-position): New user variables.
10322         * fringe.el: New bitmap exclamation-mark.
10324 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
10326         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
10327         also (Bug#7879).
10329 2012-07-14  Chong Yidong  <cyd@gnu.org>
10331         * electric.el (electric-pair-post-self-insert-function): Fix pair
10332         insertion in empty-region case (Bug#11520).
10334 2012-07-14  Chong Yidong  <cyd@gnu.org>
10336         * bindings.el: Consolidate ctl-x-r-map bindings.
10337         Bind copy-rectangle-as-kill to C-x r w.
10339         * rect.el, register.el: Move bindings to bindings.el.
10341 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
10343         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
10345 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
10347         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
10349 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
10351         * bindings.el (top): Use `mapc' instead of `mapcar'.
10353         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
10355 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
10357         * progmodes/sql.el (sql-comint): Suppress the check for program on
10358         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
10359         (Bug#11908)
10361 2012-07-13  Chong Yidong  <cyd@gnu.org>
10363         * bindings.el: Assign a non-nil permanent-local property to
10364         per-buffer variables which lack a default value (Bug#11930).
10366         * help-fns.el (describe-variable): In the "automatically becomes
10367         local" notice, take note of permanent-local variables.
10369 2012-07-13  Chong Yidong  <cyd@gnu.org>
10371         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
10372         to allow printing the message when called from Lisp.
10374         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10375         Remove toggle-read-only.
10377         * bs.el (bs-toggle-readonly):
10378         * buff-menu.el (Buffer-menu-toggle-read-only):
10379         Remove with-no-warnings around toggle-read-only.
10381         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
10382         Remove with-no-warnings around toggle-read-only.
10383         (ffap-read-only, ffap-read-only-other-window)
10384         (ffap-read-only-other-frame): Callers changed.
10386         * help-mode.el: Don't require view package.
10387         (help-mode-finish): Set buffer-read-only instead of calling
10388         toggle-read-only.
10390         * bindings.el (mode-line-toggle-read-only):
10391         * dired.el (dired-toggle-read-only):
10392         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
10393         with non-nil second arg.
10395         * emacs-lisp/eieio-custom.el (eieio-customize-object):
10396         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
10397         directly.
10399 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
10401         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
10402         not incf.
10404 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10406         More CL cleanups and reduction of use of cl.el.
10407         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
10408         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
10409         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
10410         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
10411         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
10412         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10413         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10414         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10415         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10416         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10417         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10418         * eshell/em-cmpl.el, eshell/em-banner.el:
10419         * calendar/parse-time.el: Use cl-lib.
10420         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10421         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10422         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10423         * term/ns-win.el, term.el, shell.el, ps-samp.el:
10424         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10425         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10426         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10427         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10428         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10429         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10430         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10431         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10432         `lambda' rather than with `quote'.
10433         (eshell-do-opt): Adjust accordingly.
10434         (eshell-process-option): Simplify.
10435         * eshell/esh-var.el:
10436         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10437         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10438         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10439         to `pcase--dontcare'.
10440         * emacs-lisp/cl.el (labels): Mark obsolete.
10441         (cl--letf, letf): Move to cl-lib.
10442         (cl--letf*, letf*): Remove.
10443         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10444         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10445         (cl-progv): Rewrite.
10446         (cl--letf, cl-letf): Move from cl.el.
10447         (cl-letf*): New macro.
10448         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10450 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
10452         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10454 2012-07-11  Chong Yidong  <cyd@gnu.org>
10456         * vc/log-edit.el (log-edit-vc-backend): New variable.
10457         (log-edit): Doc fix.
10459         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
10460         argument of log-edit to set up all local variables.
10461         (vc-start-logentry): New optional arg specifying VC backend.
10463         * vc/vc.el (vc-checkin): Use it.
10464         (vc-deduce-fileset): Handle Log Edit buffers.
10465         (vc-diff): Make first argument optional too.
10467         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10469 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
10471         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10472         command, just in case.  The function is not needed anymore.
10473         (eshell-external-command): Do not call `eshell-remote-command'.
10475 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10477         Reduce use of (require 'cl).
10478         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10479         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10480         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10481         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10482         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10483         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10484         * battery.el, avoid.el, abbrev.el: Use cl-lib.
10485         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10486         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10487         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10488         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10489         * calculator.el, autorevert.el, apropos.el: Don't require CL.
10490         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10491         (byte-compile-unfold-bcf, byte-compile-check-variable):
10492         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10493         (byte-compile-nilconstp):
10494         * emacs-lisp/autoload.el (make-autoload): Use pcase.
10495         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10497         * emacs-lisp/gv.el (cond): Make it a valid place.
10498         (if): Simplify slightly.
10500         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10501         (pcase--self-quoting-p): New function.
10502         (pcase--u1): Use it.
10504 2012-07-10  Glenn Morris  <rgm@gnu.org>
10506         * emacs-lisp/authors.el (authors-fixed-entries):
10507         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10509 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
10511         Rename configure.in to configure.ac (Bug#11603).
10512         * emacs-lisp/authors.el (authors-canonical-file-name):
10513         * progmodes/autoconf.el (autoconf-mode):
10514         Prefer configure.ac to configure.in.
10516 2012-07-08  Chong Yidong  <cyd@gnu.org>
10518         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10519         Implement the mouse-1-click-follows-link handling properly.
10521         * info.el (Info-link-keymap): Use follow-link mechanism for
10522         header-line links (Bug#374).
10524         * simple.el (deactivate-mark): Do not set the primary selection
10525         if another program has acquired it (Bug#11772).
10527 2012-07-07  Kevin Ryde  <user42@zip.com.au>
10529         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10530         (woman-decode-region): Replace escaped-escapes without destroying
10531         bold or underline (Bug#11552).
10532         (woman2-process-escapes): Handle nofill regions (Bug#11591).
10534 2012-07-07  Chong Yidong  <cyd@gnu.org>
10536         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10537         (interprogram-cut-function, interprogram-paste-function):
10538         Mention that we typically mean the clipboard.
10540 2012-07-06  Glenn Morris  <rgm@gnu.org>
10542         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
10544         * files.el (toggle-read-only): Restrict message to interactive use.
10546 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
10548         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10550         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10552 2012-07-06  Glenn Morris  <rgm@gnu.org>
10554         * Makefile.in (compile-one-process): Rename from "recompile".
10556         * Makefile.in (bzr-update): "compile" is the same as "recompile
10557         autoloads", but parallelizable, so use that instead.
10559 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
10561         * window.el (quit-window): Always restore window height when
10562         it's saved in quit-restore parameter (Bug#11810).
10564 2012-07-06  Glenn Morris  <rgm@gnu.org>
10566         * simple.el (kill-whole-line): Doc tweak.
10568 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
10570         * files.el (file-relative-name): Compare file names
10571         case-insensitively if on MS-Windows or MS-DOS, or if
10572         read-file-name-completion-ignore-case is non-nil.  Don't use
10573         case-fold-search for this purpose.  (Bug#11827)
10575 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
10577         * calendar/cal-dst.el (calendar-current-time-zone):
10578         Return calendar-current-time-zone-cache if non-nil.
10580 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
10581 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
10583         * calendar/cal-dst.el (calendar-current-time-zone):
10584         Return calendar-current-time-zone-cache if non-nil.
10586 2012-07-06  Glenn Morris  <rgm@gnu.org>
10588         * Makefile.in (cvs-update): Remove old alias.
10590 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
10592         Sync with Tramp 2.2.6-pre.
10594         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10595         compatible declaration.
10597         * net/tramp-cmds.el (tramp-append-tramp-buffers):
10598         Protect `list-load-path-shadows' call.
10600         * net/tramp-compat.el (top): Require packages, which aren't
10601         autoloaded anymore for XEmacs.  Protect call of
10602         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10603         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
10604         it hurts at least for SXEmacs.
10605         (tramp-compat-temporary-file-directory): In XEmacs, there is no
10606         standard-value for `temporary-file-directory'.
10608         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10609         Redirect stderr to /dev/null.
10610         (tramp-sh-handle-write-region): uid and gid can be floats.
10611         Reported by Russell Sim <russell.sim@gmail.com>.
10612         (tramp-sh-handle-vc-registered): Hide errors.
10613         (tramp-vc-file-name-handler): Use dummy results for `process-file'
10614         and `start-file-process'.
10615         (tramp-maybe-open-connection): Check also whether `non-essential'
10616         is bound.
10618 2012-07-04  Chong Yidong  <cyd@gnu.org>
10620         * xml.el (xml--parse-buffer): Use xml-syntax-table.
10621         (xml-parse-tag): Likewise, and avoid changing entity tables.
10622         (xml-syntax-table): Define from scratch, making sure not to give
10623         x2000 and other Unicode spaces whitespace syntax, since those are
10624         not spaces in XML.
10625         (xml-parse-fragment): Delete unused function.
10626         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10627         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10628         (xml-entity-ref, xml-pe-reference-re)
10629         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10630         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10631         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10632         (xml-entity-value-re): Use syntax references in regexps where
10633         possible; no need to define inside a let-binding.
10634         (xml-parse-dtd): Use xml-pe-reference-re.
10635         (xml-entity-or-char-ref-re): New defconst.
10636         (xml-parse-string, xml-substitute-special): Use it.
10638 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10640         * files.el (locate-dominating-file): Allow `name' to be a predicate.
10641         (find-file--read-only): New function.
10642         (find-file-read-only, find-file-read-only-other-window)
10643         (find-file-read-only-other-frame): Use it.
10644         (insert-file-contents-literally): Don't `fset'.
10645         (get-free-disk-space): Use locate-dominating-file.
10647         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10648         function is already compiled.
10650         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
10652 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
10654         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10655         files on the same host.
10657 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
10659         * help-fns.el (describe-function-1): Only call
10660         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
10662 2012-07-03  Chong Yidong  <cyd@gnu.org>
10664         * xml.el: Protect parser against XML bombs.
10665         (xml-entity-expansion-limit): New variable.
10666         (xml-parse-string, xml-substitute-special): Use it.
10667         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10669 2012-07-03  Glenn Morris  <rgm@gnu.org>
10671         * progmodes/bug-reference.el (bug-reference-bug-regexp):
10672         Allow linking to specific messages in debbugs reports (eg 123#5).
10674 2012-07-02  Chong Yidong  <cyd@gnu.org>
10676         * xml.el: Fix entity and character reference expansion, allowing
10677         them to expand into markup as per XML spec.
10678         (xml-default-ns): New variable.
10679         (xml-entity-alist): Use XML spec definitions for lt and amp.
10680         (xml-parse-region): Make first two arguments optional.
10681         Discard text properties.
10682         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10683         All callers changed.
10684         (xml-parse-tag): Call xml-parse-tag-1.  For backward
10685         compatibility, this function should not modify buffer contents.
10686         (xml-parse-tag-1): Fix opening-tag regexp.
10687         (xml-parse-string): Rewrite, handling entity and character
10688         references properly.
10689         (xml--entity-replacement-text): Signal an error if a parameter
10690         entity is undefined.
10692 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10694         * comint.el (comint-output-filter): Filter out repeated prompts.
10696         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10697         and file-name-absolute-p.
10698         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10699         internal calls.
10701 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
10703         Spelling fixes.
10704         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10705         Rename from byte-compile--refiy-function.  All uses changed.
10707 2012-07-01  Chong Yidong  <cyd@gnu.org>
10709         * xml.el (xml--parse-buffer): New function.  Move most of
10710         xml-parse-region here.
10711         (xml-parse-region): Copy region into a temporary buffer, since
10712         parameter entity substitution requires changing buffer contents.
10713         Use xml--parse-buffer.
10714         (xml-parse-file): Use xml--parse-buffer.
10715         (xml-parse-dtd): Make parameter entity substitution work right.
10716         Use proper regexps for ELEMENT declarations (Bug#7172).
10718 2012-06-30  Glenn Morris  <rgm@gnu.org>
10720         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10722         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10723         Remove outdated and unnecessary dbus declarations.
10725 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
10727         * emacs-lisp/timer.el (timer-until): Subtract results of
10728         float-time, instead of taking float-time of the result of
10729         time-subtract, since float-time signals an error for negative time
10730         arguments.
10732 2012-06-30  Chong Yidong  <cyd@gnu.org>
10734         * xml.el (xml-*-re): Convert defvars into defconsts, and
10735         eval-and-compile them so eval-and-compile works on derivatives.
10736         (xml--entity-replacement-text): Use eval-and-comple.
10738 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
10740         * vc/vc-git.el (vc-git-registered): Use cache property
10741         `git-registered'.
10742         (vc-git-mode-line-string): Call `vc-working-revision' instead of
10743         `vc-git-working-revision' in order to benefit from the cache.
10744         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
10746 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
10748         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10749         removed (likely outside Emacs).  (Bug#11757)
10751 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10753         * emacs-lisp/cl-lib.el: Require macroexp.
10755 2012-06-30  Chong Yidong  <cyd@gnu.org>
10757         * xml.el: Implement XML parameter entities.
10758         (xml-parameter-entity-alist): New variable.
10759         (xml-parse-region, xml-parse-fragment): Preserve previous values
10760         of xml-entity-alist and xml-parameter-entity-alist, so that
10761         repeated calls on different documents do not change them.
10762         (xml-parse-tag): Fix doctype regexp.
10763         (xml--entity-replacement-text): New function.
10764         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
10765         properly requires url retrieval which is unimplemented.
10766         (xml-escape-string): Doc fix.
10768 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10770         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10772 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
10774         * fringe.el (fringe-mode): Doc fix.
10776 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
10778         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10779         is non-nil.
10780         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10781         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
10783 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
10785         * calendar/cal-dst.el (calendar-current-time-zone):
10786         Return calendar-current-time-zone-cache if non-nil.
10788 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
10790         * progmodes/which-func.el (which-func-format):
10791         Add mouse-face.  (Bug#11698)
10793 2012-06-29  Leo Liu  <sdl.web@gmail.com>
10795         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10797 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10799         * minibuffer.el (minibuffer-confirm-exit-commands):
10800         Add completion-at-point (bug#11725).
10802 2012-06-29  Glenn Morris  <rgm@gnu.org>
10804         * progmodes/f90.el (f90-font-lock-keywords-2):
10805         Add some preprocessor elements.  (Bug#10499)
10807 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
10809         * progmodes/cperl-mode.el (cperl-update-syntaxification):
10810         Use syntax-propertize (bug#11739).
10812 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
10814         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10816 2012-06-28  Julien Danjou  <julien@danjou.info>
10818         * term.el (term-handle-colors-array): Use a set of new faces to
10819         color the terminal.  Also uses :inverse-video property.
10820         (term-default-fg-color): Set to nil by default, deprecate in favor
10821         of `term-face'.
10822         (term-default-bg-color): Set to nil by default, deprecate in favor
10823         of `term-face'.
10824         (term-current-face): Use `term-face' by default.
10825         (term-bold-attribute): Variable deleted.
10827 2012-06-28  Glenn Morris  <rgm@gnu.org>
10829         * simple.el (completion-list-mode-finish):
10830         Don't use toggle-read-only.  (Since completion-list-mode has
10831         a special mode-class, it wasn't doing anything extra anyway.)
10833 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
10835         Make inlining of other-mode interpreted functions work (bug#11799).
10836         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10837         (byte-compile): Use it to fix compilation of lexical-binding closures.
10838         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10839         function, if needed.
10841 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10843         * help-mode.el (help-make-xrefs): Don't just withstand
10844         cyclic-variable-indirection but any error in documentation-property.
10846         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10847         memory use.
10848         * bindings.el (bindings--define-key): New function.
10849         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10850         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10851         * bindings.el: Use it to purecopy define-key bindings.
10853         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10855         * emacs-lisp/cl.el (flet): Mark obsolete.
10856         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10857         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10858         * progmodes/js.el (js-c-fill-paragraph):
10859         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10860         (ebrowse-switch-member-buffer-to-derived-class):
10861         * play/5x5.el (5x5-solver): Use cl-flet.
10863         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
10864         (cl--symbol-function): New macro.
10865         (cl--letf, cl--letf*): Use it.
10867         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10868         Strip "toggle-" if any.
10870 2012-06-27  Glenn Morris  <rgm@gnu.org>
10872         * info.el (Info-default-directory-list): Move here from paths.el.
10873         * paths.el: Remove file, which is now empty.
10874         * loadup.el: No longer load "paths".
10876         * custom.el (custom-initialize-delay): Doc fix.
10878         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10879         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10880         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10881         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10882         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10883         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10884         * eshell/eshell.el (eshell-defgroup): Remove alias.
10886 2012-06-27  Chong Yidong  <cyd@gnu.org>
10888         * help.el (help-enable-auto-load): New variable.
10890         * help-fns.el (help-fns--autoloaded-p): New function.
10891         (describe-function-1): Refer to a function as "autoloaded" if it
10892         was autoloaded at any time in the past.  Perform autoloading if
10893         help-enable-auto-load is non-nil.
10895 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
10897         * makefile.w32-in (compile, compile-always): Depend on
10898         update-subdirs, not on subdirs.el.  Otherwise, several different
10899         sub-targets of 'bootstrap' running in parallel could
10900         simultaneously write to subdirs.el, producing a garbled file.
10902 2012-06-26  Sam Steingold  <sds@gnu.org>
10904         * files.el (file-name-base): New convenience function.
10905         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10906         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10907         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10908         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10909         * textmodes/ispell.el, textmodes/reftex-ref.el:
10910         * textmodes/tex-mode.el: Use it.
10911         Did not touch cedet and org because they are maintained elsewhere.
10913 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
10915         * calendar/calendar.el (calendar-exit): Don't try to delete or
10916         iconify last frame.  See:
10917         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10919 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
10921         * server.el (server-process-filter): Remember dir in the
10922         process's `server-client-directory' properties.
10924 2012-06-24  Chong Yidong  <cyd@gnu.org>
10926         * xml.el (xml-parse-tag): Correctly handle comment embedded in
10927         non-tag text.
10929 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
10931         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10933 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10935         * help-fns.el (describe-variable): Don't croak when doc is not found.
10936         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10937         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10938         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10939         * emacs-lisp/smie.el (smie-next-sexp): CSE.
10940         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10941         ((lambda ..) ..).
10942         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10944 2012-06-23  Chong Yidong  <cyd@gnu.org>
10946         * info.el (Info-mouse-follow-link): Accept symbol values of
10947         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
10948         (Info-fontify-node): Use Info-link-keymap for all navigation
10949         buttons, with link-args property to perform the desired action.
10950         (Info-link-keymap): Doc fix.
10951         (Info-next-link-keymap, Info-prev-link-keymap)
10952         (Info-up-link-keymap): Delete now-unused keymaps.
10954 2012-06-23  Chong Yidong  <cyd@gnu.org>
10956         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10958         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10959         system abbrevs.
10961         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10963 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10965         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10966         (bug#11719).
10968         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10969         the requote function doesn't work properly (bug#11714).
10971 2012-06-23  Glenn Morris  <rgm@gnu.org>
10973         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10975 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10977         Further GV/CL cleanups.
10978         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10979         gv-expander.
10980         (gv--defun-declaration): New function.
10981         (defun-declarations-alist): Use it.
10982         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10983         (gv-place): Autoload.
10984         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10985         original definition of dotimes and dolist.
10986         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10987         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10988         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10989         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10990         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10991         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10992         to the function's definition.
10993         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10994         * window.el:
10995         * files.el:
10996         * faces.el:
10997         * env.el: Don't use CL.
10999 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
11001         Support higher-resolution time stamps (Bug#9000).
11003         * calendar/time-date.el (with-decoded-time-value): New arg
11004         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
11005         (encode-time-value): New optional arg PICO.  New type 3.
11006         (time-to-seconds) [!float-time]: Support the new picoseconds
11007         component if it's used.
11008         (seconds-to-time, time-subtract, time-add):
11009         Support ps-resolution time stamps as well.
11011         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
11012         (timerp): Timer vectors now have length 9, not 8.
11013         (timer--time): Support new-style (4-part) time stamps.
11014         (timer-next-integral-multiple-of-time): Time stamps now have
11015         picosecond resolution, so take a bit more care about rounding.
11016         (timer-relative-time, timer-inc-time): New optional arg psecs.
11017         (timer-set-time-with-usecs): Set psecs to 0.
11018         (timer--activate): Check psecs component, too.
11020         * proced.el (proced-time-lessp): Support ps-resolution stamps.
11022 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11024         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
11025         Move the non-essential binding to the post/pre-command-hook where it is
11026         more obviously correct.
11028         * subr.el (read-passwd): Don't use a history at all.
11029         * savehist.el (savehist-save): Remove password saved accidentally
11030         because of the above bug.
11032 2012-06-22  Bastien Guerry  <bzg@gnu.org>
11034         * files.el (toggle-read-only): Display a message telling whether
11035         the buffer is read-only or not (bug#11726).
11037 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11039         * emacs-lisp/gv.el: New file.
11040         * subr.el (push, pop): Extend to generalized variables.
11041         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
11042         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
11043         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
11044         gv-define-simple-setter, and gv-define-expander.
11045         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
11046         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
11047         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
11048         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
11049         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
11050         gv-letplace.
11051         (cl-defstruct): Don't define setf-method any more.
11052         * emacs-lisp/cl.el (flet): Don't autoload.
11053         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
11054         (define-setf-expander, defsetf, define-modify-macro)
11055         (cl-struct-setf-expander): Move from cl-lib.el.
11056         * emacs-lisp/syntax.el:
11057         * emacs-lisp/ewoc.el:
11058         * emacs-lisp/smie.el:
11059         * emacs-lisp/cconv.el:
11060         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
11061         (timer--time): Use gv-define-simple-setter.
11062         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
11063         to avoid coding-system problems in subr.el.  Adjust all users.
11064         (macroexp--maxsize, macroexp-small-p): New functions.
11065         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
11066         * scroll-bar.el (scroll-bar-mode):
11067         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
11068         (normal-erase-is-backspace-mode): Don't use the `eq' place.
11069         * winner.el (winner-configuration, winner-make-point-alist)
11070         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
11071         * files.el (locate-file-completion-table): Avoid list*.
11073 2012-06-22  Chong Yidong  <cyd@gnu.org>
11075         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
11076         (dired-create-files): Doc fix (Bug#11329).
11077         (dired-do-copy): Doc fix (Bug#11334).
11078         (dired-mark-read-string): Doc fix (Bug#11553).
11080         * dired.el (dired-recursive-copies, dired-recursive-deletes):
11081         Doc fix (Bug#11326).
11082         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
11083         (dired-dwim-target): Doc fix.
11085         * wdired.el (wdired-mode): Doc fix.
11087 2012-06-22  Glenn Morris  <rgm@gnu.org>
11089         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
11090         (pcmpl-rpm-cache-stamp-file): New constant.
11091         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
11092         (pcmpl-rpm-packages): Optionally cache list of packages.
11094         * pcmpl-rpm.el (pcmpl-rpm): New group.
11095         (pcmpl-rpm-query-options): New option.
11096         (pcmpl-rpm-packages): No need to inline it.
11097         Use pcmpl-rpm-query-options.
11099         * calendar/calendar.el (calendar-in-read-only-buffer):
11100         Avoid some needless mode changes.
11102 2012-06-21  Chong Yidong  <cyd@gnu.org>
11104         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
11105         (desktop-path): Remove . from the default value (Bug#10977).
11106         (desktop-read): Use user-emacs-directory if desktop-path is nil.
11108 2012-06-20  Chong Yidong  <cyd@gnu.org>
11110         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
11112 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
11114         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
11115         (bug#11201).
11117 2012-06-20  Chong Yidong  <cyd@gnu.org>
11119         * term.el (term-window-width): Handle the case of a missing right
11120         fringe (Bug#8837).
11121         (term-check-size): Use window-text-height (Bug#5445).
11122         (term-mode): Use define-derived-mode.  Minor cleanups.
11123         Set font-lock-defaults (Bug#7692).
11124         (term-move-columns, term-insert-char, term-emulate-terminal)
11125         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
11127 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
11129         * net/ange-ftp.el (ange-ftp-get-passwd):
11130         Bind `enable-recursive-minibuffers'.
11131         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
11133 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
11135         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
11137 2012-06-19  Glenn Morris  <rgm@gnu.org>
11139         * progmodes/python.el (python-mode): Derive from prog-mode.
11141 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
11143         * emulation/edt.el (edt-default-menu-bar-update-buffers)
11144         (edt-user-menu-bar-update-buffers): New functions.
11145         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
11147 2012-06-19  Chong Yidong  <cyd@gnu.org>
11149         * subr.el (with-selected-window): Preserve the selected window's
11150         terminal's top-frame (Bug#4702).
11152         * window.el (save-selected-window): Likewise.
11154 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11156         * progmodes/python.el (python-rx-constituents): Move backquote.
11157         (python-skeleton-define, python-define-auxiliary-skeleton):
11158         Use `declare'.
11160 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
11162         * minibuffer.el (read-file-name-default): Revert the patch from
11163         2012-06-17.
11165 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11167         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
11168         (pcase--u1, pcase--q1): Don't use apply-partially.
11170 2012-06-18  Glenn Morris  <rgm@gnu.org>
11172         * progmodes/python.el (python-proc, python-buffer)
11173         (python-send-receive, python-send-string): Fix obsolete versions.
11175 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
11177         * window.el (special-display-p): Completely remove stringp
11178         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
11180 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
11182         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
11184         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
11186         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
11187         * net/tramp-sh.el (tramp-maybe-open-connection):
11188         Throw if `non-essential' is non-nil.
11190 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
11192         * window.el (special-display-p): Signal an error if BUFFER-NAME
11193         is not a string (Bug#11713).
11195 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
11197         * progmodes/python.el (python-info-beginning-of-backslash):
11198         Rename from python-info-beginning-of-backlash, as a spelling fix.
11200 2012-06-17  Chong Yidong  <cyd@gnu.org>
11202         * term.el (term-emulate-terminal): If term-check-size is called,
11203         move point to the process mark without resetting point (Bug#4635).
11205 2012-06-17  Glenn Morris  <rgm@gnu.org>
11207         * international/mule-cmds.el (mule-menu-keymap)
11208         (set-language-environment, set-locale-environment): Doc tweaks.
11210 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
11212         * cus-face.el (custom-face-attributes): Add wave-style underline
11213         attribute.
11214         * faces.el (set-face-attribute): Update docstring to describe
11215         wave-style underline attribute.
11217 2012-06-16  Chong Yidong  <cyd@gnu.org>
11219         * term/xterm.el (terminal-init-xterm): Discard input before
11220         querying background mode (Bug#10959).
11222 2012-06-16  Stefan Merten  <smerten@oekonux.de>
11224         * textmodes/rst.el: Added and corrected some comments.
11225         (rst-re-alist-def): Improve symbol syntax.
11226         (rst-mode-syntax-table): Correct syntax entries.
11227         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
11228         (rst-official-version, rst-official-cvs-rev): Update version
11229         information.
11231 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
11233         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
11234         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
11236 2012-06-15  FabiĂ¡n Ezequiel Gallina  <fgallina@cuca>
11238         * progmodes/python.el: New python.el merge.
11239         (python-guess-indent): Obsolete var.
11240         (python-indent-guess-indent-offset): New defcustom.
11241         (python-indent): Obsolete var.
11242         (python-indent-offset): New defcustom.
11243         (python-python-command, python-jython-command): Delete var.
11244         (python-shell-interpreter): New defcustom.
11245         (python-pdbtrack-do-tracking-p): Delete var.
11246         (python-pdbtrack-activate): New defcustom.
11247         (python-use-skeletons): Obsolete var.
11248         (python-skeleton-autoinsert): New defcustom.
11249         (inferior-python-filter-regexp, python-continuation-offset)
11250         (python-honour-comment-indentation, python-indent-string-contents)
11251         (python-jython-packages, python-mode-hook)
11252         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
11253         (python-shell-prompt-alist)
11254         (python-source-modes): Delete defcustoms.
11255         (python-check-buffer-name, python-eldoc-setup-code)
11256         (python-eldoc-string-code, python-ffap-setup-code)
11257         (python-ffap-string-code, python-fill-comment-function)
11258         (python-fill-decorator-function, python-fill-paren-function)
11259         (python-fill-string-function, python-imenu-include-defun-type)
11260         (python-imenu-make-tree, python-imenu-subtree-root-label)
11261         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
11262         (python-shell-compilation-regexp-alist)
11263         (python-shell-completion-module-string-code)
11264         (python-shell-completion-pdb-string-code)
11265         (python-shell-completion-setup-code)
11266         (python-shell-completion-string-code)
11267         (python-shell-enable-font-lock, python-shell-exec-path)
11268         (python-shell-extra-pythonpaths)
11269         (python-shell-internal-buffer-name, python-shell-interpreter-args)
11270         (python-shell-process-environment)
11271         (python-shell-prompt-block-regexp)
11272         (python-shell-prompt-output-regexp)
11273         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
11274         (python-shell-send-setup-max-wait, python-shell-setup-codes)
11275         (python-shell-virtualenv-path): New defcustoms.
11276         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
11277         (inferior-python-mode-syntax-table, python--prompt-regexp)
11278         (python-buffer, python-command python-python-command)
11279         (python-default-template, python-imports, python-indent-index)
11280         (python-indent-list, python-indent-list-length)
11281         (python-mode-running, python-pdbtrack-is-tracking-p)
11282         (python-preoutput-continuation, python-preoutput-leftover)
11283         (python-preoutput-result, python-preoutput-skip-next-prompt)
11284         (python-prev-dir/file, python-recursing)
11285         (python-saved-check-command, python-version-checked)
11286         (python-which-func-length-limit)
11287         (view-return-to-alist): Delete vars.
11288         (python-check-custom-command, python-dotty-syntax-table)
11289         (python-imenu-index-alist, python-indent-current-level)
11290         (python-indent-dedenters, python-indent-levels)
11291         (python-nav-beginning-of-defun-regexp)
11292         (python-nav-list-defun-positions-cache)
11293         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
11294         (python-shell-internal-buffer)
11295         (python-skeleton-available): New vars.
11296         (def-python-skeleton): Delete macro.
11297         (python-skeleton-define): New macro.
11298         (python-define-auxiliary-skeleton, python-rx): New macros.
11299         (python-insert-class): Delete command.
11300         (python-skeleton-class): New command.
11301         (python-insert-def): Delete command.
11302         (python-skeleton-def): New command.
11303         (python-insert-for): Delete command.
11304         (python-skeleton-for): New command.
11305         (python-insert-if): Delete command.
11306         (python-skeleton-if): New command.
11307         (python-insert-try/except, python-insert-try/finally): Delete commands.
11308         (python-skeleton-try): New command.
11309         (python-insert-while): Delete command.
11310         (python-skeleton-while): New command.
11311         (python-backspace): Delete command.
11312         (python-indent-dedent-line-backspace): New command.
11313         (python-electric-colon): Delete command.
11314         (python-indent-electric-colon): New command.
11315         (python-guess-indent): Delete command.
11316         (python-indent-guess-indent-offset): New command.
11317         (python-shift-left): Delete command.
11318         (python-indent-shift-left): New command.
11319         (python-shift-right): Delete command.
11320         (python-indent-shift-right): New command.
11321         (python-find-function): Delete command.
11322         (python-nav-jump-to-defun): New command.
11323         (python-next-statement): Delete command.
11324         (python-nav-forward-sentence): New command.
11325         (python-previous-statement): Delete command.
11326         (python-nav-backward-sentence): New command.
11327         (python-fill-paragraph): Delete command.
11328         (python-fill-paragraph-function): New command.
11329         (python-send-buffer): Delete command.
11330         (python-shell-send-buffer): New command.
11331         (python-send-defun): Delete command.
11332         (python-shell-send-defun): New command.
11333         (python-send-region, python-send-region-and-go): Delete commands.
11334         (python-shell-send-region)
11335         (python-shell-switch-to-shell): New commands.
11336         (python-send-string): Delete command.
11337         (python-shell-send-string): New command.
11338         (python-switch-to-python): Delete command.
11339         (python-shell-switch-to-shell): New command.
11340         (python-describe-symbol): Delete command.
11341         (python-eldoc-at-point): New command.
11342         (python--set-prompt-regexp, python-args-to-list)
11343         (python-after-info-look, python-check-version)
11344         (python-check-comint-prompt, python-find-imports)
11345         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
11346         (python-unload-function, python-expand-template)
11347         (python-maybe-jython, python-preoutput-filter)
11348         (python-pdbtrack-get-source-buffer)
11349         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
11350         (python-pdbtrack-toggle-stack-tracking)
11351         (python-pdbtrack-track-stack-file, python-initial-text)
11352         (python-first-word, python-comment-line-p, python-send-command)
11353         (python-setup-brm, python-sentinel, python-set-proc)
11354         (python-skip-out, python-input-filter, python-outdent-p)
11355         (python-outline-level, python-backslash-continuation-line-p)
11356         (python-end-of-block, python-end-of-statement, python-mark-block)
11357         (python-beginning-of-block, python-beginning-of-statement)
11358         (python-blank-line-p, python-beginning-of-string)
11359         (python-open-block-statement-p): Delete functions.
11360         (python-indent-line, python-indent-line-1): Delete functions.
11361         (python-indent-line): New function.
11362         (python-indentation-levels): Delete function.
11363         (python-indent-calculate-levels): New function.
11364         (python-proc): Delete function.
11365         (python-shell-get-process): New function.
11366         (python-send-receive): Delete function.
11367         (python-shell-send-string-no-output): New function.
11368         (python-module-path): Delete function.
11369         (python-ffap-module-path): New function.
11370         (python-completion-at-point)
11371         (python-symbol-completions): Delete functions.
11372         (python-completion-complete-at-point): New function.
11373         (python-load-file): Delete function.
11374         (python-shell-send-file): New function.
11375         (python-calculate-indentation): Delete function.
11376         (python-indent-calculate-indentation): New function.
11377         (python-skip-comments/blanks): Delete function.
11378         (python-util-forward-comment): New function.
11379         (python-continuation-line-p): Delete function.
11380         (python-info-continuation-line-p): New function.
11381         (python-which-func, python-current-defun): Delete function.
11382         (python-info-current-defun): New function.
11383         (python-beginning-of-defun): Delete function.
11384         (python-nav-beginning-of-defun): New function.
11385         (python-close-block-statement-p)
11386         (python-block-end-p): Delete function.
11387         (python-info-closing-block): New function.
11388         (python-comint-output-filter-function)
11389         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
11390         (python-fill-comment, python-fill-decorator, python-fill-paren)
11391         (python-fill-string, python-imenu-make-element-tree)
11392         (python-imenu-make-tree, python-imenu-tree-assoc)
11393         (python-indent-context, python-indent-dedent-line)
11394         (python-indent-line-function)
11395         (python-indent-post-self-insert-function)
11396         (python-indent-toggle-levels)
11397         (python-info-assignment-continuation-line-p)
11398         (python-info-beginning-of-backlash)
11399         (python-info-block-continuation-line-p)
11400         (python-info-closing-block-message)
11401         (python-info-line-ends-backslash-p)
11402         (python-info-looking-at-beginning-of-defun)
11403         (python-info-ppss-context, python-info-ppss-context-type)
11404         (python-nav-list-defun-positions, python-nav-read-defun)
11405         (python-nav-sentence-end, python-nav-sentence-start)
11406         (python-pdbtrack-comint-output-filter-function)
11407         (python-pdbtrack-set-tracked-buffer)
11408         (python-shell-calculate-exec-path)
11409         (python-shell-calculate-process-environment)
11410         (python-shell-completion--do-completion-at-point)
11411         (python-shell-completion--get-completions)
11412         (python-shell-completion-complete-at-point)
11413         (python-shell-completion-complete-or-indent)
11414         (python-shell-get-or-create-process)
11415         (python-shell-get-process-name)
11416         (python-shell-internal-get-or-create-process)
11417         (python-shell-internal-get-process-name)
11418         (python-shell-internal-send-string, python-shell-make-comint)
11419         (python-shell-parse-command, python-shell-send-setup-code)
11420         (python-skeleton-add-menu-items)
11421         (python-util-clone-local-variables, python-util-position)
11422         (run-python-internal, python-indentation-levels)
11423         (python-nav-beginning-of-defun)
11424         (python-completion-complete-at-point): New functions.
11425         (run-python): Change arguments.  New API requirements.
11427 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11429         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11430         (bug#11649).
11432         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11433         (macroexp--expand-all): Use it.
11435         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11436         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11437         Use `cl-function' instead.
11439 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
11441         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11442         Suggested by Stefan Monnier while discussing bug#11657.
11444 2012-06-14  Sam Steingold  <sds@gnu.org>
11446         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11448 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11450         * play/doctor.el (doctor-doc): Remove parameter and use
11451         doctor-sent instead of sent.
11452         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
11454 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11456         * files.el: Require cl-lib.
11457         (file-name-non-special): Replace case -> cl-case.
11459         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11461         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11462         mapping from #' to function*.
11464 2012-06-13  Chong Yidong  <cyd@gnu.org>
11466         * mouse.el (mouse-drag-track): Do not set the mark if the user
11467         releases the mouse without selecting anything (Bug#11588).
11469 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11471         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11472         as well (bug#11646).
11474         * loadup.el: Count byte-code functions as well.
11476         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11477         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11479         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11480         (bug#11649).  Add cl-defun and cl-defmacro.
11482 2012-06-13  Drew Adams  <drew.adams@oracle.com>
11484         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11485         Fix last change.
11487 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
11489         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11490         Otherwise, it blocks in batch mode.
11492 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
11494         * help-mode.el (bookmark-make-record-default): Declare.
11496 2012-06-13  Chong Yidong  <cyd@gnu.org>
11498         * emacs-lisp/package.el (list-packages): Compute a list of
11499         packages that are newly-available since the last list-packages
11500         invocation.
11501         (package-menu--new-package-list): New var.
11502         (package-menu--generate, package-menu--print-info)
11503         (package-menu--status-predicate, package-menu-mark-install):
11504         Handle new status label "new".
11506 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11508         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11509         conversion to backquotes.
11511 2012-06-12  Chong Yidong  <cyd@gnu.org>
11513         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11514         Rename from gud-inhibit-global-bindings.
11516         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11518         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11519         hook from nxml-glyph-set-hook.
11521         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11522         declaration.
11524         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11526         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11527         Convert to defcustom.
11529 2012-06-12  Drew Adams  <drew.adams@oracle.com>
11531         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11532         New functions.
11533         (help-mode): Use them.
11535 2012-06-11  Glenn Morris  <rgm@gnu.org>
11537         * progmodes/fortran.el (fortran-font-lock-keywords-3):
11538         Use preprocessor face for directives.
11539         (fortran-directive-re): Doc fix.
11541 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11543         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11544         conversion to backquotes (bug#11652).
11546         Fix compiler-expansion of CL's cXXr functions (bug#11673).
11547         * emacs-lisp/cl-lib.el (cl--defalias): New function.
11548         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11549         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11550         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11551         (cl-ninth, cl-tenth): Mark them as inlinable.
11552         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11553         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11554         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11555         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11556         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11557         (cl-list*, cl-adjoin): Don't put an autoload manually.
11558         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11559         (cl--compiler-macro-list*): Add autoload cookie.
11560         (cl--compiler-macro-cXXr): New function.
11562         * help-fns.el (help-fns--compiler-macro): New function extracted from
11563         describe-function-1; follow aliases and use `compiler-macro' property.
11564         (describe-function-1): Use it.
11566 2012-06-11  Chong Yidong  <cyd@gnu.org>
11568         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11569         is uninstalled, if imagemagick is installed.
11571 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11573         * emacs-lisp/cl-lib.el: Use lexical-binding.
11574         (cl-map-extents, cl-maclisp-member): Remove.
11575         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11576         (cl--set-substring, cl--block-wrapper, cl--block-throw)
11577         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11578         * emacs-lisp/cl-extra.el: Use lexical-binding.
11579         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11580         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11581         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11582         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11583         * emacs-lisp/cl-seq.el: Use lexical-binding.
11584         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11585         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11586         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11587         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11588         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11589         CL's internals.
11591 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
11593         Sync with Tramp 2.2.6-pre.
11595         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11596         `print-length' and `print-level' to nil, in order to avoid
11597         truncation.  Reported by Christopher Schmidt
11598         <christopher@ristopher.com>.
11600         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11602         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11603         New defmacro.
11604         (tramp-compat-copy-directory): Add optional argument
11605         COPY-CONTENTS.  It is not handled yet.
11607         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11608         (tramp-ftp-file-name-p): Simplify.
11610         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11611         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11612         connection vector.
11614         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11615         (tramp-methods): Do not use `tramp-password-end-of-line'.
11616         (tramp-completion-function-alist-putty): Handle UNIX case.
11617         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11618         (tramp-do-file-attributes-with-stat)
11619         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11620         gid as real numbers.  They could run out of integer range on cygwin.
11621         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11622         (tramp-sh-handle-expand-file-name): Handle hops.
11623         (tramp-open-connection-setup-interactive-shell):
11624         Use `tramp-cleanup'.  Move check for busyboxes ...
11625         (tramp-find-shell): ... here.  Simplify implementation.
11626         Set "remote-shell" property also for alternative shells.
11627         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11628         If failing, a regular file would be written otherwise.
11629         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11630         (tramp-find-inline-encoding): Cache the coding commands in the
11631         process cache.  Apply test command on the remote side, if defined.
11632         (tramp-find-inline-compress): Cache the compress commands in the
11633         process cache.
11634         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11635         when requested.  Handle hops.
11636         (tramp-current-connection): New defvar.
11637         (tramp-maybe-open-connection): Use `tramp-cleanup'.
11638         Throw `suppress', if there was a failed connection shortly before.
11639         Handle user interrupt.  (Bug#10187)
11640         (tramp-get-inline-compress, tramp-get-inline-coding):
11641         Read connection properties from the process cache.
11643         * net/tramp-smb.el (tramp-smb-server-version)
11644         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11645         New defconsts.
11646         (tramp-smb-prompt): Extend for powershell prompt.
11647         (tramp-smb-file-name-handler-alist): Add handlers for
11648         `process-file', `shell-command' and `start-file-process'.
11649         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11650         (tramp-smb-winexe-shell-command-switch): New defcustoms.
11651         (tramp-smb-file-name-p): Simplify.
11652         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11653         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11654         (tramp-smb-shell-quote-argument): New defuns.
11655         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11656         Implement using "tar".  By this, time-stamps are preserved.
11657         (tramp-smb-handle-copy-file): Handle also the case of directories.
11658         (tramp-smb-do-file-attributes-with-stat)
11659         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11660         Use `tramp-get-connection-buffer').
11661         (tramp-smb-handle-rename-file): Use "rename", when source and
11662         target are on the same share.
11663         (tramp-smb-maybe-open-connection): Handle wrong passwords.
11664         Use `tramp-smb-server-version'.
11665         (tramp-smb-wait-for-output): Remove prompt.
11667         * net/tramp.el (top): Require 'cl.
11668         (tramp-methods, tramp-rsh-end-of-line):
11669         Remove `tramp-password-end-of-line' from docstring.
11670         (tramp-save-ad-hoc-proxies): New defcustom.
11671         (tramp-completion-function-alist): Adapt docstring.
11672         (tramp-default-password-end-of-line): Remove defcustom.
11673         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
11674         (tramp-user-regexp, tramp-file-name-regexp-unified)
11675         (tramp-file-name-regexp-url): Extend regexp by hop separator.
11676         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11677         (tramp-remote-file-name-spec-regexp): New defconst.
11678         (tramp-file-name-structure): Extend structure for hops.
11679         (tramp-get-method-parameter): Move up.
11680         (tramp-file-name-p, tramp-dissect-file-name)
11681         (with-parsed-tramp-file-name): Handle hops.
11682         (tramp-file-name-hop): New defun.
11683         (tramp-make-tramp-file-name): New optional arg HOP.
11684         (tramp-message-show-progress-reporter-message): New defvar.
11685         (tramp-with-progress-reporter): Use it.  We cannot use
11686         `tramp-message-show-message' here, because this suppresses also
11687         error buffers.
11688         (tramp-error-with-buffer): Suppress buffer view, if
11689         `tramp-message-show-message' is nil.
11690         Use `tramp-get-connection-buffer'.
11691         (tramp-cleanup): New defun.
11692         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11693         (tramp-file-name-handler): If `debug-on-error' is set, propagate
11694         an error unchanged.
11695         (tramp-completion-handle-file-name-all-completions): Handle hops.
11696         Fix an error when called from ido.
11697         (tramp-completion-dissect-file-name): Use better local variable
11698         name.  Add hop to the vector.
11699         (tramp-handle-insert-file-contents): Use progress-reporter for the
11700         whole scenario.
11701         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11702         to `t'.
11703         (tramp-check-for-regexp): Simplify search.
11704         (tramp-enter-password): Remove it.  Move implementation ...
11705         (tramp-action-password): ... here.
11706         (tramp-mode-string-to-int, tramp-local-host-p)
11707         (tramp-make-tramp-temp-file, tramp-read-passwd)
11708         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11709         Set tramp-autoload cookie.
11711         * net/trampver.el: Update release number.
11713 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11714             Michael Albinus  <michael.albinus@gmx.de>
11716         * net/tramp.el (tramp-set-completion-function): Fix docstring.
11717         (tramp-parse-group, tramp-parse-file)
11718         (tramp-parse-shostkeys-sknownhosts): New defuns.
11719         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11720         (tramp-parse-shosts-group, tramp-parse-sconfig)
11721         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11722         (tramp-parse-sknownhosts, tramp-parse-hosts)
11723         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11724         Use them.
11725         (tramp-parse-passwd-group, tramp-parse-netrc-group)
11726         (tramp-parse-putty-group): Don't narrow.
11727         (tramp-parse-putty): Make a loop.
11728         (tramp-file-name-handler): Catch the `suppress' signal.
11730 2012-06-11  Chong Yidong  <cyd@gnu.org>
11732         * image.el (imagemagick-register-types): Put the ImageMagick entry
11733         at the end of image-type-file-name-regexps.
11735 2012-06-11  Johan BockgĂ¥rd  <bojohan@gnu.org>
11737         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11738         (pcase, pcase-let*, pcase-dolist): Use them.
11740 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11742         * emacs-lisp/pcase.el (pcase--let*): New function.
11743         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
11744         (pcase--expand): Use macroexp-let².
11746 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11748         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11749         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11750         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11751         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11752         * emacs-lisp/derived.el: Use pcase instead of `cl'.
11753         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11755 2012-06-10  Glenn Morris  <rgm@gnu.org>
11757         * mail/rmail.el (rmail-yank-current-message): Leave point at
11758         correct position.  (Bug#11660)
11760 2012-06-10  Chong Yidong  <cyd@gnu.org>
11762         * allout-widgets.el: Fix code header.
11764 2012-06-10  Chong Yidong  <cyd@gnu.org>
11766         * cus-edit.el (customize-changed-options-previous-release):
11767         Bump to 24.1.
11769 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
11771         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11773 2012-06-09  Chong Yidong  <cyd@gnu.org>
11775         * ebuff-menu.el (electric-buffer-list): Preserve header line.
11777 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
11779         * window.el (special-display-popup-frame): Don't use
11780         window--display-buffer (Bug#11651).
11782 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
11784         Fix parallel builds: make sure loaddefs.el is not being written
11785         while Lisp files are compiled.
11786         (compile): Don't depend on 'mh-autoloads'.
11787         (compile-CMD, compile-SH): Depend on 'autoloads'.
11788         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11790         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
11792 2012-06-09  Chong Yidong  <cyd@gnu.org>
11794         * face-remap.el (face-remap-add-relative, face-remap-set-base)
11795         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11796         Doc fixes (Bug#11225).
11798 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11800         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11801         a function if there's a clear indication that it has a compiler-macro.
11802         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11803         (macro-declarations-alist): Add arglist to declaration functions.
11804         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11805         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11806         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11807         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11808         Also add autoload to find the compiler macro.
11809         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11810         (cl--compiler-macro-member, cl--compiler-macro-assoc)
11811         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11812         (cl--compiler-macro-get): New functions, replacing calls to
11813         cl-define-compiler-macro.
11814         (cl-typep) [compiler-macro]: Use macroexp-let².
11816 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
11818         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11819         string properly, fixes Bug#11473.
11821 2012-06-08  Chong Yidong  <cyd@gnu.org>
11823         * faces.el (set-face-attribute): Doc fix.
11824         (modify-face): Don't use :bold and :italic.
11825         (error, warning, success): Tweak definitions.
11827         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11828         (custom-modified, custom-set, custom-changed, custom-themed)
11829         (custom-saved, custom-button, custom-button-mouse)
11830         (custom-button-pressed, custom-state, custom-comment-tag)
11831         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11832         (custom-group-subtitle): Use new-style face specs.
11833         (custom-invalid-face, custom-rogue-face, custom-modified-face)
11834         (custom-set-face, custom-changed-face, custom-saved-face)
11835         (custom-button-face, custom-button-pressed-face)
11836         (custom-documentation-face, custom-state-face)
11837         (custom-comment-face, custom-comment-tag-face)
11838         (custom-variable-tag-face, custom-variable-button-face)
11839         (custom-face-tag-face, custom-group-tag-face-1)
11840         (custom-group-tag-face): Remove obsolete face alias.
11842         * epa.el (epa-validity-high, epa-validity-medium)
11843         (epa-validity-low, epa-mark, epa-field-name, epa-string)
11844         (epa-field-name, epa-field-body):
11845         * font-lock.el (font-lock-comment-face, font-lock-string-face)
11846         (font-lock-keyword-face, font-lock-builtin-face)
11847         (font-lock-function-name-face, font-lock-variable-name-face)
11848         (font-lock-type-face, font-lock-constant-face):
11849         * ido.el (ido-first-match, ido-only-match, ido-subdir)
11850         (ido-virtual, ido-indicator, ido-incomplete-regexp):
11851         * speedbar.el (speedbar-button-face, speedbar-file-face)
11852         (speedbar-directory-face, speedbar-tag-face)
11853         (speedbar-selected-face, speedbar-highlight-face)
11854         (speedbar-separator-face):
11855         * whitespace.el (whitespace-newline, whitespace-space)
11856         (whitespace-hspace, whitespace-tab, whitespace-trailing)
11857         (whitespace-line, whitespace-space-before-tab)
11858         (whitespace-space-after-tab, whitespace-indentation)
11859         (whitespace-empty):
11860         * emulation/cua-base.el (cua-global-mark):
11861         * eshell/em-prompt.el (eshell-prompt):
11862         * net/newst-plainview.el (newsticker-new-item-face)
11863         (newsticker-old-item-face, newsticker-immortal-item-face)
11864         (newsticker-obsolete-item-face, newsticker-date-face)
11865         (newsticker-statistics-face, newsticker-default-face):
11866         * net/newst-reader.el (newsticker-feed-face)
11867         (newsticker-extra-face, newsticker-enclosure-face):
11868         * net/newst-treeview.el (newsticker-treeview-face)
11869         (newsticker-treeview-new-face, newsticker-treeview-old-face)
11870         (newsticker-treeview-immortal-face)
11871         (newsticker-treeview-obsolete-face)
11872         (newsticker-treeview-selection-face):
11873         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11874         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11875         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11876         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11877         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11878         (nxml-outline-active-indicator, nxml-outline-ellipsis):
11879         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11880         (mpuz-text):
11881         * progmodes/vera-mode.el (vera-font-lock-number)
11882         (vera-font-lock-function, vera-font-lock-interface):
11883         * textmodes/table.el (table-cell): Use new-style face specs, and
11884         don't use the old :bold and :italic attributes.
11886         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11887         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11888         (ebrowse-member-class, ebrowse-progress): Likewise.
11889         (ebrowse-tree-mark-face, ebrowse-root-class-face)
11890         (ebrowse-file-name-face, ebrowse-default-face)
11891         (ebrowse-member-attribute-face, ebrowse-member-class-face)
11892         (ebrowse-progress-face): Remove obsolete faces.
11894         * progmodes/flymake.el (flymake-errline, flymake-warnline):
11895         Inherit from error and warning faces respectively.
11897         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11898         Likewise.
11899         (flyspell-incorrect-face, flyspell-duplicate-face):
11900         Remove obsolete aliases.
11902 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
11904         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11905         Avoid infloop.
11907 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11909         * startup.el (argv, argi): Make lexically scoped.
11910         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11911         * emacs-lisp/cl-macs.el: Use lexical-binding.
11912         Rename cl-bind-* to cl--bind-*.
11913         * files.el: Don't require `cl' since it doesn't use it.
11914         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11916 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
11918         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11919         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11920         instead of calling external sort utility.
11921         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11923 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
11925         * descr-text.el (describe-char): Mention how to insert the
11926         character, if the current input method doesn't support it.
11927         See the discussion in this thread for the details:
11928         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11930 2012-06-08  Sam Steingold  <sds@gnu.org>
11932         * bindings.el (global-map): Bind XF86Forward to next-buffer and
11933         XF86Back to previous-buffer.
11934         (minibuffer-local-map): Bind them to next-history-element and
11935         previous-history-element respectively.
11936         * help-mode.el (help-mode-map): Bind them to help-go-forward and
11937         help-go-back respectively.
11938         * info.el (Info-mode-map): Bind them to Info-history-forward and
11939         Info-history-back respectively.
11940         These are the keys next to Up on the ThinkPad keyboard.
11942 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11944         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11945         * emacs-lisp/cl-macs.el: Provide itself.
11946         (cl--labels-convert-cache): New var.
11947         (cl--labels-convert): New function.
11948         (cl-flet, cl-labels): New implementation with new semantics, relying on
11949         lexical-binding.
11950         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11951         (cl-closure-vars, cl--function-convert-cache)
11952         (cl--function-convert): Move from cl-macs.el.
11953         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11954         rename by removing the "cl-" prefix.
11955         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11957 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11959         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11960         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11961         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11962         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11963         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11964         (cl-hash-table-count): Add old compatibility aliases.
11966         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11967         Use macroexpand-all-environment instead.
11968         (cl--old-macroexpand): New var.
11969         (cl--sm-macroexpand): New function.
11970         (cl-symbol-macrolet): Use it during macro expansion.
11971         (cl--function-convert-cache): New var.
11972         (cl--function-convert): New function, extracted from
11973         cl-macroexpand-all.
11974         (cl-lexical-let): Use it.
11976         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11977         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11978         (cl-member): Remove old alias.
11980         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11981         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11982         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11983         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11984         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11985         (cl-macroexpand-cmacs): Remove var.
11986         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11987         Use macroexpand-all instead.
11989 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11991         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11992         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11993         (macroexp-copyable-p): New functions and macros.
11994         * emacs-lisp/edebug.el (edebug-unwrap):
11995         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11996         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11997         (pcase--let*): Remove.
11998         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11999         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
12000         macroexp-const-p instead.
12001         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
12003         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
12004         instead of "cl-" for internal definitions.  Use macroexp-const-p.
12005         (cl-old-bc-file-form): Remove var.
12006         (cl-const-exprs-p): Remove fun.
12007         (cl-labels, cl-macrolet): Use backquote.
12008         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
12009         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
12010         (cl-define-setf-expander): Rename from cl-define-setf-method.
12011         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
12013         * international/mule-cmds.el: Don't require CL.
12014         (view-hello-file): Don't use `letf'.
12016 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12018         * tmm.el (tmm-prompt): Use string-prefix-p.
12019         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
12020         (tmm-add-prompt): Use minibuffer-completion-help.
12021         (tmm-delete-map): Remove.
12023         * subr.el (kbd): Make it its own function.
12025 2012-06-07  Stefan Merten  <smerten@oekonux.de>
12027         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
12028         Silence compiler warnings.  Fix versions.
12029         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
12030         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
12031         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
12032         (rst-package-emacs-version-alist): Correct Emacs version to
12033         represent major merge with upstream.
12034         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
12036 2012-06-06  Glenn Morris  <rgm@gnu.org>
12038         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
12039         Only print environment variables if set.
12041 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12043         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
12044         (macroexp--cons): Rename from maybe-cons.
12045         (macroexp--accumulate): Rename from macroexp-accumulate.
12046         (macroexp--all-forms): Rename from macroexpand-all-forms.
12047         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
12048         (macroexp--expand-all): Rename from macroexpand-all-1.
12050 2012-06-06  Sam Steingold  <sds@gnu.org>
12052         * calendar/calendar.el (calendar-in-read-only-buffer):
12053         Call `special-mode' to enable the standard read-only keybindings.
12055 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12057         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
12058         with "loading" messages (bug#11635).
12060 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
12062         * files.el (enable-remote-dir-locals): New option.
12063         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
12065         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
12066         Ensure, that the temp directory is local.
12068         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
12069         `temporary-file-directory'.
12071         * progmodes/python.el (python-send-region): Ensure, that the
12072         temporary file is created also in the remote case.
12074 2012-06-06  Glenn Morris  <rgm@gnu.org>
12076         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
12077         (vc-rcs-update-changelog): Use it.
12079         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
12081         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
12082         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
12083         (vc-sccs-diff): Replace use of the external vcdiff script.
12085 2012-06-05  Glenn Morris  <rgm@gnu.org>
12087         * ledit.el: Move to obsolete/.
12089 2012-06-05  Sam Steingold  <sds@gnu.org>
12091         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
12092         patch (Bug#11140).
12094 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12096         * emacs-lisp/cust-print.el: Move to obsolete.
12098         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
12099         compiler-macro expansion.
12101         Add native compiler-macro support.
12102         * emacs-lisp/macroexp.el (macroexpand-all-1):
12103         Support compiler-macros directly.  Properly follow aliases and apply
12104         the compiler macros more thoroughly.
12105         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
12106         macroexpand now properly follows aliases.
12107         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
12108         (cl-compiler-macroexpand): Use new prop.
12109         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
12111         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
12113 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
12115         * window.el (get-lru-window, get-mru-window, get-largest-window):
12116         New argument NOT-SELECTED to avoid picking the selected window.
12117         (window--display-buffer-1, window--display-buffer-2): Replace by
12118         new function window--display-buffer
12119         (display-buffer-same-window, display-buffer-reuse-window)
12120         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12121         Use window--display-buffer.
12122         (display-buffer-use-some-window): Remove temporary dedication
12123         hack by calling get-lru-window and get-largest-window with
12124         NOT-SELECTED argument non-nil.  Call window--display-buffer.
12126 2012-06-05  Glenn Morris  <rgm@gnu.org>
12128         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
12129         Replace external vcdiff script.
12131 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12133         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
12135 2012-06-04  Chong Yidong  <cyd@gnu.org>
12137         * image.el (imagemagick-types-inhibit): Revert last change.
12138         Add INFO and M.
12139         (imagemagick-enabled-types): Remove CIN and EPS*.
12141 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12143         * emacs-lisp/cl-lib.el: Rename from cl.el.
12144         * emacs-lisp/cl.el: New compatibility file.
12145         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
12146         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
12147         to obey the "cl-" prefix.
12148         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
12150 2012-06-03  Glenn Morris  <rgm@gnu.org>
12152         * emacs-lisp/authors.el (authors-aliases): Addition.
12154         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
12155         Fix :version.
12157 2012-06-03  Stefan Merten  <smerten@oekonux.de>
12159         * textmodes/rst.el: Add comments.
12160         (rst-transition, rst-adornment): New faces.
12161         (rst-adornment-faces-alist): Make default safe to reevaluate.
12162         Fixes
12163         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
12164         Improve customization tags.
12165         (rst-define-level-faces): Clarify meaning.
12167 2012-06-03  Chong Yidong  <cyd@gnu.org>
12169         * progmodes/compile.el (compilation-mode-line-fail)
12170         (compilation-mode-line-run, compilation-mode-line-exit):
12171         New faces.
12172         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
12174 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
12176         * progmodes/which-func.el (which-func-update-ediff-windows):
12177         New function.  Use it in ediff-select-hook (Bug#11478).
12179 2012-06-03  Chong Yidong  <cyd@gnu.org>
12181         * bindings.el: Remove explicit help text from format-mode-line.
12182         It is now supplied by mode-line-default-help-echo.
12183         (mode-line-front-space, mode-line-end-spaces)
12184         (mode-line-misc-info): New variables.
12185         (mode-line-modes, mode-line-position): Move the default value to
12186         the variable definition.
12187         (mode-line-default-help-echo): New defcustom.
12188         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
12189         (mode-line-modified-help-echo): New functions.
12190         (mode-line-mule-info, mode-line-modified): Use them.
12191         (mode-line-eol-desc, propertized-buffer-identification):
12192         Consistency fixes for help text.
12193         (mode-line-coding-system-map): Allow using mouse-3 to invoke
12194         set-buffer-file-coding-system (Bug#289).
12195         (mode-line-mule-info-help-echo): Update help text.
12197 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12199         * simple.el (execute-extended-command): Set real-this-command
12200         (bug#11506).
12202 2012-06-02  Chong Yidong  <cyd@gnu.org>
12204         Remove incorrect uses of "modeline" in comments, docstrings, and
12205         function/variable names (Bug#10329).
12207         * cus-edit.el (mode-line):
12208         * dframe.el (dframe-mouse-hscroll):
12209         * emacs-lisp/re-builder.el:
12210         * emacs-lisp/easy-mmode.el (define-minor-mode):
12211         * frame.el (set-frame-name):
12212         * help.el (lookup-minor-mode-from-indicator):
12213         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
12214         * progmodes/cc-cmds.el (c-toggle-auto-newline)
12215         (c-toggle-hungry-state):
12216         * progmodes/antlr-mode.el (antlr-language-alist):
12217         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
12218         * progmodes/vhdl-mode.el (vhdl-mode):
12219         * progmodes/which-func.el (which-func, which-func-cleanup-function):
12220         * term/ns-win.el (ns-face-at-pos):
12221         * term/sup-mouse.el (sup-mouse-report):
12222         * textmodes/flyspell.el (flyspell-mode-line-string):
12223         * textmodes/ispell.el (ispell-highlight-face):
12224         * textmodes/reftex-global.el:
12225         * vc/vc-arch.el (vc-arch-mode-line-string):
12226         * vc/vc-cvs.el (vc-cvs-mode-line-string):
12227         * vc/vc-git.el (vc-git-mode-line-string):
12228         * vc/vc-hooks.el (vc-display-status)
12229         (vc-default-mode-line-string):
12230         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
12232         * ansi-color.el (ansi-color-faces-vector): Change default faces.
12234         * dired.el (dired-sort-set-mode-line): Rename from
12235         dired-sort-set-modeline.  All callers changed.
12237         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
12238         eshell-status-in-modeline.
12240         * foldout.el (foldout-mode-line-string): Rename from
12241         foldout-modeline-string.  All callers changed.
12242         (foldout-update-mode-line): Rename from foldout-update-modeline.
12244         * subr.el (redraw-modeline): Make into obsolete alias.
12246         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
12247         timeclock-modeline-display.  Make old name an alias.
12248         (timeclock-update-mode-line): Likewise.  All callers changed.
12249         (timeclock-mode-line-display): No need to check before using
12250         add-hook.
12251         (timeclock-relative, timeclock-day-over-hook)
12252         (timeclock-use-elapsed, timeclock-mode-string)
12253         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
12255         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
12256         crisp-mode-modeline-string.
12258         * play/solitaire.el (solitaire-build-mode-line): Rename from
12259         solitaire-build-modeline.  All callers changed.
12261         * play/zone.el (zone-hiding-mode-line): Rename from
12262         zone-hiding-modeline.  All callers changed.
12263         (zone): Remove unusued `modeline-hidden-level' property.
12265         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
12266         xscheme-modeline-initialize.  All callers changed.
12268         * strokes.el (strokes-lighter): Rename from
12269         strokes-modeline-string.
12271         * textmodes/sgml-mode.el (html-face-tag-alist)
12272         (html-tag-face-alist): Use mode-line face instead of obsolete
12273         alias modeline.
12275 2012-06-02  Stefan Merten  <smerten@oekonux.de>
12277         * textmodes/rst.el: Always require `cl'.
12278         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
12280 2012-06-02  Chong Yidong  <cyd@gnu.org>
12282         * image.el (imagemagick-enabled-types): Rename from
12283         imagemagick-types-enable.  Add many more types.
12284         (imagemagick-types-inhibit): Change default to nil.
12285         (imagemagick-filter-types): Caller changed.
12287 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12289         * emacs-lisp/cl-macs.el: Use backquotes.
12290         (cl-transform-function-property): Use eval-and-compile rather than
12291         abusing `require'.
12292         (defstruct): Use declare-function instead of with-no-warnings.
12294         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
12295         (byte-compile-output-docform): Re-add the print-circle bindings.
12296         (byte-compile-fix-header): Use #$ just because it's shorter.
12297         (byte-compile-output-file-form): Remove defun/defmacro.
12299 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
12301         * simple.el (choose-completion): Remove now obsolete binding for
12302         owindow.
12304 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
12306         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
12307         in order to avoid "Stack overflow in regexp matcher".
12309 2012-05-31  Glenn Morris  <rgm@gnu.org>
12311         * image.el: For clarity, call imagemagick-register-types at
12312         top-level, rather than relying on a custom :initialize.
12313         (imagemagick-types-enable): New option.  (Bug#11557)
12314         (imagemagick-filter-types): New function.  (Bug#7406)
12315         (imagemagick-register-types): Use imagemagick-filter-types.
12316         If disabling support, remove elements altogether rather
12317         than using an impossible regexp.
12318         (imagemagick-types-inhibit): Give it the default init function.
12320 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12322         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
12323         Handle arbitrary file name lengths (Bug#11585).
12325 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
12327         * desktop.el (desktop-read): Clear previous and next buffers for
12328         all windows and bury *Messages* buffer (bug#11556).
12330 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12332         Add `declare' for `defun'.  Align `defmacro's with it.
12333         * emacs-lisp/easy-mmode.el (define-minor-mode)
12334         (define-globalized-minor-mode): Don't autoload the var definitions.
12335         * emacs-lisp/byte-run.el: Use lexical-binding.
12336         (defun-declarations-alist, macro-declarations-alist): New vars.
12337         (defmacro, defun): Use them.
12338         (make-obsolete, define-obsolete-function-alias)
12339         (make-obsolete-variable, define-obsolete-variable-alias):
12340         Use `declare'.
12341         (macro-declaration-function): Mark obsolete.
12342         * emacs-lisp/autoload.el: Use lexical-binding.
12343         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
12345 2012-05-30  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
12347         * textmodes/ispell.el (ispell-with-no-warnings):
12348         Define as a macro.
12349         (ispell-kill-ispell, ispell-change-dictionary):
12350         Use `called-interactively-p' for Emacs instead of obsolete
12351         `interactive-p'.
12353 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12355         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
12356         (macro-declaration-function): Move var from C code.
12357         (macro-declaration-function): Define function with defalias.
12358         * emacs-lisp/macroexp.el (macroexpand-all-1):
12359         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
12360         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
12361         defun/defmacro any more.
12362         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
12363         Provide fallback for unknown arglist.
12364         (byte-compile-arglist-warn): Change calling convention.
12365         (byte-compile-output-file-form): Move print-vars binding.
12366         (byte-compile-output-docform): Simplify accordingly.
12367         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
12368         (byte-compile-defmacro-declaration): Remove.
12369         (byte-compile-file-form-defmumble): Generalize to defalias.
12370         (byte-compile-output-as-comment): Return byte-positions.
12371         Simplify callers accordingly.
12372         (byte-compile-lambda): Use `assert'.
12373         (byte-compile-defun, byte-compile-defmacro): Remove.
12374         (byte-compile-file-form-defalias):
12375         Use byte-compile-file-form-defmumble.
12376         (byte-compile-defalias-warn): Remove.
12378 2012-05-29  Stefan Merten  <smerten@oekonux.de>
12380         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
12381         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
12383         (rst-mode-abbrev-table): Merge definition.
12384         (rst-mode): Make sure `font-lock-defaults' is buffer local.
12385         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
12387 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
12389         * calendar/icalendar.el
12390         (icalendar-export-region): Export UID properly.
12392 2012-05-29  Leo Liu  <sdl.web@gmail.com>
12393         * calendar/icalendar.el (icalendar-import-format):
12394         Add `icalendar-import-format-uid' (Bug#11525).
12395         (icalendar-import-format-uid): New.
12396         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
12397         Export UID.
12399 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12401         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
12402         different alternative patterns.
12403         (pcase-codegen): Be more careful to preserve identity.
12404         (pcase--u1): Don't forget to mark vars as used.
12406         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
12407         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
12408         (byte-compile-from-buffer): ...rather than here.
12410         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
12411         functions from byte-compile-function-environment.
12413 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
12415         * window.el (window-deletable-p): Avoid deleting the root window
12416         of a frame with an active minibuffer.
12418 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
12420         * simple.el (choose-completion): Use quit-window (Bug#11567).
12422 2012-05-29  Chong Yidong  <cyd@gnu.org>
12424         * whitespace.el (whitespace-cleanup): Fix usage of
12425         whitespace-empty-at-bob-regexp (Bug#11492).
12427 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
12429         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12430         revert (Bug#11488).
12432 2012-05-29  Juri Linkov  <juri@jurta.org>
12434         * isearch.el (isearch-mode-map): Bind `M-s _' to
12435         `isearch-toggle-symbol'.  Bind `M-s c' to
12436         `isearch-toggle-case-fold'.
12437         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12438         (isearch-forward): Add `M-s _' to the docstring.
12439         (isearch-forward-symbol, isearch-toggle-case-fold)
12440         (isearch-symbol-regexp): New functions.  (Bug#11381)
12442 2012-05-29  Juri Linkov  <juri@jurta.org>
12444         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
12445         (isearch-occur, isearch-search-and-update): If `isearch-word' is
12446         a function, call it to get the regexp.
12447         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12448         property `isearch-message-prefix' instead of the string "word ".
12449         (isearch-search-fun-default): For the case of `isearch-word',
12450         return a lambda that calls re-search-forward/re-search-backward
12451         with a regexp returned by `word-search-regexp' or by the function
12452         in `isearch-word'.
12454 2012-05-29  Juri Linkov  <juri@jurta.org>
12456         * isearch.el (isearch-search-fun-default): New function.
12457         (isearch-search-fun): Move default part to the new function
12458         `isearch-search-fun-default'.
12459         (isearch-search-fun-function): Set the default value to
12460         `isearch-search-fun-default'.  (Bug#11381)
12462         * comint.el (comint-history-isearch-end):
12463         Use `isearch-search-fun-default'.
12464         (comint-history-isearch-search): Use `isearch-search-fun-default'
12465         and remove spacial case for `isearch-word'.
12466         (comint-history-isearch-wrap): Remove spacial case for
12467         `isearch-word'.
12469         * hexl.el (hexl-isearch-search-function):
12470         Use `isearch-search-fun-default'.
12472         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12473         Use `word-search-regexp' for `isearch-word'.
12475         * misearch.el (multi-isearch-search-fun):
12476         Use `isearch-search-fun-default'.
12478         * simple.el (minibuffer-history-isearch-search):
12479         Use `isearch-search-fun-default' and remove spacial case for
12480         `isearch-word'.
12481         (minibuffer-history-isearch-wrap): Remove spacial case for
12482         `isearch-word'.
12484         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12485         Remove spacial case for `isearch-word'.
12486         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12488 2012-05-28  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
12490         Decrease XEmacs incompatibilities.
12491         * textmodes/flyspell.el (flyspell-check-pre-word-p):
12492         Use `string-match'.
12493         (flyspell-delete-region-overlays): Use alternative definition for
12494         XEmacs.
12495         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12496         (flyspell-word): Use `process-kill-without-query' if XEmacs.
12497         (flyspell-mode-on): Use `interactive-p' if XEmacs.
12498         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12499         `define-obsolete-face-alias' under XEmacs, but old method.
12501         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12502         `with-no-warnings' definition or Emacs alias.
12503         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12504         (ispell-word): Do not use `region-p' if XEmacs.
12506 2012-05-28  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
12508         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12509         Check for `ispell-dictionary-base-alist' instead of full
12510         `ispell-dictionary-alist'.
12511         (ispell-init-process): Show spellchecker when starting new Ispell
12512         process.
12514 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12516         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12517         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12519 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
12521         * version.el (motif-version-string, gtk-version-string)
12522         (ns-version-string): Declare.
12524 2012-05-27  Juri Linkov  <juri@jurta.org>
12526         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12527         after the `eval-defun-1' specialcaseing
12528         like in `edebug-eval-defun' (bug#10181).
12530         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12531         like in `eval-defun-1'.
12533 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
12535         * mail/sendmail.el (mail-yank-region):
12536         Recognize rmail-yank-current-message in addition to insert-buffer.
12537         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12538         a *mail* buffer created through rmail-start-mail with sendmail as
12539         mail-user-agent.
12541 2012-05-27  Chong Yidong  <cyd@gnu.org>
12543         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12544         Default to 256 (Bug#11267).
12546         * help.el (describe-mode): Doc fix.
12548 2012-05-26  Glenn Morris  <rgm@gnu.org>
12550         * w32-fns.el (w32-init-info): Remove.
12551         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12553         * info.el (info-initialize): For self-contained NS builds, put the
12554         included info/ directory at the front.  (Bug#2791)
12556         * paths.el (Info-default-directory-list): Make it a defcustom,
12557         mainly so that we can use custom-initialize-delay.
12559 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12561         * subr.el (buffer-has-markers-at): Mark obsolete.
12563         * subr.el (lambda): Use declare.
12565         * emacs-lisp/lisp-mode.el (lambda):
12566         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12568 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
12570         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
12572 2012-05-26  Glenn Morris  <rgm@gnu.org>
12574         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12576 2012-05-25  Glenn Morris  <rgm@gnu.org>
12578         * paths.el: Remove no-byte-compile.
12579         * loadup.el: No need to load paths.el uncompiled.
12581         * image.el (imagemagick-types-inhibit): Doc fix.
12583         * version.el: Remove no-byte-compile and associated formatting.
12584         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
12585         is ancient code from when there was an "inc-vers.el".
12587 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12589         * progmodes/gdb-mi.el: Minor style changes.
12590         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12591         Turn into minor modes.
12592         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12593         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12594         (gdb-shell): Remove unneeded let-binding.
12595         (gdb-get-many-fields): Eliminate O(n²) behavior.
12597 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
12599         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12600         platforms that don't link in fontset.c.
12602 2012-05-25  Juri Linkov  <juri@jurta.org>
12604         Use the same diff color scheme as in modern VCSes (bug#10181).
12606         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12607         to avoid confusion with `diff-added' that now uses green colors.
12608         (diff-removed): Use shades of red.
12609         (diff-added): Use shades of green.
12610         (diff-changed): Leave just the yellow color.
12611         (diff-use-changed-face): New variable.
12612         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12613         how to highlight context diff changes.
12614         (diff-refine-change): Use shades of yellow.
12615         (diff-refine-removed): New face that uses shades of red.
12616         (diff-refine-added): New face that uses shades of green.
12617         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12618         `diff-refine-removed' in the call to `smerge-refine-subst'
12619         depending on the value of `diff-use-changed-face'.
12621         * vc/smerge-mode.el (smerge-mine): Use shades of red.
12622         (smerge-other): Use shades of green.
12623         (smerge-base): Use shades of yellow.
12624         (smerge-refined-change): Empty face.
12625         (smerge-refined-removed): New face that uses shades of red.
12626         (smerge-refined-added): New face that uses shades of green.
12627         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
12628         args `props-r' and `props-a', and use them.  Doc fix.
12629         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12630         on its value use different faces `smerge-refined-change',
12631         `smerge-refined-removed', `smerge-refined-added' in the call to
12632         `smerge-refine-subst'.
12634         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12635         Add face condition `min-colors 88' with shades of red.
12636         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12637         `min-colors 88' with shades of green.
12638         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12639         `min-colors 88' with shades of yellow.
12641 2012-05-24  Glenn Morris  <rgm@gnu.org>
12643         * paths.el (prune-directory-list, remote-shell-program): Move to...
12644         * files.el (prune-directory-list, remote-shell-program): ...here.
12645         For the latter, delay initialization, prefer ssh, just search PATH.
12647         * paths.el (term-file-prefix): Move to faces.el (the only user).
12648         * faces.el (term-file-prefix): Move here, make it a defcustom.
12650         * paths.el (news-directory, news-path, news-inews-program):
12651         Move to gnus/nnspool.el.
12653         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12655         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12656         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12657         Make the latter a defcustom, with a delayed initialization.
12659         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12660         These were deleted from Gnus itself late 2010.
12662 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
12664         * progmodes/which-func.el (which-func-ff-hook):
12665         Check against user-error, not error.
12667         * emacs-lisp/edebug.el (top): Do not load or set up loading of
12668         cl-specs.el, which no longer exists.
12670 2012-05-22  Glenn Morris  <rgm@gnu.org>
12672         * info.el (info-emacs-bug): New command.
12673         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12674         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12676 2012-05-21  Glenn Morris  <rgm@gnu.org>
12678         * makefile.w32-in (update-subdirs-SH):
12679         * Makefile.in (update-subdirs): Update for moved update-subdirs.
12681 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12683         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12685         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12686         Simplify Maven regexp, and make sure the file can't start with a space
12687         (bug#11517).
12689 2012-05-21  Glenn Morris  <rgm@gnu.org>
12691         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12692         Scrap superfluous subshells.
12694 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12696         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12697         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12699 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
12701         * calc/calc.el (calc-ensure-consistent-units): New variable.
12703         * calc/calc-units.el (math-consistent-units-p)
12704         (math-check-unit-consistency): New functions.
12705         (calc-quick-units, calc-convert-units):
12706         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12707         is non-nil.
12708         (calc-extract-units): Fix typo.
12710 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12712         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12714         * textmodes/flyspell.el: Commenting style, plus code simplifications.
12715         (flyspell-default-deplacement-commands): Don't spell check after
12716         repeated window/frame switches (e.g. triggered by mouse-movement).
12717         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12718         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12719         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12720         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12721         Remove unused vars.
12722         (flyspell-get-casechars, flyspell-get-not-casechars):
12723         Simplify; Don't bother removing a ] just to add it back.
12724         * textmodes/ispell.el (ispell-program-name): Use executable-find.
12726 2012-05-18  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
12728         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12729         New functions.
12730         (math-function-table): Add support for more C functions.
12732 2012-05-18  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
12734         * textmodes/flyspell.el (flyspell-check-pre-word-p)
12735         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12736         Protect delay handling for otherchars against empty otherchars.
12738 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12740         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12741         their respective macro declarations.
12742         * skeleton.el (define-skeleton):
12743         * progmodes/compile.el (define-compilation-mode):
12744         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12745         (define-ibuffer-filter):
12746         * emacs-lisp/generic.el (define-generic-mode):
12747         * emacs-lisp/easy-mmode.el (define-minor-mode)
12748         (define-globalized-minor-mode):
12749         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12750         * emacs-lisp/byte-run.el (defsubst):
12751         * custom.el (deftheme): Add doc-string metadata.
12753 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12755         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12757 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12759         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12761         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12762         * emacs-lisp/cl-macs.el: Idem.
12763         * emacs-lisp/cl-specs.el: Remove.
12765 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12767         Minor renaming of internal CL functions and variables.
12768         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12769         (cl--position): Rename from cl-position.
12770         (cl--delete-duplicates): Rename from cl-delete-duplicates.
12771         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12772         (cl--random-state): Rename from *random-state*.
12774 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12776         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12777         parens around the arg list (bug#11499).
12779 2012-05-17  Juri Linkov  <juri@jurta.org>
12781         * isearch.el (word-search-regexp, word-search-backward)
12782         (word-search-forward, word-search-backward-lax)
12783         (word-search-forward-lax): Move functions from search.c
12784         (bug#10145, bug#11381).
12786 2012-05-16  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
12788         * textmodes/flyspell.el (flyspell-check-pre-word-p)
12789         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12790         Delay for otherchars as for normal word components.
12792 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12794         * minibuffer.el (completion--sifn-requote): Fix last change.
12795         (minibuffer-local-must-match-filename-map):
12796         Move define-obsolete-variable-alias before its var.
12798 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12800         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12802         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12803         behavior.
12804         (completion--string-equal-p): New function.
12805         (completion--twq-all): Use it to get better assertion failure data.
12807         Only handle ".." and '..' quoting in shell-mode (bug#11466).
12808         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12809         (shell--requote-argument): New functions.
12810         (shell-completion-vars): Use them.
12811         (shell--parse-pcomplete-arguments): Rename from
12812         shell-parse-pcomplete-arguments.
12813         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
12814         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12815         Obey comint-file-name-quote-list.
12817         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12818         (smie-indent-keyword): Use it.
12820 2012-05-14  Stefan Merten  <smerten@oekonux.de>
12822         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12824 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12826         * net/rlogin.el (rlogin-mode-map): Fix last change.
12828 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
12830         * mail/smtpmail.el (smtpmail-send-command): Send the command and
12831         the following \r\n using a single `process-send-string', since the
12832         Lotus SMTP server refuses to accept any commands if they are sent
12833         with two `process-send-string's (Bug#11444).
12835 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12837         * shell.el (shell-parse-pcomplete-arguments):
12838         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12840 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
12842         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12843         (image-transform-scale, image-transform-right-angle-fudge): New vars.
12844         (image-transform-width, image-transform-fit-width): New functions.
12845         (image-transform-properties): Use them.
12846         (image-transform-check-size): New function.
12847         (image-toggle-display-image): Use it (for testing).
12848         (image-transform-set-rotation): Reduce angle mod 360.
12849         Delete obsolete comment.
12851 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
12853         * image-mode.el: Fix scaling (bug#11399).
12854         (image-transform-resize): Doc fix.
12855         (image-transform-properties): Default scale is 1 and height should
12856         be an integer.
12858 2012-05-13  Johan BockgĂ¥rd  <bojohan@gnu.org>
12860         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12861         than hard-coding `car', to fix misbehavior when moving forward.
12863 2012-05-13  Chong Yidong  <cyd@gnu.org>
12865         * emacs-lisp/tabulated-list.el (tabulated-list-format)
12866         (tabulated-list-entries, tabulated-list-padding)
12867         (tabulated-list-sort-key): Make permanent-local.
12869         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12870         (electric-buffer-list): Put electric buffer menu
12871         command descriptions in this docstring, instead of the docstring
12872         of electric-buffer-menu-mode.  Code cleanups.
12873         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
12874         Electric-buffer-menu-mode.
12875         (electric-buffer-update-highlight): Minor code cleanup.
12877 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
12879         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12880         (Bug#11447)
12882 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12884         Move define-obsolete-variable-alias before the var's definition.
12885         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12886         * tooltip.el (tooltip-hook):
12887         * textmodes/reftex-toc.el (reftex-toc-map):
12888         * textmodes/reftex-sel.el (reftex-select-label-map)
12889         (reftex-select-bib-map):
12890         * textmodes/reftex-index.el (reftex-index-map)
12891         (reftex-index-phrases-map):
12892         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12893         * progmodes/meta-mode.el (meta-mode-map):
12894         * novice.el (disabled-command-hook):
12895         * loadhist.el (unload-hook-features-list):
12896         * frame.el (blink-cursor):
12897         * files.el (find-file-not-found-hooks, write-file-hooks)
12898         (write-contents-hooks):
12899         * emulation/tpu-edt.el (GOLD-map):
12900         * emacs-lock.el (emacs-lock-from-exiting):
12901         * emacs-lisp/generic.el (generic-font-lock-defaults):
12902         * emacs-lisp/chart.el (chart-map):
12903         * dos-fns.el (register-name-alist):
12904         * dired-x.el (dired-omit-files-p):
12905         * desktop.el (desktop-enable):
12906         * cus-edit.el (custom-mode-hook):
12907         * buff-menu.el (buffer-menu-mode-hook):
12908         * bookmark.el (bookmark-read-annotation-text-func)
12909         (bookmark-exit-hooks):
12910         * allout.el (allout-mode-deactivate-hook)
12911         (allout-exposure-change-hook, allout-structure-added-hook)
12912         (allout-structure-deleted-hook, allout-structure-shifted-hook):
12913         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12914         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12915         comes before the corresponding variable's definition.
12917 2012-05-12  Chong Yidong  <cyd@gnu.org>
12919         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12920         (Buffer-menu-mouse-select): Restore function (Bug#11459).
12921         (Buffer-menu-mode-map): Bind it.
12922         (Buffer-menu--pretty-name): Add a mouse-face property.
12924 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12926         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
12927         (prolog-upper-case-string, prolog-lower-case-string)
12928         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12929         (prolog-use-smie, prolog-smie-grammar): New vars.
12930         (prolog-smie-forward-token, prolog-smie-backward-token)
12931         (prolog-smie-rules): New funs.
12932         (prolog-comment-indent): Remove.
12933         (prolog-mode-variables): Use default comment indentation instead.
12934         Setup SMIE.
12935         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12936         (prolog-mode): Don't call them any more.
12937         (prolog-electric-colon, prolog-electric-dash)
12938         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12940         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12942         * minibuffer.el (completion--twq-all): Again, allow case differences.
12944         * term.el: Move keymap initialization code to be more idiomatic.
12945         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12946         (term-terminal-menu): Move initialization into declaration.
12947         (term-escape-char): Let the user set it in her .emacs.
12949         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12950         Provide SMIE-based indentation (not enabled by default yet).
12951         (sh-mode-map): Don't bind electric keys.
12952         Use electric-pair-mode instead of skeleton-pair.
12953         (sh-assignment-regexp): Fit within 80 columns.
12954         (sh-indent-supported): Specify actual shell name instead of boolean.
12955         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12956         (sh-maybe-here-document): Use it.  Make obsolete.
12957         (sh-electric-here-document-mode) New minor mode.
12958         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
12959         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12960         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12961         (sh-smie-rc-grammar, sh-use-smie): New vars.
12962         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12963         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12964         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12965         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12966         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12967         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12968         (sh-set-shell): Use smie-setup if requested.
12970         * term.el (term-set-escape-char): Properly set term-escape-char.
12971         See http://stackoverflow.com/questions/10524656.
12973 2012-05-10  Chong Yidong  <cyd@gnu.org>
12975         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12976         Use url-generic-parse-url, and handle host names and Windows
12977         filenames properly.
12978         (ffap-url-unwrap-remote): Use url-generic-parse-url.
12979         (ffap-url-unwrap-remote): Accept list values, specifying a list of
12980         URL schemes to work on.
12981         (ffap--toggle-read-only): New function.
12982         (ffap-read-only, ffap-read-only-other-window)
12983         (ffap-read-only-other-frame): Use it.
12984         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12985         necessary for ffap-url-unwrap-remote.
12987 2012-05-10  Dave Abrahams  <dave@boostpro.com>
12989         * cus-start.el (create-lockfiles): Add it.
12991 2012-05-09  Chong Yidong  <cyd@gnu.org>
12993         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12994         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12996 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12998         * shell.el (shell-completion-vars): Fix last change (bug#11348).
13000 2012-05-09  Chong Yidong  <cyd@gnu.org>
13002         * ansi-color.el (ansi-color-process-output): Check for validity of
13003         comint-last-output-start before using it.  This avoids a bad
13004         interaction with gdb-mi's input/output buffer.
13006 2012-05-09  Glenn Morris  <rgm@gnu.org>
13008         * files.el (dir-locals-read-from-file):
13009         Mention dir-locals in any error message.
13011 2012-05-09  Chong Yidong  <cyd@gnu.org>
13013         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
13014         package (Bug#11410).
13016         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
13017         variables into description.
13019 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13021         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
13022         shell-delimiter-argument-list (bug#11348).
13023         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
13025 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
13027         * textmodes/rst.el: Silence byte-compiler warnings.
13028         (rst-re-alist, rst-reset-section-caches): Move around.
13029         (rst-re): Use `characterp', not `char-valid-p'.
13030         (font-lock-beg, font-lock-end): Declare.
13032         * progmodes/idlw-shell.el (specs): Remove reference to deleted
13033         variable `idlwave-shell-activate-alt-keybindings' and simplify.
13035         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
13037 2012-05-08  Glenn Morris  <rgm@gnu.org>
13039         * files.el (auto-mode-alist): Treat ".make" like ".mk".
13041 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13043         * vc/log-edit.el: Add GNU coding standards highlighting.
13044         (log-edit-font-lock-gnu-style)
13045         (log-edit-font-lock-gnu-keywords): New vars.
13046         (log-edit-font-lock-keywords): New fun.
13047         (log-edit-mode): Don't fold case in font-lock.
13048         (log-edit-font-lock-keywords): Do not assume case-folding.
13050         * imenu.el: Misc cleanup.  Make docstrings out of comments.
13051         Use lexical-binding.
13052         (imenu--index-alist, imenu--last-menubar-index-alist)
13053         (imenu-menubar-modified-tick): Use defvar-local.
13054         (imenu--split-menu): Remove unused var.
13055         (imenu--cleanup-seen): Declare as global.
13056         (imenu--cleanup): Use dolist.
13058         * subr.el (defvar-local): Add debug spec and doc-string position.
13060 2012-05-08  Glenn Morris  <rgm@gnu.org>
13062         * language/burmese.el, language/cham.el, language/czech.el:
13063         * language/english.el, language/georgian.el, language/greek.el:
13064         * language/japanese.el, language/khmer.el, language/korean.el:
13065         * language/lao.el, language/misc-lang.el, language/romanian.el:
13066         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
13067         * language/thai.el, language/utf-8-lang.el:
13068         Remove no-byte-compile setting.
13070         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
13072 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
13074         * progmodes/make-mode.el (makefile-browse):
13075         Remove unnecessary interactive.  (Bug#11324)
13077 2012-05-07  Glenn Morris  <rgm@gnu.org>
13079         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
13081         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
13083 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13085         * loadup.el: Preload newcomment.el.
13086         * newcomment.el: Move autoload-only code to toplevel.
13088         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
13089         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
13090         Handle new :right-align column property.
13091         (tabulated-list-print-col): Idem, plus use `display' text-property to
13092         try and preserve alignment for variable pitch fonts.
13094 2012-05-07  Chong Yidong  <cyd@gnu.org>
13096         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
13097         (tabulated-list-use-header-line): New var.
13098         (tabulated-list-init-header): Use it.
13099         (tabulated-list-print-fake-header): New function.
13100         (tabulated-list-print): Use it.
13101         (tabulated-list-sort-button-map): Add non-header-line commands.
13102         (tabulated-list-init-header): Add column name property to basic
13103         labels as well.
13104         (tabulated-list-col-sort): Handle non-header-line button case.
13105         (tabulated-list--sort-by-column-name): Fix a corner case.
13107         * buff-menu.el (list-buffers--refresh):
13108         Handle Buffer-menu-use-header-line.
13110 2012-05-06  Chong Yidong  <cyd@gnu.org>
13112         * buff-menu.el: Convert to Tabulated List mode.
13113         (Buffer-menu-buffer+size-width): Make obsolete.
13114         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
13115         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
13116         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
13117         documentation into docstring of buffer-menu.
13118         (Buffer-menu-toggle-files-only): Add an informative message.
13119         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
13120         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
13121         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
13122         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
13123         (Buffer-menu-execute, Buffer-menu-select)
13124         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
13125         (Buffer-menu-bury): Use Tabulated List machinery.
13126         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
13127         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
13128         Delete.
13129         (list-buffers--refresh): New function.
13130         (list-buffers-noselect): Use it.
13131         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
13132         (Buffer-menu--pretty-file-name): New helper functions.
13134         * loadup.el: Preload tabulated-list.
13136         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
13137         tabulated-list-sort-column.
13138         (tabulated-list-init-header): Add the initial aligning space even
13139         if tabulated-list-padding is zero.
13141 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
13143         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
13144         whose cdr is not a cons cell correctly (bug#11038).
13146 2012-05-06  Chong Yidong  <cyd@gnu.org>
13148         * emacs-lisp/tabulated-list.el (tabulated-list-format):
13149         Accept additional plist in column descriptors.
13150         (tabulated-list-init-header): Obey it.
13151         (tabulated-list-get-entry): New function.
13152         (tabulated-list-put-tag): Use it.  Use string-width instead of
13153         length.
13154         (tabulated-list--column-number): New function.
13155         (tabulated-list-print): Use it.
13156         (tabulated-list-print-col): New function.
13157         Set `tabulated-list-column-name' property on each column's text.
13158         (tabulated-list-print-entry): Use it.
13159         (tabulated-list-delete-entry, tabulated-list-set-col):
13160         New functions.
13161         (tabulated-list-sort-column): New command (Bug#11337).
13163         * buff-menu.el (list-buffers): Move C-x C-b binding from
13164         buff-menu.el to bindings.el.
13166         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
13167         :advertised-binding feature.
13169 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
13171         * progmodes/compile.el (compilation-internal-error-properties):
13172         Calculate start position correctly when end-col is set but
13173         end-line is not (Bug#11382).
13175 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
13177         * man.el (Man-unindent): Use text-property-default-nonsticky to
13178         prevent untabify from inheriting face properties (Bug#11408).
13180 2012-05-05  Stefan Merten  <smerten@oekonux.de>
13182         * textmodes/rst.el: Major merge with upstream development up to
13183         Docutils SVN r7399 / rst.el V1.2.1.
13185         Clarify maintainership and authors.
13187         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
13188         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
13189         (rst-official-version, rst-official-cvs-rev, rst-version)
13190         (rst-package-emacs-version-alist): New functions and variables
13191         for version information.
13193         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
13194         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
13195         (rst-mode-syntax-table, rst-mode): New and corrected functions
13196         and variables representing reStructuredText features.
13198         (rst-re): New function for reStructuredText regexes.  Use in
13199         many places.
13201         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
13202         (rst-mode-map): Rebind keys.
13204         (rst-mode-lazy, rst-font-lock-keywords)
13205         (rst-font-lock-extend-region)
13206         (rst-font-lock-extend-region-internal)
13207         (rst-font-lock-extend-region-extend)
13208         (rst-font-lock-find-unindented-line-limit)
13209         (rst-font-lock-find-unindented-line-match)
13210         (rst-adornment-level, rst-font-lock-adornment-level)
13211         (rst-font-lock-adornment-match)
13212         (rst-font-lock-handle-adornment-pre-match-form)
13213         (rst-font-lock-handle-adornment-matcher): Major revision of
13214         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
13216         (rst-preferred-adornments, rst-adjust-hook)
13217         (rst-new-adornment-down, rst-preferred-bullets)
13218         (rst-preferred-bullets, rst-indent, rst-indent-width)
13219         (rst-indent-field, rst-indent-literal-normal)
13220         (rst-indent-literal-minimized, rst-indent-comment): Change,
13221         extend and improve customization.
13223         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
13224         (rst-normalize-cursor-position, rst-get-decoration)
13225         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
13226         (rst-rstrip, rst-toc-insert-find-delete-contents)
13227         (rst-shift-fill-region, rst-compute-bullet-tabs)
13228         (rst-debug-print-tabs, rst-debug-mark-found)
13229         (rst-shift-region-guts, rst-shift-region-right)
13230         (rst-shift-region-left, rst-use-char-classes)
13231         (rst-font-lock-keywords-function)
13232         (rst-font-lock-indentation-point)
13233         (rst-font-lock-find-unindented-line-begin)
13234         (rst-font-lock-find-unindented-line-end)
13235         (rst-font-lock-find-unindented-line)
13236         (rst-font-lock-adornment-point, rst-font-lock-level)
13237         (rst-adornment-level-alist): Remove functions and variables.
13239         (rst-compare-adornments, rst-get-adornment-match)
13240         (rst-suggest-new-adornment, rst-get-adornments-around)
13241         (rst-adornment-complete-p, rst-get-next-adornment)
13242         (rst-adjust-adornment, rst-display-adornments-hierarchy)
13243         (rst-straighten-adornments): Standardize function names to
13244         use "adornment" instead of "decoration".  Correct callers.
13245         Similar standardizing in many places.
13247         (rst-update-section, rst-adjust, rst-promote-region)
13248         (rst-enumerate-region, rst-bullet-list-region)
13249         (rst-repeat-last-character): Correct use of `interactive'.
13251         (rst-classify-adornment, rst-find-all-adornments)
13252         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
13253         (rst-find-leftmost-column, rst-repeat-last-character):
13254         Refactor functions.
13256         (rst-find-title-line, rst-reset-section-caches)
13257         (rst-get-adornments-around, rst-adjust-adornment-work)
13258         (rst-arabic-to-roman, rst-roman-to-arabic)
13259         (rst-insert-list-pos, rst-insert-list-new-item)
13260         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
13261         New functions.
13263         (rst-all-sections, rst-section-hierarchy)
13264         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
13265         New variables.
13267         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
13268         configuration instead of only buffer.  Change where necessary.
13270         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
13271         (rst-shift-region, rst-adaptive-fill): New functions for
13272         indentation and filling.
13274         (rst-comment-line-break, rst-comment-indent)
13275         (rst-comment-insert-comment, rst-comment-region)
13276         (rst-uncomment-region): New functions for handling comments.
13278         (rst-compile): Quote shell arguments.
13280         (rst-compile-pdf-preview, rst-compile-slides-preview):
13281         Delete temporary files after use.
13283 2012-05-05  Glenn Morris  <rgm@gnu.org>
13285         * calendar/cal-html.el: Optionally include holidays in the output.
13286         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
13287         (cal-html-holidays): New option.
13288         (cal-html-css-default): Add holiday entry.
13289         (holiday-in-range): Autoload it.
13290         (cal-html-htmlify-entry): Add optional class argument.
13291         (cal-html-htmlify-list): Add optional holidays argument.
13292         (cal-html-insert-agenda-days): Include holidays in the output.
13293         (cal-html-one-month): Maybe include holidays.
13295         * calendar/holidays.el (holiday-in-range):
13296         Move here from cal-tex-list-holidays.
13297         * calendar/cal-tex.el (cal-tex-list-holidays):
13298         Make it an obsolete alias for holiday-in-range.  Update all callers.
13300 2012-05-05  Chong Yidong  <cyd@gnu.org>
13302         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
13303         Nextstep.
13305 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
13307         * files.el (file-auto-mode-skip): New var.
13308         (set-auto-mode-1): Use it.
13310 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13312         * repeat.el: Use lexical-binding.
13313         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
13314         (repeat-undo-count): Remove.
13315         (repeat):
13316         * progmodes/octave-mod.el (octave-abbrev-start):
13317         * progmodes/f90.el (f90-abbrev-start):
13318         * face-remap.el (text-scale-adjust):
13319         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
13321         * emacs-lisp/pcase.el (pcase--let*): New function.
13322         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
13323         a bit more.
13324         (pcase--split-pred): Be more clever about ruling out overlap between
13325         a predicate and some constant pattern.
13326         (pcase--q1): Use `null' instead of (eq foo nil).
13328         * subr.el (setq-local, defvar-local): New macros.
13329         (kbd): Redefine as an alias.
13330         (with-selected-window): Leave unrelated frames alone.
13331         (set-temporary-overlay-map): New function.
13333 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13335         * subr.el (user-error): New function.
13336         * window.el (switch-to-buffer):
13337         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
13338         (smerge-match-conflict):
13339         * simple.el (previous-matching-history-element)
13340         (next-matching-history-element, goto-history-element, undo-more)
13341         (undo-start):
13342         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
13343         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
13344         (next-file, tags-loop-scan, list-tags, complete-tag):
13345         * progmodes/compile.el (compilation-loop):
13346         * mouse.el (mouse-minibuffer-check):
13347         * man.el (Man-bgproc-sentinel, Man-goto-page):
13348         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
13349         (Info-history-forward, Info-follow-reference, Info-menu)
13350         (Info-extract-menu-item, Info-extract-menu-counting)
13351         (Info-forward-node, Info-backward-node, Info-next-menu-item)
13352         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
13353         (Info-next-reference, Info-prev-reference, Info-index)
13354         (Info-index-next, Info-follow-nearest-node)
13355         (Info-copy-current-node-name):
13356         * imenu.el (imenu--make-index-alist)
13357         (imenu-default-create-index-function, imenu-add-to-menubar):
13358         * files.el (basic-save-buffer, recover-file):
13359         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
13360         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
13361         (checkdoc-message-text, checkdoc-defun):
13362         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
13363         * cus-edit.el (customize-changed-options, customize-rogue)
13364         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
13365         (custom-variable-mark-to-reset-standard)
13366         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
13367         (custom-file):
13368         * completion.el (check-completion-length):
13369         * comint.el (comint-search-arg)
13370         (comint-previous-matching-input-string-position)
13371         (comint-previous-matching-input)
13372         (comint-replace-by-expanded-history-before-point, comint-send-input)
13373         (comint-copy-old-input, comint-backward-matching-input)
13374         (comint-goto-process-mark, comint-set-process-mark):
13375         * calendar/calendar.el (calendar-cursor-to-date): Use it.
13376         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
13378 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13380         * dabbrev.el (dabbrev--ignore-case-p): New function.
13381         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
13382         Use it.
13384         * files.el (automount-dir-prefix): Mark as obsolete.
13386 2012-05-04  Glenn Morris  <rgm@gnu.org>
13388         * patcomp.el, play/bruce.el: Move to obsolete/.
13390 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
13392         Fix minor Y10k bugs.
13393         * arc-mode.el (archive-unixdate):
13394         * autoinsert.el (auto-insert-alist):
13395         * calc/calc-forms.el (math-this-year):
13396         * emacs-lisp/copyright.el (copyright-current-year)
13397         (copyright-update-year, copyright):
13398         * tar-mode.el (tar-clip-time-string):
13399         * time.el (display-time-update):
13400         Don't assume years have 4 digits.
13402 2012-05-04  Chong Yidong  <cyd@gnu.org>
13404         * dos-w32.el (file-name-buffer-file-type-alist)
13405         (direct-print-region-use-command-dot-com):
13406         * ffap.el (ffap-menu-regexp):
13407         * find-file.el (ff-special-constructs):
13408         * follow.el (follow-debug):
13409         * forms.el (forms--debug):
13410         * iswitchb.el (iswitchb-all-frames):
13411         * ido.el (ido-all-frames):
13412         * emacs-lisp/timer.el (timer-max-repeats):
13413         * mail/feedmail.el (feedmail-mail-send-hook)
13414         (feedmail-mail-send-hook-queued):
13415         * mail/footnote.el (footnote-signature-separator):
13416         * mail/mailabbrev.el (mail-alias-separator-string)
13417         (mail-abbrev-mode-regexp):
13418         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13419         * progmodes/idlwave.el (idlwave-libinfo-file)
13420         (idlwave-default-completion-case-is-down)
13421         (idlwave-library-routines): Convert defvars to defcustoms.
13423         * mail/rmail.el (rmail-decode-mime-charset):
13424         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13425         (idlwave-shell-fix-inserted-breaks)
13426         (idlwave-shell-activate-alt-keybindings)
13427         (idlwave-shell-use-breakpoint-glyph):
13428         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13430 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13432         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13434 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
13436         * progmodes/verilog-mode.el (font-lock-keywords):
13437         Fix mis-highligting auto.  Reported by Craig Barner.
13438         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13439         defines from global name space.  Reported by Dan Dever.
13440         (verilog-auto-reset, verilog-auto-reset-widths)
13441         (verilog-auto-tieoff): Support using unbased numbers for
13442         AUTORESET and AUTOTIEOFF.
13443         (verilog-submit-bug-report): Update variable list.
13444         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13445         parenthesis from not matching.  Reported by Michael Rytting.
13446         (verilog-auto-template-lint): Fix hash error when linting modules
13447         with no used templates.
13448         (verilog-warn, verilog-warn-error)
13449         (verilog-warn-fatal): When non-interactive report multiple
13450         warnings before exiting.  Suggested by Brad Dobbie.
13451         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13452         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13453         to report unused template errors.  Reported by Brad Dobbie.
13454         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13455         nets, bug438.  Reported by Vns Blore.
13456         (verilog-auto-inout-module, verilog-auto-reg)
13457         (verilog-read-decls, verilog-read-sub-decls-sig)
13458         (verilog-signals-edit-wire-reg, verilog-signals-with):
13459         Fix passing of Verilog data types in ANSI input/output ports
13460         such as "output logic" into the AUTOs.  Special case "wire" and
13461         "reg" for backwards compatibility presuming Verilog 2001.
13462         (verilog-auto-ascii-enum): Add "auto enum" as alias.
13463         (verilog-preprocess): Fix replication of preprocess output.
13464         Reported by Brad Dobbie.
13465         (verilog-auto-inst-interfaced-ports):
13466         Create verilog-auto-inst-interfaced-ports, bug429.
13467         Reported by Julian Gorfajn.
13468         (verilog-after-save-font-hook)
13469         (verilog-before-save-font-hook): New variable.
13470         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13471         (verilog-save-font-mods): Wrap disabling fontification, reported
13472         by David Rogoff.
13473         (verilog-do-indent, verilog-pretty-declarations-auto)
13474         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13475         Reported by Pierre-David Pfister.
13476         (verilog-set-auto-endcomments): Fix endtask auto comments outside
13477         of class declarations, bug292.  Reported by Kevin Heilman.
13478         (verilog-read-decls): Fix 'parameter type' not appearing in
13479         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
13480         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13481         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
13482         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13483         Reported by David Kravitz.
13485 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
13487         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13488         assignment with tests in ifs and for loops.
13489         (verilog-extended-complete-re, verilog-complete-reg): Change so
13490         that DPI inport functions don't look like fuction declarations.
13491         (verilog-pretty-expr): Don't line up assignment
13492         operations to the test and increment in if and for loops
13493         (verilog-extended-complete-re, verilog-complete-reg): Change so
13494         that DPI inport functions don't look like fuction declarations.
13496 2012-05-03  Kenichi Handa  <handa@m17n.org>
13498         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13499         decoding, and show a warning message without signaling an error
13500         (Bug#11282).
13502 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13504         * emacs-lisp/bytecomp.el
13505         (byte-compile-file-form-custom-declare-variable): Compile all elements,
13506         since cconv.el might have introduced :fun-body, internal-make-closure,
13507         and friends for bytecomp to handle (bug#11391).
13508         * custom.el (defcustom): Avoid ((λ ..) ..).
13510 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13512         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13514 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
13516         * notifications.el (dbus-debug):
13517         * term/linux.el (gpm-mouse-enable):
13518         * term/screen.el (xterm-register-default-colors): Declare.
13520 2012-05-02  Chong Yidong  <cyd@gnu.org>
13522         * cus-start.el (gc-cons-percentage, exec-suffixes)
13523         (dos-display-scancodes, dos-hyper-key, dos-super-key)
13524         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13525         (make-cursor-line-fully-visible, void-text-area-pointer)
13526         (font-list-limit): Add customization data.
13528         * allout.el (allout-exposure-change-functions)
13529         (allout-structure-added-functions)
13530         (allout-structure-deleted-functions)
13531         (allout-structure-shifted-functions): Rename abnormal hooks from
13532         *-hook, and convert to defcustoms.
13533         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13534         Convert to defcustoms.
13535         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13537         * allout-widgets.el: Hook callers changed.
13539 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
13541         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13542         the yanked message in preference to the default value of
13543         buffer-file-coding-system.
13545 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
13547         * window.el (display-buffer--action-function-custom-type):
13548         Fix entry.
13550 2012-05-02  Alan Mackenzie  <acm@muc.de>
13552         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13554 2012-05-01  Glenn Morris  <rgm@gnu.org>
13556         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13558         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
13560         * cus-edit.el (custom-variable-documentation): Simplify with format.
13562 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
13563             Stefan Monnier  <monnier@iro.umontreal.ca>
13565         * simple.el (suggest-key-bindings, execute-extended-command):
13566         Move from keyboard.c.
13568 2012-05-01  Chong Yidong  <cyd@gnu.org>
13570         * follow.el: Eliminate advice.
13571         (set-process-filter, process-filter, sit-for): Advice deleted.
13572         (follow-mode-off-hook): Obsolete hook removed.
13573         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13574         Vars deleted.
13575         (follow-auto): Use a :set function.
13576         (follow-mode): Rewritten.  Don't advise process filters.
13577         (follow-switch-to-current-buffer-all, follow-scroll-up)
13578         (follow-scroll-down): Assume follow-mode is bound.
13579         (follow-comint-scroll-to-bottom)
13580         (follow-align-compilation-windows): New functions.
13581         (follow--window-sorter): New function.
13582         (follow-all-followers): Use it to explicitly sort windows by their
13583         positions; don't make assumptions about next-window order.
13584         (follow-windows-start-end, follow-delete-other-windows-and-split)
13585         (follow-calc-win-start): Doc fix.
13586         (follow-windows-aligned-p, follow-select-if-visible): Don't call
13587         vertical-motion unnecessarily.
13588         (follow-adjust-window): New function.
13589         (follow-post-command-hook): Use it.
13590         (follow-call-set-process-filter, follow-call-process-filter)
13591         (follow-intercept-process-output, follow-tidy-process-filter-alist)
13592         (follow-stop-intercept-process-output, follow-generic-filter):
13593         Functions deleted.
13594         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13595         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13596         New functions, replacing advice on scroll-bar-* commands.
13597         (follow-mwheel-scroll): New function (Bug#4112).
13599         * comint.el (comint-adjust-point): New function.
13600         (comint-postoutput-scroll-to-bottom): Use it.
13601         Call follow-comint-scroll-to-bottom for Follow mode buffers.
13603 2012-05-01  Glenn Morris  <rgm@gnu.org>
13605         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13606         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13607         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13608         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13609         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13610         Remove no-byte-compile setting.
13612 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13614         * minibuffer.el (completion-table-with-quoting): Fix compatibility
13615         all-completions code to not return a number in the last cdr.
13617 2012-04-30  Leo Liu  <sdl.web@gmail.com>
13619         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13620         read-only error.
13622 2012-04-29  Chong Yidong  <cyd@gnu.org>
13624         * follow.el (follow-calc-win-end): Rewrite to handle partial
13625         screen lines correctly (Bug#8390).
13626         (follow-avoid-tail-recenter): Minor cleanup.
13628 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13630         Avoid the obsolete `assoc' package.
13631         * speedbar.el (speedbar-refresh): Avoid adelete.
13632         (speedbar-file-lists): Simplify and avoid aput.
13633         * man.el (Man--sections, Man--refpages): New vars, replacing
13634         Man-sections-alist and Man-refpages-alist.
13635         (Man-build-section-alist, Man-build-references-alist):
13636         Use them; avoid aput.
13637         (Man--last-section, Man--last-refpage): New vars.
13638         (Man-follow-manual-reference): Use them.
13639         Use the `default' arg of completing-read.
13640         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
13642 2012-04-27  Chong Yidong  <cyd@gnu.org>
13644         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13646         * startup.el (x-apply-session-resources): New function.
13648         * term/ns-win.el (ns-initialize-window-system):
13649         * term/w32-win.el (w32-initialize-window-system):
13650         * term/x-win.el (x-initialize-window-system): Use it to properly
13651         set menu-bar-mode and other vars from X resources, even if the
13652         initial frame is not a window-system frame (Bug#2299).
13654         * subr.el (read-key): Avoid running filter function when setting
13655         up temporary tool bar entries (Bug#9922).
13657 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
13659         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13660         (Bug#11344)
13662 2012-04-27  Chong Yidong  <cyd@gnu.org>
13664         * select.el (xselect--encode-string): New function, split from
13665         xselect-convert-to-string.
13666         (xselect-convert-to-string): Use it.
13667         (xselect-convert-to-filename, xselect-convert-to-os)
13668         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13669         returned strings are properly encoded (Bug#11315).
13671 2012-04-27  Chong Yidong  <cyd@gnu.org>
13673         * simple.el (delete-active-region): Move to killing custom group.
13675 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
13677         * progmodes/which-func.el (which-func-current): Quote %
13678         characters for mode-line processing.
13680 2012-04-27  Chong Yidong  <cyd@gnu.org>
13682         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13683         reaching eob (Bug#11286).
13685 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
13687         * progmodes/gdb-mi.el (gdb-control-level): New variable.
13688         (gdb): Make it buffer-local and init to zero.
13689         (gdb-control-commands-regexp): New variable.
13690         (gdb-send): Don't wrap in "-interpreter-exec console" if
13691         gdb-control-level is positive.  Increment gdb-control-level
13692         whenever the command matches gdb-control-commands-regexp, and
13693         decrement it each time the command is "end".  (Bug#11279)
13695 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
13697         * window.el (adjust-window-trailing-edge, enlarge-window)
13698         (shrink-window, window-resize):
13699         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13700         windows (Bug#11276).
13702 2012-04-27  Chong Yidong  <cyd@gnu.org>
13704         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13705         fix "missing prefix" warning.  All callers changed.
13707 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13709         * emacs-lisp/assoc.el: Move to obsolete/.
13711 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13713         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13715         * term/ns-win.el (ns-define-service):
13716         * progmodes/pascal.el (pascal-goto-defun):
13717         * progmodes/js.el (js--read-tab):
13718         * progmodes/etags.el (tags-lazy-completion-table):
13719         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13720         * emacs-lisp/ewoc.el (ewoc--wrap):
13721         * emacs-lisp/assoc.el (aput, adelete, amake):
13722         * doc-view.el (doc-view-convert-current-doc):
13723         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13725 2012-04-26  Chong Yidong  <cyd@gnu.org>
13727         * image.el (image-type-from-buffer): Only return supported image
13728         type (Bug#9045).
13730         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13731         value, for symmetry with diff-end-of-hunk.
13732         (diff-split-hunk, diff-find-source-location)
13733         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13734         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13735         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13736         compute the relevant hunk or file properly (Bug#6005).
13737         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13739 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13741         * vc/vc-mtn.el:
13742         * vc/vc-hg.el:
13743         * vc/vc-git.el:
13744         * vc/vc-dir.el:
13745         * vc/vc-cvs.el:
13746         * vc/vc-bzr.el:
13747         * vc/vc-arch.el:
13748         * vc/vc.el: Replace lexical-let by lexical-binding.
13749         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13750         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13751         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13753 2012-04-26  Chong Yidong  <cyd@gnu.org>
13755         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13756         (diff-mode-shared-map): Bind it to / and [remap undo].
13758         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13759         (ediff-window-setup-function): Use it as the default, to set up
13760         windows based on whether the current frame is graphical (Bug#2138).
13761         (ediff-choose-window-setup-function-automatically): Make obsolete.
13763         * vc/ediff-init.el: Always define ediff-pixel-width/height.
13765 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13767         * ffap.el: Remove old code for obsolete package.
13768         (ffap-complete-as-file-p): Remove.
13770         Use completion-table-with-quoting for comint and pcomplete.
13771         * comint.el (comint--unquote&requote-argument)
13772         (comint--unquote-argument, comint--requote-argument): New functions.
13773         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13774         (comint-quote-filename): Use regexp-opt-charset.
13775         (comint--common-suffix, comint--common-quoted-suffix)
13776         (comint--table-subvert): Remove.
13777         (comint-unquote-function, comint-requote-function): New vars.
13778         (comint--complete-file-name-data): Use them with
13779         completion-table-with-quoting.
13780         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13781         * pcomplete.el (pcomplete-arg-quote-list)
13782         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13783         (pcomplete-unquote-argument-function): Default to non-nil.
13784         (pcomplete-unquote-argument): Simplify.
13785         (pcomplete--common-quoted-suffix): Remove.
13786         (pcomplete-requote-argument-function): New var.
13787         (pcomplete--common-suffix): New function.
13788         (pcomplete-completions-at-point): Use completion-table-with-quoting
13789         and completion-table-subvert.
13791         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13792         (minibuffer--double-dollars): Preserve properties.
13793         (completion--sifn-requote): New function.
13794         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13796         * minibuffer.el: Add support for completion of quoted/escaped data.
13797         (completion-table-with-quoting, completion-table-subvert): New funs.
13798         (completion--twq-try, completion--twq-all): New functions.
13799         (completion--nth-completion): New function.
13800         (completion-try-completion, completion-all-completions): Use it.
13802 2012-04-25  Leo Liu  <sdl.web@gmail.com>
13804         * progmodes/python.el (python-pdbtrack-get-source-buffer):
13805         Use compilation-message if available to find real filename.
13807 2012-04-25  Chong Yidong  <cyd@gnu.org>
13809         * vc/diff-mode.el (diff-setup-whitespace): New function.
13810         (diff-mode): Use it.
13812         * vc/diff.el (diff-sentinel):
13813         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13814         Whitespace mode variables based on diff style (Bug#8612).
13816 2012-04-25  Leo Liu  <sdl.web@gmail.com>
13818         * progmodes/python.el (python-send-region): Add suffix .py to the
13819         temp file.
13821         * files.el (auto-mode-alist): Use javascript-mode instead.
13823 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
13825         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
13827         * net/soap-client.el (soap-resolve-references-for-sequence-type)
13828         (soap-resolve-references-for-array-type): Hack to prevent self
13829         references, see Bug#9.
13830         (soap-parse-envelope): Report the contents of the 'detail' node
13831         when receiving a fault reply.
13832         (soap-parse-envelope): Report the contents of the entire 'detail' node.
13834         * net/soap-inspect.el (soap-sample-value-for-simple-type)
13835         (soap-inspect-simple-type): New function.
13837         * net/soap-client.el (soap-simple-type): New struct.
13838         (soap-default-xsd-types, soap-default-soapenc-types)
13839         (soap-decode-basic-type, soap-encode-basic-type):
13840         support unsignedInt and double basic types.
13841         (soap-resolve-references-for-simple-type)
13842         (soap-parse-simple-type, soap-encode-simple-type): New function.
13843         (soap-parse-schema): Parse xsd:simpleType declarations.
13845         * net/soap-client.el (soap-default-xsd-types)
13846         (soap-default-soapenc-types): Add integer, byte and anyURI types.
13847         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13848         the local name of "soapenc:Array".
13849         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13850         decoding integer, byte and anyURI xsd types.
13852 2012-04-25  Chong Yidong  <cyd@gnu.org>
13854         * cus-edit.el (custom-buffer-create-internal): Update header text.
13856 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
13858         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13859         settings on 'system-type', not on 'window-system'.  On MS-Windows,
13860         set interactive-mode on in GDB.
13862 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13864         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13865         (ruby-syntax-propertize-regexp): Remove.
13866         (ruby-syntax-propertize-function): Split regexp into chunks.
13867         Match following code directly.
13869 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
13871         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13872         (ruby-syntax-propertize-regexp): New function.
13873         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13874         by a special keyword.
13876         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13877         (ruby-syntax-general-delimiters-goto-beg)
13878         (ruby-syntax-propertize-general-delimiters): New functions.
13879         (ruby-syntax-propertize-function): Use them to handle GDL.
13880         (ruby-font-lock-keywords): Move old handling of GDL...
13881         (ruby-font-lock-syntactic-keywords): .. to here.
13882         (ruby-calculate-indent): Adjust indentation for GDL.
13884 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
13886         * notifications.el (top): Remove unneeded declarations.
13887         (notifications-specification-version): Change to "1.2".
13888         (notifications-interface, notifications-notify-method)
13889         (notifications-close-notification-method): Fix docstring.
13890         (notifications-get-capabilities-method): New defconst.
13891         (notifications-notify): Add :action-items, :resident and
13892         :transient hints.  Change "image_data" to "image-data" and
13893         "image_path" to "image-path".
13894         (notifications-get-capabilities): New defun.
13896 2012-04-24  Leo Liu  <sdl.web@gmail.com>
13898         * progmodes/python.el: Move hideshow setup to the end.
13900 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
13902         * window.el (handle-select-window): Clear echo area since this is
13903         no more done by read_char (Bug#11304).
13905 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13907         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13908         and `/ M' to filter-derived-mode.
13909         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13910         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13911         (ibuffer-mark-by-mode): Use default rather than initial-input.
13912         (ibuffer-filter-by-derived-mode): Autoload and require-match.
13914 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
13916         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13917         (ibuffer-filter-by-derived-mode): New filter.
13918         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13920 2012-04-23  Andreas Politz  <politza@fh-trier.de>
13922         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13924 2012-04-23  Chong Yidong  <cyd@gnu.org>
13926         * cus-edit.el (customize-apropos, customize-apropos-options):
13927         Disable matching of non-option variables (Bug#11176).
13928         (customize-option, customize-option-other-window)
13929         (customize-changed-options): Doc fix.
13930         (customize-apropos-options, customize-apropos-faces)
13931         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13933         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13934         Fix word list splitting (Bug#11132).
13935         (apropos-symbol, apropos-keybinding, apropos-label)
13936         (apropos-property, apropos-function-button)
13937         (apropos-variable-button, apropos-misc-button): New faces.
13938         (apropos-symbol-face, apropos-keybinding-face)
13939         (apropos-label-face, apropos-property-face, apropos-match-face):
13940         Variables removed (Bug#8396).
13941         (apropos-library-button, apropos-format-plist, apropos-print)
13942         (apropos-print-doc, apropos-describe-plist): Callers changed.
13944 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
13946         * net/xesam.el (xesam-mode-map): Use let-bound map in
13947         initialization.  (Bug#11292)
13949 2012-04-23  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
13951         Preserve ispell session localwords when switching back to
13952         original buffer.
13954         * textmodes/ispell.el (ispell-buffer-session-localwords):
13955         New buffer-local variable to hold buffer session localwords.
13956         (ispell-kill-ispell): Add option 'clear to delete session
13957         localwords.
13958         (ispell-command-loop, ispell-change-dictionary)
13959         (ispell-buffer-local-words): Preserve session localwords when
13960         needed.
13962         * textmodes/flyspell.el (flyspell-process-localwords)
13963         (flyspell-do-correct): Preserve session localwords when needed.
13965 2012-04-23  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
13967         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13968         using obsolete `translation-table-for-input'.
13969         (ispell-word, ispell-process-line, ispell-complete-word):
13970         Use plain `insert' instead of removed `ispell-insert-word'.
13972 2012-04-22  Chong Yidong  <cyd@gnu.org>
13974         * cus-edit.el (custom-variable-menu)
13975         (custom-variable-reset-saved, custom-face-menu)
13976         (custom-face-reset-saved): If there is no saved value, make the
13977         "reset-saved" operation bring back the default (Bug#9509).
13978         (custom-face-state): Properly detect themed faces.
13980         * faces.el (face-spec-set): Stop supporting deprecated form of
13981         third arg.
13983 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
13985         Move functions from C to Lisp.  Make non-blocking method calls
13986         the default.  Implement further D-Bus standard interfaces.
13988         * net/dbus.el (dbus-message-internal): Declare function.
13989         Remove unneeded function declarations.
13990         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13991         (dbus-message-type-method-return, dbus-message-type-error)
13992         (dbus-message-type-signal): Declare variables.  Remove local
13993         definitions.
13994         (dbus-interface-dbus, dbus-interface-peer)
13995         (dbus-interface-introspectable, dbus-interface-properties)
13996         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13997         Adapt docstring.
13998         (dbus-interface-objectmanager): New defconst.
13999         (dbus-call-method, dbus-call-method-asynchronously)
14000         (dbus-send-signal, dbus-method-return-internal)
14001         (dbus-method-error-internal, dbus-register-service)
14002         (dbus-register-signal, dbus-register-method): New defuns, moved
14003         from dbusbind.c
14004         (dbus-call-method-handler, dbus-setenv)
14005         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
14006         New defuns.
14007         (dbus-call-method-non-blocking): Make it an obsolete function.
14008         (dbus-unregister-object, dbus-unregister-service)
14009         (dbus-handle-event, dbus-register-property)
14010         (dbus-property-handler): Obey the new structure of
14011         `bus-registered-objects'.
14012         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
14013         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14014         Use `dbus-call-method'.
14016 2012-04-22  Chong Yidong  <cyd@gnu.org>
14018         * cus-edit.el (custom-commands, custom-reset-menu)
14019         (Custom-reset-standard): Tweak labels.
14020         (custom-reset-button-menu): Change default to t.
14021         (custom-buffer-create-internal): For the custom-reset-button-menu
14022         case, put the revert button first.
14023         (custom-group-subtitle): New face.
14024         (custom-group-value-create): Align docstring to a specific column.
14026         * wid-edit.el (widget-documentation-link-add): Don't handle
14027         indentation in this function.
14028         (widget-documentation-string-indent-to): New function.
14029         (widget-documentation-string-value-create): Use it.
14031         * autorevert.el (auto-revert):
14032         * epg-config.el (epg):
14033         * ibuffer.el (ibuffer):
14034         * mpc.el (mpc):
14035         * ses.el (ses):
14036         * eshell/eshell.el (eshell):
14037         * net/ange-ftp.el (ange-ftp):
14038         * progmodes/ebnf2ps.el (postscript):
14039         * progmodes/flymake.el (flymake):
14040         * progmodes/prolog.el (prolog):
14041         * progmodes/verilog-mode.el (verilog-mode):
14042         * progmodes/which-func.el (which-func):
14043         * term/xterm.el (xterm):
14044         * textmodes/picture.el (picture):
14045         * textmodes/tildify.el (tildify):
14046         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
14047         customization buffers.
14049 2012-04-22  Alan Mackenzie  <acm@muc.de>
14051         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14052         Adding a ) can hide the resulting (..) from searches.  Fix it.
14053         Bound the backward search to the position of the existing (.
14055 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
14057         * progmodes/verilog-mode.el (verilog-mode): Check whether
14058         which-func-modes is t before adding verilog-mode.
14059         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
14061 2012-04-21  Leo Liu  <sdl.web@gmail.com>
14063         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
14065 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
14067         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
14068         filling of the last column of a table (Bug#5635).
14069         (woman-find-next-control-line): New arg, specifying an additional
14070         regexp component for the control line.
14071         (woman2-roff-buffer): Use it.
14072         (woman-break-table): New function.
14073         (woman2-TS): Use it.
14075 2012-04-21  Chong Yidong  <cyd@gnu.org>
14077         * woman.el (woman-set-buffer-display-table, woman-decode-region)
14078         (woman-horizontal-escapes, woman-negative-vertical-space)
14079         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
14080         (WoMan-warn-ignored): Use ?\s instead of ?\ .
14082 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14084         * minibuffer.el (completion-file-name-table): Complete user names.
14086 2012-04-20  Leo Liu  <sdl.web@gmail.com>
14088         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
14089         and pcase-let*.
14091 2012-04-20  Chong Yidong  <cyd@gnu.org>
14093         * server.el (server-execute): Respect initial-buffer-choice if it
14094         is a string and there are no files to open (Bug#2825).
14095         (server-create-window-system-frame, server-create-tty-frame):
14096         Don't switch buffers here.
14097         (server-process-filter): Only try to open a window system frame if
14098         compiled with graphical support (Bug#8314).
14100 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
14102         * battery.el (battery-echo-area-format): Display remaining time
14103         for sysfs backend too (Bug#11269).
14104         (battery-linux-sysfs): Fix conditional for the charge.
14106 2012-04-20  Chong Yidong  <cyd@gnu.org>
14108         * progmodes/gdb-mi.el (gdb): Revert previous change.
14109         (gdb-inferior-io--init-proc): New function.
14110         (gdb-init-1): Use it.
14111         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
14112         responsible for allocating a new pty and hooking it to gdb when
14113         the old pty gets an EIO due to process exit.
14114         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
14115         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
14116         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
14118 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
14120         * window.el (window-min-size, window-sizable, window-min-delta)
14121         (window-max-delta, window--resizable, window-resizable)
14122         (window-total-size, window-full-height-p, window-full-width-p)
14123         (window-in-direction, window--resize-mini-window, window-resize)
14124         (window--resize-child-windows-normal)
14125         (window--resize-child-windows, window--resize-siblings)
14126         (window--resize-this-window, adjust-window-trailing-edge)
14127         (enlarge-window, shrink-window): Doc fixes.
14129 2012-04-20  Chong Yidong  <cyd@gnu.org>
14131         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
14132         New function to call delete-process on the gdb-inferior buffer's pty.
14133         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
14134         pty process (Bug#11273).
14135         (gdb-update): New arg to suppress talking to the gdb process.
14136         (gdb-done-or-error): Use it.
14137         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
14138         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
14139         sentinel not being called.
14141         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
14143         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
14145 2012-04-20  Glenn Morris  <rgm@gnu.org>
14147         * net/network-stream.el (open-network-stream): Doc fix.
14149 2012-04-20  Chong Yidong  <cyd@gnu.org>
14151         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
14153 2012-04-20  Alan Mackenzie  <acm@muc.de>
14155         Ensure searching for keywords is case sensitive.
14157         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
14158         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
14159         (c-defun-name, c-mark-function, c-cpp-define-name)
14160         (c-comment-indent, c-scan-conditionals, c-indent-defun)
14161         (c-context-line-break): Bind case-fold-search to nil.
14163         * progmodes/cc-mode.el (c-font-lock-fontify-region):
14164         Bind case-fold-search to nil.
14166 2012-04-20  Chong Yidong  <cyd@gnu.org>
14168         * mail/sendmail.el (mail-bury): Call return action with the right
14169         Rmail buffer (Bug#11242).
14171         * server.el (server-process-filter): Handle corner case where both
14172         tty and nowait options are present (Bug#11102).
14174 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
14176         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
14177         (top level): Put into the executable the ident-style '$Id:' tag on
14178         windows-nt as well.
14180 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14182         * electric.el (electric-indent-post-self-insert-function): Check that
14183         electric-indent-mode is enabled in current buffer.
14185 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
14187         * imenu.el (imenu-progress-message): Restore; it is "used" in
14188         erc/erc-imenu.el and net/snmp-mode.el.
14190 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
14192         * avoid.el (mouse-avoidance-mode): Mark unused arg.
14193         (mouse-avoidance-nudge-mouse): Remove unused binding.
14195         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
14197         * descr-text.el (describe-char):
14198         * progmodes/python.el (python-describe-symbol):
14199         Don't call `toggle-read-only', set `buffer-read-only'.
14201         * imenu.el (imenu-default-goto-function): Mark unused args.
14202         (imenu-progress-message): Remove obsolete macro; all callers changed.
14204         * subr.el (keymap-canonicalize): Remove unused binding.
14205         (read-passwd): Mark unused arg.
14207         * tutorial.el (tutorial--display-changes): Remove unused binding.
14208         (tutorial--save-tutorial-to): Remove unused variable.
14210         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
14211         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
14212         (package-generate-autoloads, package-menu--generate)
14213         (package-menu--find-upgrades): Remove unused bindings.
14215         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
14216         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
14217         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
14218         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
14219         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
14220         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
14221         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
14222         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
14223         (cua-delete-char-rectangle): Mark unused args.
14224         (cua-align-rectangle): Remove unused binding.
14226         * mail/rmail.el (compilation--message->loc)
14227         (epa--find-coding-system-for-mime-charset): Declare.
14229         * net/dbus.el (dbus-register-service): Declare.
14230         (dbus-name-owner-changed-handler): Remove unused binding.
14232         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
14233         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
14234         (nxml-scan-backward-within): Mark unused arg.
14235         (nxml-dynamic-markup-word): Remove unused binding.
14237         * mouse.el (mouse-menu-major-mode-map):
14238         * emacs-lisp/authors.el (authors-scan-change-log)
14239         (authors-add-to-author-list):
14240         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
14241         * emacs-lisp/smie.el (smie-auto-fill):
14242         * mail/sendmail.el (mail-bury):
14243         * mail/unrmail.el (unrmail):
14244         * net/tls.el (open-tls-stream):
14245         * textmodes/picture.el (picture-mouse-set-point):
14246         Remove unused bindings.
14248 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
14250         * net/tramp.el (tramp-action-password): Let-bind
14251         `enable-recursive-minibuffers' to t.
14253 2012-04-18  Sam Steingold  <sds@gnu.org>
14255         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
14256         instead of 'string to accommodate values like [f11].
14257         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
14258         * progmodes/gdb-mi.el: Likewise.
14260 2012-04-18  Leo Liu  <sdl.web@gmail.com>
14262         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
14263         current buffer.
14264         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
14265         LOCAL is nil.
14267 2012-04-18  Chong Yidong  <cyd@gnu.org>
14269         * simple.el (line-move): Use forward-line if in batch mode
14270         (Bug#11053).
14272 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
14274         * files.el (after-find-file): Do not try to add a final newline if
14275         the buffer is read-only (Bug#11156).
14277 2012-04-17  Richard Stallman  <rms@gnu.org>
14279         * mail/rmail.el (rmail-start-mail):
14280         Pass (rmail-mail-return...) for the return-action.
14281         Pass (rmail-yank-current-message...) for the yank-action.
14282         (rmail-yank-current-message): New function.
14283         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
14284         (rmail-reply): Likewise.
14285         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
14287         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
14288         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
14289         buffer, not newbuf.
14291 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
14293         * server.el (server-ensure-safe-dir): Simplify.
14295 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14297         * emacs-lisp/smie.el: Provide smarter auto-filling.
14298         (smie-auto-fill): New function.
14299         (smie-setup): Use it.
14301         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
14303 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
14305         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
14306         (comment-indent): Use it.
14308 2012-04-17  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
14310         * ses.el: The overall change is to add cell renaming, that is
14311         setting fancy names for cell symbols other than name matching
14312         "\\`[A-Z]+[0-9]+\\'" regexp .
14313         (ses-localvars): Add ses--renamed-cell-symb-list.
14314         (ses-create-cell-variable): New defun.
14315         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
14316         (ses-relocate-formula): Relocate formulas only for cells the
14317         symbols of which are not renamed, i.e. symbols whose names do not
14318         match regexp "\\`[A-Z]+[0-9]+\\'".
14319         (ses-relocate-all): Relocate values only for cells the symbols of
14320         which are not renamed.
14321         (ses-load): Create cells variables as the (ses-cell ...) are read,
14322         in order to check row col consistency with cell symbol name only
14323         for cells that are not renamed.
14324         (ses-replace-name-in-formula): New defun.
14325         (ses-rename-cell): New defun.
14327 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
14329         * progmodes/perl-mode.el (perl-indent-parens-as-block):
14330         New option (bug#11118).
14331         (perl-calculate-indent): Respect it.
14333 2012-04-17  Glenn Morris  <rgm@gnu.org>
14335         * dired-aux.el (dired-mark-read-string): Doc fix.
14337 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
14339         * dired-aux.el (dired-mark-read-string): Offer optional completion.
14340         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
14342 2012-04-17  Glenn Morris  <rgm@gnu.org>
14344         * mouse.el (mouse-drag-track):
14345         * speedbar.el (speedbar-frame-mode):
14346         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
14348 2012-04-16  Leo Liu  <sdl.web@gmail.com>
14350         * progmodes/python.el: Trivial cleanup.
14352 2012-04-16  Glenn Morris  <rgm@gnu.org>
14354         * vc/vc.el (vc-string-prefix-p):
14355         * vc/pcvs-util.el (cvs-string-prefix-p):
14356         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
14357         * mpc.el (mpc-string-prefix-p):
14358         Make all of these into obsolete aliases for string-prefix-p.
14359         Update callers.
14360         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
14362         * textmodes/two-column.el: Move custom options to the start.
14363         (frame-width): Remove compat definition.
14364         (2C-associate-buffer, 2C-dissociate):
14365         Use with-current-buffer rather than save-excursion.
14366         (2C-dissociate): Force a mode-line update.
14367         (2C-autoscroll): Use ignore-errors.
14369         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
14370         Autoload trivia.
14372         * emacs-lisp/cl-extra.el (*random-state*):
14373         Remove unnecessary declaration.
14375         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
14377         * play/cookie1.el (cookie-snarf):
14378         Give an explicit error if input file cannot be read.
14380         * play/yow.el (yow-file): Use expand-file-name rather than concat.
14382         * progmodes/perl-mode.el (c-macro-expand):
14383         Remove unnecessary autoload (it is in loaddefs.el).
14385         * textmodes/picture.el (picture-desired-column)
14386         (picture-update-desired-column): Convert comments to doc-strings.
14387         (picture-substitute): Remove function.
14388         (picture-mode-map): Initialize in the defvar.
14390         * woman.el: Remove eval-after-load for tar-mode.
14391         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
14392         (woman-tar-extract-file): Autoload it.
14394         * frame.el (automatic-hscrolling): Make this alias obsolete.
14396 2012-04-12  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
14398         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
14399         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
14400         (ispell-dictionary-base-alist): Revert to original XEmacs
14401         friendly version for default.  [:alpha:] will be added in
14402         `ispell-set-spellchecker-params' if needed.
14404 2012-04-16  Chong Yidong  <cyd@gnu.org>
14406         * image.el (imagemagick--file-regexp): New variable.
14407         (imagemagick-register-types): Use it.
14408         (imagemagick-types-inhibit): Add :set function.  Allow new value
14409         of t to inhibit all types.
14411         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
14412         so we can preload it.
14414         * loadup.el (fboundp): Preload regexp-opt, needed by
14415         imagemagick-register-types.
14417 2012-04-15  Chong Yidong  <cyd@gnu.org>
14419         * frame.el (scrolling): Remove nearly unused customization group.
14421         * scroll-all.el (scroll-all-mode): Move to windows group.
14423 2012-04-15  Chong Yidong  <cyd@gnu.org>
14425         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14427 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14429         Avoid the use of ((lambda ...) ...) in lexical-binding code.
14430         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14432 2012-04-15  Glenn Morris  <rgm@gnu.org>
14434         * simple.el (process-file-side-effects): Doc fix.
14436 2012-04-15  Glenn Morris  <rgm@gnu.org>
14438         * international/mule-cmds.el (set-language-environment): Doc fix.
14440 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
14442         * server.el (server-auth-key, server-generate-key): Doc fixes.
14443         (server-get-auth-key): Doc fix.  Use `string-match-p'.
14444         (server-start): Reflow docstring.
14446 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
14448         * server.el (server-generate-key): `called-interactively-p'
14449         requires a parameter.
14451 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
14453         * server.el (server-auth-key): New variable.
14454         (server-generate-key, server-get-auth-key): New function.
14455         (server-start): Use the new variable and functions to allow
14456         setting a permanent server key (bug#9423).
14458 2012-04-14  Leo Liu  <sdl.web@gmail.com>
14460         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14462 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
14464         Spelling fixes.
14465         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14466         Emacs uses American spelling.
14468 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
14470         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14471         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
14472         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14473         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
14475 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14477         * progmodes/which-func.el (which-func-modes): Change default.
14479 2012-04-14  Kim F. Storm  <storm@cua.dk>
14481         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14482         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14484 2012-04-14  Chong Yidong  <cyd@gnu.org>
14486         * custom.el (custom-theme-set-variables): Doc fix.
14488 2012-04-14  Glenn Morris  <rgm@gnu.org>
14490         * international/mule.el (set-auto-coding-for-load): Doc fix.
14492 2012-04-14  Alan Mackenzie  <acm@muc.de>
14494         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14495         imenu work again for Objective C Mode.  Correct the *-index values,
14496         these having been disturbed by a previous change in 2011-08.
14498         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14499         Correct two search limits.
14501 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14503         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14505 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
14507         * international/characters.el: Fix sorting.
14509 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
14511         * international/characters.el: Add more missing Latin case pairs.
14513 2012-04-14  Glenn Morris  <rgm@gnu.org>
14515         * files.el (dir-locals-set-class-variables): Doc fix.
14517 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
14519         * international/characters.el: Add set-case-syntax-pair call for
14520         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14521         counterpart.  (Bug#11209)
14523         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
14525 2012-04-14  Glenn Morris  <rgm@gnu.org>
14527         * calendar/holidays.el (calendar-check-holidays): Doc fix.
14529 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
14531         * textmodes/ispell.el (ispell-dictionary-base-alist):
14532         Add data for Hebrew.
14534 2012-04-14  Chong Yidong  <cyd@gnu.org>
14536         * net/rcirc.el (rcirc-cmd-quit):
14537         Revert 2012-03-18 change (Bug#11192).
14539 2012-04-14  Glenn Morris  <rgm@gnu.org>
14541         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14543 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
14545         * minibuffer.el (completion-in-region-mode-map):
14546         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
14548 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
14550         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14552 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
14554         * minibuffer.el (minibuffer-local-filename-syntax): New variable
14555         to allow `C-M-f' and `C-M-b' to move to the nearest path
14556         separator (bug#9511).
14558 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
14560         * avoid.el: Require cl when compiling.  And also move the
14561         `provide' to the end.
14563 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14565         * avoid.el (mouse-avoidance-banish-position): New variable.
14566         (mouse-avoidance-banish-destination): Use it (bug#10165).
14568 2012-04-13  Leo Liu  <sdl.web@gmail.com>
14570         * progmodes/which-func.el (which-func-modes): Add objc-mode.
14572 2012-04-13  Ken Brown  <kbrown@cornell.edu>
14574         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14575         this is no longer needed now that cygstart understands file:// URLs.
14576         (browse-url-filename-alist): For the same reason, don't modify
14577         file:// URLs on Cygwin.
14579 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14581         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14582         the region on shift if the binding is already shifted (bug#11221).
14584 2012-04-12  Glenn Morris  <rgm@gnu.org>
14586         * mail/mailpost.el: Move to obsolete/.
14588 2012-04-12  Drew Adams  <drew.adams@oracle.com>
14590         * imenu.el (imenu--generic-function): Ignore invisible definitions
14591         (bug#10123).
14593 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
14595         * hexl.el (hexl-bits): New variable.
14596         (hexl-options): Mention the variable in the doc string.
14597         (hexl-rulerise, hexl-line-displen): New functions.
14598         (hexl-mode): Mention the new variable.
14599         (hexl-mode, hexl-current-address, hexl-current-address):
14600         Use the displen.
14601         (hexl-ascii-start-column): New function.
14602         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14603         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14605 2012-04-12  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
14607         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14608         '("-i" ENCODING), in 2 separate command-line arguments, to specify
14609         the encoding, as expected by hunspell.
14611 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14613         * battery.el (battery--linux-sysfs-regexp): New const.
14614         (battery-status-function): Use it.  Remove yeeloong special case.
14615         (battery-yeeloong-sysfs): Remove.
14616         (battery-echo-area-format): Remove yeeloong special case.
14618 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14620         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14621         Reported by Noah Friedman.
14623         * subr.el (read-passwd): Use read-string.
14625 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14627         * vcursor.el (vcursor-move): Increase the priority of the overlay
14628         (bug#9663).
14630 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
14632         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14633         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14635 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
14637         * textmodes/artist.el (artist-mode): Convert artist-mode to use
14638         define-minor-mode (bug#10760).
14640 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
14642         * progmodes/grep.el (rgrep): Tweak the find command line so
14643         that directories matching `grep-find-ignored-files' won't be
14644         pruned (bug#10351).
14646 2012-04-11  Chong Yidong  <cyd@gnu.org>
14648         * startup.el (command-line): Remove support for long-obsolete
14649         variable font-lock-face-attributes.
14651 2012-04-11  Glenn Morris  <rgm@gnu.org>
14653         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14655 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14657         * window.el (window--state-get-1): Obey window-point-insertion-type.
14659 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
14661         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14662         to previous function when point is on the first character of a
14663         function.  Take care of that in `narrow-to-defun' (bug#6157).
14665 2012-04-11  Glenn Morris  <rgm@gnu.org>
14667         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14668         not just file-errors.
14670         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14671         (vc-bzr-sha1): Use internal sha1.
14673 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14675         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14677 2012-04-10  SĂ©bastien Gross  <seb@chezwam.org>  (tiny change)
14679         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14680         that start in the middle of the line (bug#10496).
14682 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
14684         * battery.el (battery-linux-proc-acpi): Only one battery is
14685         discharged at a time, but that seems to confuse battery.el when
14686         computing `rate-type' for the battery not being discharged
14687         (bug#10332).
14689 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
14691         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14693         * international/quail.el: Use dolist and simplify.
14694         (quail-define-package, quail-update-keyboard-layout)
14695         (quail-define-rules): Use dolist.
14696         (quail-insert-kbd-layout, quail-get-translation): CSE.
14698         * tmm.el: Use dolist, remove left over hook.
14699         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14700         Use dolist.
14701         (calendar-load-hook): Don't mess with it.
14703         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14704         Use derived-mode-p.  Run the diff asynchronously.
14706 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14708         * obsolete/mouse-sel.el: Add an Obsolete-since header.
14710 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
14712         * misc.el: Display absolute path of loaded DLLs (bug#10424).
14713         (list-dynamic-libraries--loaded): New function.
14714         (list-dynamic-libraries--refresh): Use it.
14716 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
14718         * progmodes/python.el (python-fill-paragraph):
14719         Make python-fill-region in a multiline string work when font-lock is
14720         disabled (bug#7018).
14722 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
14724         * language/european.el (cp775): Add oem/legacy (en)coding on
14725         DOS/MS Windows for the Baltic languages.  There are still plenty
14726         of texts written in this encoding/codepage (bug#6519).
14728 2012-04-10  Glenn Morris  <rgm@gnu.org>
14730         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14731         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14733 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
14735         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14736         next-line "n" and previous-line "p" in order to make recentf more
14737         consistent with ibuffer, dired or org-mode (bug#9387).
14739 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14741         * image.el (put-image): Return the overlay created instead of the
14742         optional input string (bug#7834).  Note that this may break code
14743         that is (for some reason or other) depending on `put-image'
14744         returning the string.
14746         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14748         * simple.el (zap-to-char): Allow zapping using input methods
14749         (bug#1580).
14751         * textmodes/fill.el (fill-region): Leave point and mark where they
14752         were before filling (bug#5399).
14754 2012-04-09  Glenn Morris  <rgm@gnu.org>
14756         * version.el (emacs-bzr-get-version):
14757         Handle lightweight checkouts of local branches.
14759 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
14761         * international/characters.el: Recover lost case pairs.  (Bug#11209)
14763 2012-04-09  Chong Yidong  <cyd@gnu.org>
14765         * custom.el (custom-variable-p): Return nil for non-symbol
14766         arguments instead of signaling an error.
14767         (user-variable-p): Obsolete alias for custom-variable-p.
14769         * apropos.el (apropos-variable):
14770         * files-x.el (read-file-local-variable):
14771         * simple.el (set-variable):
14772         * woman.el (woman-mini-help):
14773         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14775 2012-04-09  Glenn Morris  <rgm@gnu.org>
14777         * startup.el (normal-top-level): Don't look for leim-list.el
14778         in places where it will not be found.  (Bug#910)
14780         * international/mule-cmds.el (set-default-coding-systems):
14781         * files.el (normal-mode):
14782         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
14783         This function was removed with ucs-tables.el in 2008.
14785 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
14787         * textmodes/ispell.el (ispell-check-version): For hunspell, set
14788         ispell-encoding8-command to "-i", without a trailing space.
14789         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14790         separate command-line arguments, to specify the encoding, since
14791         that's how hunspell expects it.
14793 2012-04-08  Glenn Morris  <rgm@gnu.org>
14795         * loadup.el: Load bindings before cus-start.
14796         This reduces somewhat the number of "rogue" settings in emacs -Q.
14798 2012-04-07  Glenn Morris  <rgm@gnu.org>
14800         * version.el (emacs-bzr-get-version): New function.
14801         (emacs-bzr-version): New variable.
14802         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
14803         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14805 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
14807         * international/uni-bidi.el, international/uni-category.el:
14808         * international/uni-combining.el, international/uni-decimal.el:
14809         * international/uni-decomposition.el, international/uni-digit.el:
14810         * international/uni-lowercase.el, international/uni-mirrored.el:
14811         * international/uni-name.el, international/uni-numeric.el:
14812         * international/uni-titlecase.el, international/uni-uppercase.el:
14813         Update for Unicode 6.1.
14815 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
14817         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14819 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14821         * window.el (shrink-window): Mention the `window-min-height'
14822         variable in the doc string.
14824 2012-04-05  Bastien Guerry  <bzg@altern.org>
14826         * color.el (color-lighten-name): Fix typo.
14828 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14830         * server.el (server--on-display-p): New function.
14831         (server--on-display-p): Use it.
14833 2012-04-04  GĂ¡bor Vida  <vidagabor@gmail.com>  (tiny change)
14835         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14836         (bug#11145).
14838 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
14840         * comint.el (comint--common-quoted-suffix): Check string boundary
14841         before comparing (bug#11158).
14842         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14844 2012-04-04  Chong Yidong  <cyd@gnu.org>
14846         * minibuffer.el (completion-extra-properties): Doc fix.
14848         * subr.el (delayed-warnings-hook): Doc fix.
14850 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
14852         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14853         selection (Bug#11159).
14854         (epa-insert-keys): Inform that the default public key will be
14855         exported if no key is selected.
14857 2012-04-04  Richard Stallman  <rms@gnu.org>
14859         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14861 2012-04-03  Chong Yidong  <cyd@gnu.org>
14863         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14864         mail-insert-file, not its obsolete alias mail-attach-file.
14866 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
14868         * notifications.el (notifications-notify): Fix docstring.
14870 2012-04-02  Glenn Morris  <rgm@gnu.org>
14872         * emacs-lisp/authors.el (authors-aliases): Another addition.
14874 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
14876         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14877         `tramp-compat-call-process' instead of `tramp-local-call-process'.
14878         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14880 2012-04-01  Chong Yidong  <cyd@gnu.org>
14882         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14883         Handle root directory properly.
14884         (copy-directory): Caller changed.
14886         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14887         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14889 2012-03-31  Glenn Morris  <rgm@gnu.org>
14891         * term/xterm.el (xterm-extra-capabilities): Doc fix.
14893         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
14895         * calendar/calendar.el (calendar-window-list)
14896         (calendar-hide-window): Restore.  (Bug#11140)
14897         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14899         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14901 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14903         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14904         Check if file is a symlink (Bug#10489).
14906         * files.el (copy-directory): Likewise.
14908 2012-03-30  Chong Yidong  <cyd@gnu.org>
14910         * image.el (imagemagick-types-inhibit)
14911         (imagemagick-register-types): Doc fix.
14913 2012-03-30  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
14915         * textmodes/ispell.el (ispell-get-extended-character-mode):
14916         Disable extended-char-mode for hunspell.  hunspell does not support it
14917         and treats ~word as ordinary words in pipe mode.
14919 2012-03-30  Glenn Morris  <rgm@gnu.org>
14921         * tutorial.el (help-with-tutorial): Ensure local variables don't
14922         happen to make the buffer read-only.  (Bug#11127)
14924 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14926         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14927         (perl-calculate-indent): Return `noindent' in strings.
14929 2012-03-28  Sam Steingold  <sds@gnu.org>
14931         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14932         instead of the broken adhockery which does not prevent calendar
14933         buffers from being displayed at random after exit.
14934         (calendar-window-list, calendar-hide-window): Remove the broken
14935         adhockery.
14937 2012-03-28  Glenn Morris  <rgm@gnu.org>
14939         * replace.el (query-replace-map): Doc fix.
14941 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
14943         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14944         contents.  (Bug#11109)
14946 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14948         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14949         (bug#11077).
14950         (avl-tree--check, avl-tree--check-node): New funs.
14952 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
14954         * window.el (switch-to-visible-buffer): New option.
14955         (switch-to-prev-buffer, switch-to-next-buffer):
14956         Observe switch-to-visible-buffer.  Make sure that checking for a window
14957         showing a buffer already is done on the same frame.
14959 2012-03-27  Glenn Morris  <rgm@gnu.org>
14961         * startup.el (mail-host-address): Doc fix.
14963 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14965         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14966         than 197 variables.
14968 2012-03-26  Ami Fischman  <ami@fischman.org>
14970         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14972 2012-03-26  Glenn Morris  <rgm@gnu.org>
14974         * files.el (save-buffers-kill-emacs): Doc fix.
14976         * startup.el (normal-top-level, command-line, command-line-1):
14977         Give them doc strings.
14979 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
14981         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14982         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14984 2012-03-25  Chong Yidong  <cyd@gnu.org>
14986         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14987         theme if it was previously enabled before (Bug#11031).
14989         * cus-theme.el (custom-theme-write-faces): Retrieve current face
14990         spec with custom-face-get-current-spec if its :shown-value is not
14991         determined yet (Bug#9337).
14992         (customize-create-theme, custom-theme-revert): Doc fixes.
14994         * button.el (button-at): Minor addition to docstring.
14996 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
14998         * vc/vc.el (vc-merge): Fix a prompt.
15000 2012-03-24  Chong Yidong  <cyd@gnu.org>
15002         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
15003         point (Bug#9623).
15005         * button.el (button-at): Minor addition to docstring.
15007 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15009         * newcomment.el (comment-choose-indent): No space after BOL.
15011 2012-03-22  Sam Steingold  <sds@gnu.org>
15013         * window.el (switch-to-prev-buffer): Revert last patch because the
15014         bug turned out to be an advertised feature (Elisp manual 28.14).
15016 2012-03-22  Glenn Morris  <rgm@gnu.org>
15018         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
15019         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
15021 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15023         * net/network-stream.el (network-stream-open-starttls): Make error
15024         message under Windows be less misleading.
15026 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
15028         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
15029         understands (bug#9942).
15031 2012-03-22  Chong Yidong  <cyd@gnu.org>
15033         * simple.el (end-of-visible-line): Handle return value of
15034         next-single-property-change properly (Bug#9371).
15036 2012-03-22  Kenichi Handa  <handa@m17n.org>
15038         * international/quail.el (quail-insert-kbd-layout): Fix previous
15039         change.  To avoid unwanted bidi reordering, use
15040         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
15042 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
15044         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
15045         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
15046         (ruby-beginning-of-indent): Be more careful with the difference
15047         between word-boundary and symbol boundary.
15048         (ruby-mode-syntax-table): Make : a symbol constituent.
15050 2012-03-21  Andreas Politz  <politza@fh-trier.de>
15052         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
15054 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15056         * progmodes/etags.el (tags-completion-at-point-function):
15057         Improve last fix.
15059         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
15061 2012-03-21  Sam Steingold  <sds@gnu.org>
15063         * progmodes/etags.el (tags-completion-at-point-function):
15064         Avoid the error when point is inside the pattern.
15066 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
15068         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
15069         line (Bug#10855).
15071 2012-03-21  Drew Adams  <drew.adams@oracle.com>
15073         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
15075 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
15077         * ido.el (ido-set-current-directory, ido-read-internal)
15078         (ido-choose-completion-string, ido-completion-help): Handle nil
15079         value of ido-completion-buffer (Bug#11008).
15081 2012-03-21  Sam Steingold  <sds@gnu.org>
15083         * window.el (switch-to-prev-buffer): Do not switch to a visible
15084         window previous buffer, just like with the frame previous buffers.
15086 2012-03-21  Chong Yidong  <cyd@gnu.org>
15088         * faces.el (make-face, make-empty-face, copy-face):
15089         * face-remap.el (face-remap-add-relative, face-remap-set-base):
15090         Doc fixes.
15092 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15094         * wid-edit.el (widget-complete-field): Remove (bug#11051).
15095         (widget-complete): Remove broken use of it.
15097 2012-03-20  Chong Yidong  <cyd@gnu.org>
15099         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
15100         Use string-width and truncate-string-width to handle arbitrary
15101         characters.
15103 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
15105         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
15106         to draw rectangles, not squares.  (Regression introduced by revno
15107         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
15109 2012-03-18  Chong Yidong  <cyd@gnu.org>
15111         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
15112         it is not yet defined (for temacs).
15114 2012-03-18  Leo Liu  <sdl.web@gmail.com>
15116         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
15117         prefix.
15119 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
15121         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
15122         (ispell-choices-win-default-height, ispell-silently-savep)
15123         (ispell-dictionary-alist, ispell-encoding8-command)
15124         (ispell-check-version, ispell-aspell-find-dictionary)
15125         (ispell-valid-dictionary-list, ispell-words-keyword)
15126         (ispell-get-word, ispell-internal-change-dictionary)
15127         (ispell-region, ispell-skip-region-list)
15128         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
15129         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
15130         (ispell-message-text-end, ispell-message)
15131         (ispell-buffer-local-parsing): Doc fix.
15133 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
15135         * htmlfontify.el: Add support for code block fontification for ODT
15136         export (Bug #9914).
15137         (hfy-optimisations): Define new option
15138         `body-text-only'
15139         (hfy-fontify-buffer): Honor above setting.
15140         (hfy-begin-span, hfy-end-span): New routines factored out form
15141         `hfy-fontify-buffer'.
15142         (hfy-begin-span-handler, hfy-end-span-handler): New variables
15143         that permit insertion of custom tags.
15144         (hfy-fontify-buffer): Use above handlers.
15145         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
15146         (hfy-face-to-css): Re-defined to be a variable.
15147         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
15148         over multiple runs.  This is made possible by having the caller let
15149         bind a special variable `hfy-user-sheet-assoc'.
15150         (htmlfontify-string): New defun.
15151         (hfy-compile-face-map): Make sure that the last char in the
15152         buffer is correctly fontified.
15153         (hfy-face-resolve-face): Whitespace only change.
15155 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
15157         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
15158         message more clear.
15160 2012-03-16  Leo Liu  <sdl.web@gmail.com>
15162         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
15164 2012-03-16  Alan Mackenzie  <acm@muc.de>
15166         Further optimize the handling of large macros.
15168         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
15169         limit to a call of `c-literal-limits'.
15170         (c-determine-+ve-limit): New function.
15171         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
15172         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
15173         In CASE 5B, restrict a search limit to 500.
15174         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
15176         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
15177         Restrict macro bounds to +-500 from after-change's BEG END.
15179 2012-03-16  Leo Liu  <sdl.web@gmail.com>
15181         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
15183 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
15185         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
15186         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
15188 2012-03-16  Glenn Morris  <rgm@gnu.org>
15190         * view.el (view-buffer, view-buffer-other-window)
15191         (view-buffer-other-frame): Doc fixes re special mode-class.
15193         * subr.el (eval-after-load): If named feature is provided not from
15194         a file, run after-load forms.  (Bug#10946)
15196         * calendar/calendar.el (calendar-insert-at-column):
15197         Handle non-unit-width characters a bit better.  (Bug#10978)
15199 2012-03-15  Chong Yidong  <cyd@gnu.org>
15201         * emacs-lisp/ring.el (ring-extend): New function.
15202         (ring-insert+extend): Extend the ring correctly (Bug#11019).
15204         * comint.el (comint-read-input-ring)
15205         (comint-add-to-input-history): Grow comint-input-ring lazily.
15207 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15209         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
15210         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
15212         * imenu.el: Fix multiple inheritance breakage (bug#9199).
15213         (imenu-add-to-menubar): Don't add a redundant index.
15214         (imenu-update-menubar): Handle a dynamically composed keymap.
15216 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
15218         * mail/sendmail.el (mail-encode-header):
15219         Bind rfc2047-encode-encoded-words to nil.
15221 2012-03-13  Glenn Morris  <rgm@gnu.org>
15223         * calendar/calendar.el (calendar-string-spread):
15224         Handle non-unit-width characters a bit better.  (Bug#10978)
15226 2012-03-13  Leo Liu  <sdl.web@gmail.com>
15228         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
15229         directory and file as argument (Bug#10822).
15231 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
15233         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
15234         For dynamically generated code, follow $PC.
15235         (gdb-disassembly-handler-custom): Handle no function name case.
15237 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
15239         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
15240         * emulation/ws-mode.el (ws-query-replace):
15241         * sort.el (sort-regexp-fields):
15242         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
15244 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15246         * dabbrev.el: Fix cycle completion order (bug#10963).
15247         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
15248         (dabbrev-completion): Don't use an obarray; provide
15249         a cycle-sort-function.
15251 2012-03-12  Leo Liu  <sdl.web@gmail.com>
15253         * simple.el (kill-new): Use equal-including-properties for comparison.
15254         (kill-do-not-save-duplicates): Doc fix.
15256 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15258         * dabbrev.el: Fix cycle completion (bug#10963).
15259         Use lexical binding and wrap to 80 columns.
15260         (dabbrev-completion): Delay computing the list of completions.
15262 2012-03-12  Kenichi Handa  <handa@m17n.org>
15264         * international/quail.el (quail-insert-kbd-layout): Surround each
15265         row by LRO and PDF instead of inserting many LRMs.  Pad the left
15266         and right of each non-spacing marks.  Insert invisible space
15267         between lower and upper characters to prevent composition.
15269 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15271         * minibuffer.el (minibuffer-complete): Don't get confused when the
15272         function is run twice via different commands (bug#10958).
15273         (complete-with-action): Fix docstring.
15275 2012-03-12  Chong Yidong  <cyd@gnu.org>
15277         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
15278         (nxml-completion-at-point-function): New function.
15279         (nxml-mode): Use it.
15280         (nxml-bind-meta-tab-to-complete-flag): Default to t.
15282         * emacs-lisp/package.el (package-unpack, package-unpack-single):
15283         Load generated autoloads file before byte compiling (Bug#10970).
15284         (package--make-autoloads-and-compile): New helper fun.
15286 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
15288         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
15290 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
15292         * autorevert.el (auto-revert-handler): Ensure, that
15293         file-readable-p is applied only for local files or in
15294         auto-revert-tail-mode.
15296 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
15298         * server.el (server-eval-at): Handle non-tcp connections.
15299         Decode result string.
15301         * server.el (server-msg-size): New constant.
15302         (server-reply-print): New function.
15303         (server-eval-and-print): Use it.
15304         (server-eval-at): Use server-quote-arg and server-unquote-arg.
15305         Handle -print-nonl.
15307 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
15309         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
15310         (Bug#10987).
15312 2012-03-11  Chong Yidong  <cyd@gnu.org>
15314         * simple.el (goto-line): Doc fix (Bug#9938).
15316         * subr.el (save-window-excursion): Doc fix (Bug#9979).
15318         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
15319         when finished (Bug#10963).
15321 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
15323         * window.el (split-window-below): Fix bug in case where
15324         split-window-keep-point is nil (Bug#10971).
15326 2012-03-11  Juri Linkov  <juri@jurta.org>
15328         * replace.el (replace-highlight): Set isearch-word to nil
15329         unconditionally.  (Bug#10887)
15331 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
15333         * net/mairix.el (mairix-replace-invalid-chars): Rename from
15334         mairix-replace-illegal-chars; all callers changed.  Don't remove
15335         ^, ~, and = characters: they are meaningful in mairix search specs.
15336         (mairix-widget-create-query): Add usage information about mairix
15337         search forms: negating words, searching for substrings, etc.
15339 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
15341         * international/fontset.el (font-encoding-alist): Add an entry for
15342         ksx1001 (Bug#5667).
15344 2012-03-10  Richard Stallman  <rms@gnu.org>
15346         * mail/sendmail.el (mail-encode-header):
15347         Set rfc2047-encode-encoded-words.
15349         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
15351         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
15352         view buffer means not swapped.
15353         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
15354         (rmail-write-region-annotate): Error if real text has disappeared.
15356         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
15358 2012-03-10  Chong Yidong  <cyd@gnu.org>
15360         * emulation/cua-rect.el (cua--init-rectangles):
15361         * emulation/cua-base.el (cua--init-keymaps):
15362         Add delete-forward-char to remappings (Bug#9666).
15364 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
15366         * speedbar.el (speedbar-unhighlight-one-tag-line):
15367         Avoid unhighlighting due to frame switching (Bug#10275).
15369 2012-03-10  Chong Yidong  <cyd@gnu.org>
15371         * minibuffer.el (completion-in-region, completion-help-at-point):
15372         Give the completion field overlay a high priority (Bug#6830).
15374         * dired.el (dired-goto-file): Recognize absolute file name
15375         listings (Bug#7126).
15376         (dired-goto-file-1): New helper function.
15377         (dired-toggle-read-only): Inhibit warnings.
15379 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
15381         * net/dbus.el (dbus-property-handler): Return empty array if
15382         there are no properties.
15384 2012-03-09  Leo Liu  <sdl.web@gmail.com>
15386         * savehist.el (savehist-printable): Stricter check for string
15387         value (Bug#10937).
15389 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
15391         * mail/smtpmail.el (smtpmail-send-it):
15392         Bind coding-system-for-write to *-unix, so that FCC files are kept in
15393         valid mbox format.
15395 2012-03-09  Glenn Morris  <rgm@gnu.org>
15397         * files.el (dir-locals-find-file):
15398         Don't check result is regular, readable.
15399         (dir-locals-read-from-file): Demote errors.
15401 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
15403         * international/quail.el (quail-insert-kbd-layout):
15404         Insert invisible LRM characters before each character in a keyboard
15405         layout cell, to prevent their reordering by bidi display engine.
15406         For details, see the discussion in
15407         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
15409 2012-03-08  Alan Mackenzie  <acm@muc.de>
15411         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
15412         the starting position; make it extend the marked region when
15413         invoked repeatedly - all under appropriate circumstances.
15414         Fixes bugs #5525, #10906.
15416 2012-03-08  Glenn Morris  <rgm@gnu.org>
15418         * files.el (locate-dominating-file, dir-locals-find-file):
15419         Undo 2012-03-06 change.
15421 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
15423         * international/quail.el (quail-help):
15424         Force bidi-paragraph-direction be left-to-right.  See discussion in
15425         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15426         for the reason.
15428 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
15430         Avoid superfluous registering of signals.  (Bug#10807)
15432         * notifications.el (notifications-on-action-object)
15433         (notifications-on-close-object): New defvars.
15434         (notifications-on-action-signal, notifications-on-closed-signal):
15435         Unregister the signal if not needed any longer.
15436         (notifications-notify): Register `notifications-action-signal' or
15437         `notifications-closed-signal', if :on-action or :on-close has been
15438         passed as argument.
15440 2012-03-07  Chong Yidong  <cyd@gnu.org>
15442         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15443         non-X platforms.
15445 2012-03-06  Glenn Morris  <rgm@gnu.org>
15447         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15448         (x-disown-selection-internal, x-get-selection-internal):
15449         Doc fix (add arglist signatures).  (Bug#10783)
15451 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
15453         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15454         Handle breakpoints with no "type".
15456 2012-03-06  Glenn Morris  <rgm@gnu.org>
15458         * files.el (locate-dominating-file): Add optional predicate argument.
15459         (dir-locals-find-file): Make use of above change.
15461 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
15463         * info.el (Info-insert-dir): Also try "dir.gz".
15465 2012-03-06  Glenn Morris  <rgm@gnu.org>
15467         * files.el (dir-locals-find-file):
15468         Ignore non-readable or non-regular files.  (Bug#10928)
15470         * files.el (locate-dominating-file): Doc fix.
15472 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
15474         * calendar/calendar.el (calendar-set-mode-line):
15475         `getenv' returns a string.  (Bug#10951)
15477 2012-03-05  Leo Liu  <sdl.web@gmail.com>
15479         * simple.el (backward-delete-char-untabify): Constrain point to
15480         field (Bug#10939).
15482         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15484 2012-03-05  Chong Yidong  <cyd@gnu.org>
15486         * simple.el (count-words): If called from Lisp, return the word
15487         count, for symmetry with `count-lines'.  Arglist changed.
15488         (count-words--message): Args changed.  Consolidate counting code
15489         from count-words and count-words-region.
15490         (count-words-region): Caller changed.
15491         (count-lines-region): Make it an obsolete alias.
15493 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
15495         * saveplace.el (save-place-to-alist)
15496         (save-place-ignore-files-regexp): Allow value nil to disable this
15497         feature.
15499 2012-03-04  Chong Yidong  <cyd@gnu.org>
15501         * faces.el (face-spec-reset-face): For the default face, reset the
15502         attributes to default values (Bug#10748).
15504 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15506         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15507         previous patch: Check `message-send-mail-function', and not the
15508         default function (bug#10897).
15510 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
15512         * notifications.el (notifications-on-action-signal)
15513         (notifications-on-closed-signal): Check for unique service name of
15514         incoming event.  Fix error in removing entry.
15515         (top): Register for signals with wildcard service name.
15516         (notifications-notify): Use daemon unique service name for map entries.
15518 2012-03-04  Chong Yidong  <cyd@gnu.org>
15520         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15522 2012-03-04  Glenn Morris  <rgm@gnu.org>
15524         * abbrev.el (copy-abbrev-table, abbrev-table-p)
15525         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15526         (expand-abbrev, define-abbrev-table): Doc fixes.
15528 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15530         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15531         `message-default-send-mail-function' and not `send-mail-function'
15532         when doing the prompting for `sendmail-query-once' before sending
15533         in Message buffers (bug#10897).
15535         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15536         This is inconsistent with all the other stream functions, which leave
15537         the setting up to the higher levels (if so wanted) (bug#10931).
15539 2012-03-02  Alan Mackenzie  <acm@muc.de>
15541         Depessimize the handling of very large macros.
15543         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15544         (c-macro-cache-syntactic): New variables to implement a one
15545         element macro cache.
15546         (c-invalidate-macro-cache): New function.
15547         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15548         Adapt to use the new cache.
15549         (c-state-safe-place): Use better the cache of safe positions.
15550         (c-state-semi-nonlit-pos-cache)
15551         (c-state-semi-nonlit-pos-cache-limit):
15552         New variables for...
15553         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
15554         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15555         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15556         Use c-state-semi-safe-place.
15558         * progmodes/cc-langs.el (c-get-state-before-change-functions):
15559         Add c-invalidate-macro-cache to the C, C++, Obj entries.
15561 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
15563         * jka-compr.el (jka-compr-call-process):
15564         Apply `file-accessible-directory-p' only when the default directory is
15565         not remote.
15567 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
15569         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
15570         access of FILE2, if FILE1 does not exist.
15572         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15573         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15575         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15576         Add "PAGER=" to `process-environment'.
15578 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
15580         * progmodes/sql.el: Bug fix
15581         (sql-get-login-ext): Save login values in globals.
15582         (sql-get-login): Use new version of `sql-get-login-ext'.
15583         (sql-interactive-mode): Set global `sql-connection' to nil.
15584         (sql-connect): Set global values for connection.
15585         (sql-product-interactive): Save global values as buffer local.
15587 2012-02-29  Leo Liu  <sdl.web@gmail.com>
15589         * abbrev.el (define-abbrevs): Reset sys to nil.
15591 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15593         * files.el (file-equal-p): Rename from `files-equal-p'.
15594         Return nil when one or both files don't exist.
15595         (file-subdir-of-p): Now only top directory must exists,
15596         return nil if it doesn't.
15597         (copy-directory): No need to test with `file-subdir-of-p' after
15598         creating dir.
15599         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15600         to `file-equal-p'.
15602 2012-02-28  Glenn Morris  <rgm@gnu.org>
15604         * shell.el (shell-mode):
15605         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15606         * play/landmark.el (landmark-font-lock-face-O):
15607         * play/handwrite.el (handwrite):
15608         * play/gomoku.el (gomoku-O):
15609         * net/browse-url.el (browse-url-browser-display):
15610         * international/mule.el (define-charset):
15611         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15612         * filesets.el (filesets-find-file-delay):
15613         * eshell/em-xtra.el (eshell-xtra):
15614         * eshell/em-unix.el (eshell-grep):
15615         * emulation/viper.el (viper-mode):
15616         * emacs-lisp/regexp-opt.el (regexp-opt-group):
15617         * emacs-lisp/easymenu.el (easy-menu-define):
15618         * calendar/timeclock.el (timeclock-use-display-time):
15619         * bs.el (bs-mode):
15620         * bookmark.el (bookmark-save-flag):
15621         Doc fix (standardize possessive apostrophe usage).
15623 2012-02-27  Chong Yidong  <cyd@gnu.org>
15625         * emulation/viper-cmd.el (viper-intercept-ESC-key):
15626         Fix key-binding lookup for ESC key (Bug#9146).
15628         * font-lock.el (font-lock-specified-p): Rename from
15629         font-lock-spec-present.  Callers changed.
15631 2012-02-27  Daniel Hackney  <dan@haxney.org>
15633         * emacs-lisp/package.el (package-compute-transaction):
15634         Handle holding a package version to t in package-load-list.
15636 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
15638         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15639         (tramp-get-inode, tramp-get-device): Use cached values.
15641 2012-02-26  Alan Mackenzie  <acm@muc.de>
15643         Check there is a font-lock specification before doing initial
15644         fontification.
15646         * font-core.el (font-lock-mode): Move the conditional from
15647         :after-hook to font-lock-initial-fontify.
15648         (font-lock-default-function): Move the check for a specification
15649         to font-lock-spec-present.
15651         * font-lock.el (font-lock-initial-fontify): Call ...
15652         (font-lock-spec-present): New function.
15654 2012-02-26  Jim Blandy  <jimb@red-bean.com>
15656         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15657         (gdb-send): Apply it to the operand of the '-interpreter-exec
15658         console' command, so that we can pass arguments with (say) quotes
15659         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
15661 2012-02-26  Chong Yidong  <cyd@gnu.org>
15663         * help-fns.el (describe-function-1): Clarify description of
15664         remapping (Bug#10844).
15666         * files.el (files-equal-p): Doc fix.
15667         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
15668         and quit the loop once a mismatch is found.
15670 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
15672         * bs.el (bs--show-with-configuration): Don't throw an error
15673         if the window cannot be split; otherwise, subsequent calls to
15674         bs-show fail, restoring a stale window config.  (Bug#10882)
15676 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
15678         * term/ns-win.el (global-map): Bind ns-drag-file to
15679         ns-find-file (Bug#5855, Bug#10050).
15681 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
15683         * calendar/parse-time.el (parse-time-string): Allow extractor to
15684         return nil.
15686 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
15688         * net/tramp.el (tramp-file-name-for-operation):
15689         Add `files-equal-p' and `file-subdir-of-p'.
15691         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15692         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15693         Add COPY-CONTENTS argument.
15695 2012-02-25  Chong Yidong  <cyd@gnu.org>
15697         Add custom groups for VC backends, for consistency with vc-bzr.
15699         * vc/vc-arch.el (vc-arch):
15700         * vc/vc-cvs.el (vc-cvs):
15701         * vc/vc-git.el (vc-git):
15702         * vc/vc-hg.el (vc-hg):
15703         * vc/vc-mtn.el (vc-mtn):
15704         * vc/vc-rcs.el (vc-rcs):
15705         * vc/vc-sccs.el (vc-sccs):
15706         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15707         All relevant defcustoms reassigned.
15709 2012-02-25  Chong Yidong  <cyd@gnu.org>
15711         * newcomment.el (comment-styles): Add autoload (Bug#10868).
15713         * term/x-win.el (x-initialize-window-system): Reduce default for
15714         x-selection-timeout to 5 seconds (Bug#8869).
15716 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15718         * files.el (files-equal-p, file-subdir-of-p): New functions.
15719         (copy-directory): Error when trying to copy a directory on itself.
15720         Add missing copy-contents arg to tramp handler.
15721         * dired-aux.el (dired-copy-file-recursive): Same.
15722         (dired-create-files): Modify destination when source is equal to
15723         dest when copying files.
15724         Return also when dest is a subdir of source.  (Bug#10489)
15726 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
15728         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15729         (Bug#10874)
15731 2012-02-23  Alan Mackenzie  <acm@muc.de>
15733         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15734         parameter "after-hook:" to allow the expansion to run code after
15735         the execution of the mode hooks.
15737         * font-lock.el (font-lock-initial-fontify): New function extracted
15738         from font-lock-mode-internal.
15740         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15741         :after-hook.
15743 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15745         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15746         (completion--cache-all-sorted-completions): New function.
15747         (completion-all-sorted-completions): Use it.
15748         (completion--do-completion, minibuffer-force-complete):
15749         Use it to re-instate the flush hook.
15751         * icomplete.el (icomplete-completions): Replace last fix with a better
15752         one (bug#10850).
15754 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
15756         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15757         when it might call us back infinitely (bug#10797).
15759 2012-02-23  Glenn Morris  <rgm@gnu.org>
15761         * minibuffer.el (completion-category-overrides): Doc fix.
15763 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15765         * minibuffer.el (completion-table-with-context): Fix inf-loop.
15766         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15768 2012-02-23  Glenn Morris  <rgm@gnu.org>
15770         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15771         (authors-obsolete-files-regexps, authors-ignored-files)
15772         (authors-ambiguous-files, authors-renamed-files-alist):
15773         Add more entries.
15775 2012-02-23  Juri Linkov  <juri@jurta.org>
15777         * isearch.el (isearch-occur): Sync interactive spec with occur's
15778         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
15780         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15782 2012-02-22  Juri Linkov  <juri@jurta.org>
15784         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15785         (ucs-insert): Doc fix.  Check for hex digits in the string.
15786         Don't display `nil' in the error message.  (Bug#10857)
15788 2012-02-22  Alan Mackenzie  <acm@muc.de>
15790         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15792 2012-02-22  Glenn Morris  <rgm@gnu.org>
15794         * ffap.el (ffap-c-path):
15795         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
15797 2012-02-22  Chong Yidong  <cyd@gnu.org>
15799         * custom.el (load-theme): Doc fix.
15801 2012-02-22  Glenn Morris  <rgm@gnu.org>
15803         * dired-x.el (dired-guess-shell-alist-default):
15804         Remove escape sequences from nroff output.  (Bug#172)
15806 2012-02-21  Glenn Morris  <rgm@gnu.org>
15808         * vc/emerge.el (emerge-defvar-local):
15809         Set `permanent-local' property rather than unused `preserved'.
15811         * textmodes/picture.el (picture-delete-char): New alias.
15812         (picture-mode-map): Use it.  (Bug#10860)
15813         (picture-mode): Doc fix.
15815 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
15817         * newcomment.el (uncomment-region-default): Remove unused binding.
15819 2012-02-21  Glenn Morris  <rgm@gnu.org>
15821         * textmodes/picture.el (picture-motion, picture-motion-reverse)
15822         (picture-self-insert, picture-tab-chars): Doc fix.
15823         (picture-mode-map): Fix C-a, C-e.
15825 2012-02-20  Glenn Morris  <rgm@gnu.org>
15827         * emacs-lisp/authors.el (authors-aliases): Add another entry.
15829 2012-02-20  Leo Liu  <sdl.web@gmail.com>
15831         * icomplete.el (icomplete-completions): Check FROM arg before
15832         passing to substring (Bug#10850).
15834 2012-02-19  Chong Yidong  <cyd@gnu.org>
15836         * comint.el: Require ansi-color.
15837         (comint-output-filter-functions): Add ansi-color-process-output.
15839         * ansi-color.el: Don't set comint-output-filter-functions; it is
15840         now in the initial value defined in comint.el.
15841         (ansi-color-apply-face-function): New variable.
15842         (ansi-color-apply-on-region): Use it.
15843         (ansi-color-apply-overlay-face): New function.
15845         * shell.el (shell): No need to require ansi-color.
15846         (shell-mode): Use ansi-color-apply-face-function to highlight
15847         color escapes using font-lock-face property (Bug#10835).
15849 2012-02-19  Chong Yidong  <cyd@gnu.org>
15851         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15852         mode-line formats (Bug#10839).
15854 2012-02-18  Glenn Morris  <rgm@gnu.org>
15856         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15858         * mail/undigest.el (unforward-rmail-message): Doc fix.
15860         * saveplace.el (save-place-ignore-files-regexp): Add :version.
15862 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
15864         * international/characters.el (script-list): Sync with the latest
15865         Unicode Character Database.
15867 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
15869         * international/titdic-cnv.el: Remove duplicate coding tag.
15870         * language/cham.el: Likewise.
15871         * language/tai-viet.el: Likewise.
15873 2012-02-18  Glenn Morris  <rgm@gnu.org>
15875         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15876         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15877         (calendar-bahai-all-holidays-flag, calendar-other-dates):
15878         * calendar/diary-lib.el (diary-abbreviated-year-flag):
15879         * calendar/holidays.el (holiday-bahai-holidays)
15880         (calendar-holidays, list-holidays):
15881         Use utf-8 BahĂ¡'Ă­ in doc-strings, menus, etc.
15883 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
15885         * saveplace.el (save-place-ignore-files-regexp): New variable
15886         allowing for excluding files from saving their location of point.
15887         The default value matches the temporary commit message editing
15888         files from Git, SVN, Bazaar, and Mercurial.
15889         (save-place-to-alist): Use it.
15891 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
15892             Stefan Monnier  <monnier@iro.umontreal.ca>
15894         * newcomment.el (uncomment-region-default): Don't leave extra space
15895         when an arg is provided (bug#8150).
15897 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
15899         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15901 2012-02-17  Glenn Morris  <rgm@gnu.org>
15903         * net/socks.el: Require network-stream.  (Bug#10599)
15905 2012-02-17  Kenichi Handa  <handa@m17n.org>
15907         * international/charprop.el:
15908         * international/uni-name.el:
15909         * international/uni-old-name.el:
15910         * international/uni-comment.el: Regenerate.
15912 2012-02-16  Glenn Morris  <rgm@gnu.org>
15914         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15915         Interactively in calendar buffer, give an error if not on a date.
15917 2012-02-15  Glenn Morris  <rgm@gnu.org>
15919         * shell.el (shell-delimiter-argument-list):
15920         Revert 2011-02-17 change.  (Bug#8027)
15922 2012-02-15  Chong Yidong  <cyd@gnu.org>
15924         * minibuffer.el (completion-at-point-functions): Doc fix.
15926         * custom.el (defcustom): Doc fix; note use of defvar.
15928 2012-02-15  Glenn Morris  <rgm@gnu.org>
15930         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15931         Doc fixes.
15933 2012-02-14  Glenn Morris  <rgm@gnu.org>
15935         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15937 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
15939         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15940         way the ports list is computed.
15941         (smtpmail-query-smtp-server): Prompt the user for a port number if
15942         we can't connect to any of the standard ports (bug#10810).
15944 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
15946         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15948 2012-02-13  Glenn Morris  <rgm@gnu.org>
15950         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
15952 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
15954         * net/gnutls.el (gnutls-trustfiles): New variable.
15955         (gnutls-negotiate): Use it.
15957 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
15959         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15960         does its stuff if Gnus is running.
15962 2012-02-13  Alan Mackenzie  <acm@muc.de>
15964         Fix a loop in c-set-fl-decl-start.
15966         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15967         c-backward-syntactic-ws actually moves backwards.
15969 2012-02-13  Leo Liu  <sdl.web@gmail.com>
15971         * net/rcirc.el (rcirc-markup-attributes): Move point to the
15972         beginning so that all \C-o chars are removed.
15974 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
15976         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15978 2012-02-12  Alan Mackenzie  <acm@muc.de>
15980         Fix infinite loop with long macros.
15981         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15983 2012-02-12  Chong Yidong  <cyd@gnu.org>
15985         * window.el (display-buffer): Doc fix (Bug#10785).
15987 2012-02-12  Glenn Morris  <rgm@gnu.org>
15989         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15990         (x-disown-selection-internal, x-get-selection-internal):
15991         Sync docs with the xselect.c versions.
15993         * allout-widgets.el: Add missing license notice.
15995 2012-02-11  Glenn Morris  <rgm@gnu.org>
15997         * select.el (x-get-selection-internal, x-own-selection-internal)
15998         (x-disown-selection-internal):
15999         * x-dnd.el (x-get-selection-internal): Update declarations.
16001         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
16003         * window.el (window-sides-slots):
16004         * tool-bar.el (tool-bar-position):
16005         * term/xterm.el (xterm-extra-capabilities):
16006         * ses.el (ses-self-reference-early-detection):
16007         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
16008         (verilog-auto-wire-type)
16009         (verilog-auto-delete-trailing-whitespace)
16010         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
16011         (verilog-auto-tieoff-declaration):
16012         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
16013         (sql-oracle-statement-starters, sql-oracle-scan-on):
16014         * progmodes/prolog.el (prolog-align-comments-flag)
16015         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
16016         (prolog-left-indent-regexp, prolog-paren-indent-p)
16017         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
16018         (prolog-types, prolog-mode-specificators)
16019         (prolog-determinism-specificators, prolog-directives)
16020         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
16021         (prolog-electric-dot-flag)
16022         (prolog-electric-dot-full-predicate-template)
16023         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
16024         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
16025         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
16026         (prolog-program-switches, prolog-prompt-regexp)
16027         (prolog-debug-on-string, prolog-debug-off-string)
16028         (prolog-trace-on-string, prolog-trace-off-string)
16029         (prolog-zip-on-string, prolog-zip-off-string)
16030         (prolog-use-standard-consult-compile-method-flag)
16031         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
16032         (prolog-imenu-max-lines, prolog-info-predicate-index)
16033         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
16034         (prolog-char-quote-workaround):
16035         * progmodes/cc-vars.el (c-defun-tactic):
16036         * net/tramp.el (tramp-encoding-command-interactive)
16037         (tramp-local-end-of-line):
16038         * net/soap-client.el (soap-client):
16039         * net/netrc.el (netrc-file):
16040         * net/gnutls.el (gnutls):
16041         * minibuffer.el (completion-category-overrides)
16042         (completion-cycle-threshold)
16043         (completion-pcm-complete-word-inserts-delimiters):
16044         * man.el (Man-name-local-regexp):
16045         * mail/feedmail.el (feedmail-display-full-frame):
16046         * international/characters.el (glyphless-char-display-control):
16047         * eshell/em-ls.el (eshell-ls-date-format):
16048         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
16049         (lisp-lambda-list-keyword-parameter-indentation)
16050         (lisp-lambda-list-keyword-parameter-alignment):
16051         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
16052         * dired-x.el (dired-omit-verbose):
16053         * cus-theme.el (custom-theme-allow-multiple-selections):
16054         * calc/calc.el (calc-highlight-selections-with-faces)
16055         (calc-lu-field-reference, calc-lu-power-reference)
16056         (calc-note-threshold):
16057         * battery.el (battery-mode-line-limit):
16058         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
16059         (archive-7z-update):
16060         * allout.el (allout-prefixed-keybindings)
16061         (allout-unprefixed-keybindings)
16062         (allout-inhibit-auto-fill-on-headline)
16063         (allout-flattened-numbering-abbreviation):
16064         * allout-widgets.el (allout-widgets-auto-activation)
16065         (allout-widgets-icons-dark-subdir)
16066         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
16067         (allout-widgets-theme-dark-background)
16068         (allout-widgets-theme-light-background)
16069         (allout-widgets-item-image-properties-emacs)
16070         (allout-widgets-item-image-properties-xemacs)
16071         (allout-widgets-run-unit-tests-on-load)
16072         (allout-widgets-time-decoration-activity)
16073         (allout-widgets-hook-error-post-time)
16074         (allout-widgets-track-decoration):
16075         Add missing :version tags to new defcustoms and defgroups.
16077         * progmodes/sql.el (sql-ansi-statement-starters)
16078         (sql-oracle-statement-starters): Add custom type.
16080         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
16081         (prolog-system-version): Give it a type.
16083 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
16085         * term/pc-win.el (x-select-text, x-selection-owner-p)
16086         (x-own-selection-internal, x-disown-selection-internal)
16087         (x-get-selection-internal): Sync doc strings and argument lists
16088         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
16090 2012-02-11  Leo Liu  <sdl.web@gmail.com>
16092         * progmodes/python.el (python-end-of-statement): Fix infinite
16093         loop.  (Bug#10788)
16095 2012-02-10  Glenn Morris  <rgm@gnu.org>
16097         * international/mule-cmds.el (unify-8859-on-encoding-mode)
16098         (unify-8859-on-decoding-mode): Properly mark as obsolete.
16100 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
16102         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
16103         about SMTP before checking the From header.
16105         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
16106         into own function for reuse by emacsbug.el.
16108 2012-02-10  Leo Liu  <sdl.web@gmail.com>
16110         * subr.el (condition-case-unless-debug): Rename from
16111         condition-case-no-debug.  All callers changed.
16112         (with-demoted-errors): Fix caller.
16114         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
16115         * nxml/rng-valid.el (rng-do-some-validation):
16116         * emacs-lisp/package.el (package-refresh-contents)
16117         (package-menu-execute):
16118         * desktop.el (desktop-create-buffer):
16119         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
16121 2012-02-10  Glenn Morris  <rgm@gnu.org>
16123         * textmodes/bibtex.el:
16124         Add missing :version tags for new/changed defcustoms.
16126         * files.el (remote-file-name-inhibit-cache): Doc fixes.
16128 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
16130         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
16131         (smtpmail-via-smtp): Use it, or fall back on the From address.
16132         (smtpmail-send-it): Ditto.
16134 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16136         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
16137         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
16138         (byte-compile-tmp-var): New const.
16139         (byte-compile-defvar): Use it to minimize .elc size.
16140         Just use `defvar' rather than simulate it (bug#10761).
16142 2012-02-09  Glenn Morris  <rgm@gnu.org>
16144         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
16146         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
16147         Add :version tags.
16149         * progmodes/compile.el (compilation-error-screen-columns)
16150         (compilation-first-column, compilation-filter-start): Doc fixes.
16152         * vc/log-view.el (log-view-toggle-entry-display):
16153         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
16155         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
16156         (report-emacs-bug-can-use-xdg-email):
16157         (report-emacs-bug-insert-to-mailer): Doc fixes.
16158         (report-emacs-bug): Message fix.
16160         * net/browse-url.el (browse-url-can-use-xdg-open)
16161         (browse-url-xdg-open): Doc fixes.
16163         * electric.el (electric-indent-mode, electric-pair-mode)
16164         (electric-layout-rules, electric-layout-mode): Doc fixes.
16165         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
16167 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
16169         * server.el (server-unselect-display): Don't inadvertently kill
16170         the current buffer.  (Bug#10729)
16172 2012-02-08  Glenn Morris  <rgm@gnu.org>
16174         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
16175         (sql-list-table): Doc fixes.
16177         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
16178         Comment out (does nothing).
16180         * completion.el (dynamic-completion-mode):
16181         * dirtrack.el (dirtrack-debug-mode):
16182         * electric.el (electric-layout-mode):
16183         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
16184         * face-remap.el (text-scale-mode, buffer-face-mode):
16185         * iimage.el (iimage-mode):
16186         * image-mode.el (image-transform-mode):
16187         * minibuffer.el (completion-in-region-mode):
16188         * scroll-lock.el (scroll-lock-mode):
16189         * simple.el (next-error-follow-minor-mode):
16190         * tar-mode.el (tar-subfile-mode):
16191         * tooltip.el (tooltip-mode):
16192         * vcursor.el (vcursor-use-vcursor-map):
16193         * wid-browse.el (widget-minor-mode):
16194         * emulation/tpu-edt.el (tpu-edt-mode):
16195         * emulation/tpu-extras.el (tpu-cursor-free-mode):
16196         * international/iso-ascii.el (iso-ascii-mode):
16197         * language/thai-util.el (thai-word-mode):
16198         * mail/supercite.el (sc-minor-mode):
16199         * net/goto-addr.el (goto-address-mode):
16200         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
16201         * progmodes/cwarn.el (cwarn-mode):
16202         * progmodes/flymake.el (flymake-mode):
16203         * progmodes/glasses.el (glasses-mode):
16204         * progmodes/hideshow.el (hs-minor-mode):
16205         * progmodes/pascal.el (pascal-outline-mode):
16206         * textmodes/enriched.el (enriched-mode):
16207         * vc/smerge-mode.el (smerge-mode):
16208         Doc fixes (minor mode argument).
16210 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
16212         * ls-lisp.el (ls-lisp-sanitize): New function.
16213         (ls-lisp-insert-directory): Use it to fix or remove any elements
16214         in file-alist with missing attributes.  (Bug#4673)
16216 2012-02-07  Alan Mackenzie  <acm@muc.de>
16218         Fix spurious recognition of c-in-knr-argdecl.
16220         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
16221         putative K&R region.
16223 2012-02-07  Alan Mackenzie  <acm@muc.de>
16225         * progmodes/cc-engine.el (c-forward-objc-directive):
16226         Prevent looping in "#pragma mark @implementation".
16228 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
16230         * notifications.el (notifications-on-closed-signal): Make `reason'
16231         optional.  (Bug#10744)
16233 2012-02-07  Glenn Morris  <rgm@gnu.org>
16235         * emacs-lisp/easy-mmode.el (define-minor-mode):
16236         Doc fixes for the macro and the mode it defines.
16238         * image.el (imagemagick-types-inhibit): Doc fix.
16240         * cus-start.el (imagemagick-render-type): Add it.
16242 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
16244         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
16245         Set the default at load time, too, so that `font-lock-fontify-buffer'
16246         can be called without setting up the entire mode first.  This fixes
16247         a bug in `mm-inline-text' with C MIME parts.
16249 2012-02-06  Chong Yidong  <cyd@gnu.org>
16251         * simple.el (list-processes--refresh): Delete exited processes
16252         (Bug#8094).
16254         * comint.el (comint-next-prompt): next-single-char-property-change
16255         and prev-single-char-property-change never return nil (Bug#8657).
16257         * custom.el (defcustom): Doc fix (Bug#9711).
16259 2012-02-05  Chong Yidong  <cyd@gnu.org>
16261         * cus-edit.el (custom-variable-reset-backup): Quote the value
16262         before storing it in the customized-value property (Bug#6712).
16263         (custom-display): Add a customization type tag.
16264         (custom-buffer-create-internal): Improve tooltip message.
16266         * wid-edit.el (widget-field-value-get): New optional arg to
16267         suppress trailing whitespace truncation.
16268         (character): Use it (Bug#2689).
16270 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
16272         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
16273         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
16275 2012-02-05  Chong Yidong  <cyd@gnu.org>
16277         * cus-edit.el (custom-variable-value-create): For mismatched
16278         types, show the current value (Bug#7600).
16280         * custom.el (defcustom): Doc fix.
16282 2012-02-05  Glenn Morris  <rgm@gnu.org>
16284         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
16286 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
16288         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
16289         (pp-buffer): Use `ignore-errors', `looking-at-p'.
16290         (pp-last-sexp): Use `looking-at-p'.
16292 2012-02-04  Glenn Morris  <rgm@gnu.org>
16294         * files.el (revert-buffer):
16295         Doc fix (mention revert-buffer-in-progress-p).
16297         * emacs-lisp/ert-x.el (ert-simulate-command):
16298         Check deferred-action-list (which is obsolete) is bound.
16300         * subr.el (with-wrapper-hook): Doc fixes.
16302         * simple.el (filter-buffer-substring-functions)
16303         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
16305 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
16307         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
16308         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
16310 2012-02-04  Leo Liu  <sdl.web@gmail.com>
16312         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
16314 2012-02-04  Glenn Morris  <rgm@gnu.org>
16316         * image.el (image-extension-data): Add obsolete alias.
16318         * isearch.el (isearch-update): Doc fix.
16320         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
16322         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
16324 2012-02-03  Glenn Morris  <rgm@gnu.org>
16326         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
16327         (image-animate-timeout): Doc fix.
16329         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
16331 2012-02-02  Glenn Morris  <rgm@gnu.org>
16333         * server.el (server-auth-dir): Doc fix.
16334         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
16336         * subr.el (run-mode-hooks): Doc fix.
16338 2012-02-02  Juri Linkov  <juri@jurta.org>
16340         * image-mode.el (image-toggle-display-image): Remove tautological
16341         `major-mode' from the `derived-mode-p' test.
16343 2012-02-02  Kenichi Handa  <handa@m17n.org>
16345         * composite.el (compose-region): Cancel previous change.
16347 2012-02-02  Kenichi Handa  <handa@m17n.org>
16349         * composite.el (compose-region, compose-string): Signal error for
16350         a null string component (Bug#6988).
16352 2012-02-01  Chong Yidong  <cyd@gnu.org>
16354         * view.el (view-buffer-other-window, view-buffer-other-frame):
16355         Handle special modes like view-buffer (Bug#10650).
16356         (view-buffer): Simplify.
16358         * frame.el (set-frame-font): Tweak meaning of third argument.
16360         * dynamic-setting.el (font-setting-change-default-font):
16361         Use set-frame-font (Bug#9982).
16363 2012-02-01  Glenn Morris  <rgm@gnu.org>
16365         * progmodes/compile.el (compilation-internal-error-properties):
16366         Respect compilation-first-column in the "*compilation*" buffer.
16368         * emacs-lisp/easy-mmode.el (define-minor-mode):
16369         Relax :variable's test for a named function.
16371 2012-01-31  Alan Mackenzie  <acm@muc.de>
16373         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
16374         off by one error.
16376 2012-01-31  Chong Yidong  <cyd@gnu.org>
16378         * frame.el (set-frame-font): New arg ALL-FRAMES.
16380         * menu-bar.el (menu-set-font): Use set-frame-font.
16382         * faces.el (face-spec-reset-face): Don't apply unspecified
16383         attribute values to the default face.
16385 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
16387         * progmodes/cwarn.el (cwarn): Remove dead link.
16388         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
16389         Remove * from defcustom docstrings.
16390         (turn-on-cwarn-mode): Make obsolete.
16391         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
16392         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
16394 2012-01-31  Glenn Morris  <rgm@gnu.org>
16396         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
16397         Fix :variable handling of mode a symbol not equal to modefun.
16398         Allow named functions to be used as the cdr of :variable.
16400 2012-01-30  Glenn Morris  <rgm@gnu.org>
16402         * emacs-lisp/authors.el (authors-fixed-entries):
16403         Remove reference to deleted file rnewspost.el.
16405 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
16407         * window.el (window-with-parameter): Remove unused variable `windows'.
16408         (window--side-check): Remove unused variable `code'.
16409         (window--resize-siblings): Remove unused variable `first'.
16410         (adjust-window-trailing-edge): Remove unused variable `failed'.
16411         (window-deletable-p, window--delete): Remove unused variable `buffer'.
16412         Use `let', not `let*'.
16413         (balance-windows-2): Remove unused variable `found'.
16414         (window--state-put-2): Remove unused variable `splits'.
16415         (window-state-put): Remove unused variable `selected'.
16416         (same-window-p): Use `string-match-p'.
16417         (display-buffer-assq-regexp): Remove unused variable `value'.
16418         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16419         Mark argument ALIST as ignored.
16420         (pop-to-buffer): Remove unused variable `old-window'.
16422 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
16424         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16425         and .lzma compressed files.
16427 2012-01-29  Chong Yidong  <cyd@gnu.org>
16429         * frame.el (window-system-default-frame-alist): Doc fix.
16431         * dynamic-setting.el (font-setting-change-default-font): Don't
16432         change the default face if SET-FONT argument is non-nil (Bug#9982).
16434 2012-01-29  Samuel Bronson  <naesten@gmail.com>
16436         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16438 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
16440         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16441         breakpoints in files outside current directory (Bug#6098).
16443 2012-01-29  Chong Yidong  <cyd@gnu.org>
16445         * progmodes/python.el: Require ansi-color at top-level.
16447         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16448         Define and use in Emacs Lisp mode (Bug#9360).
16449         (lisp-mode-abbrev-table): Add doc.
16450         (lisp-mode-variables): Don't set local-abbrev-table.
16451         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16453 2012-01-28  Roland Winkler  <winkler@gnu.org>
16455         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16457 2012-01-28  Roland Winkler  <winkler@gnu.org>
16459         * textmodes/bibtex.el (bibtex-entry-alist): New function.
16460         (bibtex-set-dialect): Use it.  Either set global values of
16461         dialect-dependent variables or bind these variables buffer-locally
16462         (Bug#10254).
16463         (bibtex-mode): Call bibtex-set-dialect via
16464         hack-local-variables-hook.
16465         (bibtex-dialect): Update docstring.
16466         Add safe-local-variable predicate.
16467         (bibtex-entry-alist, bibtex-field-alist): Initialize via
16468         bibtex-set-dialect.
16469         (bibtex-mode-map): Define menu for each dialect.
16470         (bibtex-entry): Fix docstring.
16472 2012-01-28  Chong Yidong  <cyd@gnu.org>
16474         * eshell/esh-arg.el (eshell-quote-argument): New function.
16476         * eshell/esh-ext.el (eshell-invoke-batch-file):
16477         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16478         first arg to eshell-parse-command (Bug#10523).
16480 2012-01-28  Drew Adams  <drew.adams@oracle.com>
16482         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16483         `default-directory' is non-nil.
16485 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
16487         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16488         line that displays system-configuration-options.  (Bug#9924)
16490 2012-01-28  Drew Adams  <drew.adams@oracle.com>
16492         * descr-text.el (describe-char): Show information about POS, in
16493         addition to information about the character at POS.  Improve and
16494         update the doc string.  Change "code point" to "code point in
16495         charset", to avoid confusion with the character's Unicode code
16496         point shown above that.  (Bug#10129)
16498 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
16500         * descr-text.el (describe-char): Show the raw character, not only
16501         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
16502         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16503         for the reasons.
16505 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
16507         * emacs-lisp/package.el (package-install):
16508         Run package-refresh-contents if there is no archive yet (Bug#9798).
16510 2012-01-28  Chong Yidong  <cyd@gnu.org>
16512         * emacs-lisp/package.el (package-maybe-load-descriptor):
16513         New function, split from package-maybe-load-descriptor.
16514         (package-maybe-load-descriptor): Use it.
16515         (package-download-transaction): Fully load required packages
16516         inside the loop, so that `require' calls work (Bug#10593).
16517         (package-install): No need to call package-initialize now.
16519 2012-01-28  Chong Yidong  <cyd@gnu.org>
16521         * simple.el (deactivate-mark): Doc fix (Bug#8614).
16523         * tooltip.el (tooltip-mode): Doc fix.
16524         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16526         * frame.el (set-cursor-color): Doc fix (Bug#352).
16528         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16529         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16531         * cus-edit.el (custom-buffer-create-internal): Fix search button
16532         action (Bug#10542).
16533         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16535 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
16537         * dired.el (dired-mark-files-regexp):
16538         Include any subdirectory components.  (Bug#10445)
16540 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
16542         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16543         Handle [host]:port syntax.  (Bug#10533)
16545 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
16547         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16549 2012-01-26  Glenn Morris  <rgm@gnu.org>
16551         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16552         * term.el (term-raw-escape-map): Use Control-X-prefix.
16553         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
16555 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
16557         * window.el (window-state-get, window--state-get-1): Don't deal
16558         with fixed-sizeness of windows.  Simplify code.
16560 2012-01-25  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
16562         * window.el (window--state-get-1, window--state-put-2):
16563         Don't save and restore the mark.
16565 2012-01-25  Chong Yidong  <cyd@gnu.org>
16567         * custom.el (custom-variable-p): Doc fix.
16569 2012-01-25  Glenn Morris  <rgm@gnu.org>
16571         * dired.el (dired-goto-file): Handle some of the more common
16572         characters that `ls -b' escapes.  (Bug#10596)
16574         * progmodes/compile.el (compilation-next-error-function):
16575         Respect compilation-first-column in the "*compilation*" buffer.
16576         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
16578         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
16580 2012-01-24  Glenn Morris  <rgm@gnu.org>
16582         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
16584 2012-01-24  Julien Danjou  <julien@danjou.info>
16586         * color.el (color-rgb-to-hsl): Fix value computing.
16587         (color-hue-to-rgb): New function.
16588         (color-hsl-to-rgb): New function.
16589         (color-clamp, color-saturate-hsl, color-saturate-name)
16590         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16591         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16593 2012-01-24  Glenn Morris  <rgm@gnu.org>
16595         * vc/vc-rcs.el (vc-rcs-create-tag):
16596         * vc/vc-sccs.el (vc-sccs-create-tag):
16597         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
16599 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
16601         * eshell/esh-util.el (eshell-read-hosts-file):
16602         Skip comment lines.  (Bug#10549)
16604         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
16606 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
16608         * subr.el (display-delayed-warnings): Doc fix.
16609         (collapse-delayed-warnings): New function to collapse identical
16610         adjacent warnings.
16611         (delayed-warnings-hook): Add it.
16613 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
16615         * net/tramp.el (tramp-action-login): Set connection property "login-as".
16617         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16618         (tramp-default-user-alist): Don't add "pscp".
16619         (tramp-do-copy-or-rename-file-out-of-band): Use connection
16620         property "login-as", if set.  (Bug#10530)
16622 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
16624         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16625         "plink1" and "psftp".  (Bug#10530)
16627 2012-01-21  Kenichi Handa  <handa@m17n.org>
16629         * international/mule-cmds.el (prefer-coding-system): Show a
16630         warning message if the default value of file-name-coding-system
16631         was not changed.
16633 2012-01-21  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
16635         * windmove.el (windmove-reference-loc):
16636         Fix windmove-reference-loc miscalculation.
16638 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
16640         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16641         default unit.
16643 2012-01-21  Glenn Morris  <rgm@gnu.org>
16645         * international/mule.el (auto-coding-alist): Add .tbz.
16647         * files.el (local-enable-local-variables): Doc fix.
16648         (inhibit-local-variables-regexps): Rename from
16649         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
16650         Doc fix.  Add some extensions from auto-coding-alist.
16651         (inhibit-local-variables-suffixes):
16652         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
16653         (inhibit-local-variables-p):
16654         New function, extracted from set-auto-mode-1.
16655         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
16656         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
16657         (hack-local-variables): Doc fix.  Make the mode-only case
16658         respect enable-local-variables and friends.
16659         Respect inhibit-local-variables-regexps for file-locals, but
16660         not for directory-locals.
16661         (set-visited-file-name):
16662         Take account of inhibit-local-variables-regexps.
16663         Whether it applies may change as the file name is changed.
16664         * jka-cmpr-hook.el (jka-compr-install):
16665         * jka-compr.el (jka-compr-uninstall):
16666         Update for inhibit-first-line-modes-suffixes name change.
16668 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
16670         * help-macro.el (make-help-screen): Temporarily restore original
16671         binding for minor-mode-map-alist (Bug#10454).
16673 2012-01-19  Julien Danjou  <julien@danjou.info>
16675         * color.el (color-name-to-rgb): Use the white color to find the max
16676         color component value and return correctly computed values.
16677         (color-name-to-rgb): Add missing float conversion for max value.
16679 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
16681         * window.el (window--state-get-1, window-state-get): Do not use
16682         special state value for window-persistent-parameters.
16683         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
16684         (window--state-put-2): Reset all window parameters to nil before
16685         assigning values of persistent parameters.
16687 2012-01-18  Alan Mackenzie  <acm@muc.de>
16689         Eliminate sluggishness and hangs in fontification of "semicolon
16690         deserts".
16692         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16693         Change value 10000 -> 3000.
16694         (c-state-safe-place): Reformulate so it doesn't stack up an
16695         infinite number of wrong entries in c-state-nonlit-pos-cache.
16696         (c-determine-limit-get-base, c-determine-limit): New functions to
16697         determine backward search limits disregarding literals.
16698         (c-find-decl-spots): Amend commenting.
16699         (c-cheap-inside-bracelist-p): New function which detects "={".
16701         * progmodes/cc-fonts.el
16702         (c-make-font-lock-BO-decl-search-function): Give a limit to a
16703         backward search.
16704         (c-font-lock-declarations): Fix an occurrence of point being
16705         undefined.  Check additionally for point being in a bracelist or
16706         near a macro invocation without a semicolon so as to avoid a
16707         fruitless time consuming search for a declarator.  Give a more
16708         precise search limit for declarators using the new
16709         c-determine-limit.
16711 2012-01-18  Glenn Morris  <rgm@gnu.org>
16713         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16714         (set-auto-mode): Doc fixes.
16716 2012-01-17  Glenn Morris  <rgm@gnu.org>
16718         * isearch.el (search-nonincremental-instead): Fix doc typo.
16720         * dired.el (dired-insert-directory): Handle newlines in directory name.
16721         (dired-build-subdir-alist): Unescape newlines in directory name.
16723 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
16725         * net/tramp.el (tramp-local-end-of-line): New defcustom.
16726         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16727         (tramp-action-terminal): Use it.  (Bug#10530)
16729 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16731         * minibuffer.el (completion--replace): Strip properties (bug#10062).
16733 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
16735         * window.el (window-state-ignored-parameters): Remove variable.
16736         (window--state-get-1): Rename argument MARKERS to IGNORE.
16737         Handle persistent window parameters.  Make copy of clone-of
16738         parameter only if requested.  (Bug#10348)
16739         (window--state-put-2): Install a window parameter only if it has
16740         a non-nil value or an existing parameter shall be overwritten.
16742 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
16744         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16746 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
16748         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16749         don't pass the (nil) value of `upnode' to string-match.
16751 2012-01-14  Chong Yidong  <cyd@gnu.org>
16753         * startup.el (command-line): Fix X resource class for cursorColor.
16754         Fix values recognized by the cursorBlink resource.
16756 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
16758         * epg.el (epg--make-temp-file): Avoid permission race condition
16759         when running on old Emacs versions (bug#10403).
16761 2012-01-14  Glenn Morris  <rgm@gnu.org>
16763         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16765 2012-01-13  Alan Mackenzie  <acm@muc.de>
16767         Fix filling for when filladapt mode is enabled.
16769         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16770         c-mask-paragraph, pass in `fill-paragraph' rather than
16771         `fill-region-as-paragraph'.  (This is a reversion of a previous
16772         change.)
16773         * progmodes/cc-mode.el (c-basic-common-init):
16774         Make fill-paragraph-handle-comment buffer local and set it to nil.
16776 2012-01-13  Glenn Morris  <rgm@gnu.org>
16778         * dired.el (dired-switches-escape-p): New function.
16779         (dired-insert-directory): Use dired-switches-escape-p.
16780         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
16782         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
16784 2012-01-12  Glenn Morris  <rgm@gnu.org>
16786         * mail/sendmail.el (mail-mode): Update paragraph-separate for
16787         changes in adaptive-fill-regexp.  (Bug#10276)
16789 2012-01-11  Alan Mackenzie  <acm@muc.de>
16791         Fix Emacs bug #10463 - put `widen's around the critical spots.
16793         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16794         widen around each invocation of c-state-pp-to-literal.  Remove an
16795         unused let variable.
16797 2012-01-11  Glenn Morris  <rgm@gnu.org>
16799         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
16800         Doc fix.
16802 2012-01-10  Chong Yidong  <cyd@gnu.org>
16804         * net/network-stream.el (network-stream-open-starttls):
16805         Avoid emitting a confusing error message when the server gives a bad
16806         response to the capability command.
16808 2012-01-10  Glenn Morris  <rgm@gnu.org>
16810         * mail/unrmail.el (unrmail): Tweak previous change.
16812 2012-01-09  Chong Yidong  <cyd@gnu.org>
16814         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16816 2012-01-08  Alan Mackenzie  <acm@muc.de>
16818         Optimize font locking in long enum definitions.
16820         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16821         arm to a cond form to handle enums.
16822         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16823         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16825 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
16827         * files.el (move-file-to-trash): Preserve default file modes on error.
16828         (Bug#10401)
16830 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16832         * faces.el (set-face-attribute): Clarify the meaning of the nil
16833         frame (bug#10294).
16835         * subr.el (with-selected-frame): Mention that the selected frame
16836         is restored (bug#9980).
16838         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16839         (bug#9759).
16841         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16842         (password-read): Don't autoload unused function.
16844 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
16846         * progmodes/which-func.el (which-func-mode): Turn into a
16847         non-interactive function and mark as obsolete (bug#10428).
16849 2012-01-06  Chong Yidong  <cyd@gnu.org>
16851         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16852         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16853         functions, along with 1 and -1.
16855 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
16857         * time.el (display-time-load-average)
16858         (display-time-default-load-average): Doc fixes.  See the thread
16859         starting at
16860         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16861         for the details.
16863 2012-01-06  Glenn Morris  <rgm@gnu.org>
16865         * mail/unrmail.el (unrmail): Give an explicit error if the input file
16866         has no messages.  (Bug#10377)
16868         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16869         than Info-edit.  (Bug#10385)
16871         * time.el (display-time-load-average, display-time-next-load-average):
16872         Doc fixes.
16874         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16875         local setting of buffer-read-only to the input buffer.  (Bug#10419)
16877         * calendar/calendar.el (calendar-mode):
16878         Locally set scroll-margin to 0.  (Bug#10379)
16880 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
16882         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
16884 2012-01-05  Glenn Morris  <rgm@gnu.org>
16886         * eshell/em-unix.el (diff-no-select): Autoload it.
16887         (eshell/diff): Use diff-no-select.  (Bug#10420)
16889 2012-01-05  Chong Yidong  <cyd@gnu.org>
16891         * shell.el (shell-dynamic-complete-functions): Revert last change.
16892         (shell-command-completion-function): New function.
16893         (shell-completion-vars): Use it to implement
16894         shell-completion-execonly (Bug#10417).
16896         * custom.el (enable-theme): Don't set custom-safe-themes.
16898         * cus-theme.el (custom-theme-merge-theme):
16899         Ignore custom-enabled-themes and custom-safe-themes.
16901 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
16903         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16904         first prompt in `sql-interacive-mode'.
16905         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16906         keywords.
16907         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16908         (sql-product-interactive): Bug fix: Set `sql-buffer' in
16909         context of original buffer.  Invoke `sql-login-hook'.
16911 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
16913         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16914         letters in cite-prefix.
16916 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16918         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16920 2012-01-03  Chong Yidong  <cyd@gnu.org>
16922         * shell.el (shell-dynamic-complete-functions):
16923         Put pcomplete-completions-at-point, so as to try
16924         comint-filename-completion first (Bug#10417).
16926 2012-01-02  Richard Stallman  <rms@gnu.org>
16928         * battery.el (battery-status-function):
16929         Detect when to use battery-yeeloong-sysfs.
16930         (battery-echo-area-format): Add string for Yeeloong.
16931         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16932         (battery-yeeloong-sysfs): New function.
16934 2012-01-02  Chong Yidong  <cyd@gnu.org>
16936         * dirtrack.el (dirtrack-list): Eliminate unused third element.
16937         (dirtrack): Merge code for handling relative filenames in prompt
16938         from shell-dir-cookie-watcher.
16939         (dirtrack-debug-message): New arg to avoid excess format calls.
16941         * shell.el (shell-dir-cookie-re): Variable deleted.
16942         (shell-dir-cookie-watcher): Function deleted.
16943         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16944         with dirtrack-mode.
16946 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
16948         * term/w32-win.el (dynamic-library-alist) <gnutls>:
16949         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16950         libgnutls-26.dll.
16952 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
16954         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16956 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
16958         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16959         headers of non-MIME messages, when rmail-enable-mime is non-nil.
16961 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
16963         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16964         also for alternative shells.
16965         (tramp-open-connection-setup-interactive-shell): Check, whether
16966         the shell is a busybox.
16967         (tramp-send-command): Don't suppress multiple prompts for
16968         busyboxes, it hurts.
16970 2011-12-28  Chong Yidong  <cyd@gnu.org>
16972         * progmodes/gdb-mi.el (gdb-get-source-file-list)
16973         (gdb-get-source-file): Move mode line update to
16974         gdb-get-source-file (Bug#10087).
16976 2011-12-25  Chong Yidong  <cyd@gnu.org>
16978         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16979         gud-gdb-marker-filter without taking it as an argument.
16980         (gud-gdb-run-command-fetch-lines): Caller changed.
16981         (gud-gdb-completion-function): New variable.
16982         (gud-gdb-completion-at-point): Use it.
16983         (gud-gdb-completions-1): Split from gud-gdb-completions.
16985         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16986         function as separate arguments.
16987         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16988         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16989         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16990         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16991         (gdb-stopped, def-gdb-auto-update-trigger)
16992         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16993         (gdb-get-changed-registers, gdb-get-main-selected-frame):
16994         Callers changed.
16995         (gud-gdbmi-completions): New function.
16996         (gdb): Use it for generating the completion table.
16998 2011-12-24  Alan Mackenzie  <acm@muc.de>
17000         Introduce a mechanism to widen the region used in context font
17001         locking.  Use this to protect declarations from losing their contexts.
17003         * progmodes/cc-langs.el (c-before-font-lock-functions):
17004         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
17005         (c-before-context-fontification-functions): New defvar, a list of
17006         functions to be run just before context (etc.) font locking.
17008         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
17009         New, functionality extracted from
17010         c-neutralize-syntax-in-and-mark-CPP.
17011         (c-in-after-change-fontification): New variable.
17012         (c-after-change): Set c-in-after-change-fontification.
17013         (c-set-fl-decl-start): Rejig its interface, so it can be called
17014         from both after-change and context fontifying.
17015         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
17016         New functions.
17017         (c-standard-font-lock-fontify-region-function): New variable.
17018         (c-font-lock-fontify-region): New function.
17020 2011-12-24  Juri Linkov  <juri@jurta.org>
17022         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
17023         (Bug#10348)
17025 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
17027         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
17028         existence of source file.  (Bug#10325)
17030 2011-12-23  Alan Mackenzie  <acm@muc.de>
17032         Fix unstable fontification inside templates.
17034         * progmodes/cc-langs.el (c-before-font-lock-functions):
17035         Newly created from the singular version.  The (c c++ objc) entry now
17036         additionally has c-set-fl-decl-start.  The other languages (apart
17037         from AWK) have that as a single entry.
17039         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
17040         The functionality for "local" declarations has been extracted to
17041         c-set-fl-decl-start.
17043         * progmodes/cc-mode.el (c-common-init, c-after-change):
17044         Changes due to pluralisation of c-before-font-lock-functions.
17045         (c-set-fl-decl-start): New function, extracted from
17046         c-font-lock-enclosing-decls and enhanced.
17048 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
17050         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
17052 2011-12-22  Juri Linkov  <juri@jurta.org>
17054         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
17056 2011-12-22  Chong Yidong  <cyd@gnu.org>
17058         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
17060 2011-12-21  Drew Adams  <drew.adams@oracle.com>
17062         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
17064 2011-12-21  JĂ©rĂ©my Compostella  <jeremy.compostella@gmail.com>
17066         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
17068 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
17070         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
17071         highlighting and support.  Fix up comments for capitalization.
17072         (cfengine-mode-debug): New var.
17073         (cfengine3-mode): Change the modeline indicator to "CFE3".
17074         (cfengine3-font-lock-keywords): Improve defun highlighting.
17075         (cfengine2-actions): Rename from `cfengine-actions'.
17076         (cfengine2-font-lock-keywords): Rename from
17077         `cfengine-font-lock-keywords'.
17078         (cfengine2-imenu-expression): Rename from
17079         `cfengine-imenu-expression'.
17080         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
17081         (cfengine2-beginning-of-defun): Rename from
17082         `cfengine-beginning-of-defun'.
17083         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
17084         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
17085         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
17086         modeline indicator to "CFE2".
17087         (cfengine-mode): Defalias to `cfengine-auto-mode'.
17088         (cfengine-mode-abbrevs): Mark obsolete.
17090 2011-12-21  Chong Yidong  <cyd@gnu.org>
17092         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
17093         filename argument.
17095 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
17097         * window.el (window-normalize-buffer-to-display): Remove.
17098         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
17100 2011-12-19  Chong Yidong  <cyd@gnu.org>
17102         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
17103         Don't signal an error in a predicate function; return non-nil.
17104         (vc-dir-mark-file): Move the error here.
17105         (vc-dir-mark-unmark): If acting on the region, keep going if one
17106         of the entries cannot be marked/unmarked.
17107         (vc-dir-mark-all-files): If current entry is a directory, mark
17108         only child files, as documented.
17110 2011-12-19  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
17112         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
17113         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
17114         addition.
17116 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
17118         * term/ns-win.el (ns-get-selection-internal)
17119         (ns-store-selection-internal): Declare.
17120         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
17121         Declare as obsolete.
17122         (ns-get-pasteboard, ns-paste-secondary):
17123         Use ns-get-selection-internal.
17124         (ns-set-pasteboard, ns-copy-including-secondary):
17125         Use ns-store-selection-internal.
17127 2011-12-17  Chong Yidong  <cyd@gnu.org>
17129         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
17130         (vc-deduce-fileset): Doc fix.
17132 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
17134         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
17136 2011-12-13  Sam Steingold  <sds@gnu.org>
17138         * man.el (Man-getpage-in-background): When running under a
17139         window-system, ignore $MANWIDTH and $COLUMNS.
17141 2011-12-15  Kenichi Handa  <handa@m17n.org>
17143         * language/ethio-util.el: Change coding tag to utf-8-emacs.
17144         (setup-ethiopic-environment-internal): Comment out key-binding for
17145         ethio-toggle-punctuation.
17147 2011-12-13  Alan Mackenzie  <acm@muc.de>
17149         Add the switch statement to AWK Mode.
17151         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
17152         "default" to the keywords regexp.
17154         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
17155         expression as the rest.
17156         (c-nonlabel-token-key): Allow string literals for AWK.
17157         Refactor for the other modes.
17159         Large brace-block initialisation makes CC Mode slow: Fix.
17160         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
17161         routines.  Limit backward searching in c-font-lock-enclosing.decl.
17163         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
17164         pp-state and literal type in addition to the limits.
17165         (c-state-safe-place): New defun, extracted from c-state-literal-at.
17166         (c-state-literal-at): Use the above new defun.
17167         (c-slow-in-literal, c-fast-in-literal): Remove.
17168         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
17170         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
17171         being in a literal.  Add a limit for backward searching.
17173         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
17174         c-slow-in-literal.
17176 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17178         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
17180 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
17182         * window.el (delete-other-windows): Use correct frame in call to
17183         window-with-parameter.
17185 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
17187         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
17188         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
17189         (makefile-gmake-statements, makefile-makepp-statements):
17190         Use it and add new makepp keywords.
17191         (makefile-makepp-font-lock-keywords): Add new patterns.
17192         (makefile-match-function-end): Match new [...] and [[...]].
17194 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
17196         * ses.el (ses-call-printer-return, ses-cell-property-get)
17197         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
17198         (ses-create-cell-variable, ses-reset-header-string)
17199         (ses-cell-set-formula, ses-repair-cell-reference-all)
17200         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
17201         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
17202         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
17203         (ses-aset-with-undo, ses-load, ses-truncate-cell)
17204         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
17205         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
17206         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
17207         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
17208         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
17209         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
17210         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
17211         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
17213 2011-12-11  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
17215         * ses.el: The overall change is to add cell renaming, that is
17216         setting fancy names for cell symbols other than name matching
17217         "\\`[A-Z]+[0-9]+\\'" regexp .
17218         (ses-create-cell-variable): New defun.
17219         (ses-relocate-formula): Relocate formulas only for cells the
17220         symbols of which are not renamed, i.e. symbols whose names do not
17221         match regexp "\\`[A-Z]+[0-9]+\\'".
17222         (ses-relocate-all): Relocate values only for cells the symbols of
17223         which are not renamed.
17224         (ses-load): Create cells variables as the (ses-cell ...) are read,
17225         in order to check row col consistency with cell symbol name only
17226         for cells that are not renamed.
17227         (ses-replace-name-in-formula): New defun.
17228         (ses-rename-cell): New defun.
17230 2011-12-11  Chong Yidong  <cyd@gnu.org>
17232         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
17233         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
17235 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
17237         * window.el (other-window): Fix docstring.
17239 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
17241         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
17242         `from' or `to' address before taking its substring.
17243         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
17244         encoded name is chopped in the middle of the encoded string, and
17245         thus displayed encoded.
17247 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
17249         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
17251 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
17253         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
17254         to use texinfo-update-node and commands that call it if the
17255         Texinfo file uses @node lines without next/prev/up pointers.
17256         Correct outdated description about texinfo-master-menu.
17257         (texinfo-all-menus-update, texinfo-master-menu)
17258         (texinfo-update-node, texinfo-every-node-update)
17259         (texinfo-multiple-files-update): Doc fix.  Warn against updating
17260         all the @node lines.
17261         (texinfo-master-menu): Only call texinfo-update-node if the prefix
17262         argument is numeric.  Explain better in the doc string what the
17263         function really does.
17264         (texinfo-insert-master-menu-list): Improve the error message
17265         displayed if there's no menu in the Top node.
17266         (Bug#2975)  See also this thread:
17267         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
17269 2011-12-09  Manuel GĂ³mez  <mgrojo@gmail.com>  (tiny change)
17271         * speedbar.el (speedbar-supported-extension-expressions):
17272         Add .adb and .ads, commonly used for Ada source code (bug#10256).
17274 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
17276         * printing.el (pr-mode-alist):
17277         * simple.el (filter-buffer-substring-functions)
17278         (completion-list-insert-choice-function):
17279         * window.el (window-with-parameter, window-atom-root)
17280         (window-sides-slots, window-size-fixed, window-min-delta)
17281         (window-max-delta, window--resize-mini-window)
17282         (window--resize-child-windows-normal, window-tree)
17283         (delete-other-windows, quit-window, split-window)
17284         (display-buffer-record-window, special-display-buffer-names)
17285         (special-display-regexps, special-display-popup-frame)
17286         (same-window-p, split-window-sensibly)
17287         (display-buffer-overriding-action, display-buffer-alist)
17288         (display-buffer-base-action, display-buffer, switch-to-buffer)
17289         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
17290         (fit-window-to-buffer, recenter-positions)
17291         (mouse-autoselect-window-state, mouse-autoselect-window-select):
17292         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
17293         and remove unneeded backslashes in docstrings.
17295 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
17297         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
17299         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
17300         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
17301         end in ".mk".
17302         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
17303         when reading the makefile (bug#10116).
17305 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
17307         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
17308         (bug#10116).
17310 2011-12-06  Glenn Morris  <rgm@gnu.org>
17312         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
17314 2011-12-06  Chong Yidong  <cyd@gnu.org>
17316         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
17318 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
17320         * textmodes/table.el (table-shorten-cell): Fix typo.
17322 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
17324         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
17326 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
17328         * descr-text.el (describe-char): Fix display of strong
17329         right-to-left characters and directional embeddings and overrides.
17331         * simple.el (what-cursor-position): Fix display of codepoints of
17332         strong right-to-left characters.
17334 2011-12-05  Chong Yidong  <cyd@gnu.org>
17336         * faces.el (read-color): Doc fix.
17338 2011-12-05  Glenn Morris  <rgm@gnu.org>
17340         * align.el (align--set-marker): Add doc-string.
17341         Don't try to move something that is not a marker.  (Bug#10216)
17343 2011-12-04  Glenn Morris  <rgm@gnu.org>
17345         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
17346         overly zealous deletion of trailing whitespace.
17348 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
17350         * server.el (server-delete-client): On Windows, do not try to delete
17351         the only terminal.
17352         (server-process-filter): On Windows, treat requests for a tty frame as
17353         if they were for a GUI frame if the running server is in GUI mode.
17355 2011-12-03  Glenn Morris  <rgm@gnu.org>
17357         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
17359 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
17361         * electric.el: Streamline electric-indent's hook.
17362         (electric-indent-chars): Revert to simple list.
17363         (electric-indent-functions): New var.
17364         (electric-indent-post-self-insert-function): Use it.
17366         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
17367         there's no inferior buffer (bug#10196).
17368         (prolog-consult-compile): Don't use toggle-read-only.
17370 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
17372         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
17373         interrupt.  (Bug#10187)
17375 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17377         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
17378         (bug#9160).
17380         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
17381         (bug#10191).
17383 2011-12-02  Juri Linkov  <juri@jurta.org>
17385         * info.el (Info-search): Display "end of manual" when Isearch
17386         reaches the end of single-file Info manual.  (Bug#9918)
17388 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
17390         * isearch.el (isearch-message-prefix): Run the input method part
17391         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
17393 2011-12-02  Juri Linkov  <juri@jurta.org>
17395         * isearch.el (isearch-occur): Use `word-search-regexp' for
17396         `isearch-word'.
17397         (isearch-search-and-update): Add condition for `isearch-word' and
17398         call `word-search-regexp'.  (Bug#10145)
17400 2011-12-01  Glenn Morris  <rgm@gnu.org>
17402         * eshell/em-hist.el (eshell-hist-initialize):
17403         Handle eshell-history-size nil and HISTSIZE set or unset.
17404         (eshell-history-file-name, eshell-history-size): Fix custom type.
17406 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17408         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
17410 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
17412         * progmodes/verilog-mode.el (verilog-pretty-expr):
17413         Rework verilog-pretty-expr to handle new assignment operators in system
17414         verilog, such as += *= and the like.
17415         (verilog-assignment-operator-re): Regular expression to find the
17416         assigment operator in a verilog assignment.
17417         (verilog-assignment-operation-re): Regular expression to find an
17418         assignment statement for pretty-expr.
17419         (verilog-in-attribute-p): Query returns true if point is in an
17420         attribute context; used to skip these for expression line up from
17421         pretty-expr.
17422         (verilog-in-parameter-p): Query returns true if point is in an
17423         parameter definition context; used to skip these for expression
17424         line up from pretty-expr.
17425         (verilog-in-parenthesis-p): Query returns true if point is in a
17426         parenthetical expression, specifically ( ) but not [ ] or { };
17427         used by pretty-expr.
17428         (verilog-just-one-space): If there is no space, don't add one.
17429         (verilog-get-lineup-indent-2): Specifically skip just attribute
17430         contexts for expression lineup, rather than skipping all
17431         parenthetical expressions.
17432         (verilog-calculate-indent): Fix comment, and fix indent.
17433         (verilog-do-indent): Indent declarations in lists (suggested by
17434         Joachim Lechner).
17435         (verilog-mode-abbrev-table): Populate abbrev mode with the various
17436         skeleton items.
17437         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17438         by Alain Mellan).
17440 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
17442         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17443         parameters with embedded comments.  Reported by Ray Stevens.
17444         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17445         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17446         Reported by Tim Holt.
17447         (verilog-auto): Fix AUTOing a upper module then AUTOing module
17448         instantiated by upper module causing wrong expansion until AUTOed a
17449         second time.  Reported by K C Buckenmaier.
17450         (verilog-diff-auto): Fix showing .* as a difference when
17451         `verilog-auto-star-save' off.  Reported by Dan Dever.
17452         (verilog-auto-reset, verilog-read-always-signals)
17453         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17454         temporary signals in reset list if
17455         verilog-auto-reset-blocking-in-non is nil, and match assignment
17456         style to each signal's assignment type, bug381.
17457         Reported by Thomas Esposito.
17458         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17459         (verilog-uvm-statement-re): Support UVM indentation and
17460         highlighting, with old OVM keywords only.
17461         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17462         Support AUTOTIEOFF creating non-wire data types.
17463         Suggested by Jonathan Greenlaw.
17464         (verilog-auto-insert-lisp, verilog-delete-to-paren)
17465         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17466         (verilog-inject-sense, verilog-read-inst-pins)
17467         (verilog-read-sub-decls, verilog-read-sub-decls-line):
17468         Fix mismatching parenthesis inside commented out code when deleting
17469         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
17470         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17471         non-numeric vector width.  Reported by Alex Reed.
17472         (verilog-auto-ascii-enum): Add "onehot" option to work around not
17473         detecting signals with parameter widths.  Reported by Alex Reed.
17474         (verilog-auto-delete-trailing-whitespace):
17475         With `verilog-auto-delete-trailing-whitespace' remove trailing
17476         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
17477         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17478         Fix verilog-scan-cache corruption when running user AUTO expansion
17479         hooks that call indentation routines.
17480         (verilog-simplify-range-expression): Fix typo ignoring lower case
17481         identifiers.
17482         (verilog-delete-auto): Fix delete-autos to also remove user created
17483         automatics, as long as they start with AUTO.
17484         (verilog-batch-diff-auto, verilog-diff-auto)
17485         (verilog-diff-function): Add `verilog-diff-auto' and bind to
17486         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
17487         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17488         (verilog-in-paren-quick, verilog-re-search-backward-quick)
17489         (verilog-re-search-forward-quick, verilog-syntax-ppss):
17490         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17491         is disabled and its cache will get corrupt, causing AUTOS not to
17492         expand.  Instead use only -quick functions.
17493         (verilog-scan-region): Fix scanning over escaped quotes.
17494         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17495         (verilog-re-search-backward-quick)
17496         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17497         related functions now ignore strings, to fix misparsing of strings
17498         with magic comments embedded in them.
17499         (verilog-read-auto-template):
17500         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17501         Reported by Brad Dobbie.
17502         (verilog-read-auto-template):
17503         Fix 'verilog-auto-inst-template-numbers' with comments.
17504         Reported by Brad Dobbie.
17505         (verilog-auto-inst, verilog-auto-inst-param)
17506         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17507         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
17508         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17509         debugging templates without merge conflicts, bug357.
17510         Reported by Brad Dobbie.
17511         (verilog-read-auto-template):
17512         Fix verilog-auto-inst-template-numbers with multiple templates.
17513         Reported by Brad Dobbie.
17514         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17515         abbrevs so user won't be asked to save.
17516         (verilog-read-auto-lisp-present): Fix to start at beginning of
17517         buffer in case called outside of verilog-auto.
17518         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17519         to "X-2".  Reported by Matthew Myers.
17520         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17521         all inputs from module templates.  Reported by Leith Johnson.
17522         (verilog-module-inside-filename-p): Fix locating programs as with
17523         modules.
17524         (verilog-auto-inst-port): Fix vl-width expressions when using
17525         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
17526         (verilog-decls-get-regs, verilog-decls-get-signals,
17527         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17528         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17529         verilog-read-decls): Combine reg and wire structures into one var
17530         structure to represent SystemVerilog concepts.
17531         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17532         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17533         (verilog-auto-wire-type, verilog-insert-definition):
17534         Add verilog-auto-wire-type and AUTOLOGIC to support using
17535         SystemVerilog "logic" keyword instead of "wire"/"reg".
17536         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17537         to declares outputs that also have assignments (presumably in an
17538         ifdef or generate if so there's not a driver conflict).
17539         Reported by Matthew Myers.
17540         (verilog-auto-declare-nettype, verilog-insert-definition):
17541         Add verilog-auto-declare-nettype to fix declarations using
17542         `default_nettype none.  Reported by Julian Gorfajn.
17543         (verilog-read-always-signals-recurse, verilog-read-decls)
17544         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17545         malformed end statement, bug325.  Reported by Joshua Wise and
17546         Andrew Drake.
17547         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17548         (verilog-inst-comment-re): Fix not deleting Interfaced comment
17549         when expanding .* in interfaces, bug320.
17550         Reported by Pierre-David Pfister.
17551         (verilog-read-module-name): Fix import statements between module
17552         name and open parenthesis, bug317.
17553         Reported by Pierre-David Pfister.
17554         (verilog-simplify-range-expression): Fix simplification of
17555         multiplications inside AUTOWIRE connections, bug303.
17556         (verilog-auto-inst-port): Support parameter expansion in
17557         multidimensional arrays.
17558         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17559         after "assert property".  Reported by Julian Gorfajn.
17560         (verilog-simplify-range-expression): Fix "couldn't merge" errors
17561         with multiplication, bug303.
17562         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17563         Reported by Jan Frode Lonnum.
17565 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
17567         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17568         (hfy-shell-file-name, hfy-shell):
17569         * international/fontset.el (x-decompose-font-name): Fix typos.
17571 2011-11-29  Ken Brown  <kbrown@cornell.edu>
17573         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17574         (gdb-version): Remove defvar.
17575         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17576         (gdb-gud-context-command, gdb-non-stop-handler)
17577         (gdb-current-context-command, gdb-stopped): Use it.
17578         (gdb-init-1): Enable pretty printing here.
17579         (gdb-non-stop-handler): Don't enable pretty-printing here.
17580         Check to see if the target supports non-stop mode; if not, turn off
17581         non-stop mode.  Use the following.
17582         (gdb-check-target-async): New defun.
17583         (gud-watch, gdb-stopped): Fix whitespace.
17584         (gdb-get-source-file): Don't try to display the source file if
17585         `gdb-main-file' is nil.
17587 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17589         * align.el: Try to generate fewer markers (bug#10047).
17590         (align--set-marker): New macro.
17591         (align-region): Use it.
17593 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17595         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17597 2011-11-29  Chong Yidong  <cyd@gnu.org>
17599         * indent.el (indent-for-tab-command, indent-according-to-mode):
17600         Doc fix.
17601         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
17603 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
17605         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17606         aware of remote file names.  (Bug#10124)
17608 2011-11-29  Chong Yidong  <cyd@gnu.org>
17610         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17612 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17614         * files.el (find-file): Don't use force-same-window (bug#10144).
17615         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17616         use pop-to-buffer if the selected window can't be used.
17617         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17619 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
17621         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17622         special-mode-map.
17624 2011-11-28  Chong Yidong  <cyd@gnu.org>
17626         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17628 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
17630         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17631           gdb-get-source-file-list on gdb-create-source-file-list.
17633 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
17635         * whitespace.el (whitespace-newline): Use a different foreground
17636         color for 16-color light-background displays.
17638 2011-11-24  Chong Yidong  <cyd@gnu.org>
17640         * window.el (display-buffer--special-action): Doc fix.
17642 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
17644         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17645         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17646         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17647         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17648         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17649         (avl-tree-stack-first):
17650         * emacs-lisp/cconv.el (cconv--analyse-use):
17651         * net/gnutls.el (gnutls-negotiate): Fix typos.
17653 2011-11-24  Glenn Morris  <rgm@gnu.org>
17655         * lpr.el (lpr-windows-system, lpr-lp-system):
17656         * mail/binhex.el (binhex-begin-line):
17657         * progmodes/grep.el (grep-history, grep-find-history):
17658         * textmodes/flyspell.el:
17659         * vc/pcvs-defs.el (cvs-global-menu):
17660         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17661         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17662         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17664         * net/tls.el: Fix case of "GnuTLS".
17666         * paths.el (rmail-file-name): Format doc-string for make-docfile.
17668         * version.el (emacs-build-system): Give it a doc-string.
17670 2011-11-24  Juri Linkov  <juri@jurta.org>
17672         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17674 2011-11-24  Glenn Morris  <rgm@gnu.org>
17676         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17677         if called on a non-mime message just toggle the headers.  (Bug#8006)
17679 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
17681         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17682         (allout-lead-with-comment-string, allout-structure-deleted-hook)
17683         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17684         (allout-rebullet-heading, allout-open-sibtopic)
17685         (allout-toggle-current-subtree-encryption)
17686         (allout-toggle-subtree-encryption, allout-encrypt-string)
17687         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17688         (allout-distinctive-bullets-string, allout-auto-activation):
17689         * window.el (window-normalize-buffer-to-display):
17690         * progmodes/verilog-mode.el (verilog-batch-indent):
17691         * textmodes/bibtex.el (bibtex-field-braces-opt)
17692         (bibtex-field-strings-opt):
17693         * vc/cvs-status.el (cvs-tree-merge):
17694         Fix typos.
17696 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
17698         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17699         `non-essential' to t, in order to avoid remote connections.
17701 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
17703         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17704         On MS-DOS and MS-Windows, compare with loaddefs.el
17705         case-insensitively.
17707 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
17709         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
17711 2011-11-23  Glenn Morris  <rgm@gnu.org>
17713         * paths.el (rmail-file-name): Reformat the doc-string so that it
17714         is picked up.
17716         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17717         (rmail-auto-file): Ignore case in the "special" field names,
17718         as mail-fetch-field does for all others.
17720         * mail/rmail.el (rmail-forward):
17721         * mail/rmailkwd.el (rmail-set-label):
17722         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17723         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
17725         * mail/rmail.el (rmail-current-message): Doc fix.
17727         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
17729 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17731         * server.el (server-eval-and-print): Allow C-g (bug#6585).
17733 2011-11-22  Glenn Morris  <rgm@gnu.org>
17735         * mail/rmailmm.el (test-rmail-mime-handler)
17736         (test-rmail-mime-bulk-handler)
17737         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17739 2011-11-21  Juri Linkov  <juri@jurta.org>
17741         * calc/calc.el (calc-read-key-sequence):
17742         Let-bind `input-method-function' to nil.  (Bug#10018)
17744 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17746         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17747         Tell the caller that the next line needs recomputation, even
17748         though it doesn't start a sexp (bug#10094).
17750 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17752         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17754 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17756         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17757         Use force-same-window.
17759 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
17761         * descr-text.el (describe-char-unicode-data):
17762         * json.el (json-string-escape):
17763         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17764         (Footnote-unicode, Footnote-style-p):
17765         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17767 2011-11-20  Chong Yidong  <cyd@gnu.org>
17769         * window.el (replace-buffer-in-windows): Restore interactive spec.
17771 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17773         * electric.el (electric-indent-mode): Fix last change (too optimistic).
17775         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17776         (byte-compile-global-not-obsolete-vars): New var.
17777         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17778         Use it.
17779         (byte-compile-warn-obsolete): Align text with the one in *Help*.
17781 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
17783         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17784         * progmodes/pascal.el (electric-pascal-equal):
17785         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17786         * xml.el (xml-substitute-special): Fix typos.
17788 2011-11-20  Glenn Morris  <rgm@gnu.org>
17790         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17791         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17792         Doc fixes.
17793         (rmail-decode-mime-charset): Mark as obsolete.
17795         * mail/rmailsum.el (rmail-message-regexp-p-1):
17796         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17797         Before using mime functions, check they are set.  (Bug#10077)
17799 2011-11-19  Juri Linkov  <juri@jurta.org>
17801         * info.el (Info-finder-find-node): Use `package--builtins' instead
17802         of `package-alist'.  Use node names formed by the pattern "Keyword "
17803         and the keyword name.
17805 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
17807         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17809 2011-11-19  Juri Linkov  <juri@jurta.org>
17811         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17812         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
17813         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17814         `old-history', `old-history-forward'.  Add let-binding
17815         `window-selected'.  Remove calls to `kill-buffer',
17816         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
17817         before calling `Info-find-node', so `Info-find-node-2' will reread
17818         the Info file.  Restore window positions only when `window-selected'
17819         is non-nil.
17821 2011-11-19  Juri Linkov  <juri@jurta.org>
17823         * isearch.el (isearch-lazy-highlight-new-loop):
17824         Remove condition `(not isearch-error)'.  (Bug#9918)
17826         * misearch.el (multi-isearch-search-fun): Add condition
17827         `(not bound)' to ignore lazy-highlighting search.
17828         Add the search-failed message "end of multi" when the end of
17829         multi-sequence is reached.  Uncapitalize the search-failed
17830         message "Repeat for next buffer".
17832         * info.el (Info-search): Add the search-failed message
17833         "end of the manual" when the end of the manual is reached
17834         in Isearch mode.
17836 2011-11-19  Juri Linkov  <juri@jurta.org>
17838         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17839         Use non-destructive `remove' instead of `delete' because
17840         `Info-history-list' stored to `Info-isearch-initial-history-list' in
17841         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17843 2011-11-19  Juri Linkov  <juri@jurta.org>
17845         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17846         to nil instead of binding `search-ring' and `regexp-search-ring'.
17847         (Bug#9185)
17849 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
17851         * simple.el (line-move): Force movement by logical lines for any
17852         hscrolled window, not only when auto-hscroll-mode is on.
17853         (line-move-visual): Update doc string to that effect.  (Bug#10076)
17855 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
17857         * language/european.el (macintosh): Define as alias for mac-roman.
17859 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
17861         * mail/rmailmm.el (rmail-mime-display-header)
17862         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17863         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17864         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17865         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17866         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17867         of a raw aref.
17868         (rmail-mime-entity-segment): To get past the tagline, move forward
17869         2 more lines, to account for the 2 empty lines that precede and
17870         follow the line with the buttons.
17871         (rmail-mime-update-tagline): Move one more line, to get past the
17872         empty line that follows the buttons in the tagline.  (Bug#9520)
17874 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
17876         * window.el (window-max-delta-1, window-min-delta-1)
17877         (window-min-size-1, window-state-get-1, window-state-put-1)
17878         (window-state-put-2): Use "window--" prefix.
17880 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17882         * emacs-lisp/smie.el: Improve warnings and conflict detection.
17883         (smie-warning-count): New var.
17884         (smie-set-prec2tab): Use it.
17885         (smie-bnf->prec2): Improve warnings.  Add docstring.
17886         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17887         (smie-bnf--set-class): New function.
17888         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
17889         corner case.
17891         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17892         (compilation-error-properties, compilation-move-to-column):
17893         Handle compilation-first-column while in the target buffer.
17895         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17896         Don't hardcode point-min==1.
17898         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17899         (eshell-rewrite-for-command): Remove workaround.
17900         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17901         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17902         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17904         * files-x.el (modify-file-local-variable): Obey commenting conventions.
17906 2011-11-17  Glenn Morris  <rgm@gnu.org>
17908         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17909         Ignore buffer-local generated-autoload-file if it is the same
17910         as the global value.  (Bug#10049)
17912 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
17914         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17915         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17916         (reftex-toc-previous-heading, reftex-toc-max-level)
17917         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17918         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17919         (reftex-toc-do-promote, reftex-toc-promote-prepare)
17920         (reftex-toc-promote-action, reftex-toc-extract-section-number)
17921         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17922         (reftex-toc-rename-label, reftex-toc-visit-location)
17923         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17924         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17925         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17926         leaving "*toc*" only for references to the buffer.
17928 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
17930         * window.el (window-resize, delete-window, split-window):
17931         Replace window-splits by window-combination-resize.
17932         * cus-start.el (window-splits): Replace by window-combination-resize.
17934 2011-11-17  Glenn Morris  <rgm@gnu.org>
17936         * progmodes/sh-script.el (sh-font-lock-keywords-var):
17937         Make bash entry derive from sh entry, not shell entry.
17939 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
17941         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17942         local file name.
17944 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
17946         * menu-bar.el (menu-bar-file-menu):
17947         * printing.el (pr-ps-utility):
17948         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17949         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17950         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17951         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17952         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17953         (icalendar--convert-cyclic-to-ical)
17954         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17955         (icalendar--convert-ical-to-diary)
17956         (icalendar--convert-recurring-to-diary)
17957         (icalendar--convert-non-recurring-all-day-to-diary)
17958         (icalendar-import-format-sample):
17959         * progmodes/idlw-shell.el (idlwave-shell-mode):
17960         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17961         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17962         (vhdl-ps-print-init): Fix typos.
17964 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
17966         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17967         FSF and collapse date sequence, obscure author/maintainer email address
17968         better, remove extra version line, track relocation of author's webpage.
17970         * progmodes/python.el (python-pdbtrack-input-prompt)
17971         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17972         regular python pdb prompts.  Adjustments shamelessly taken exactly as
17973         suggested in EmacsWiki page (tiny change):
17974         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17976 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
17978         * expand.el (expand-pos, expand-index, expand-point):
17979         Remove redundant info from docstring.
17980         (expand-add-abbrevs): Doc fix.
17981         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17982         (expand-sample-perl-mode-expand-list): Fix typos.
17984         * net/dbus.el (dbus-event-member-name):
17985         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17986         * term/pc-win.el (msdos-create-frame-with-faces):
17987         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17989 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
17991         * window.el (split-window, window-state-get-1)
17992         (window-state-put-1, window-state-put-2): Rename occurrences of
17993         window-nest to window-combination-limit.
17994         * cus-start.el (window-nest): Rename to window-combination-limit.
17996 2011-11-16  Chong Yidong  <cyd@gnu.org>
17998         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17999         regexp (Bug#10033).
18001 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18003         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
18004         `completing-read' will remove *Completions* and will preserve
18005         current-buffer for us.
18006         (tmm-add-prompt): Users of *Completions* will always (re)set its
18007         major mode.
18008         (tmm-old-comp-map): Remove.
18010 2011-11-16  Glenn Morris  <rgm@gnu.org>
18012         * mail/rmailedit.el: Require rmailmm when compiling.
18013         (rmail-old-mime-state): New declaration.
18014         (rmail-edit-current-message): If editing a mime message,
18015         edit the "raw" message from the mbox buffer.
18016         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
18018 2011-11-15  Glenn Morris  <rgm@gnu.org>
18020         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
18021         which wasn't being used.  Add optional arg to force given state.
18022         (rmail-mime): Add optional arg to force given state.
18024 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
18026         * allout.el (allout-encryption-plaintext-sanitization-regexps):
18027         * frame.el (display-mm-dimensions-alist):
18028         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
18029         (outline-move-subtree-down):
18030         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
18031         (newsticker--treeview-do-get-node):
18032         * net/quickurl.el (quickurl-list-buffer-name):
18033         * progmodes/dcl-mode.el (dcl-mode):
18034         * progmodes/gdb-mi.el (gdb-mapcar*):
18035         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
18037 2011-11-15  Glenn Morris  <rgm@gnu.org>
18039         * mail/rmail.el (rmail-file-coding-system): It's only ever used
18040         in a boolean sense, so just make it a boolean, and fix the doc.
18041         (rmail-show-mime-function, rmail-mime-feature)
18042         (rmail-require-mime-maybe): Doc fixes.
18043         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
18045         * mail/rmailmm.el (rmail-show-mime): Doc fix.
18047 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
18049         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
18050         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
18051         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
18052         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
18054 2011-11-15  Glenn Morris  <rgm@gnu.org>
18056         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
18057         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
18058         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
18059         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
18060         (rmail-mime, rmail-show-mime): Doc fixes.
18062         * term/ns-win.el (mode-line-frame-identification):
18063         Leave it alone.  (Bug#10051)
18065         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
18067         * mail/rmailout.el (rmail-output-to-rmail-buffer):
18068         Handle empty buffers.  (Bug#9978)
18070 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
18072         * international/mule.el (define-charset):
18073         * mail/rmailmm.el (rmail-mime-find-header-encoding):
18074         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
18075         * progmodes/verilog-mode.el (verilog-backward-token):
18076         * textmodes/ispell.el (lookup-words):
18077         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
18079 2011-11-14  Glenn Morris  <rgm@gnu.org>
18081         * progmodes/executable.el
18082         (executable-make-buffer-file-executable-if-script-p):
18083         Handle file-modes returning nil.
18085         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
18086         message - not necessary, and causes problems.  (Bug#9831)
18088         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
18090         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
18092         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
18093         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
18094         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
18096 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
18098         * window.el (window-resize, delete-window): Use window-splits
18099         variable instead of function.
18100         (window-state-get-1, window-state-put-2, window-state-put):
18101         Don't deal with windows' splits status.
18103 2011-11-12  Glenn Morris  <rgm@gnu.org>
18105         * apropos.el (apropos-do-all, apropos-library, apropos-value)
18106         (apropos-documentation): Doc fixes.
18108 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
18110         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
18111         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
18113 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18115         * electric.el (electric-indent-post-self-insert-function): Make it
18116         possible for a char to only indent in some circumstances.
18117         (electric-indent-mode): Simplify.
18119 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
18121         * window.el (windows-with-parameter): Remove unused function.
18122         (windows-at-side): Rename to window-at-side-list.
18123         (window-check, window-atom-check, window-atom-check-1)
18124         (window-side-check, window-size-ignore, window-size-fixed-1)
18125         (window-in-direction-2): Prefix with "window--".
18126         (window-tree-1): Rename to window--subtree, fix doc-string.
18128 2011-11-11  Glenn Morris  <rgm@gnu.org>
18130         * subr.el (eval-after-load): If FILE is already loaded,
18131         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
18133 2011-11-10  Glenn Morris  <rgm@gnu.org>
18135         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
18136         Call svn via vc-svn-command rather than vc-do-command.
18137         (vc-svn-command): Add --non-interactive.  (Bug#9993)
18138         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
18140         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18141         Add toggle-read-only.  (Bug#7292)
18142         * files.el (toggle-read-only): Mention that it should only
18143         be used interactively.  (Bug#10006)
18145 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
18147         * progmodes/compile.el (compilation-error-regexp-alist-alist):
18148         Adjust regexp for OCaml warnings.
18150         * electric.el (electric-pair-post-self-insert-function): Let user
18151         turn it off buffer-locally (bug#9932).
18153         * progmodes/python.el (python-beginning-of-statement):
18154         Rewrite (bug#2703).
18156         * progmodes/compile.el: Better handle TABs (bug#9749).
18157         (compilation-internal-error-properties)
18158         (compilation-next-error-function): Obey the target buffer's
18159         compilation-error-screen-columns.
18161 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
18163         * progmodes/meta-mode.el: Remove obsolete comments.
18164         (meta-right-comment-regexp, meta-ignore-comment-regexp):
18165         Fix typos in docstrings.
18167 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
18169         * window.el (window-size-fixed-p): Rewrite doc-string.
18170         (window-resizable-p): Rename to window--resizable-p.  Update callers.
18171         (window--resizable): New function.  Make all callers of
18172         window-resizable call window--resizable instead.
18173         (window-resizable): Rewrite in terms of window--resizable.
18175 2011-11-08  Glenn Morris  <rgm@gnu.org>
18177         * progmodes/delphi.el (delphi-mode-syntax-table):
18178         Let define-derived-mode define a proper syntax table.  (Bug#9994)
18180 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18182         * window.el: Stay away from defsubst.
18183         (window-list-no-nils): Remove.
18184         (window-state-get-1, window-state-get): Use backquote instead.
18186 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
18188         * emacs-lisp/find-func.el (find-function-read):
18189         Fix incorrect use of default argument in `completing-read'.
18191 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
18193         * window.el (display-buffer-function, special-display-function):
18194         Mention display-buffer-record-window but do not mention
18195         help-setup parameter in doc-strings.
18196         (window-min-delta): Fix doc-string typo.
18198 2011-11-08  Chong Yidong  <cyd@gnu.org>
18200         * window.el (window-total-height, window-total-width): Doc fix.
18201         (window-body-size): Move from C.
18202         (window-body-height, window-body-width): Move to C.
18204 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18206         * window.el: Make special-display like display-buffer-alist (bug#9532).
18207         (display-buffer--special-action): New function, morphed
18208         from display-buffer--special.
18209         (display-buffer): Use it to handle special-display-buffers at higher
18210         priority (just after display-buffer-alist).
18211         (display-buffer-fallback-action, display-buffer--other-frame-action)
18212         (pop-to-buffer-same-window): Remove display-buffer--special.
18214 2011-11-07  Glenn Morris  <rgm@gnu.org>
18216         * calendar/cal-menu.el (cal-menu-set-date-title):
18217         Do nothing if not in a calendar.  (Bug#9976)
18219 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18221         * files.el (find-file): Always use selected-window.
18223 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
18225         * window.el (window-combinations): Make WINDOW argument
18226         mandatory.  Rewrite doc-string.
18227         (walk-window-subtree, window-atom-check, window-min-delta)
18228         (window-max-delta, window--resize-this-window)
18229         (window--resize-root-window-vertically, window-tree)
18230         (balance-windows, window-state-put): Rewrite doc-strings as to
18231         not mention the term "subwindow".
18232         (window--resize-subwindows-skip-p): Rename to
18233         window--resize-child-windows-skip-p.
18234         (window--resize-subwindows-normal): Rename to
18235         window--resize-child-windows-normal.
18236         (window--resize-subwindows): Rename to
18237         window--resize-child-windows.
18238         (window-or-subwindow-p): Rename to window--in-subtree-p.
18240 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
18242         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
18243         Ensure that mbox format messages end in two newlines (Bug#9974).
18245 2011-11-06  Chong Yidong  <cyd@gnu.org>
18247         * window.el (window-combination-p): Function deleted; its
18248         side-effect is not used in any existing code.
18249         (window-combinations, window-combined-p): Call window-*-child
18250         directly.
18252 2011-11-05  Chong Yidong  <cyd@gnu.org>
18254         * window.el (window-valid-p): Rename from window-any-p.
18255         (window-size-ignore, window-state-get): Callers changed.
18256         (window-normalize-window): Rename from window-normalize-any-window.
18257         New arg LIVE-ONLY, replacing window-normalize-live-window.
18258         (window-normalize-live-window): Delete.
18259         (window-combination-p, window-combined-p, window-combinations)
18260         (walk-window-subtree, window-atom-root, window-min-size)
18261         (window-sizable, window-sizable-p, window-size-fixed-p)
18262         (window-min-delta, window-max-delta, window-resizable)
18263         (window-resizable-p, window-full-height-p, window-full-width-p)
18264         (window-current-scroll-bars, window-point-1, set-window-point-1)
18265         (window-at-side-p, window-in-direction, window-resize)
18266         (adjust-window-trailing-edge, maximize-window, minimize-window)
18267         (window-deletable-p, delete-window, delete-other-windows)
18268         (record-window-buffer, unrecord-window-buffer)
18269         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
18270         (quit-window, split-window, window-state-put)
18271         (set-window-text-height, fit-window-to-buffer)
18272         (shrink-window-if-larger-than-buffer): Callers changed.
18274 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
18276         * mail/rmail.el (rmail-simplified-subject): Decode subject with
18277         rfc2047-decode-string.
18278         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
18279         warnings.
18281         * window.el (window-body-height, window-body-width): Mention in
18282         the doc string that the return values are in frame's canonical
18283         units.  (Bug#9949)
18285 2011-11-03  Alan Mackenzie  <acm@muc.de>
18287         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
18288         change in cc-engine.el.
18290 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18292         * window.el (switch-to-buffer): Use `force-same-window' interactively.
18294 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
18296         * window.el (quit-window): Call unrecord-window-buffer after
18297         showing another buffer in the window.  (Bug#9937)
18298         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
18300 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
18302         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
18303         Accept status with more than 9 shelves.  (Bug#9935)
18304         Reported by Colin D Bennett <colin@gibibit.com>.
18306 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
18308         * help.el (with-help-window): Don't reference
18309         temp-buffer-show-specifiers in doc-string.
18311 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
18313         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
18314         menu-item.
18316 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18318         * whitespace.el: New version 13.2.2.
18319         (whitespace-newline-mode): Disable properly.  Reported by Sarah
18320         <EmacsWiki>.
18322 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
18324         * net/newst-treeview.el: Remove "Time-stamp".
18325         (newsticker--group-manage-orphan-feeds): Do not call
18326         newsticker--treeview-tree-update.
18327         (newsticker-treeview-update, newsticker-treeview):
18328         Call newsticker--treeview-tree-update if necessary.
18330 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
18332         * window.el (window-iso-combination-p, window-iso-combined-p)
18333         (window-iso-combinations): Remove "iso-" infix.
18334         Suggested by Chong Yidong.
18335         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
18336         (window-max-delta-1, window-resize, window--resize-siblings)
18337         (window--resize-this-window, adjust-window-trailing-edge)
18338         (split-window, balance-windows-1)
18339         (shrink-window-if-larger-than-buffer):
18340         * calendar/calendar.el (calendar-generate-window):
18341         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
18343 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18345         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
18346         in place (bug#9907).
18347         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
18348         (eshell-rewrite-if-command, eshell-rewrite-for-command)
18349         (eshell-structure-basic-command, eshell-rewrite-while-command)
18350         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
18351         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
18352         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
18353         (eshell-do-pipelines-synchronously, eshell-eval-command):
18354         Use backquotes and prefer setq to set.
18355         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
18356         (eshell-macrop): Use functionp.
18357         (eshell-do-eval): Handle multiple expressions in `while' body.
18359 2011-10-30  Chong Yidong  <cyd@gnu.org>
18361         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
18362         instead of set-mark (Bug#9810).
18364 2011-10-30  Chong Yidong  <cyd@gnu.org>
18366         * window.el (split-window-below, split-window-right): Rename from
18367         split-window-above-each-other and split-window-side-by-side
18368         respectively.  All callers changed.
18369         (split-window-sensibly, split-window-sensibly): Use them.
18370         (split-window-keep-point): Doc fix.
18372         * isearch.el: Add isearch-scroll property to split-window-below
18373         and split-window-right.
18375         * follow.el (follow-mode):
18376         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
18377         * progmodes/ada-xref.el (ada-gdb-application):
18378         * emulation/vip.el (vip-buffer-in-two-windows):
18379         * image-dired.el (image-dired-dired-with-window-configuration):
18380         * dired-x.el (dired-do-find-marked-files):
18381         * dired.el (dired-pop-to-buffer):
18382         * bs.el (bs--show-with-configuration):
18383         * vc/emerge.el (emerge-setup-windows):
18384         * textmodes/two-column.el (2C-two-columns):
18385         * textmodes/reftex-toc.el (reftex-toc):
18386         * progmodes/gdb-mi.el (gdb-setup-windows):
18387         * progmodes/fortran.el (fortran-window-create):
18388         * net/newst-treeview.el (newsticker--treeview-window-init):
18389         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
18390         * emulation/tpu-edt.el (tpu-gold-map):
18391         * emulation/crisp.el (crisp-mode-map):
18392         * calendar/calendar.el (calendar-basic-setup): Callers changed.
18394 2011-10-29  Chong Yidong  <cyd@gnu.org>
18396         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
18398         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
18400         * textmodes/flyspell.el (flyspell-word): Fix char offset for
18401         forged Ispell output (Bug#7904).
18403         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
18405 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18407         * doc-view.el: Avoid ugly errors about not finding nil.
18408         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
18409         (doc-view-dvipdf-program, doc-view-unoconv-program)
18410         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
18411         Avoid nil or absolute file name as default value.
18412         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18414 2011-10-28  Alan Mackenzie  <acm@muc.de>
18416         * progmodes/cc-defs.el (c-version): -> 5.32.2.
18418 2011-10-28  Alan Mackenzie  <acm@muc.de>
18420         Amend the handling of c-beginning/end-of-defun in nested declaration
18421         scopes.
18423         * progmodes/cc-vars.el (c-defun-tactic): Move here from
18424         cc-langs.el.  Change it to a defcustom.
18426         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18427         cc-vars.el.
18429         * progmodes/cc-engine.el (c-beginning-of-statement-1):
18430         Prevent "class foo : bar" being spuriously recognized as a label.
18432         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18433         Add parameter `inclusive' (to include enclosing braces in the region).
18434         (c-widen-to-enclosing-decl-scope): New function.
18435         (c-while-widening-to-decl-block): New macro.
18436         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18437         outward for defun boundaries, and correspondingly change symbol
18438         `respect-enclosure' to `go-outward'.
18439         (c-declaration-limits): Change algorithm to report only the "innermost"
18440         defun's boundaries.
18442 2011-10-28  Deniz Dogan  <deniz@dogan.se>
18444         * net/rcirc.el (rcirc-mode): Use hard newlines.
18446 2011-10-28  Alan Mackenzie  <acm@muc.de>
18448         Amend to indent and fontify macros "which include their own semicolon"
18449         correctly, using the "virtual semicolon" mechanism.
18451         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18453         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18454         Recode to scan one line at a time rather than having \n and \r
18455         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18456         (c-forward-label): Amend for virtual semicolons.
18457         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18459         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18460         of the new C macros.
18462         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18463         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18464         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18465         (c-opt-cpp-macro-define): Make into a full language variable.
18466         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18467         AWK Mode (including \n, \r) removed, no longer needed.
18469         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18470         Invoke c-make-macro-with-semi-re.
18472         * progmodes/cc-vars.el (c-macro-with-semi-re):
18473         (c-macro-names-with-semicolon): New variables.
18474         (c-make-macro-with-semi-re): New function.
18476 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18478         * vc/log-edit.el: Fill empty field rather than adding new one.
18479         (log-edit-add-field): New function.
18480         (log-edit-insert-changelog): Use it.
18482 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
18484         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18486 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18488         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18489         (gdb--check-interpreter): New function.
18490         (gdb): Use it.
18492 2011-10-27  Glenn Morris  <rgm@gnu.org>
18494         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18495         (least-positive-float, least-negative-float)
18496         (least-positive-normalized-float, least-negative-normalized-float)
18497         (float-epsilon, float-negative-epsilon):
18498         Remove unnecessary declarations.
18500         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18501         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18502         (least-positive-float, least-negative-float)
18503         (least-positive-normalized-float, least-negative-normalized-float)
18504         (float-epsilon, float-negative-epsilon): Add doc-strings,
18505         based on those in cl.texi.
18507         * files.el (set-visited-file-name): If the major-mode changed,
18508         reload the local variables.  (Bug#9796)
18510 2011-10-27  Chong Yidong  <cyd@gnu.org>
18512         * subr.el (change-major-mode-after-body-hook): New hook.
18513         (run-mode-hooks): Run it.
18515         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18516         Use change-major-mode-before-body-hook.
18518         * simple.el (fundamental-mode):
18519         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18520         change introducing fundamental-mode-hook.
18522 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
18524         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18526 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
18528         * ido.el (ido-file-name-all-completions-1): Do not require
18529         tramp.el explicitly.  (Bug#7583)
18531 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
18533         * progmodes/octave-mod.el:
18534         * progmodes/octave-inf.el: Update maintainer.
18536 2011-10-26  Chong Yidong  <cyd@gnu.org>
18538         * subr.el (with-wrapper-hook): Rewrite doc.
18540 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
18542         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18543         filenames "/method:foo:".  (Bug#9793)
18545 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18547         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18548         (bug#9865).
18550 2011-10-24  Glenn Morris  <rgm@gnu.org>
18552         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
18554 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
18556         * notifications.el: Add the requirement of a running D-Bus session
18557         bus to the Commentary.
18559 2011-10-24  Juri Linkov  <juri@jurta.org>
18561         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18562         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18563         (Bug#9364)
18565 2011-10-24  Juri Linkov  <juri@jurta.org>
18567         * info.el (Info-following-node-name-re): Add newline to the list
18568         of allowed characters for leading space.  (Bug#9824)
18570 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
18572         * progmodes/octave-inf.el (inferior-octave-mode-map):
18573         Fix C-c C-h binding.
18574         * progmodes/octave-mod.el (octave-help): Remove.
18576 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
18578         Sync with Tramp 2.2.3.
18580         * net/tramp-cache.el (top): Pacify byte-compiler using
18581         `init-file-user' and `site-run-file'.
18583         * net/trampver.el: Update release number.
18585 2011-10-23  Chong Yidong  <cyd@gnu.org>
18587         * files.el (toggle-read-only): Remove obsolete comment about
18588         version control.
18590         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18591         for toggle-read-only.  Note that this hasn't called vc-next-action
18592         since 2008-05-02, though it wasn't documented at the time.
18594         * vc/ediff-init.el (ediff-toggle-read-only-function):
18595         Use toggle-read-only.
18597 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
18599         Fix bug #9560, sporadic wrong indentation; improve instrumentation
18600         of c-parse-state.
18602         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18603         correct faulty logical expression.
18604         (c-parse-state-state, c-record-parse-state-state):
18605         (c-replay-parse-state-state): New defvar/defuns.
18606         (c-debug-parse-state): Use new functions.
18608 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
18610         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18611         last fix.  Use window-in-direction correctly.
18613 2011-10-21  Chong Yidong  <cyd@gnu.org>
18615         * progmodes/idlwave.el (idlwave-mode):
18616         * progmodes/vera-mode.el (vera-mode): No need to set
18617         require-final-newline; that's done in prog-mode.
18618         Suggested by Stefan Monnier.
18620 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
18622         * mouse.el (mouse-drag-window-above)
18623         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18624         (mouse-drag-mode-line-1, mouse-drag-header-line)
18625         (mouse-drag-vertical-line-rightward-window): Remove.
18626         (mouse-drag-line): New function.
18627         (mouse-drag-mode-line, mouse-drag-header-line)
18628         (mouse-drag-vertical-line): Call mouse-drag-line.
18629         * window.el (window-at-side-p, windows-at-side): New functions.
18631 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
18633         * tar-mode.el (tar-grind-file-mode):
18634         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
18636 2011-10-21  Chong Yidong  <cyd@gnu.org>
18638         * progmodes/idlwave.el (idlwave-mode):
18639         * progmodes/vera-mode.el (vera-mode):
18640         Use mode-require-final-newline.
18642 2011-10-20  Glenn Morris  <rgm@gnu.org>
18644         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
18646 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
18648         * emulation/cua-base.el (cua-set-mark): Fix case of string.
18650 2011-10-20  Chong Yidong  <cyd@gnu.org>
18652         * emulation/cua-base.el (cua-mode):
18653         * mail/footnote.el (footnote-mode):
18654         * mail/mailabbrev.el (mail-abbrevs-mode):
18655         * net/xesam.el (xesam-minor-mode):
18656         * progmodes/bug-reference.el (bug-reference-mode):
18657         * progmodes/cap-words.el (capitalized-words-mode):
18658         * progmodes/compile.el (compilation-minor-mode)
18659         (compilation-shell-minor-mode):
18660         * progmodes/gud.el (gud-tooltip-mode):
18661         * progmodes/hideif.el (hide-ifdef-mode):
18662         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18663         * progmodes/subword.el (subword-mode):
18664         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18665         * progmodes/which-func.el (which-function-mode):
18666         * term/tvi970.el (tvi970-set-keypad-mode):
18667         * term/vt100.el (vt100-wide-mode):
18668         * textmodes/flyspell.el (flyspell-mode):
18669         * textmodes/ispell.el (ispell-minor-mode):
18670         * textmodes/nroff-mode.el (nroff-electric-mode):
18671         * textmodes/paragraphs.el (use-hard-newlines):
18672         * textmodes/refill.el (refill-mode):
18673         * textmodes/reftex.el (reftex-mode):
18674         * textmodes/rst.el (rst-minor-mode):
18675         * textmodes/sgml-mode.el (html-autoview-mode)
18676         (sgml-electric-tag-pair-mode):
18677         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18678         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18679         * emulation/crisp.el (crisp-mode):
18680         * emacs-lisp/eldoc.el (eldoc-mode):
18681         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18682         minor mode behavior.
18684 2011-10-19  Juri Linkov  <juri@jurta.org>
18686         * descr-text.el (describe-char): Add #x2010 and #x2011 to
18687         the list of hard-coded chars with escape-glyph face.
18689 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18691         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18693 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
18695         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18696         running process.
18698 2011-10-19  Glenn Morris  <rgm@gnu.org>
18700         * vc/vc-bzr.el (vc-bzr-after-dir-status):
18701         Ignore ignored files.  (Bug#9726)
18703 2011-10-19  Chong Yidong  <cyd@gnu.org>
18705         Doc fix for minor modes, stating that an omitted argument enables
18706         the mode unconditionally when called from Lisp.
18708         * abbrev.el (abbrev-mode):
18709         * allout.el (allout-mode):
18710         * autoinsert.el (auto-insert-mode):
18711         * autoarg.el (autoarg-mode, autoarg-kp-mode):
18712         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18713         (global-auto-revert-mode):
18714         * battery.el (display-battery-mode):
18715         * composite.el (global-auto-composition-mode)
18716         (auto-composition-mode):
18717         * delsel.el (delete-selection-mode):
18718         * desktop.el (desktop-save-mode):
18719         * dired-x.el (dired-omit-mode):
18720         * dirtrack.el (dirtrack-mode):
18721         * doc-view.el (doc-view-minor-mode):
18722         * double.el (double-mode):
18723         * electric.el (electric-indent-mode, electric-pair-mode):
18724         * emacs-lock.el (emacs-lock-mode):
18725         * epa-hook.el (auto-encryption-mode):
18726         * follow.el (follow-mode):
18727         * font-core.el (font-lock-mode):
18728         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18729         * help.el (temp-buffer-resize-mode):
18730         * hilit-chg.el (highlight-changes-mode)
18731         (highlight-changes-visible-mode):
18732         * hi-lock.el (hi-lock-mode):
18733         * hl-line.el (hl-line-mode, global-hl-line-mode):
18734         * icomplete.el (icomplete-mode):
18735         * ido.el (ido-everywhere):
18736         * image-file.el (auto-image-file-mode):
18737         * image-mode.el (image-minor-mode):
18738         * iswitchb.el (iswitchb-mode):
18739         * jka-cmpr-hook.el (auto-compression-mode):
18740         * linum.el (linum-mode):
18741         * longlines.el (longlines-mode):
18742         * master.el (master-mode):
18743         * mb-depth.el (minibuffer-depth-indicate-mode):
18744         * menu-bar.el (menu-bar-mode):
18745         * minibuf-eldef.el (minibuffer-electric-default-mode):
18746         * mouse-sel.el (mouse-sel-mode):
18747         * msb.el (msb-mode):
18748         * mwheel.el (mouse-wheel-mode):
18749         * outline.el (outline-minor-mode):
18750         * paren.el (show-paren-mode):
18751         * recentf.el (recentf-mode):
18752         * reveal.el (reveal-mode, global-reveal-mode):
18753         * rfn-eshadow.el (file-name-shadow-mode):
18754         * ruler-mode.el (ruler-mode):
18755         * savehist.el (savehist-mode):
18756         * scroll-all.el (scroll-all-mode):
18757         * scroll-bar.el (scroll-bar-mode):
18758         * server.el (server-mode):
18759         * shell.el (shell-dirtrack-mode):
18760         * simple.el (auto-fill-mode, transient-mark-mode)
18761         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18762         (line-number-mode, column-number-mode, size-indication-mode)
18763         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18764         * strokes.el (strokes-mode):
18765         * time.el (display-time-mode):
18766         * t-mouse.el (gpm-mouse-mode):
18767         * tool-bar.el (tool-bar-mode):
18768         * tooltip.el (tooltip-mode):
18769         * type-break.el (type-break-mode-line-message-mode)
18770         (type-break-query-mode):
18771         * view.el (view-mode):
18772         * whitespace.el (whitespace-mode, whitespace-newline-mode)
18773         (global-whitespace-mode, global-whitespace-newline-mode):
18774         * xt-mouse.el (xterm-mouse-mode): Doc fix.
18776         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18777         Fix autogenerated docstring.
18779 2011-10-19  Juri Linkov  <juri@jurta.org>
18781         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18782         by checking environment variables "DESKTOP_SESSION" and
18783         "XDG_CURRENT_DESKTOP".  (Bug#9779)
18785 2011-10-19  Juri Linkov  <juri@jurta.org>
18787         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18788         (browse-url-chromium-program, browse-url-chromium-arguments):
18789         New defcustoms.
18790         (browse-url-default-browser): Check for `browse-url-chromium' and
18791         call `browse-url-chromium-program'.
18792         (browse-url-chromium): New command.  (Bug#9779)
18794 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
18796         * facemenu.el (list-colors-duplicates): On Windows, detect more
18797         duplicates by assuming that only colors matching "^System" are
18798         special "system colors".  (Bug#9722)
18800 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
18802         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18803         to distinguish the author from the committer.
18805 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
18807         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18809 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
18811         * international/mule.el (sgml-html-meta-auto-coding-function):
18812         Add support for detecting encoding in HTML5 specified only as
18813         <meta charset="UTF-8">.  Implementation just makes http-equiv and
18814         content-type parts from HTML4 encoding string optional.  (Bug#9716)
18816 2011-10-18  Glenn Morris  <rgm@gnu.org>
18818         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
18820 2011-10-18  Chong Yidong  <cyd@gnu.org>
18822         * faces.el (cursor): Doc fix.
18824 2011-10-17  Chong Yidong  <cyd@gnu.org>
18826         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18828 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
18830         * dirtrack.el (dirtrack): Support shell buffers with path
18831         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
18833 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
18835         * json.el: Bump version to 1.3 and note change in History.
18836         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18838 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18840         * comint.el (comint-insert-input, comint-send-input)
18841         (comint-get-old-input-default, comint-backward-matching-input)
18842         (comint-next-prompt): Use nil instead of `input' for field property of
18843         past user input (bug#114).
18845         * minibuffer.el (completion--replace): Inherit surrounding properties
18846         (bug#114).
18847         (minibuffer-complete-and-exit): Use it.
18849         * comint.el (comint--table-subvert): Quote the all-completions output
18850         (bug#9160).
18852 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
18854         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18856         * menu-bar.el (menu-bar-file-menu): Add entry for making new
18857         window on right of selected.  (Bug#9350) Reword other window
18858         entries and separate them from frame entries.
18860 2011-10-15  Glenn Morris  <rgm@gnu.org>
18862         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18863         Doc fixes.
18865 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
18867         * net/network-stream.el (network-stream-open-starttls):
18868         Improve detection of failure due to lack of TLS support.
18870         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18871         putting the input text in front and in bold.
18873 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18875         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18877         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18878         empty buffer.
18880         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18881         unread-command-events rather than pushing yet-another event.
18883 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
18885         * mail/sendmail.el (sendmail-query-once): Improve the wording of
18886         the explanation of the possible choices.  Make the options passed
18887         to completing-read shorter.
18889 2011-10-13  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
18891         * textmodes/flyspell.el (flyspell-large-region): Make sure
18892         extended character mode is used if defined (Bug#1339).
18894 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
18896         * simple.el (what-cursor-position): Fix the display of the
18897         character info for LRE, LRO, RLE, and RLO characters by appending
18898         an invisible PDF.
18900 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18902         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18903         even in case of error; add debug spec; simplify data flow.
18904         (with-timeout-handler): Remove.
18906 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
18908         Fix Bug#6019, Bug#9315.
18910         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18911         complete `buffer-file-name', the local file name part could look
18912         remotely (for example on VMS).
18914         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18915         `tramp-run-real-handler'.
18916         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18917         already quoted by '"'.
18919         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18920         Let `file-name-handler-alist' be nil, the local file name part
18921         could look remotely (for example on VMS).
18923 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18925         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18926         from here...
18927         (flyspell-post-command-hook): ...to here.
18929 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18931         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18932         if not needed.
18933         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
18934         using completion.  Protect against "slow" callers.
18935         Remove the "message hack".
18937 2011-10-11  Juri Linkov  <juri@jurta.org>
18939         * isearch.el (isearch-lazy-highlight-word): New variable.
18940         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18941         Use it.  (Bug#9727)
18943 2011-10-11  Glenn Morris  <rgm@gnu.org>
18945         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18946         like f90-previous-statement does.
18948 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
18950         * eshell/eshell.el (eshell-command): History should be saved
18951         only in interactive use, to avoid error.
18953 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18955         * minibuffer.el (completion-file-name-table): Fix last change,
18956         i.e. ignore normal errors but not the other ones.
18958 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
18960         * window.el (special-display-buffer-names)
18961         (special-display-regexps): Remove some remnants of earlier
18962         changes from doc-strings.
18963         (quit-windows-on): New function.
18965         * vc/vc.el (vc-revert, vc-rollback):
18966         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18967         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
18968         (Bug#6183) (Bug#7074) (Bug#7447)
18970 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
18972         * window.el (frame-auto-hide-function): Add version tag.
18973         (Bug#9699)
18975 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
18977         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18978         condition.
18980 2011-10-09  Leo Liu  <sdl.web@gmail.com>
18982         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18983         (Bug#9701)
18985 2011-10-08  Glenn Morris  <rgm@gnu.org>
18987         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18988         before the first code statement zero indent.  (Bug#9690)
18990 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
18992         * simple.el (count-words-region): Always count in the region.
18993         Report the number of lines and characters too.
18994         (count-words): New command, which counts in the buffer if the
18995         region is inactive, as count-words-region used to.
18996         (count-words--message): New function.  Handle plurals.
18997         (count-lines-region): Make it an alias for count-words-region.
18999         * bindings.el (esc-map): Replace count-lines-region with
19000         count-words-region.
19002 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
19004         * window.el (window--delete): Delete dedicated frame
19005         unconditionally when argument KILL is non-nil.  (Bug#9699)
19006         (switch-to-buffer): Fix doc-string typo.
19008 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
19010         * eshell/eshell.el (eshell-command): Avoid using hooks.
19012 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
19014         * bindings.el ([M-left],[M-right]): Bind to left-word and
19015         right-word respectively.
19017 2011-10-07  Glenn Morris  <rgm@gnu.org>
19019         * cus-start.el (debug-on-quit): Fix custom type.
19021 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19023         * subr.el (define-key-after): Clarify that the function is not
19024         useful for non-menu keymaps.
19026         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
19028 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
19030         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
19031         in current minibuffer (Fix bug with recursive minibuffers).
19033 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
19035         * progmodes/gdb-mi.el (gdb): Doc fix.
19037 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
19039         * window.el (frame-auto-hide-function): New option replacing
19040         frame-auto-delete.  Suggested by Stefan Monnier.
19041         (window--delete): Call frame-auto-hide-function instead of
19042         investigating frame-auto-delete.
19043         (window-point-1, set-window-point-1): New functions.
19044         (window-in-direction, record-window-buffer, window-state-get-1)
19045         (display-buffer-record-window): Use window-point-1 instead of
19046         window-point.
19047         (set-window-buffer-start-and-point): Use set-window-point-1.
19049 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19051         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
19053 2011-10-05  Glenn Morris  <rgm@gnu.org>
19055         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
19056         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
19058 2011-10-05  Leo Liu  <sdl.web@gmail.com>
19060         * subr.el (read-char-choice): Fix argument to buffer-live-p which
19061         works with buffer object.
19063 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19065         * mpc.el (mpc-tool-bar-map): Add labels.
19067 2011-10-04  Glenn Morris  <rgm@gnu.org>
19069         * calendar/holidays.el (calendar-check-holidays): Doc fix.
19071 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
19073         * window.el (window--delete): New function.
19074         (frame-auto-delete): Resuscitate option.
19075         (bury-buffer, replace-buffer-in-windows)
19076         (quit-window): Rewrite using window--delete.
19077         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19078         Pass display-buffer-mark-dedicated to window--display-buffer-2
19079         (Bug#9639).
19081 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
19083         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
19084         returns a list (bug#9554).  Add remote file name completion.
19085         * comint.el (comint--table-subvert): Curry and get quote&unquote
19086         functions as arguments.
19087         (comint--complete-file-name-data): Adjust call accordingly.
19088         * pcomplete.el (pcomplete--table-subvert): Remove.
19089         (pcomplete-completions-at-point): Use comint--table-subvert instead.
19091         * minibuffer.el (completion-table-case-fold): Use currying.
19092         (completion--styles-type, completion--cycling-threshold-type):
19093         New constants.
19094         (completion-styles, completion-category-overrides)
19095         (completion-cycle-threshold): Use them.
19096         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
19097         completion-table-case-fold.
19099 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
19101         * minibuffer.el (completion-category-overrides): Fix type of styles
19102         and add more user friendly tags (bug#9660).
19104 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
19106         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
19107         (mule-input-method-string): New widget.
19108         (default-input-method, language-info-custom-alist): Use it.
19110 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
19112         * pcomplete.el: Require comint.
19113         (pcomplete--common-suffix): Remove.
19114         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
19115         (pcomplete--table-subvert): Sync with comint--table-subvert.
19116         (pcomplete--entries): Use comint-completion-file-name-table.
19117         * comint.el (comint-unquote-filename): Simplify.
19118         (comint-completion-file-name-table): New function (bug#9616).
19119         (comint--complete-file-name-data): Use it.
19121         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
19122         (pcmpl-gnu-tar-buffer): Remove.
19123         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
19124         around.  Make sure pcomplete-suffix-list is only changed temporarily.
19125         Don't look inside the tar's file if it's too large.
19127 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
19129         * cus-edit.el (custom-mode-map):
19130         * epa.el (epa-key-list-mode-map):
19131         * man.el (Man-mode-map):
19132         * startup.el (splash-screen-keymap):
19133         * simple.el (special-mode-map): Use scroll-up-command and
19134         scroll-down-command.
19136         * progmodes/idlw-help.el (idlwave-help-mode-map):
19137         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
19138         * net/newst-plainview.el (newsticker-mode-map):
19139         * emulation/ws-mode.el (wordstar-mode-map):
19140         * emulation/vi.el (vi-com-map):
19141         * calc/calc-graph.el (calc-graph-show-dumb):
19142         * term/sun.el (terminal-init-sun):
19143         * term/ns-win.el (global-map):
19144         * progmodes/grep.el (grep-mode-map):
19145         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
19146         * mail/rmail.el (rmail-mode-map):
19147         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
19149         * custom.el (custom-safe-themes, load-theme): Treat value of t for
19150         custom-safe-themes as special.
19152 2011-10-01  Julien Danjou  <julien@danjou.info>
19154         * notifications.el (notifications-notify): Fix docstring.
19156 2011-10-01  Per Starbäck  <per@starback.se>
19158         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
19160 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
19162         * startup.el (command-line-1): Fix last fix by inserting
19163         initial-scratch-message into *scratch* before displaying it.
19164         (Bug#9605) and (Bug#9636)
19166 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
19168         * simple.el (line-move): If auto-hscroll-mode is disabled and the
19169         window is hscrolled, move by logical lines.  (Bug#9607)
19170         (line-move-visual): Update the doc string to the above effect.
19172 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
19174         * window.el (display-buffer-record-window): When WINDOW is the
19175         selected window use `point' instead of `window-point'.  (Bug#9626)
19177         * startup.el (command-line-1): Use insert-before-markers when
19178         inserting initial-scratch-message.  (Bug#9605)
19180         * help.el (help-window): Remove variable.
19182 2011-09-29  Glenn Morris  <rgm@gnu.org>
19184         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
19186 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
19188         * descr-text.el (describe-char-categories): Accept category
19189         descriptions more than one line long.
19191 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19193         * simple.el (delete-trailing-whitespace): Fix last change.
19195         * progmodes/perl-mode.el (perl-syntax-propertize-function):
19196         Don't confuse "y => 3" as the beginning of a `y' operation.
19198         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
19199         object has more than 4 slots (bug#9613).
19201 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
19203         * subr.el (with-output-to-temp-buffer):
19204         * net/quickurl.el (quickurl, quickurl-browse-url):
19205         Fix typos in docstrings.
19207 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
19209         * minibuffer.el (completion-styles)
19210         (completion-category-overrides): Cross reference each other in doc
19211         strings.
19213 2011-09-27  Glenn Morris  <rgm@gnu.org>
19215         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
19216         to split-string.  (Bug#9606)
19218 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19220         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
19221         (bug#9615).
19223 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
19225         * emacs-lisp/package.el (list-packages): Fix echo area message.
19227 2011-09-27  Leo Liu  <sdl.web@gmail.com>
19229         * ido.el (ido-read-internal): Accept cons cell HIST arg.
19231 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
19233         * net/dbus.el (dbus-unregister-object): Don't release services for
19234         registered signals.  (Bug#9581)
19236 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
19238         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
19239         function that picks between cfengine 2 and 3 support
19240         automatically.  Update docs accordingly.
19242 2011-09-22  Kenichi Handa  <handa@m17n.org>
19244         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
19245         ZERO.
19246         (indian-itrans-v5-table-for-tamil): New variable.
19247         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
19249 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
19251         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
19252         that's true if the current command involved collapsing of text.
19253         It's reset to false at the beginning of the next command.
19254         (allout-post-command-business): Move the cursor to the beginning
19255         of entry if the cursor is hidden and collapsing activity just
19256         happened.
19258 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
19260         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
19261         tracking (Bug#9541).
19263 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
19265         * net/newst-reader.el (newsticker-html-renderer)
19266         (newsticker-show-news): Automatically load html rendering package
19267         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
19268         because w3m-fill-column is let-bound" and the error "Symbol's value
19269         as variable is void: w3m-fill-column".
19271 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
19273         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
19274         Release services only if they are defined.  (Bug#9581)
19276 2011-09-23  Richard Stallman  <rms@gnu.org>
19278         * textmodes/paragraphs.el (forward-sentence): For backwards case,
19279         distinguish start of paragraph from start of its text.
19281         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
19283         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
19284         (rmail-generate-viewer-buffer): Put that hook on view buffer.
19285         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
19287 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
19289         * international/mule-diag.el (mule-diag): Insert a newline after
19290         each fontset description.
19292 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19294         * simple.el (delete-trailing-whitespace):
19295         Document last change; simplify.
19297 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
19299         * simple.el (delete-trailing-whitespace): Also delete
19300         extra newlines at the end of the buffer.
19302         * textmodes/picture.el: Make motion commands obey shift-select-mode.
19303         (picture-newline): Use forward-line so as to ignore fields.
19305 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19307         * subr.el (with-wrapper-hook): Fix edebug spec.
19309 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19311         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
19312         (bug#4538).
19314 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
19316         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
19317         Fix nasty bug using wrong cached values.
19319 2011-09-23  Alan Mackenzie  <acm@muc.de>
19321         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
19323 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
19325         * window.el (pop-to-buffer): Ensure right window is selected if we
19326         chose another frame.
19328 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
19330         * simple.el (what-cursor-position): Use get-char-property-change
19331         and next-single-char-property-change, to be able to show display
19332         properties that come from overlays as well as text properties.
19334 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
19336         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
19338         * cmuscheme.el (run-scheme, switch-to-scheme):
19339         * cus-edit.el (customize-group, custom-buffer-create)
19340         (customize-browse):
19341         * info.el (info):
19342         * shell.el (shell):
19343         * mail/sendmail.el (mail):
19344         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
19346 2011-09-22  Richard Stallman  <rms@gnu.org>
19348         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
19349         move back only to line beg, don't move back over blank lines.
19351 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
19353         * files.el (copy-directory): Set directory attributes only in case
19354         they could be retrieved from the source directory.  (Bug#9565)
19356 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
19358         * progmodes/hideshow.el (hs-looking-at-block-start-p)
19359         (hs-find-block-beginning, hs-hide-level-recursive):
19360         Ignore strings as well as comments.  (Bug#9502)
19362 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
19364         * progmodes/sql.el (sql-comint-postgres):
19365         Convert port number to a string.  (Bug#9566)
19367 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
19369         * window.el (quit-window): Undedicate window when switching to
19370         previous buffer.  Reported by Thierry Volpiatto
19371         <thierry.volpiatto@gmail.com>.
19372         (special-display-popup-frame): When popping up a new frame reset
19373         its previous buffers to nil.  Simplify code.
19375 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
19377         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
19378         and process filter, as done also in `shell-command'.
19380 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
19382         * window.el (set-window-buffer-start-and-point):
19383         Call set-window-start with NOFORCE argument t.
19384         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
19385         (quit-window): Reword doc-string.  Handle new format of
19386         quit-restore parameter.  Don't delete window if it has a
19387         previous buffer we can show instead of the present one.
19388         (display-buffer-record-window): Rewrite using a new format for
19389         the quit-restore window parameter
19390         (special-display-popup-frame, display-buffer-same-window)
19391         (display-buffer-reuse-window, display-buffer-pop-up-frame)
19392         (display-buffer-pop-up-window, display-buffer-use-some-window):
19393         Adapt symbol passed to display-buffer-record-window.
19394         * help.el (help-window-setup): Handle new format of quit-restore
19395         parameter.
19397 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19399         * faces.el (face-list): Fix docstring (bug#9564).
19401         * window.el (display-buffer--action-function-custom-type):
19402         Don't include internal functions in the Custom interface.
19404 2011-09-20  Juri Linkov  <juri@jurta.org>
19406         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
19407         (Info-forward-node, Info-backward-node, Info-next-preorder)
19408         (Info-last-preorder): Use it.  (Bug#9528)
19410 2011-09-20  Juri Linkov  <juri@jurta.org>
19412         * info.el (Info-last-preorder): Visit last menu item only when
19413         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19415 2011-09-20  Julien Danjou  <julien@danjou.info>
19417         * password-cache.el (password-cache-remove): Remove entries even if the
19418         value is nil, so that password with a nil value (negative caching) is
19419         possible to invalidate.
19421 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
19423         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19424         all whitespace around breakpoint.  (Bug#9553)
19425         (f90-find-breakpoint): Only break at whitespace inside a comment.
19427 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19429         * minibuffer.el (completion-file-name-table): Keep track of errors.
19430         (completion-table-with-predicate): Handle the case where pred1 is nil.
19431         * pcomplete.el (pcomplete-completions-at-point): Simplify.
19433 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19435         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19436         (debugger-return-value): Signal an error if the debugging context does
19437         not await any return value.
19439         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19440         * image-mode.el (image-toggle-display-text)
19441         (image-toggle-display-image): Stay away from evil `intangible'.
19443 2011-09-19  Leo Liu  <sdl.web@gmail.com>
19445         * replace.el (occur-revert-arguments): Make it permanent-local.
19446         (occur-mode): Don't call font-lock-defontify.
19448 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
19450         * net/ldap.el (ldap-search-internal): Don't push empty search
19451         result (Bug#9508).
19453 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19455         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19457 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
19459         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19460         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19462 2011-09-18  Juri Linkov  <juri@jurta.org>
19464         * buff-menu.el (Buffer-menu-mode-map):
19465         * dired.el (dired-mode-map):
19466         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19467         (lisp-interaction-mode-map):
19468         * emacs-lisp/package.el (package-menu-mode-map):
19469         * epa.el (epa-key-list-mode-map):
19470         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19471         (menu-bar-options-menu):
19472         * outline.el (outline-mode-menu-bar-map):
19473         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19474         * vc/vc-dir.el (vc-dir-menu-map):
19475         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19476         Capitalize non-function content words in menu item strings.
19478         * dired.el (dired-mode-map): Add menu item for
19479         `image-dired-dired-toggle-marked-thumbs'.
19481 2011-09-18  Juri Linkov  <juri@jurta.org>
19483         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19484         to `isearch-case-fold-search' and restore its original value
19485         after the `isearch-mode' call.
19487 2011-09-18  Juri Linkov  <juri@jurta.org>
19489         * progmodes/grep.el (grep-process-setup): Don't check code for 1
19490         because `zgrep' returns 1 for successful matches (bug#9226).
19492 2011-09-18  Juri Linkov  <juri@jurta.org>
19494         * info.el (Info-extract-menu-node-name): Check the second match
19495         for empty string (second test-case of bug#9528).
19496         (Info-last-preorder): Let-bind `Info-history' to nil to not add
19497         intermediate nodes to the history (first test-case of bug#9528).
19499 2011-09-18  Juri Linkov  <juri@jurta.org>
19501         * info.el (Info-mode-syntax-table): New variable.
19502         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19504 2011-09-18  Juri Linkov  <juri@jurta.org>
19506         * info.el (Info-file-supports-index-cookies):
19507         Increment line-beginning-position's arg from 3 to 4 because makeinfo
19508         outputs one more line for long file names (bug#4142).
19510 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
19512         * newcomment.el (comment-normalize-vars): If prompting for
19513         comment-start, set comment-start-skip too (Bug#8424).
19515 2011-09-18  Johan BockgĂ¥rd  <bojohan@gnu.org>
19517         * icomplete.el: Fix previous fix of Bug#5849.
19518         (icomplete-mode): Don't set completion-show-inline-help.
19519         (icomplete-minibuffer-setup): Set completion-show-inline-help
19520         locally during icompletion.
19522 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
19524         * woman.el (woman2-process-escapes): Don't delete unrecognized
19525         escapes (Bug#7843).
19527         * files.el (inhibit-first-line-modes-regexps): Add image files.
19528         (hack-local-variables-prop-line): Return nil for malformed
19529         prop-lines (Bug#9044).
19531 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
19533         * net/tramp.el (top): Don't require 'shell.
19534         (tramp-methods): Fix docstring.
19535         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19536         Return complete remote file name.  Handle "smb" case.
19537         Use `tramp-tmpdir', if defined for the respective method.
19538         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19540         * net/tramp-compat.el (top): Require 'shell.
19542         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19543         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19544         `tramp-current-host'.
19545         (tramp-get-remote-tmpdir): Remove.
19547         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19548         `tramp-tmpdir' entries.
19549         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19550         (tramp-smb-handle-file-attributes): Ignore errors.
19551         (tramp-smb-wait-for-output): Check also for process end.
19553 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19555         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19556         when sending QUIT (bug#9312).
19558 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
19560         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19561         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19562         occur-mode-display-occurrence.
19563         (occur-edit-mode): Add usage message.
19564         (occur-cease-edit): New command.
19565         (occur-after-change-function): Use text properties to find the
19566         position of the prefix text.
19567         (occur-engine): Set stickiness of prefix text properties.
19569 2011-09-17  Glenn Morris  <rgm@gnu.org>
19571         * progmodes/etags.el (complete-tag):
19572         Fix call to completion-in-region.  (Bug#9526)
19574 2011-09-17  Juri Linkov  <juri@jurta.org>
19576         * textmodes/ispell.el (ispell-word): Add to the error message
19577         the word, ispell program name and current dictionary (bug#9121).
19578         (ispell-tex-arg-end): Capitalize "error" in the error message.
19580 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
19582         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19583         check.  (Bug#4251)
19585 2011-09-17  Juri Linkov  <juri@jurta.org>
19587         * window.el (window-safe-min-height, window-safe-min-width):
19588         Fix typos (followup to bug#9522).
19590 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
19592         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19594 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
19596         * simple.el (line-move): If goal-column is set, move by logical
19597         lines, not by display lines.  (Bug#971)
19598         (next-line, previous-line, goal-column, line-move-visual): Doc fix
19599         to reflect the above change.
19601 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19603         * image.el (imagemagick-register-types): Use regexp-opt.
19605 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
19607         * window.el (display-buffer-base-action): Rename from
19608         display-buffer-default-action.  Make default value empty.
19609         (display-buffer-overriding-action): Convert to defvar.
19610         (display-buffer-fallback-action): New var.
19612 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
19614         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19615         declaration.
19616         (package--add-to-archive-contents): If there is a duplicate entry
19617         with an older version, remove it.
19618         (package-menu-mark-delete, package-menu-mark-install)
19619         (package-menu-mark-unmark): Make unused args optional.
19620         (package-menu-mark-obsolete-for-deletion):
19621         Use package-menu-get-status instead of a regexp search.
19622         (package-menu-get-status): Use tabulated-list-entry.
19623         (package-menu-mark-upgrades): New command.
19624         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
19625         (package-menu-execute): Do installation before deletion.
19626         (package-menu-refresh, package-menu-execute): Use derived-mode-p
19627         instead of checking major-mode.
19628         (package-menu--find-upgrades): New function.
19630 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19632         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19633         passwords in the log buffer.
19634         (smtpmail-process-filter): Update the process marker so that the
19635         "broken by peer" status message is inserted in the right place.
19637 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19639         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19640         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19641         bibtex-completion-at-point-function.
19642         (bibtex-completion-at-point-function): Use them.
19644         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19646         * mpc.el (mpc-constraints-tag-lookup): New function.
19647         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19648         also to browser "album|playlist".
19650 2011-09-14  Juri Linkov  <juri@jurta.org>
19652         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
19653         (isearch-edit-string): Use length of `isearch-string' when
19654         `isearch-fail-pos' returns nil.
19655         (isearch-message): Remove duplicate code and call
19656         `isearch-fail-pos' with arg `t'.
19658 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
19660         * replace.el (occur-mode-goto-occurrence): Don't force using other
19661         window (Bug#9499).
19663         * dired-aux.el (dired-do-chmod): Don't provide initial input.
19665 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
19667         * window.el (display-buffer-window): Remove.
19668         (display-buffer-record-window): Use help-setup window parameter
19669         instead of variable display-buffer-window.
19670         (display-buffer-function, special-display-buffer-names)
19671         (special-display-function): Mention help-setup parameter instead
19672         of display-buffer-window in doc-string.
19673         * help.el (help-window-setup): New argument help-window.
19674         Use help-window-setup parameter instead of display-buffer-window.
19675         Reword some messages.
19676         (with-help-window): Pass window used for displaying the buffer
19677         to help-window-setup.  Don't set display-buffer-window.
19679 2011-09-13  Glenn Morris  <rgm@gnu.org>
19681         * emacs-lisp/debug.el (debugger-make-xrefs):
19682         Preserve point.  (Bug#9462)
19684 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
19686         * window.el (window-deletable-p): Use next-frame.
19688 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
19690         * window.el (window-auto-delete): Remove.
19691         (window-deletable-p): Remove argument FORCE.  Don't deal with
19692         dedication and previous buffers.
19693         (switch-to-prev-buffer): Don't delete window.
19694         (delete-windows-on): Delete a window's frame if and only if the
19695         window is dedicated.
19696         (replace-buffer-in-windows): Delete buffer's window or frame if
19697         and only if window is dedicated.
19698         (quit-window): Handle quit-restore as before last change.
19699         (bury-buffer): Delete window only if window-deletable-p returns t.
19701 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
19703         * window.el (window-deletable-p): Never delete the last frame on a
19704         given terminal.
19706 2011-09-13  Glenn Morris  <rgm@gnu.org>
19708         * help.el (describe-key-briefly): Copy previous standard-output change.
19710 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
19712         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
19714 2011-09-13  Glenn Morris  <rgm@gnu.org>
19716         * emacs-lisp/lisp-mode.el (lisp-indent-function):
19717         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19719 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
19721         * dired-aux.el (dired-mark-read-string): Don't return default
19722         value on empty input (Bug#9361).
19723         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19724         Omit initial minibuffer contents.
19725         (dired-do-chmod): Signal an error on empty input.
19726         (dired-mark-read-string): Don't return default on empty input.
19728         * files.el (file-modes-symbolic-to-number): Doc fix.
19730 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19732         * international/mule-cmds.el (ucs-completions): Remove.
19733         (read-char-by-name): Use complete-with-action instead; add metadata.
19735 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
19737         * window.el (display-buffer--action-function-custom-type)
19738         (display-buffer--action-custom-type): New vars.
19739         (display-buffer-alist, display-buffer-default-action)
19740         (display-buffer-overriding-action): Add defcustom types.
19742         * frame.el (delete-other-frames): Doc fix (Bug#276).
19744 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19746         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19748 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
19750         Change modes that used same-window-* vars to use switch-to-buffer.
19752         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19753         Use switch-to-buffer.
19755         * cus-edit.el (customize-group, custom-buffer-create)
19756         (customize-browse, custom-buffer-create-other-window):
19757         Use switch-to-buffer or switch-to-buffer-other-window.
19759         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19760         (Info-prev, Info-up, Info-speedbar-goto-node)
19761         (info-display-manual): Use switch-to-buffer.
19762         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19764         * mail/sendmail.el (mail): Use switch-to-buffer.
19765         (mail-recover): Use switch-to-buffer-other-window.
19767         * cmuscheme.el (run-scheme, switch-to-scheme):
19768         * ielm.el (ielm):
19769         * shell.el (shell):
19770         * net/rlogin.el (rlogin):
19771         * net/telnet.el (telnet, rsh):
19772         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19774 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
19776         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19778 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19780         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19781         so don't mention it (bug#9301).
19782         (dired-sort-toggle-or-edit): Clarify string further.
19784         * faces.el (face-spec-set-match-display): Make `(type graphic)'
19785         match `x', `w32' and `ns', like the manual says (bug#9029).
19787         * subr.el (eval-after-load): Doc string clarification (bug#9125).
19788         (process-kill-buffer-query-function): Mention the buffer name in
19789         the query.
19791         * image-mode.el (image-next-line): The line parameter is mandatory
19792         (bug#9258).
19794         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19795         which can be useful (bug#9301).
19797         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19799         * subr.el (match-string): Mention that the current buffer should
19800         be the same as the search was done in (bug#9282).
19802         * facemenu.el: Disable the remove-* commands if the mark isn't
19803         active (bug#9162).
19805 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
19807         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19808         of display-buffer.
19809         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19811         * replace.el (occur-mode-goto-occurrence)
19812         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19813         and display-buffer.
19815         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19816         display-buffer.
19818         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19819         special-display and same-window variables.
19820         (mail-other-window): Use switch-to-buffer-other-window.
19821         (mail-other-frame): USe switch-to-buffer-other-frame.
19823         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19824         Use display-buffer-other-frame.
19825         (gdb-display-gdb-buffer): Use pop-to-buffer.
19827         * progmodes/gud.el (gud-goto-info): Use info-other-window.
19829         * progmodes/python.el: Don't set same-window-buffer-names.
19831         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19833         * window.el (display-buffer-alist): Add *Python*.
19835 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
19837         * window.el (display-buffer-alist): Add entry for buffers
19838         previously handled same-window-*.
19839         (display-buffer-alist, display-buffer-default-action)
19840         (display-buffer-overriding-action): Mark as risky.
19841         (display-buffer-alist): Document action function changes.
19842         (display-buffer--same-window-action)
19843         (display-buffer--other-frame-action): New variables.
19844         (switch-to-buffer, display-buffer-other-frame): Use them.
19845         (display-buffer): Rename reuse-frame entry to reusable-frames.
19846         (display-buffer-reuse-selected-window): Function deleted.
19847         (display-buffer-reuse-window): Handle reusable-frames alist entry.
19848         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19849         (display-buffer-special): New function.
19850         (display-buffer--maybe-pop-up-frame-or-window): Rename from
19851         display-buffer-reuse-or-pop-window.  Split off special-display
19852         part into display-buffer-special.
19853         (display-buffer-use-some-window): Don't perform any special
19854         pop-up-frames handling.
19855         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19856         (display-buffer--maybe-same-window): Rename from
19857         display-buffer-maybe-same-window.
19859         * info.el: Don't set same-window-regexps.
19860         (info-setup): New function.
19861         (info-other-window, info): Call it.
19863         * cus-edit.el: Don't set same-window-regexps.
19864         (customize-group): New argument.
19865         (customize-group-other-window): Use it.
19866         (customize-face, customize-face-other-window): Likewise.
19867         (custom-buffer-create-other-window): Use pop-to-buffer directly.
19869         * net/rlogin.el:
19870         * net/telnet.el:
19871         * progmodes/gud.el: Don't set same-window-regexps.
19873         * cmuscheme.el:
19874         * ielm.el:
19875         * shell.el:
19876         * mail/sendmail.el:
19877         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19879 2011-09-10  Juri Linkov  <juri@jurta.org>
19881         * isearch.el (isearch-edit-string): Remove obsolete mention of
19882         `C-w' (`isearch-yank-word-or-char') from docstring.
19883         (isearch-query-replace): Fix typo in docstring (bug#9466).
19885 2011-09-10  Juri Linkov  <juri@jurta.org>
19887         * paren.el (show-paren-function): Don't show escaped parens.
19888         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
19890 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
19892         * mail/sendmail.el (mml-to-mime, mml-attach-file)
19893         (mm-default-file-encoding): Remove autoload forms, they are
19894         replaced with autoload cookies in mml.el and mm-encode.el.
19895         (mail-add-attachment): New command.
19896         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19897         (mail-mode): Mention mail-insert-file and mail-add-attachment in
19898         the doc string.
19899         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19901 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
19903         * simple.el (count-words-region): Use buffer if there's no region
19904         (bug#9429).
19906 2011-09-09  Juri Linkov  <juri@jurta.org>
19908         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19909         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19910         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
19912 2011-09-09  Alan Mackenzie  <acm@muc.de>
19914         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19915         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
19917 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
19919         Fix for Savannah bug#9392.
19920         * simple.el (mail-encode-mml): New defvar.
19922         * mail/rmail.el (mail-encode-mml): Add a defvar.
19923         (rmail-enable-mime-composing): Default to t.
19924         (rmail-forward): Use MIME method of forwarding only if both
19925         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19926         Set mail-encode-mml non-nil if the MIME method was used.
19928         * mail/sendmail.el (mml-to-mime): Add autoload form.
19929         (mail-encode-mml): Add a defvar.
19930         (mail-mode): Make mail-encode-mml buffer-local and initialize it
19931         to nil.
19932         (mail-send): If mail-encode-mml is non-nil, run the outgoing
19933         message through mml-to-mime, and reset mail-encode-mml to nil.
19935 2011-09-09  Glenn Morris  <rgm@gnu.org>
19937         * woman.el (woman-if-body): When processing an .el block,
19938         do not delete the next .el block as well.  (Bug#9447)
19939         (woman-special-characters): Add oq, cq, and hy characters.
19941 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
19943         * window.el (window-deletable-p): Make sure window is live before
19944         invoking window-prev-buffers.
19946 2011-09-08  Leo Liu  <sdl.web@gmail.com>
19948         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
19950 2011-09-08  Juri Linkov  <juri@jurta.org>
19952         * progmodes/compile.el (compilation-environment): Make it
19953         a defcustom (bug#8340).
19955 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
19957         * window.el (frame-auto-delete): Rename to window-auto-delete.
19958         Make it control auto-deletion of windows and/or frames.
19959         (window-deletable-p): New argument FORCE.  Rewrite conditions
19960         for deleting window/frame.  (Bug#9419)
19961         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19962         Rewrite handling of case when window/frame can be deleted.
19963         (delete-windows-on): Call window-deletable-p with new FORCE
19964         argument t.  (Bug#9456)
19966 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
19968         * help-mode.el (help-mode): Restore autoload.
19970 2011-09-07  Juri Linkov  <juri@jurta.org>
19972         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19973         `compilation-environment'.  Set buffer-local
19974         `compilation-environment' to `thisenv' later after (funcall mode).
19975         (Bug#8340)
19977         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
19978         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19979         instead of replacing its value.  (Bug#8340)
19981 2011-09-07  Juri Linkov  <juri@jurta.org>
19983         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19984         based on text properties put by `grep-filter' instead of matching
19985         escape sequences.
19986         (grep-mode): Set buffer-local `compilation-error-screen-columns'
19987         to the value of `grep-error-screen-columns' (bug#9438).
19989 2011-09-07  Juri Linkov  <juri@jurta.org>
19991         * simple.el (next-error-highlight, next-error-highlight-no-select):
19992         Doc fix (bug#9432).
19994 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
19996         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19997         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
19999 2011-09-07  Leo Liu  <sdl.web@gmail.com>
20001         * net/rcirc.el (rcirc-mode): Conditionally initialize
20002         rcirc-input-ring.
20004 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
20006         * emacs-lisp/find-func.el (find-function-C-source): Only set
20007         find-function-C-source-directory after checking that we found a source
20008         file there (bug#9440).
20010 2011-09-06  Alan Mackenzie  <acm@muc.de>
20012         * isearch.el (isearch-other-meta-char): Wherever a key list is
20013         unread, "unread" the prefix arg, too.  This fixes bug #8901.
20015 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
20017         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
20019 2011-09-05  Juri Linkov  <juri@jurta.org>
20021         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
20023 2011-09-05  Juri Linkov  <juri@jurta.org>
20025         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
20026         keeping point where processing of grep matches begins, and
20027         continue to delete remaining escape sequences from the same point.
20028         (grep-filter): Make leading zero optional in "0?1;31m" because
20029         git-grep emits "\033[1;31m" escape sequences unlike expected
20030         "\033[01;31m" as GNU Grep does (bug#9408).
20031         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
20033 2011-09-05  Juri Linkov  <juri@jurta.org>
20035         * subr.el (y-or-n-p): Capitalize "yes".
20037 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
20039         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
20040         `tramp-cache-unload-hook' where appropriate.
20041         (tramp-methods): Rename `tramp-remote-sh' to
20042         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
20043         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
20045         * net/tramp-sh.el (top): Don't require 'shell.
20046         (tramp-methods): Add `tramp-remote-shell' and
20047         `tramp-remote-shell-args' entries.
20048         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
20049         (tramp-sh-handle-shell-command): Remove.
20050         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
20051         Use `tramp-remote-shell'.
20053 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
20055         * mail/sendmail.el (sendmail-query-once-function): Delete.
20056         (sendmail-query-once): Save directly to send-mail-function.
20057         Update message-send-mail-function too.
20059         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
20061 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
20063         * progmodes/python.el (python-mode-map): Use correct function to
20064         start python interpreter from menu-bar (as reported by Geert
20065         Kloosterman).
20066         (inferior-python-mode-map): Fix typo.
20067         (python-shell-map): Remove.
20069 2011-09-03  Deniz Dogan  <deniz@dogan.se>
20071         * net/rcirc.el (rcirc-print): Simplify code for
20072         rcirc-scroll-show-maximum-output.  There is no need to walk
20073         through all windows to find the right one.
20075 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
20077         * help.el (help-return-method): Doc fix.
20079 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
20081         * window.el (window-deletable-p): Don't return a non-nil value
20082         when there's a buffer that was shown in the window before.
20083         (Bug#9419)
20084         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
20085         Set window's previous buffers to nil.
20087 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
20089         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
20090         newline before and after the tag line, so it doesn't interfere
20091         with determining the paragraph direction of bidirectional text.
20093 2011-09-03  Leo Liu  <sdl.web@gmail.com>
20095         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
20097 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
20099         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
20100         (pop-to-buffer): Change interactive spec.  Pass second argument
20101         directly to display-buffer.
20102         (display-buffer): Fix interactive spec.  Use functionp to
20103         distinguish between a function and a list of functions.
20105         * abbrev.el (edit-abbrevs):
20106         * arc-mode.el (archive-extract):
20107         * autoinsert.el (auto-insert):
20108         * bookmark.el (bookmark-bmenu-list):
20109         * files.el (find-file):
20110         * view.el (view-buffer):
20111         * progmodes/compile.el (compilation-goto-locus):
20112         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
20114 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
20116         * window.el (display-buffer-alist): Doc fix.
20117         (display-buffer): Add docstring.  Don't treat
20118         display-buffer-default specially.
20119         (display-buffer-reuse-selected-window)
20120         (display-buffer-same-window, display-buffer-maybe-same-window)
20121         (display-buffer-reuse-window, display-buffer-pop-up-frame)
20122         (display-buffer-pop-up-window)
20123         (display-buffer-reuse-or-pop-window)
20124         (display-buffer-use-some-window): New functions.
20125         (display-buffer-default-action): Use them.
20126         (display-buffer-default): Delete.
20127         (pop-to-buffer-1): Fix choice of actions.
20129 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
20131         * minibuffer.el (completion--insert-strings): Don't get confused by
20132         completion entries that end with an LF char.
20134 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
20136         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
20138 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
20140         * window.el (display-buffer): Restore interactive spec.
20141         (display-buffer-same-window, display-buffer-other-window):
20142         New functions.
20143         (pop-to-buffer-1): New function.  Use the above.
20144         (pop-to-buffer, pop-to-buffer-same-window): Use it.
20145         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
20147         * view.el (view-buffer-other-window, view-buffer-other-frame):
20148         Just use pop-to-buffer.
20150 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
20152         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
20154 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
20156         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
20158 2011-08-31  Richard Stallman  <rms@gnu.org>
20160         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
20161         of the separation of rmail-view-buffer from rmail-buffer.
20162         If you say no to "replace original", the decrypt is in the
20163         view buffer.  If you say yes, the decrypt goes into the
20164         rmail buffer also.
20166 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
20168         * window.el (display-buffer-window): Rewrite doc-string.
20169         (display-buffer-record-window): New function.
20170         (display-buffer-macro-specifiers)
20171         (display-buffer-even-window-sizes, display-buffer-set-height)
20172         (display-buffer-set-width, display-buffer-in-window)
20173         (display-buffer-reuse-window, display-buffer-split-specifiers)
20174         (display-buffer-side-specifiers, display-buffer-split-window-1)
20175         (display-buffer-split-window, display-buffer-split-atom-window)
20176         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20177         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
20178         (display-buffer-other-window-means-other-frame)
20179         (display-buffer-normalize-special)
20180         (display-buffer-normalize-default)
20181         (display-buffer-normalize-argument)
20182         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
20183         (display-buffer-normalize-specifiers, display-buffer-frame)
20184         (display-buffer-same-window, display-buffer-same-frame)
20185         (display-buffer-other-window)
20186         (display-buffer-same-frame-other-window)
20187         (display-buffer-other-frame, pop-to-buffer-same-window)
20188         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
20189         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
20190         (switch-to-buffer-same-frame)
20191         (switch-to-buffer-other-window-same-frame)
20192         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
20193         (display-buffer-alist-set-1, display-buffer-alist-set-2)
20194         (display-buffer-alist-set): Remove.
20195         (display-buffer-function, special-display-buffer-names)
20196         (special-display-regexps, special-display-function):
20197         In doc-string refer to display-buffer-window and quit-restore
20198         parameter.
20199         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
20200         (special-display-frame-alist, special-display-popup-frame)
20201         (same-window-buffer-names, same-window-regexps, same-window-p)
20202         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
20203         (split-window-preferred-function, split-height-threshold)
20204         (split-width-threshold, window-splittable-p)
20205         (split-window-sensibly, window--try-to-split-window)
20206         (window--frame-usable-p, even-window-heights)
20207         (window--even-window-heights, window--display-buffer-1)
20208         (window--display-buffer-2, display-buffer-other-frame):
20209         Restore old Emacs 23 code, order and doc-strings where applicable.
20210         (display-buffer-default, display-buffer-assq-regexp): New functions.
20211         (display-buffer-alist): Rewrite doc-string.
20212         (display-buffer-default-action)
20213         (display-buffer-overriding-action): New variables.
20214         (display-buffer, switch-to-buffer): Rewrite.
20215         (pop-to-buffer): Restore Emacs 23 behavior but use
20216         window-normalize-buffer-to-display.
20217         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
20218         Restore Emacs 23 behavior but use
20219         window-normalize-buffer-to-switch-to.
20220         (pop-to-buffer-same-window): Rewrite.
20221         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
20222         Rewrite using Emacs 23 options.
20224 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
20226         * net/tramp.el (tramp-root-regexp): Remove.
20227         (tramp-completion-file-name-regexp-unified)
20228         (tramp-completion-file-name-regexp-separate)
20229         (tramp-completion-file-name-regexp-url): Don't use leading volume
20230         letter on w32 systems.  (Bug#5303, Bug#9311)
20231         (tramp-drop-volume-letter): Simplify definition.
20232         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
20234 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20236         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
20237         (bug#9356).
20239 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
20241         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
20243 2011-08-29  Juri Linkov  <juri@jurta.org>
20245         * isearch.el (isearch-done): Don't display message "Mark saved"
20246         when arg `edit' is non-nil to prevent its flicker in the echo area.
20248 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
20250         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
20251         obsolete packages for deletion.
20253 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
20255         * help-mode.el (help-mode-map): Add special-mode-map to parent.
20256         (help-mode): Derive help-mode from special-mode.  Don't invoke
20257         view-mode from help-mode.
20258         (help-xref-override-view-map): Remove.
20259         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
20260         view-mode is not used anymore.
20262 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
20264         * server.el (server-port): Doc fix.
20266         * cus-theme.el (custom-theme-choose-mode): Inherit from
20267         special-mode (Bug#9124).
20268         (custom-theme-choose-mode-map): Add special-mode to parent.
20270 2011-08-28  Alan Mackenzie  <acm@muc.de>
20272         * progmodes/cc-fonts.el
20273         (c-make-font-lock-BO-decl-search-function): New function.
20274         (c-basic-matchers-after - "Fontify the clauses after various
20275         keywords"): Extract the three keyword lists for the 3 erroneous
20276         constructs from the list of four, and use the new function above
20277         in place of an old one.
20279 2011-08-28  Deniz Dogan  <deniz@dogan.se>
20281         * net/rcirc.el (rcirc-insert-prev-input)
20282         (rcirc-insert-next-input): Remove unused argument.
20284 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20286         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
20288 2011-08-27  Alan Mackenzie  <acm@muc.de>
20290         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
20291         handle function pointer parameters properly.
20293 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
20295         * window.el (display-buffer-reuse-window): Fix case where
20296         selected window was reused with non-nil OTHER-WINDOW argument.
20297         (Bug#9381)
20299 2011-08-27  Deniz Dogan  <deniz@dogan.se>
20301         * net/rcirc.el (rcirc-check-auth-status): Adding support for
20302         oftc's NickServ messages.
20304 2011-08-27  Glenn Morris  <rgm@gnu.org>
20306         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
20308 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
20310         * emacs-lisp/package.el (package-install): Call package-initialize
20311         if called interactively.
20313 2011-08-26  Leo Liu  <sdl.web@gmail.com>
20315         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
20317 2011-08-25  Juri Linkov  <juri@jurta.org>
20319         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
20320         `search-whitespace-regexp' (bug#9364).
20322 2011-08-25  Juri Linkov  <juri@jurta.org>
20324         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
20325         `regexp-search-ring' to their global values to protect from
20326         updating by `read-from-minibuffer' (bug#9185).
20328 2011-08-25  Juri Linkov  <juri@jurta.org>
20330         * textmodes/ispell.el (ispell-command-loop): Add newline
20331         at the end of the "Use option `i'..." line.
20333 2011-08-25  Juri Linkov  <juri@jurta.org>
20335         * battery.el (display-battery-mode): If `battery-status-function'
20336         or `battery-mode-line-format' is nil, display the message and set
20337         `display-battery-mode' to nil (bug#9363).
20339 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
20341         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
20342         bidi-string-mark-left-to-right; they are unnecessary now.
20344 2011-08-25  Deniz Dogan  <deniz@dogan.se>
20346         * net/quickurl.el: Documentation typo fixes.
20348 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
20350         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
20352 2011-08-25  Glenn Morris  <rgm@gnu.org>
20354         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
20356         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
20357         (smtpmail-via-smtp): Handle nil response from smtp.
20359 2011-08-24  Juri Linkov  <juri@jurta.org>
20361         * proced.el (proced-marked): Inherit from `error' instead of
20362         `font-lock-warning-face'.
20364         * ibuffer.el (ibuffer-marked-face): Change default face from
20365         `font-lock-warning-face' to `warning'.
20366         (ibuffer-deletion-face): Change default face from
20367         `font-lock-type-face' to `error'.
20369         * battery.el (battery-update): Use the face `error' instead of
20370         `font-lock-warning-face' (bug#6117).
20372 2011-08-24  Juri Linkov  <juri@jurta.org>
20374         * faces.el (success): Change face color from "Green3" to
20375         "ForestGreen" on light background (bug#9353).
20377 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
20379         * window.el (quit-window): Rename from quit-restore-window.
20380         Use same arglist as old quit-window.
20381         (frame-auto-delete): Doc fix.
20383         * view.el (view-mode-exit): Use quit-window.
20385 2011-08-24  Juri Linkov  <juri@jurta.org>
20387         * isearch.el (isearch-ring-adjust1): Start visiting previous
20388         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
20389         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
20390         for empty search string (when the last search string is reused
20391         automatically) to adjust the isearch ring to the last element and
20392         prepare the correct index for further M-p commands (bug#9185).
20394 2011-08-24  Kenichi Handa  <handa@m17n.org>
20396         * international/ucs-normalize.el: If decomposition property of
20397         CHAR is the default one (i.e. a list of CHAR itself), treat it as
20398         nil.
20399         (nfd, nfkd): Likewise.
20401 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20403         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
20404         from process filters aren't reliably transmitted to the surrounding
20405         accept-process-output.
20406         (mpc-proc-check): New function.
20407         (mpc-proc-sync): Use it (bug#8293)
20409 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
20411         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
20412         Add compatibility functions (bug#9313).
20414 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
20416         * cus-start.el (all): Add entry for bidi-paragraph-direction.
20418         * international/uni-bidi.el: Regenerate.
20420 2011-08-23  Kenichi Handa  <handa@m17n.org>
20422         * international/charprop.el:
20423         * international/uni-bidi.el:
20424         * international/uni-category.el:
20425         * international/uni-combining.el:
20426         * international/uni-comment.el:
20427         * international/uni-decimal.el:
20428         * international/uni-decomposition.el:
20429         * international/uni-digit.el:
20430         * international/uni-lowercase.el:
20431         * international/uni-mirrored.el:
20432         * international/uni-name.el:
20433         * international/uni-numeric.el:
20434         * international/uni-old-name.el:
20435         * international/uni-titlecase.el:
20436         * international/uni-uppercase.el: Regenerate.
20438 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
20440         * help.el (help-window-setup): Fix message displayed when other
20441         window is reused.  (Bug#9341)
20443 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
20445         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20446         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20448         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20449         Mark obsolete.
20450         * shell.el (shell-parse-pcomplete-arguments): New function.
20451         (shell-completion-vars): Use it instead (bug#9160).
20453 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
20455         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20456         strings and comments (bug#9333).
20458         * emacs-lisp/debug.el (debug-arglist): New function.
20459         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
20460         (debug-on-entry-1): Handle interpreted closures (bug#9120).
20462 2011-08-22  Juri Linkov  <juri@jurta.org>
20464         * progmodes/compile.el (compilation-mode-font-lock-keywords):
20465         Revert regexp that highlights output switches to its old
20466         pre-2010-10-28 value and remove one `?' from it (bug#9319).
20468         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20469         to check for empty output (bug#9226).
20471 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
20473         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20474         symbol-constituent as the default, as that stops font-lock from
20475         working properly (Bug#8843).
20477 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20479         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20480         `coding-system-for-*' around the process open call to avoid
20481         auth-source side effects.
20482         (smtpmail-try-auth-methods): Expand the secret password.
20483         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20484         probe hangs.
20486 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
20488         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20490         * emacs-lisp/find-func.el (find-function-noselect): New arg
20491         lisp-only.
20493         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20494         signal an error for built-in functions (Bug#6664).
20496 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20498         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20499         (smtpmail-try-auth-methods): Use it.
20501 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
20503         * font-lock.el (font-lock-fontify-region)
20504         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20505         (font-lock-default-unfontify-buffer)
20506         (font-lock-default-fontify-region)
20507         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20509         * progmodes/compile.el (compilation-error-properties):
20510         Fix confusion between file struct and message struct (Bug#9319).
20511         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20512         `ant' regexp.
20514         * net/browse-url.el (browse-url-firefox): Don't call
20515         browse-url-firefox-sentinel unless using -remote (Bug#9328).
20517 2011-08-20  Glenn Morris  <rgm@gnu.org>
20519         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20521         * tutorial.el (tutorial--default-keys): Update some default bindings.
20523         * files.el (hack-local-variables): Fully ignore case for "mode:".
20525 2011-08-20  Alan Mackenzie  <acm@muc.de>
20527         Resolve invalid use of a regexp in regexp-opt.
20529         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20530         detection for a java annotation.
20532         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20533         detection for a java annotation.
20535         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20536         handling for java.
20537         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20539 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
20541         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20542         (Bug#9274).
20544 2011-08-20  Alan Mackenzie  <acm@muc.de>
20546         Fontify CPP expressions correctly when starting in the middle of
20547         such a construct.  Mainly for when jit-lock etc. starts a chunk
20548         here.
20550         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20551         variable.
20552         (c-make-font-lock-search-form): New function, extracted from
20553         c-make-font-lock-search-function.
20554         (c-make-font-lock-search-function): Use the above function.
20555         (c-make-font-lock-context-search-function): New function.
20556         (c-cpp-matchers): Enhance the preprocessor expression case with
20557         the above function
20558         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20559         which takes an expression.
20561         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20563 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
20565         * window.el (display-buffer-reuse-window)
20566         (display-buffer-pop-up-window): Don't reuse or split a side
20567         window.
20569 2011-08-19  Glenn Morris  <rgm@gnu.org>
20571         * files.el (hack-local-variables-prop-line, hack-local-variables):
20572         Downcase "Mode:".  (Bug#9331)
20574 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
20576         * international/characters.el: Add L and R categories.
20578         * subr.el (bidi-string-mark-left-to-right): Rename from
20579         string-mark-left-to-right.  Use category search.
20581         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20583 2011-08-18  Juri Linkov  <juri@jurta.org>
20585         * faces.el (error, warning, success): New faces with definitions
20586         copied from old default values of `font-lock-warning-face',
20587         `compilation-warning', `compilation-info' (bug#6117).
20589         * font-lock.el (font-lock-warning-face): Inherit from `error'.
20591         * progmodes/compile.el (compilation-error): Inherit from `error'.
20592         (compilation-warning): Inherit from `warning'.
20593         (compilation-info): Inherit from `success'.
20595         * dired.el (dired-marked): Inherit from `warning'.
20596         (dired-flagged): Inherit from `error'.
20598 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20600         * mail/smtpmail.el (auth-source): Require to avoid problems with
20601         binding variables (bug#9298).  Also clean up some unused
20602         autoloads.
20604         * net/network-stream.el (network-stream-open-starttls):
20605         Support using starttls.el without using gnutls-cli.
20607 2011-08-17  Juri Linkov  <juri@jurta.org>
20609         * progmodes/grep.el (rgrep): Handle the case when
20610         `grep-find-command' is a cons cell (bug#9278).
20612 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
20614         * window.el (display-buffer-pop-up-frame): Run frame creation
20615         function with BUFFER current (as special-display-popup-frame
20616         does).  Reported by Drew Adams.
20618 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
20620         * epa-mail.el: Simplify GnuPG group expansion using
20621         epg-expand-group.
20622         (epa-mail-group-alist, epa-mail-group-modtime)
20623         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20624         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20625         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20626         Remove.
20628 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
20630         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20632 2011-08-16  Alan Mackenzie  <acm@muc.de>
20634         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20635         Correct, to avoid the inside of macros.
20637 2011-08-16  Richard Stallman  <rms@gnu.org>
20639         * epa-mail.el: Handle GnuPG group definitions.
20640         (epa-mail-group-alist, epa-mail-group-modtime)
20641         (epa-mail-gnupg-conf-file): New variables.
20642         (epa-mail-parse-groups, epa-mail-sync-groups)
20643         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20644         (epa-mail-expand-recipients): New functions.
20645         (epa-mail-encrypt): Call epa-mail-expand-recipients.
20647         * mail/rmail.el (rmail-epa-decrypt): New command.
20649         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20650         Don't bind buffer-read-only, just inhibit-read-only.
20651         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20652         (epa-decrypt-armor-in-region): Make error message clearer.
20654 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20656         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20657         and "a2b" to "ab" for `prefix'.
20659 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
20661         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20662         filter groups.
20663         (ibuffer-included-in-filter-p-1): Use it.  Suggested by RafaĂ«l
20664         Fourquet (Bug#8804).
20666 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
20668         * startup.el (argi): Declare as global variable (bug#9275).
20670 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
20672         * subr.el (string-mark-left-to-right): Search the entire string
20673         for RTL script, not just the terminating character.  Doc fix.
20675 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20677         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20678         New function.
20679         (js--regexp-literal, js-syntax-propertize-function): Remove.
20680         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20681         (js-mode-map): Don't rebind electric keys.
20682         (js-insert-and-indent): Remove.
20683         (js-mode): Setup electric-layout and electric-indent instead.
20685         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20687 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
20689         * epa.el (epa-progress-callback-function): Fix the logic of
20690         displaying progress.
20691         * epa-file.el (epa-file-insert-file-contents): Make progress
20692         display more user-friendly.
20693         (epa-file-write-region): Ditto.
20695 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
20697         * subr.el (string-mark-left-to-right): New function.
20699         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20700         Use string-mark-left-to-right.
20701         (list-buffers-noselect): Caller changed.
20703         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20704         Use string-mark-left-to-right.
20705         (tabulated-list-print): Recenter after moving point.
20707 2011-08-10  Juri Linkov  <juri@jurta.org>
20709         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20710         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20711         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20713 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
20715         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20716         (Bug#7554).
20718 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
20720         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20721         character.  (Bug#6594)
20723 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
20725         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20726         (image-dired--with-db-file): New macro.
20727         (image-dired-write-tags, image-dired-remove-tag)
20728         (image-dired-create-gallery-lists, image-dired-write-comments)
20729         (image-dired-get-comment, image-dired-mark-tagged-files)
20730         (image-dired-list-tags, image-dired-gallery-generate): Use it.
20731         (image-dired-gallery-generate): Use insert-file-contents.
20733         * time.el (display-time-world-list, display-time-world-display):
20734         * time-stamp.el (time-stamp-string):
20735         * vc/add-log.el (add-change-log-entry): Use setenv instead of
20736         set-time-zone-rule (Bug#7337).
20738 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
20740         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20741         (epg-error-to-string, epg-errors-to-string): New function.
20742         (epg-wait-for-completion): Reverse errors list.
20743         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20744         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20745         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20746         (epg-sign-keys, epg-generate-key-from-file)
20747         (epg-generate-key-from-string): Format errors by using
20748         epg-errors-to-string (bug#9255).
20749         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20751 2011-08-07  Juri Linkov  <juri@jurta.org>
20753         * faces.el (list-faces-display): Remove extra angle bracket
20754         from `help-mode-map'.
20756         * info.el (Info-history-toc-nodes): Doc fix.
20758         * longlines.el (longlines-mode): Doc fix.
20760 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20762         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20763         of statements and in a few more cases (bug#9183).
20765         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20766         New functions.
20767         (cl-transform-lambda): Use them (bug#9239).
20769 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
20771         * window.el (display-buffer-same-window)
20772         (display-buffer-same-frame, display-buffer-other-window)
20773         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20774         (pop-to-buffer-other-window)
20775         (pop-to-buffer-same-frame-other-window)
20776         (pop-to-buffer-other-frame): Make them defuns.
20777         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20779 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20781         * subr.el (make-composed-keymap): Move from C.  Change calling
20782         convention, and improve docstring to bring attention to a subtle point.
20783         * minibuffer.el (completing-read-default): Adjust accordingly.
20785 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
20787         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20788         (tramp-open-shell): Use `tramp-shell-quote-argument'.
20790         * net/trampver.el: Update release number.
20792 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20794         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20795         "in" (bug#9190).
20797 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20799         * mail/sendmail.el (sendmail-query-once): Restore the current
20800         buffer after querying (bug#9074).
20802         * dired.el (dired-flagged): Use different faces for marked and
20803         flagged files (bug#6117).
20805         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20806         (bug#4433).
20808         * ido.el (ido-mode): Switch off the message if called
20809         non-interactively.
20811         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20812         before 587, since it appears that that's more likely to work for
20813         more people.
20815         * cus-edit.el (custom-file): When running under emacs -q, always
20816         refuse to save the customizations, even if the .emacs file doesn't
20817         exist.
20819         * info.el: Remove the `Info-beginning-of-buffer' function
20820         (bug#8325).
20822         * net/network-stream.el (network-stream-open-starttls):
20823         Use `starttls-available-p' to see whether starttls.el can be used.
20825 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
20827         * window.el (display-buffer-in-window): Don't set dedicated status
20828         of window here (Bug#9215).
20829         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20830         (display-buffer-pop-up-side-window)
20831         (display-buffer-in-side-window): Set dedicated status of window here.
20833 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20835         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20836         before binding generated-autoload-file.
20838 2011-08-01  Deniz Dogan  <deniz@dogan.se>
20840         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20842 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
20844         Sync with Tramp 2.2.2.
20846         * net/trampver.el: Update release number.
20848 2011-07-30  Juri Linkov  <juri@jurta.org>
20850         * dired-aux.el (dired-touch-initial): Remove function.
20851         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20852         current time, and `default' to the last modification time of the
20853         current marked file (bug#6887).
20855 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
20857         * simple.el (goto-line): Use string-to-number to provide a
20858         numeric argument to read-number (bug#9163).
20860 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
20862         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20863         connection process, it could be nil.
20865 2011-07-27  Leo Liu  <sdl.web@gmail.com>
20867         Simplify url handling in rcirc-mode.
20869         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20870         (rcirc-browse-url-at-mouse): Remove.
20871         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20873 2011-07-26  Alan Mackenzie  <acm@muc.de>
20875         Fontify bitfield declarations properly.
20877         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20878         (c-symbol-chars): Now exported as a lang variable.
20879         (c-not-primitive-type-keywords): New lang variable.
20881         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20882         QT keyword "more" to prevent "more slots: ...." being spuriously
20883         parsed as a bitfield declaration.
20885         * progmodes/cc-engine.el (c-beginning-of-statement-1):
20886         Refactor and enhance to handle bitfield declarations.
20887         (c-punctuation-in): New function.
20888         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20889         declarations properly.
20891 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
20893         * calendar/icalendar.el (icalendar--all-events): Take care of
20894         multiple vcalendars in a single file.
20895         (icalendar--convert-float-to-ical): Checkdoc fixes.
20897 2011-07-25  Deniz Dogan  <deniz@dogan.se>
20899         * image.el (insert-image): Clarifying docstring.
20901 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
20903         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20904         `tramp-send-command-and-check' if there is no error.
20905         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20907 2011-07-22  Alan Mackenzie  <acm@muc.de>
20909         Prevent cc-langs.elc being loaded at run time.
20911         * progmodes/cc-mode.el: Remove two autoload forms which loaded
20912         cc-langs.
20914         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20915         "(require 'cc-langs)".  Quote a form so it will evaluate at
20916         (cc-mode's) compilation time.
20918 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
20920         * net/tramp.el (tramp-file-name-handler): Avoid recursive
20921         loading.  (Bug#9114)
20923 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
20925         * window.el (display-buffer-pop-up-window)
20926         (display-buffer-pop-up-side-window)
20927         (display-buffer-in-side-window): Call display-buffer-set-height
20928         and display-buffer-set-width after setting the new window's
20929         buffer so `fit-window-to-buffer' and friends work on the right buffer.
20931 2011-07-20  Sam Steingold  <sds@gnu.org>
20933         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20934         (etags-tags-included-tables): Call `convert-standard-filename' on
20935         the file names contained in TAGS so that windows Emacs can handle
20936         TAGS files created by cygwin ctags.
20938 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20940         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20941         which apparently didn't work.
20943 2011-07-19  Roland Winkler  <winkler@gnu.org>
20945         * proced.el (proced-send-signal): For *Marked Processes* buffer
20946         put point at beginning of buffer.
20948 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
20950         * proced.el (proced-format): Make header lines align with the text
20951         (bug#1779).
20953 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20955         * view.el (view-buffer): Allow running in `special' modes if we're
20956         visiting a file (bug#8615).
20958 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
20960         * window.el (display-buffer-alist-of-strings-p)
20961         (display-buffer-alist-set-1, display-buffer-alist-set-2):
20962         New functions.
20963         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20964         more accurately.
20966 2011-07-18  Alan Mackenzie  <acm@muc.de>
20968         Fontify declarators properly when, e.g., a jit-lock chunk begins
20969         inside a declaration.
20971         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20973         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20974         New function.
20975         (c-complex-decl-matchers): Insert reference to
20976         c-font-lock-enclosing-decls.
20978         * progmodes/cc-engine.el (c-backward-single-comment):
20979         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20980         to nil around calls to (forward-comment -1).
20982 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20984         * image.el (put-image): Doc typo fix.
20986         * progmodes/etags.el (tags-search): Doc typo fix.
20988         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20989         password if we get errors 550 to 554.
20991 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20993         * net/gnutls.el (gnutls-log-level): Remove.
20995         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20996         indentation character (bug#6380).
20998         * files.el (buffer-offer-save): Made permanently local (bug#6241).
21000         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
21001         to clarify what the problem is (bug#4291).
21003         * simple.el (current-kill): Clarify what
21004         `interprogram-paste-function' does (bug#7500).
21005         (auto-fill-mode): Document `auto-fill-function' in relation to
21006         `auto-fill-mode' (bug#2470).
21008 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
21010         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
21011         method if slot is read-only (bug#9035).
21013 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
21015         * frame.el (select-frame-set-input-focus): New argument NORECORD.
21016         * window.el (pop-to-buffer): Select window used even if it was
21017         selected before, see discussion of (Bug#8615), (Bug#6954).
21018         Pass argument NORECORD on to select-frame-set-input-focus.
21020 2011-07-15  Glenn Morris  <rgm@gnu.org>
21022         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
21023         Respect help-form.
21025 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
21027         * net/gnutls.el (gnutls-min-prime-bits): New variable.
21028         (gnutls-negotiate): Use it.
21030 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21032         * net/gnutls.el (gnutls-negotiate):
21033         Upcase `gnutls-algorithm-priority'.
21035 2011-07-15  Glenn Morris  <rgm@gnu.org>
21037         * jka-compr.el (jka-compr-verbose): Move from here...
21038         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
21039         Add missing :version tag.
21040         * info.el: No need to require jka-compr when compiling.
21042 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21044         * net/gnutls.el (gnutls-algorithm-priority): New variable.
21045         (gnutls-negotiate): Use it.
21047         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
21049         * info.el (Info-beginning-of-buffer): New command.
21050         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
21051         announcing `b' as the key (bug#8325).
21052         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
21054         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
21056         * international/mule-cmds.el
21057         (describe-specified-language-support): Make the error message
21058         clearer (bug#8905).
21060         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
21062         * isearch.el (isearch-barrier): Add a doc string, since it's
21063         mentioned in a function doc string (bug#8678).
21065 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
21067         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
21068         buffer argument (Bug#9083) and self-identifying label argument.
21070 2011-07-15  Glenn Morris  <rgm@gnu.org>
21072         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
21074 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21076         * man.el (Man-fontify-manpage): Fix message when formatting the
21077         man page (bug#7929).
21079 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
21081         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
21082         argument LRM; if non-nil, append an invisible LRM character to the
21083         buffer name.
21084         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
21085         last argument non-nil, when formatting buffer names.
21086         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
21087         paragraph direction.
21089 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21091         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
21092         the man page name (bug#7929).
21094         * image.el (put-image): Mention the `put-image' overlay property
21095         (bug#7834).
21097         * scroll-bar.el (set-scroll-bar-mode): Mention that
21098         `scroll-bar-mode' lists the values (bug#7772).
21100         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
21101         command (bug#7729).
21103         * rect.el (apply-on-rectangle): Return the point after the last
21104         operation.
21105         (string-rectangle): Go to the point after the last operation
21106         (bug#7522).
21108         * printing.el (pr-toggle-region): Clarify the documentation
21109         slightly (bug#7493).
21111         * time.el (display-time-update):
21112         Allow `display-time-mail-function' to return nil (bug#7158).
21113         Fix suggested by Detlev Zundel.
21115         * vc/diff.el (diff): Clarify the order the file names are read
21116         (bug#7111).
21118         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
21119         the doc string (bug#7015).
21121         * font-lock.el (font-lock-maximum-decoration): Mention what
21122         numeric levels mean (bug#6935).
21124         * startup.el (initial-buffer-choice): Don't mention the `none'
21125         selection, which is against policy.
21127 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
21129         * window.el (display-buffer-normalize-special):
21130         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
21132 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
21134         * subr.el (version<, version<=, version=): Mention "-CVS" and
21135         "-12345" alpha version numbers.
21137 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
21139         * bindings.el: Add advertised binding for set-mark-command
21140         (Bug#5772).
21142 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
21144         * bindings.el (mode-line-other-buffer):
21145         * bookmark.el (bookmark-bmenu-2-window):
21146         * bs.el (bs-cycle-next, bs-cycle-previous):
21147         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
21148         switch-to-buffer.
21150         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21151         Delete.
21153 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
21155         * follow.el (follow-debug-message, follow-redisplay):
21156         * jka-cmpr-hook.el (with-auto-compression-mode):
21157         Fix typos in docstrings.
21159 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21161         * subr.el (with-silent-modifications): Clarify somewhat what the
21162         macro inhibits (bug#6525).
21164         * simple.el (eval-expression): Note what it does if called
21165         interactively (bug#6495).
21167 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
21169         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
21170         Use pop-to-buffer buffer-or-name if it is nil.
21172         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21173         Remove switch-to-buffer.
21175 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21177         * files.el (make-directory): Clarify that an error will be raised
21178         if there's an error (bug#6397).
21180         * startup.el (initial-buffer-choice): Add `none' as a choice
21181         (bug#6234).
21183         * subr.el (add-hook): Clarify section about buffer-local hooks
21184         (bug#6218).
21186         * dired.el (dired-flagged): Clarify doc string (bug#6117).
21188 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
21190         * tabify.el (untabify): Preserve the current column so that point
21191         doesn't move (bug#6032).
21193 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21195         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
21196         Rewrite to avoid awkward possessive "s" (bug#5986).
21198 2011-07-13  Glenn Morris  <rgm@gnu.org>
21200         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
21201         (dired-insert-directory): Give a message the first time
21202         if ls is found not to support --dired.
21204 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21206         * simple.el (toggle-truncate-lines): Clarify what is toggled
21207         (bug#5580).  Text by Drew Adams.
21209 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
21211         * simple.el (blink-matching-open): Make the error message from the
21212         last change less verbose.
21214 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
21216         * font-lock.el (font-lock-comment-face): Use the high contrast
21217         "yellow" color for font-lock-comment-face on low color terminals
21218         using a dark background color (bug#4221).
21220 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21222         * dired.el (dired-insert-set-properties): Make the doc string
21223         reflect what it does now (bug#5325).
21225         * simple.el (blink-matching-open): Say that we were unable to find
21226         the match within the limit, if we're limited (bug#5122).
21228         * international/mule-cmds.el (prefer-coding-system): Add an
21229         example (bug#4869).
21231         * progmodes/etags.el (tags-search): Document `file-list-form'
21232         (bug#4731).
21234 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
21236         * net/browse-url.el (browse-url-default-browser)
21237         (browse-url-browser-function): Make the default browser choice a
21238         bit more logical (bug#4300).  Also clean up the doc string.
21240 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
21242         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
21243         binary endings (bug#4440).
21245 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21247         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
21248         which can be pretty annoying (bug#8971).
21250         * jka-compr.el (jka-compr-verbose): New variable, and use
21251         throughout (bug#8971).
21253         * info.el (Info-find-file): Fall back on the installation
21254         directory if we can't find the info node anywhere else.
21256 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
21258         * vc/vc.el (vc-revert-file):
21259         Don't set file time-stamp in the past.  (Bug#5181)
21261 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21263         * files.el (after-find-file): Give a better error message when
21264         trying to find a symlink that points to a file that doesn't exist
21265         (bug#4398).
21267         * progmodes/cc-vars.el: Remove (probably) misleading comment
21268         (bug#4396).
21270 2011-07-12  Johan BockgĂ¥rd  <bojohan@gnu.org>
21272         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
21274 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
21276         * mouse-sel.el: Hack restoring functionality, while keeping
21277         compatibility with 2010-07-03 changes to mouse selection.
21278         (mouse-sel-primary-overlay): New var.
21279         (mouse-sel-selection-alist): Use it.
21280         (mouse-sel-mode): Doc fix; remove points that are default features
21281         of mouse.el.
21283 2011-07-12  Johan BockgĂ¥rd  <bojohan@gnu.org>
21285         * progmodes/compile.el (compilation-error-regexp-alist-alist):
21286         Fix previous fix (bug#2490).
21288 2011-07-12  Roland Winkler  <winkler@gnu.org>
21290         * textmodes/bibtex.el (bibtex-initialize):
21291         Use pop-to-buffer-same-window.
21292         (bibtex-search-entries): Fix interactive call.
21294 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21296         * progmodes/compile.el (compilation-error-regexp-alist-alist):
21297         Fontise bytecomp Error lines more correctly (bug#2490).
21298         Fix suggested by Johan BockgĂ¥rd.
21300         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
21302         * dired-x.el (dired-guess-default): Use `delete-dups'.
21304 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
21306         * dired.el (dired-mark-prompt):
21307         * dired-aux.el (dired-read-shell-command): Doc fix.
21309 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21311         * mail/sendmail.el (sendmail-query-once):
21312         Use `customize-save-variable' unconditionally, now that it works under
21313         emacs -Q.
21315         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21317         * cus-edit.el (custom-file): Take an optional no-error variable.
21318         (customize-save-variable): Set the variable, and give a warning if
21319         running under "emacs -q".
21321 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
21323         * loadhist.el (unload-feature-special-hooks):
21324         Add `auto-coding-functions', `fill-nobreak-predicate' and
21325         `find-directory-functions' (bug#5327).
21327 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21329         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
21331         * cus-edit.el (custom-guess-name-alist): -alist variables should
21332         use the `alist' type (bug#3120).  Suggested by Drew Adams.
21334         * printing.el: Add documentation to all the `pr-toggle-' commands.
21336 2011-07-11  Leo Liu  <sdl.web@gmail.com>
21338         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
21339         backends where it makes sense (bug#2623).
21341 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21343         * dired-x.el (dired-guess-default): Remove duplicate shell command
21344         entries (bug#2028).
21345         (dired-guess-default): Fix grammar in doc string (bug#2028).
21346         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
21348         * subr.el (remove-duplicates): New conveniency function.
21350 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21352         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
21353         (bug#1526).
21355 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
21357         * window.el (display-buffer-normalize-default): Don't invert
21358         meaning of even-window-heights.  Reported by Eli Zaretskii
21359         <eliz@gnu.org>.
21361 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
21363         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
21365 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
21367         * window.el (display-buffer): Fix arguments to
21368         display-buffer-reuse-window in last change.
21370         * faces.el (link): Use a less saturated blue on light backgrounds.
21372         * startup.el (fancy-startup-text, fancy-about-text)
21373         (fancy-startup-tail): Use font-lock faces, for background safety.
21375 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
21377         * emulation/viper-cmd.el (viper-change-state-to-vi):
21378         Limit triggering of abbrev expansion (Bug#9038).
21380 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
21382         * window.el (display-buffer-default-specifiers): Remove.
21383         (display-buffer-macro-specifiers): Remove default specifiers.
21384         (display-buffer-alist): Default to nil.
21385         (display-buffer-reuse-window): New optional argument other-window.
21386         (display-buffer-pop-up-window): Allow splitting internal
21387         windows.  Check whether a live window was created.
21388         (display-buffer-other-window-means-other-frame)
21389         (display-buffer-normalize-arguments): Rename to
21390         display-buffer-normalize-argument and rewrite.  Set the
21391         other-window specifier.
21392         (display-buffer-normalize-special): New function.
21393         (display-buffer-normalize-options): Rename to
21394         display-buffer-normalize-default and rewrite.
21395         (display-buffer-normalize-options-inhibit): Remove.
21396         (display-buffer-normalize-specifiers): Rewrite.
21397         (display-buffer): Process other-window specifier and call
21398         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
21399         more faithfully.
21400         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
21401         (display-buffer-alist-set): Don't handle 'unset default values.
21402         (display-buffer-in-window, display-buffer-alist-set):
21403         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
21404         <tassilo@member.fsf.org>.
21406 2011-07-09  Leo Liu  <sdl.web@gmail.com>
21408         * register.el (insert-register): Restore accidental change on
21409         2011-06-26.  (Bug#9028)
21411 2011-07-09  Glenn Morris  <rgm@gnu.org>
21413         * subr.el (remq): Handle the empty list.  (Bug#9024)
21415 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
21417         * mail/sendmail.el (send-mail-function): No longer delay custom
21418         initialization.
21419         * custom.el (custom-initialize-delay): Doc fix.
21421 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
21423         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21425 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
21427         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21428         human-friendly prompt.
21430 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
21432         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21433         provided by a particular plugin.
21435 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21437         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21438         save customizations (with "emacs -Q"), just set the variable
21439         instead of erroring out.
21441         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21443 2011-07-08  Juri Linkov  <juri@jurta.org>
21445         * arc-mode.el (archive-zip-expunge, archive-zip-update)
21446         (archive-zip-update-case): Use 7z if found by `executable-find'.
21447         The order of searching the available programs is the same as in
21448         `archive-zip-extract' (bug#8968).
21450 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
21452         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21453         (menu-bar-options-menu): Tweak descriptions.
21455 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21457         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21458         menu items into verb phrases (bug#1421).  Also refill to fit under
21459         80 columns.
21461 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
21463         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21464         (Info-read-node-name): Doc fix (Bug#1084).
21466         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21467         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21468         (end-of-sexp, beginning-of-sexp)
21469         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21470         (forward-symbol, forward-same-syntax, word-at-point)
21471         (sentence-at-point): Doc fix (Bug#1144).
21473 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21475         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21476         should cover it (bug#1281).
21478         * cus-edit.el (custom-show): Mark as obsolete.
21480         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21481         negotiation fails, then possibly try again with a non-encrypted
21482         connection (bug#9017).
21484         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21485         be used.
21487 2011-07-07  Richard Stallman  <rms@gnu.org>
21489         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21490         property, and handle its changed format.
21491         Look for the correct line number.
21492         Use file's line contents (but not past first =) to find
21493         correct line in message.
21495 2011-07-07  Kenichi Handa  <handa@m17n.org>
21497         * international/characters.el (build-unicode-category-table):
21498         Delete it.
21499         (unicode-category-table): Set it by unicode-property-table-internal.
21501         * international/mule-cmds.el (char-code-property-alist): Move to
21502         to src/chartab.c.
21503         (get-char-code-property): Call unicode-property-table-internal to
21504         load a file.  Call get-unicode-property-internal where necessary.
21505         (put-char-code-property): Call unicode-property-table-internal to
21506         load a file.  Call put-unicode-property-internal where necessary.
21507         put-unicode-property-internal where necessary.
21508         (char-code-property-description):
21509         Call unicode-property-table-internal to load a file.
21511         * international/charprop.el:
21512         * international/uni-bidi.el:
21513         * international/uni-category.el:
21514         * international/uni-combining.el:
21515         * international/uni-comment.el:
21516         * international/uni-decimal.el:
21517         * international/uni-decomposition.el:
21518         * international/uni-digit.el:
21519         * international/uni-lowercase.el:
21520         * international/uni-mirrored.el:
21521         * international/uni-name.el:
21522         * international/uni-numeric.el:
21523         * international/uni-old-name.el:
21524         * international/uni-titlecase.el:
21525         * international/uni-uppercase.el: Regenerate.
21527         * loadup.el: Load international/charprop.el before
21528         international/characters.
21530 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
21532         * window.el (next-buffer, previous-buffer): Signal an error if
21533         called from a minibuffer window.
21535         * bindings.el: Revert 2011-07-04 change.
21537 2011-07-06  Richard Stallman  <rms@gnu.org>
21539         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21540         (rmail-mime-insert-bulk, rmail-mime-insert-text):
21541         Treat markers like ints.
21542         (rmail-mime-entity): Doc fix.
21544 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21546         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21547         defcustom again for backwards compatibility.
21549         * simple.el (shell-command-on-region): Fill.
21551         * dired-aux.el (dired-kill-line): Add a doc string.
21553         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21554         to "\\sw\\|\\s_" (bug#358).
21556         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21557         (dired-unmark-backward): Ditto.
21558         (dired-flag-backup-files): Ditto.
21560         * dired-x.el (dired-mark-sexp): Ditto.
21562 2011-07-06  Richard Stallman  <rms@gnu.org>
21564         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21565         (rmail-mime-entity): New arg TRUNCATED.
21566         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21567         New functions.
21568         (rmail-mime-save): Warn if entity is truncated.
21569         (rmail-mime-toggle-hidden): Likewise, for showing.
21570         (rmail-mime-process-multipart): Record when an entity is truncated.
21572         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21573         if ENTITY is a string.
21575 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21577         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21578         of faces when `M-C-x'-ing their definitions (bug#8378).
21579         Also clean up the code slightly.
21581         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21582         because that makes the colors go away.
21584         * mail/sendmail.el (send-mail-function): Change the default to
21585         `sendmail-query-once'.
21586         (sendmail-query-once): Add an autoload cookie.
21588         * net/network-stream.el (network-stream-open-starttls): Try using
21589         a plain connection even if the server offered STARTTLS, and we
21590         kinda wanted to use it, if Emacs doesn't have any STARTTLS
21591         capability.  This should make smtpmail.el work in slightly more
21592         configurations.
21594 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
21596         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21597         New defun.
21598         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21600 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
21602         * progmodes/sql.el: Version 3.0
21603         (sql-product-alist): Add product :completion-object,
21604         :completion-column, and :statement attributes.
21605         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21606         (sql-mode-syntax-table): Mark all punctuation.
21607         (sql-font-lock-keywords-builder): Temporarily remove fallback on
21608         ansi keywords.
21609         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21610         (sql-mode-oracle-font-lock-keywords): Improve.
21611         (sql-oracle-show-reserved-words): New function for development.
21612         (sql-product-font-lock): Simplify for source code buffers.
21613         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21614         New functions.
21615         (sql-highlight-product): Set product specific syntax table.
21616         (sql-mode-map): Add statement movement functions.
21617         (sql-ansi-statement-starters, sql-oracle-statement-starters):
21618         New variable.
21619         (sql-statement-regexp, sql-beginning-of-statement)
21620         (sql-end-of-statement, sql-signum): New functions.
21621         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21622         (sql-show-sqli-buffer): Bug fix.
21623         (sql-interactive-mode): Store connection data as buffer local.
21624         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
21625         with sql-interactive-mode.
21626         (sql-save-connection): Save buffer local settings.
21627         (sql-connection-menu-filter): Change menu entry name.
21628         (sql-product-interactive): Bug fix.
21629         (sql-preoutput-hold): New variable.
21630         (sql-interactive-remove-continuation-prompt): Bug fixes.
21631         (sql-debug-redirect): New variable.
21632         (sql-str-literal): New function.
21633         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21634         Redesign.
21635         (sql-oracle-save-settings, sql-oracle-restore-settings)
21636         (sql-oracle-list-all, sql-oracle-list-table): New functions.
21637         (sql-completion-object, sql-completion-column)
21638         (sql-completion-sqlbuf): New variables.
21639         (sql-build-completions-1, sql-build-completions)
21640         (sql-try-completion): New functions.
21641         (sql-read-table-name): Use them.
21642         (sql-contains-names): New buffer local variable.
21643         (sql-list-all, sql-list-table): Use it.
21644         (sql-oracle-completion-types): New variable.
21645         (sql-oracle-completion-object, sql-sqlite-completion-object)
21646         (sql-postgres-completion-object): New functions.
21648 2011-07-06  Glenn Morris  <rgm@gnu.org>
21650         * window.el (pop-to-buffer): Doc fix.
21652 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
21654         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21656 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
21658         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21660         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21662 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
21664         * button.el (button): Inherit from link face.  Suggested by Dan
21665         Nicolaescu.
21667 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21669         * progmodes/gdb-mi.el: Fit in 80 columns.
21670         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21671         switch-to-buffer.
21673         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21674         if imenu is simply not configured (bug#8941).
21676 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
21678         * allout.el (allout-post-undo-hook): New allout outline-change
21679         event hook to signal undo activity.
21680         (allout-post-command-business): Run allout-post-undo-hook if an
21681         undo just occurred.
21682         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21683         * allout-widgets.el (allout-widgets-after-undo-function):
21684         Ensure the integrity of the current item's decoration after it has been
21685         in the vicinity of an undo.
21686         (allout-widgets-mode): Include allout-widgets-after-undo-function
21687         on the new allout-post-undo-hook.
21689 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21691         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21692         Let define-derived-mode define it.
21693         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21694         cycles of abbrev-table inheritance (bug#8998).
21696 2011-07-05  Roland Winkler  <winkler@gnu.org>
21698         * textmodes/bibtex.el: Add support for biblatex.
21699         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21700         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21701         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21702         (bibtex-entry-alist, bibtex-field-alist): New variables.
21703         (bibtex-entry-field-alist): Obsolete alias for
21704         bibtex-BibTeX-entry-alist.
21705         (bibtex-entry-alist, bibtex-field-alist): New widgets.
21706         (bibtex-set-dialect): New command.
21707         (bibtex-entry-type, bibtex-entry-head)
21708         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21709         Bind via bibtex-set-dialect.
21710         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21711         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21712         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21713         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21714         Define via bibtex-set-dialect.
21715         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21716         Obey bibtex-no-opt-remove-re.
21717         (bibtex-vec-push, bibtex-vec-incr): New functions.
21718         (bibtex-format-entry, bibtex-field-list)
21719         (bibtex-print-help-message, bibtex-validate)
21720         (bibtex-search-entries): Use new format of bibtex-entry-alist.
21722 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
21724         * progmodes/compile.el (compilation-goto-locus):
21725         * net/tramp-cmds.el (tramp-append-tramp-buffers):
21726         * bs.el (bs-cycle-next, bs-cycle-previous):
21727         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21728         * bindings.el (mode-line-other-buffer):
21729         * autoinsert.el (auto-insert):
21730         * arc-mode.el (archive-extract):
21731         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21733 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
21735         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21736         Fix check of `emacs-lock-unlockable-modes'.
21737         Coerce true values of `emacs-lock--try-unlocking' to t.
21739 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
21741         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21742         * emacs-lock.el: New file.
21744 2011-07-05  Julien Danjou  <julien@danjou.info>
21746         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21747         than `boundp' to check if face is set.
21749 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
21751         * register.el (registerv-make):
21752         * window.el (window-min-height): Fix typos in docstrings.
21754 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
21756         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21757         Update doc string.
21759 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
21761         * server.el (server-execute): Catch quit and call
21762         `server-return-error' to pass the error back to emacsclient and
21763         close the connection (bug#8942).
21765 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
21767         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21768         insecure exception for current topic.  Also note that auto-saves
21769         are handled differently.
21771         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21772         State variables for tracking auto-save inhibition situation.
21774         (allout-write-contents-hook-handler): Rename from
21775         'allout-write-file-hook-handler', and describe how it depends on
21776         write-contents-functions sensitivity to non-nil value to prevent
21777         file write.
21779         (allout-auto-save-hook-handler): Remove.  auto-save does not check
21780         this in individual buffers, only in the starting buffer, so this
21781         is not the right way for us to inhibit auto-save in a buffer
21782         according to its condition.
21784         (allout-mode): Use new allout-write-contents-hook-handler, and
21785         only with write-contents-functions.  Remove auto-save provisions -
21786         they're implemented elsewhere.
21788         (allout-before-change-handler): If undo is in progress, note that
21789         for attention of allout-post-command-business.
21791         (allout-post-command-business): If the command we're following was
21792         an undo, check for change in the status of encrypted items and
21793         adjust auto-save inhibitions accordingly.
21795         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21796         according to whether there are or aren't any plain-text topics
21797         pending encryption.
21799         (allout-inhibit-auto-save-info-for-decryption):
21800         Adjust buffer-saved-size and some allout state to inhibit auto-saves
21801         if there are plain-text topics pending encryption.
21803         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21804         buffer-saved-size and some allout state to not inhibit auto-saves
21805         if there are no longer any plain-text topics pending encryption.
21807         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21808         No longer provide for exemption of the current topic.
21810 2011-07-04  Juri Linkov  <juri@jurta.org>
21812         Add 7z operations to delete and save changed members (bug#8968).
21813         * arc-mode.el (archive-7z-expunge, archive-7z-update):
21814         New defcustoms.
21815         (archive-7z-write-file-member): New function.
21816         (archive-7z-summarize): Fix the number of dashes in the
21817         listing output.
21819 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
21821         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21822         (bug#8958).
21824 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
21826         * bindings.el: Ignore next-buffer and previous-buffer in
21827         minibuffer-local-map.
21829         * font-lock.el (font-lock-builtin-face): Change light background
21830         color to dark slate blue (Bug#6693).
21832 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
21834         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21836 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
21838         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21839         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21840         Add switch-to-buffer.
21842 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21844         * isearch.el (isearch-search-fun-function): Clarify further the
21845         meaning of the function returned.
21847 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
21849         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21851         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21852         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21853         Use it.
21854         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
21855         `tramp-default-remote-path' does not exist.
21856         (tramp-send-command-and-read): New optional argument NOERROR.
21857         (tramp-open-connection-setup-interactive-shell)
21858         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21859         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21860         (tramp-process-sentinel): Flush also process' connection property.
21861         (tramp-sh-handle-start-file-process): Do not set process
21862         sentinel.  It is done now ...
21863         (tramp-maybe-open-connection): ... here.  (Bug#8929)
21865 2011-07-04  MON KEY  <monkey@sandpframing.com>
21867         * play/animate.el (animate-string): Doc fixes and allow changing
21868         the buffer name (bug#5417).
21870 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21872         * play/animate.el (animation-buffer-name): Rename from *animate*.
21874 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
21876         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21877         This is simpler and helps future-proof the code.
21878         (timer-until): Use time-subtract and float-time.
21879         (timer--time-less-p): Use time-less-p.
21881 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
21883         * type-break.el (timep): Use the value of `float-time' to avoid a
21884         byte-compiler warning.
21886         * server.el (server-eval-and-print): Return any result, even nil.
21888 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
21890         * type-break.el: Accept time formats that the builtins accept.
21891         (timep, type-break-time-difference): Accept any format that
21892         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21893         This is simpler and helps future-proof the code.
21894         (type-break-time-difference): Round rather than ignoring
21895         subseconds components.
21897 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21899         * info.el (Info-apropos-matches): Make non-interactive, since it
21900         doesn't seem to do anything useful as a command (bug#8829).
21902 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
21904         * frame.el (frame-background-mode, frame-set-background-mode):
21905         Move from faces.el.
21906         (frame-default-terminal-background): New function.
21908         * custom.el (custom-push-theme): Don't record faces in `changed'
21909         theme; this doesn't work correctly for per-frame face settings.
21910         (disable-theme): Use face-set-after-frame-default to reset faces.
21911         (custom--frame-color-default): New function.
21913 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21915         * dired.el (dired-flagging-regexp): Remove unused variable
21916         (bug#8769).
21918 2011-03-29  Kevin Ryde  <user42@zip.com.au>
21920         * progmodes/compile.el (compilation-error-regexp-alist-alist):
21921         `perl-Test2' extend to match possible "fail #N" rep count
21922         (bug#8377).
21924 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21926         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21927         `smtpmail-via-smtp' now returns the error instead of nil.
21929         * isearch.el (isearch-search-fun-function): Clarify the doc string
21930         (bug#8101).
21932 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
21934         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21935         unnecessary spaces (bug#8987).
21937 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21939         * net/network-stream.el (open-network-stream): Use the
21940         :end-of-capability command thoughout.
21942 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
21944         * net/network-stream.el (open-network-stream): Add the
21945         :end-of-capability command parameter, used by pop3.el.
21947 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21949         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21951         * fringe.el (fringe-query-style): Remove redundant text " (type ?
21952         for list)" (bug#6475).
21954         * files.el (file-expand-wildcards): Ignore non-readable
21955         sub-directories while trying to find matches instead of signaling
21956         an error (bug#6297).
21958         * man.el (Man-reference-regexp): Allow matching possible
21959         word-wrapped references (bug#6289).
21961         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21962         for consistency with the other vc buffers (bug#6197).
21963         (vc-checkin): Ditto.
21965         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21967         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21969 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21971         * custom.el (defcustom): Clarify that :set is only used in the
21972         Customize user interface (bug#6089).
21974         * progmodes/flymake.el (flymake-mode): If the buffer isn't
21975         associated with a file, refuse to run instead of erroring out
21976         (bug#6084).
21978         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21979         the doc string, since it appears that using `fill-column' always
21980         controls the width (bug#7845).
21982         * simple.el (shell-command-on-region): Say where the error output
21983         went if `shell-command-default-error-buffer' is set (bug#6857).
21985 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
21987         * allout.el (allout-yank-processing): Adjust cursor position for
21988         backwards-deleted space.
21990         (allout-rebullet-heading): Register changes with
21991         allout-exposure-changed-hook, so the modified topic is properly
21992         decorated.
21994 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21996         * minibuffer.el (completion-in-region): Document PREDICATE
21997         (bug#7136).
21999         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
22000         of keyword/argument pairs (bug#6904).
22002         * replace.el (multi-occur):
22003         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
22005 2011-07-02  Drew Adams  <drew.adams@oracle.com>
22007         * dired.el (dired-mark-if): Make the message about whether it's
22008         marking or unmarking clearer (bug#8523).
22010 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22012         * disp-table.el (display-table-print-array): New function.
22013         (describe-display-table): Use it to print the vectors more pretty
22014         (Bug#8859).
22016 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
22018         * window.el (window-state-get-1): Don't assign clone numbers.
22019         Add clone-of item to list of window parameters.
22020         (window-state-put-2): Don't process clone numbers.
22021         (display-buffer-alist): Fix doc-string.
22023 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
22025         * subr.el (remq): Don't allocate if it's not needed.
22026         (keymap--menu-item-binding, keymap--menu-item-with-binding)
22027         (keymap--merge-bindings): New functions.
22028         (keymap-canonicalize): Use them to refine the canonicalization.
22029         * minibuffer.el (minibuffer-local-completion-map)
22030         (minibuffer-local-must-match-map): Move initialization from C.
22031         (minibuffer-local-filename-completion-map): Move initialization from C;
22032         don't inherit from anything here.
22033         (minibuffer-local-filename-must-match-map): Make obsolete.
22034         (completing-read-default): Use make-composed-keymap to combine
22035         minibuffer-local-filename-completion-map with either
22036         minibuffer-local-must-match-map or
22037         minibuffer-local-filename-completion-map.
22039 2011-07-01  Glenn Morris  <rgm@gnu.org>
22041         * type-break.el (type-break-time-sum): Use dolist.
22043         * textmodes/flyspell.el (flyspell-word-search-backward):
22044         Replace CL function.
22046 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
22048         * mouse.el (mouse--strip-first-event): New function.
22049         (function-key-map): Use it to map fringe clicks to normal clicks
22050         by default.
22052         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
22053         (vc-bzr-revision-completion-table): Add support for annotate and date.
22055         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
22056         inherit from parent.
22058 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22060         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
22061         (dired-show-file-type): Doc fixup (bug#8818).
22063         * dired.el (dired-mode): Fix up the doc string as suggested by
22064         Drew Adams (bug#8817).
22066         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
22067         cookie, since the manual says that it should be possible to add
22068         this function to `find-file-hook' (bug#8709).
22070 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
22072         * progmodes/cfengine.el: Moved all cfengine3.el functionality
22073         here.  Noted Ted Zlatanov as the maintainer.
22074         (cfengine-common-settings, cfengine-common-syntax): New functions
22075         to set up common things between `cfengine-mode' and
22076         `cfengine3-mode'.
22077         (cfengine3-mode): New mode.
22078         (cfengine3-defuns cfengine3-defuns-regex
22079         (cfengine3-class-selector-regex cfengine3-category-regex)
22080         (cfengine3-vartypes cfengine3-font-lock-keywords)
22081         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
22082         (cfengine3-indent-line): Add from cfengine3.el.
22084 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
22086         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
22088         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
22090 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
22092         * window.el (same-window-buffer-names, same-window-regexps)
22093         (same-window-p, special-display-frame-alist)
22094         (special-display-popup-frame, special-display-function)
22095         (special-display-buffer-names, special-display-regexps)
22096         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
22097         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22098         (split-window-preferred-function, split-height-threshold)
22099         (split-width-threshold, even-window-heights)
22100         (display-buffer-mark-dedicated, window-splittable-p)
22101         (split-window-sensibly, window-safely-shrinkable-p):
22102         Un-obsolete.
22103         (display-buffer): Don't spread args with function specifier
22104         because special-display-popup-frame won't like it.
22106 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
22108         Time-stamp simplifications and fixes.
22109         These improve accuracy slightly, and future-proof the code
22110         against some potential changes to current-time format.
22112         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
22113         by using time-since and float-time.
22115         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
22116         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
22117         + NNN microseconds".
22119         * type-break.el (type-break-time-sum): Rewrite using time-add.
22121         * play/hanoi.el (hanoi-current-time-float): Remove.
22122         All uses replaced by float-time.
22124         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
22125         This yields a more-accurate answer.
22126         (rng-time-to-float): Remove; no longer needed.
22128         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
22130         * calendar/timeclock.el (timeclock-seconds-to-time):
22131         Defalias to seconds-to-time, since they're the same thing.
22133         * emacs-lisp/elp.el (elp-elapsed-time):
22134         * emacs-lisp/benchmark.el (benchmark-elapse):
22135         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
22137 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
22139         * window.el (bury-buffer): Don't iconify the only frame.
22140         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
22141         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
22143 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
22145         * eshell/em-smart.el (eshell-smart-display-navigate-list):
22146         Add mouse-yank-primary.
22148 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
22150         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
22152 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
22154         * emacs-lisp/find-func.el (find-library--load-name): New fun.
22155         (find-library-name): Use it to find relative load names when provided
22156         absolute file name (bug#8803).
22158 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22160         * textmodes/flyspell.el (flyspell-word): Consider words that
22161         differ only in case as potential doublons (bug#5687).
22163         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
22164         Remove two rather uninteresting debugging-like messages to make
22165         debbugs.el more silent.
22167         * comint.el (comint-password-prompt-regexp): Accept "Response" as
22168         a password-like phrase.
22170 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
22172         * progmodes/cc-guess.el: New file.
22174         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
22176         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
22177         derived from `c-basic-common-init'.
22179         * progmodes/cc-mode.el (top-level): Require cc-guess.
22180         (c-basic-common-init): Use `cc-choose-style-for-mode'.
22182 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
22184         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
22186 2011-06-30  Alan Mackenzie  <acm@muc.de>
22188         * progmodes/cc-engine.el (c-guess-continued-construct):
22189         Correct the handling of template-args-cont, particularly for when font
22190         lock is disabled.  Name this case as "CASE G".
22192 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
22194         * allout.el (allout-yank-processing): Fix injection of extra space
22195         between bullet and non-whitespace character in first topic when
22196         pasting, ensuring that the actual spacing in the pasted topic
22197         following the bullet char is preserved.  This extra space was
22198         causing pasted encrypted topics to get a decrypted status even
22199         when the content was actually still encrypted.  Now the decryption
22200         status from before the paste is preserved.
22202         (allout-flag-region): Set all allout overlays so they evaporate
22203         when reduced to zero length (evanescent), to prevent overlay
22204         leakage.
22206 2011-06-30  Glenn Morris  <rgm@gnu.org>
22208         * w32-fns.el (w32-charset-info-alist): Declare.
22210         * find-dired.el (find-grep-options): Simplify.
22212         * term/ns-win.el (ns-set-resource): Declare.
22214         * ses.el (row, col): Declare dynamic variables honestly.
22216         * textmodes/reftex-parse.el (index-tags): Declare.
22218 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
22220         * cus-edit.el (customize-push-and-save): New function.
22222         * files.el (hack-local-variables-confirm): Use it.
22224         * custom.el (load-theme): New arg NO-CONFIRM.
22225         Use customize-push-and-save (Bug#8720).
22226         (custom-enabled-themes): Doc fix.
22228         * cus-theme.el (customize-create-theme)
22229         (custom-theme-merge-theme): Callers to load-theme changed.
22231 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22233         * thingatpt.el (thing-at-point-short-url-regexp): Require that
22234         short URLs have at least one dot in them (bug #7614).
22236         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
22237         nil, because using a pty is apparently too slow (bug #895).
22239 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22241         * mail/sendmail.el (sendmail-query-once): New function.
22242         (sendmail-query-once-function): New variable.
22244 2011-06-29  Glenn Morris  <rgm@gnu.org>
22246         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
22248         * ses.el (top-level): Require cl when compiling.
22249         (ses-set-localvars): Fix error statement.
22250         Call it at compile time to silence a storm of warnings.
22252 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
22254         * window.el (normalize-live-buffer): Rename to
22255         window-normalize-buffer.
22256         (normalize-live-frame): Rename to window-normalize-frame.
22257         (normalize-any-window): Rename to window-normalize-any-window.
22258         (normalize-live-window): Rename to window-normalize-live-window.
22259         (make-window-atom): Rename to window-make-atom.
22260         (window-resize-reset): Rename to window--resize-reset.
22261         (window-resize-reset-1): Rename to window--resize-reset-1.
22262         (resize-mini-window): Rename to window--resize-mini-window.
22263         (resize-subwindows-skip-p): Rename to
22264         window--resize-subwindows-skip-p.
22265         (resize-subwindows-normal): Rename to
22266         window--resize-subwindows-normal.
22267         (resize-subwindows): Rename to window--resize-subwindows.
22268         (resize-other-windows): Rename to window--resize-siblings.
22269         (resize-this-window): Rename to window--resize-this-window.
22270         (resize-root-window): Rename to window--resize-root-window.
22271         (resize-root-window-vertically): Rename to
22272         window--resize-root-window-vertically.
22273         (normalize-buffer-to-display): Rename to
22274         window-normalize-buffer-to-display.
22275         (normalize-buffer-to-switch-to): Rename to
22276         window-normalize-buffer-to-switch-to.
22277         Correspondingly update all callers of the functions listed
22278         above.
22279         (display-buffer-alist, display-buffer-normalize-arguments)
22280         (display-buffer-normalize-options, display-buffer)
22281         (display-buffer-alist-set): Use "function" instead of
22282         "fun-with-args".
22284 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
22286         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
22287         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
22288         debbugs.gnu.org.  Mention acknowledgment email.
22290 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22292         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
22293         buffer multibyteness, since it shouldn't matter.
22295 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
22297         * window.el (display-buffer-in-side-window): Handle dedicated
22298         windows as in display-buffer-reuse-window.
22299         (display-buffer-normalize-alist): Use value of override
22300         specifier.
22301         (display-buffer-normalize-specifiers): Use value of
22302         other-window-means-other-frame specifier.
22303         (display-buffer-alist): Rewrite some texts in widgets.
22304         (display-buffer): Spread arguments when calling function
22305         specified by fun-with-args.
22307 2011-06-28  Deniz Dogan  <deniz@dogan.se>
22309         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
22310         Unnest `let'.
22312         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
22313         selectors (Bug#5732).
22314         (css-proprietary-nmstart-re): Use `regexp-opt'.
22316 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
22318         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
22319         (eshell-ls-date-format): New defcustom.
22320         (eshell-ls-file): Use it.
22322 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
22324         * help-fns.el (describe-variable): Fix message for terminal-local vars.
22326 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
22328         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
22329         (ange-ftp-make-tmp-name): New arg.
22330         (ange-ftp-file-local-copy): Use it.
22332 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
22334         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
22335         no-conversion (Bug#8870).
22337 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
22339         * window.el (window-right, window-left, window-child)
22340         (window-child-count, window-last-child)
22341         (window-iso-combination-p, walk-window-tree-1)
22342         (window-atom-check-1, window-tree-1, delete-window)
22343         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
22344         new naming conventions - window-vchild, window-hchild,
22345         window-next and window-prev are now called window-top-child,
22346         window-left-child, window-next-sibling and window-prev-sibling
22347         respectively.
22348         (resize-window-reset): Rename to window-resize-reset.
22349         (resize-window-reset-1): Rename to window-resize-reset-1.
22350         (resize-window): Rename to window-resize.
22351         (window-min-height, window-min-width)
22352         (resize-mini-window, resize-this-window, resize-root-window)
22353         (resize-root-window-vertically, adjust-window-trailing-edge)
22354         (enlarge-window, shrink-window, maximize-window)
22355         (minimize-window, delete-window, quit-restore-window)
22356         (split-window, balance-windows, balance-windows-area-adjust)
22357         (balance-windows-area, window-state-put-2)
22358         (display-buffer-even-window-sizes, display-buffer-set-height)
22359         (display-buffer-set-width, set-window-text-height)
22360         (fit-window-to-buffer): Rename all "resize-window" prefixed
22361         calls to use the "window-resize" prefix convention.
22362         (display-buffer-alist): Fix symbol for label specifier.
22363         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
22364         corresponding specifier.
22365         Reported by Juanma Barranquero <lekktu@gmail.com>.
22367 2011-06-27  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
22369         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
22370         convention.
22371         (ses-call-printer): Does not pass an empty string to formatter when the
22372         cell is empty to keep from barking printer Calc math-format-value.
22374 2011-06-27  Richard Stallman  <rms@gnu.org>
22376         * battery.el (battery-mode-line-limit): New variable.
22377         (battery-update): Handle it.
22379         * mail/rmailmm.el (rmail-mime-process-multipart):
22380         Handle truncated messages.
22382 2011-06-27  Glenn Morris  <rgm@gnu.org>
22384         * progmodes/flymake.el (flymake-err-line-patterns):
22385         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
22387 2011-06-27  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
22389         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
22390         (ses--clean-!, ses--clean-_): New functions.
22391         (ses-range): Add configurability of readout order, and conversion
22392         to Calc vector.
22394         * ses.el (ses-repair-cell-reference-all): New function.
22395         (ses-cell-symbol): Set macro as safe, so that it can be used in
22396         formulas.
22398         * ses.el: Update cycle detection algorithm.
22399         (ses-localvars): Add ses--Dijkstra-attempt-nb and
22400         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
22401         (ses-set-localvars): New function.
22402         (ses-make-cell): Add property-list as a cell element.
22403         (ses-cell-property-get-fun, ses-cell-property-get)
22404         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
22405         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
22406         New functions.
22407         (ses-cell-property-set, ses-cell-property-pop)
22408         (ses-cell-property-get-handle): New macro.
22409         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
22410         New aliases, used for code readability.
22411         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
22412         cycle detection.
22413         (ses-self-reference-early-detection): New defcustom.
22414         (ses-formula-references): Robustify against self-referring cells.
22415         (ses-mode): Use ses-set-localvars.
22416         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22417         before lauching the update processing.
22418         (ses-initialize-Dijkstra-attempt): New function.
22419         (ses-recalculate-cell): Update for cycle detection based on
22420         Dijkstra algorithm.
22422         * ses.el: Fix commenting and indenting convention.
22424 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
22426         * bs.el (bs-cycle-next): Complete last change.
22428 2011-06-27  Drew Adams  <drew.adams@oracle.com>
22430         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22432 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22434         * net/network-stream.el (network-stream-open-starttls):
22435         Don't re-get capabilities unless we've reestablished connection.
22436         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22438         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22439         to binary to possibly avoid line encoding issues on Windows (among
22440         other things).
22442 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22444         * net/network-stream.el (open-network-stream): Return an :error
22445         saying what the problem was, if possible.
22447         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22448         server.
22450         * net/network-stream.el (network-stream-open-starttls): If we
22451         wanted to use STARTTLS, and the server offered it, but we weren't
22452         able to because we had no STARTTLS support, then close the connection.
22453         (open-network-stream): Return an :error element, if present.
22455 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
22457         * hl-line.el (hl-line-sticky-flag): Doc fix.
22458         (global-hl-line-sticky-flag): New option (Bug#8323).
22459         (global-hl-line-highlight): Obey it.
22461         * vc/vc.el (vc-revert-show-diff): Default to t.
22463 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
22465         * allout-widgets.el (allout-widgets-post-command-business):
22466         Stop decorating intermediate isearch matches.  They're not being
22467         undecorated when an isearch is continued past, and isearch
22468         automatically collapses them.  This leads to "widget leaks", where
22469         decorated items accumulate in collapsed areas.  Lines with lots of
22470         hidden widgets can slow down cursor travel, substantially.
22471         Too much complicated machinery would be needed to ensure undecoration,
22472         so we're doing without this nicety.
22474         (allout-widgets-tally-string): Don't try to do a hash-table-count
22475         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
22476         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22477         *Messages* when allout-widgets-maintain-tally is t.
22479 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
22481         * window.el (display-buffer-normalize-argument): Rename to
22482         display-buffer-normalize-arguments.  Handle special meaning of
22483         LABEL argument.  Respect special-display-function when popping up
22484         a new frame.  Fix code searching for a window showing the buffer
22485         on another frame.
22486         (display-buffer-normalize-specifiers):
22487         Call display-buffer-normalize-arguments.
22488         (display-buffer-in-window): Don't undedicate the window if its
22489         buffer remains the same.
22490         Reported by Drew Adams <drew.adams@oracle.com>.
22491         (display-buffer-alist): Add choice for same-window macro
22492         specfier.
22493         (display-buffer): Mention special meaning of LABEL argument in
22494         doc-string.  Fix quoting.  Don't pop up a new frame even as
22495         fallback.
22497 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
22499         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22500         avoid deleting the current window in some cases (bug#8911).
22502 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
22504         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22505         (Bug#8934)
22507 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22509         * net/network-stream.el (network-stream-open-starttls):
22510         Use built-in TLS support if `gnutls-available-p' is true.
22511         (network-stream-open-tls): Ditto.
22513 2011-06-26  Leo Liu  <sdl.web@gmail.com>
22515         * register.el (registerv): New struct.
22516         (registerv-make): New function.
22517         (jump-to-register, describe-register-1, insert-register):
22518         Support the jump-func, print-func and insert-func slot of a registerv
22519         struct.  (Bug#8415)
22521 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
22523         * vc/vc.el (vc-revert-show-diff): New defcustom.
22524         (vc-diff-internal): New arg specifying diff buffer.
22525         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
22526         reuse an existing *vc-diff* buffer (Bug#8927).
22528         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22530 2011-06-26  Glenn Morris  <rgm@gnu.org>
22532         * progmodes/f90.el (f90-critical-indent): New option.
22533         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22534         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22535         (f90-mode): Doc fix.
22536         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22537         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22538         (f90-beginning-of-block, f90-next-block, f90-indent-region)
22539         (f90-match-end): Handle block, critical.
22541 2011-06-25  Glenn Morris  <rgm@gnu.org>
22543         * calendar/diary-lib.el (diary-included-files): Doc fix.
22544         (diary-include-files): New function, extracted from
22545         diary-include-other-diary-files and diary-mark-included-diary-files.
22546         (diary-include-other-diary-files, diary-mark-included-diary-files):
22547         Just call diary-include-files.
22548         (diary-mark-entries): Reset diary-included-files on first call.
22550         * calendar/diary-lib.el (diary-mark-entries)
22551         (diary-mark-included-diary-files):
22552         Visit included diary-files in temp buffers.
22554         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22555         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22556         (f90-start-block-re, f90-imenu-generic-expression)
22557         (f90-looking-at-program-block-start, f90-no-block-limit):
22558         Add support for submodules.
22560         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22561         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22563 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
22565         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22566         buffer-file-type before setting its value, to avoid disastrous
22567         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
22569 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
22571         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22573         * ses.el (ses-unload-function):
22574         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22576         * proced.el (proced-unload-function):
22577         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22579 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
22581         * server.el (server-create-window-system-frame): Add parameters arg.
22582         (server-process-filter): Doc fix.  Handle frame-parameters.
22584 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
22586         Fix bug#8730, bug#8781.
22588         * loadhist.el (unload--set-major-mode): New function.
22589         (unload-feature): Use it.
22591         * progmodes/python.el (python-after-info-look): Add autoload cookie.
22592         (python-unload-function): New function.
22594 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
22596         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22598 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
22600         * net/browse-url.el (browse-url-firefox-program): Add icecat to
22601         the candidates list.
22603 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
22605         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22607 2011-06-23  Richard Stallman  <rms@gnu.org>
22609         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22610         (rmail-variables): Set next-error-move-function.
22611         (rmail-what-message): Take argument POS.
22612         (rmail-next-error-move): New function.
22614 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
22616         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22617         messages for adjacent non-terminals.
22619 2011-06-23  Richard Stallman  <rms@gnu.org>
22621         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22622         (rmail-show-message-1): Preserve buffer modified flag.
22623         (rmail-start-mail): Don't specify use of rmail-mail-return;
22624         that's done by mail-bury now.
22625         (rmail-mail-return): Handle arg NEWBUF.
22627 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
22629         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22630         SIZE is a number.
22632 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
22634         * window.el (get-lru-window, get-mru-window)
22635         (get-largest-window): Never return a minibuffer window.
22636         (display-buffer-pop-up-window): Fix a bug that could lead to
22637         reusing the minibuffer window.
22638         (display-buffer): Pass original specifier argument to
22639         display-buffer-function instead of the normalized one.
22640         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22642 2011-06-22  Leo Liu  <sdl.web@gmail.com>
22644         * minibuffer.el (completing-read-function)
22645         (completing-read-default): Move from minibuf.c.
22647 2011-06-22  Richard Stallman  <rms@gnu.org>
22649         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22650         to Rmail even if not started by a special Rmail command.
22652         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22653         Copy the buffer currently showing just one message.
22655 2011-06-22  Roland Winkler  <winkler@gnu.org>
22657         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22658         (bibtex-clean-entry): First delete the old key so that a
22659         customized algorithm for generating the new key does not get
22660         confused by the old key.
22661         (bibtex-url): Obey regexp of first step.
22662         (bibtex-search-entries): Do not use add-to-list with local
22663         list-var.
22665 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22667         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22668         stored a user name, then query for the password first, instead of
22669         waiting for SMTP to give an error message and the trying again.
22671 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
22673         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22674         BUFFER in call-process.
22676 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22678         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22679         QUIT twice.
22680         (smtpmail-try-auth-methods): Require user name and password from
22681         auth-source.
22683 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
22685         * window.el (display-buffer-default-specifiers)
22686         (display-buffer-alist): Remove entries for pop-up-frame-alist.
22687         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22688         (split-window): Normalize SIDE argument (Bug#8916).
22690         * frame.el (pop-up-frame-alist, pop-up-frame-function)
22691         (special-display-frame-alist, special-display-popup-frame):
22692         Remove duplicate declarations.  These are now in window.el.
22694 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22696         * mail/smtpmail.el (smtpmail-via-smtp):
22697         Set :use-starttls-if-possible so that we always use STARTTLS if the
22698         server supports it.  SMTP servers that support STARTTLS commonly
22699         require it.
22701         * net/network-stream.el (network-stream-open-starttls): Support
22702         upgrading to STARTTLS always, even if we don't have built-in support.
22703         (open-network-stream): Add the :always-query-capabilities keyword.
22705         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22706         upgrades with `open-network-stream', and rely solely on
22707         auth-source for all credentials.  Big changes throughout the file,
22708         but in particular:
22709         (smtpmail-auth-credentials): Remove.
22710         (smtpmail-starttls-credentials): Remove.
22711         (smtpmail-via-smtp): Check for servers saying they want AUTH after
22712         MAIL FROM, too.
22714         * net/network-stream.el (network-stream-open-starttls):
22715         Provide support for client certificates both for external and built-in
22716         STARTTLS.
22717         (auth-source): Require.
22718         (open-network-stream): Document the :client-certificate keyword.
22719         (network-stream-certificate): Change cert-cert to cert and
22720         cert-key to key.
22722 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
22724         * net/tramp-cache.el (top): Don't load the persistency file when
22725         "emacs -Q" has been called.
22727 2011-06-21  Tim Harper  <timcharper@gmail.com>
22729         * term/ns-win.el (ns-initialize-window-system):
22730         Set application-specific `ApplePressAndHoldEnabled' system
22731         resource to NO as it is not yet supported by the NS port.
22733 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
22735         * misc.el (list-dynamic-libraries--refresh): Compute header here...
22736         (list-dynamic-libraries): ...not here.
22738 2011-06-21  Leo Liu  <sdl.web@gmail.com>
22740         * subr.el (sha1): Implement sha1 using secure-hash.
22742 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
22744         * window.el (display-buffer-alist): In default value do not
22745         enforce searching a window on any but the selected frame.
22746         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22747         (display-buffer-select-window): Remove function.
22748         (display-buffer-in-window): When a window on another frame gets
22749         reused, do not select it any more but just raise its frame if
22750         necessary (Bug#8851) and (Bug#8856).
22751         (display-buffer-normalize-options): Handle pop-up-frames related
22752         options more faithfully.
22753         (pop-to-buffer): Don't rely on `display-buffer' selecting the
22754         window if it is on another frame.
22755         (display-buffer-alist, display-buffer-default-specifiers):
22756         Don't make new frame unsplittable by default.
22757         (display-buffer-normalize-argument): Fix doc-string typo and use
22758         'same-frame-other-window instead of 'other-window when associating
22759         with display-buffer-macro-specifiers.
22761 2011-06-21  Vincent BelaĂ¯che  <vincent.b.1@hotmail.fr>
22763         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22764         New functions.
22765         (5x5-mode-map, 5x5-mode-menu): Bind them.
22766         (5x5-draw-grid): Tweak the solver's rendering.
22768 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
22770         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22771         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22773 2011-06-21  Drew Adams  <drew.adams@oracle.com>
22775         * menu-bar.el: Use function variable instead of switch-to-buffer.
22776         (menu-bar-select-buffer-function): New variable.
22777         (menu-bar-update-buffers): Use it (bug#8876).
22779 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
22781         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22782         variable's status.
22784 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
22786         * x-dnd.el (x-dnd-version-from-flags)
22787         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22788         and long as number (Bug#8899).
22789         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22791 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
22793         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22794         (completion-try-completion, completion-all-completions): Compute the
22795         metadata argument if it's missing; make it optional (bug#8795).
22797         * wid-edit.el: Use lex-bind and move towards completion-at-point.
22798         (widget-complete): Use new :completion-function property.
22799         (widget-completions-at-point): New function.
22800         (default): Use :completion-function instead of :complete.
22801         (widget-default-completions): Rename from widget-default-complete;
22802         Rewrite.
22803         (widget-string-complete, widget-file-complete, widget-color-complete):
22804         Remove functions.
22805         (file, symbol, function, variable, coding-system, color):
22806         * international/mule-cmds.el (default-input-method, charset)
22807         (language-info-custom-alist):
22808         * cus-edit.el (face): Use new property :completions.
22810         * progmodes/pascal.el (pascal-completions-at-point): New function.
22811         (pascal-mode): Use it.
22812         (pascal-mode-map): Use completion-at-point.
22813         (pascal-toggle-completions): Make obsolete.
22814         (pascal-complete-word, pascal-show-completions):
22815         * progmodes/octave-mod.el (octave-complete-symbol):
22816         Redefine as obsolete alias.
22817         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22818         Signal absence of completion info for old Octave,
22819         (inferior-octave-complete): Redefine as obsolete alias.
22820         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22821         (meta-completions-at-point): Rename from meta-complete-symbol and
22822         adapt it for use on completion-at-point-functions.
22823         (meta-common-mode): Use it.
22824         (meta-looking-at-backward, meta-match-buffer): Remove.
22825         (meta-complete-symbol): Redefine as obsolete alias.
22826         (meta-common-mode-map): Use completion-at-point.
22827         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22828         (makefile-mode-map): Use completion-at-point.
22829         (makefile-completions-at-point): Rename from makefile-complete and
22830         adapt it for use on completion-at-point-functions.
22831         (makefile-mode): Use it.
22832         (makefile-complete): Redefine as obsolete alias.
22834 2011-06-20  Deniz Dogan  <deniz@dogan.se>
22836         * net/rcirc.el: Delete trailing whitespaces once and for all.
22838 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
22840         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22842 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
22844         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22846         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22848 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
22850         * window.el (display-buffer-other-window-means-other-frame):
22851         Call display-buffer-normalize-alist.
22852         (display-buffer-normalize-specifiers-1): Rename to
22853         display-buffer-normalize-argument.  New argument other-frame.
22854         Rewrite.
22855         (display-buffer-normalize-specifiers-2): Rename to
22856         display-buffer-normalize-options.
22857         (display-buffer-normalize-alist-1): New function.
22858         (display-buffer-normalize-specifiers-3): Rename to
22859         display-buffer-normalize-alist.
22860         Call display-buffer-normalize-alist-1.
22861         (display-buffer-normalize-options-inhibit): New variable.
22862         (display-buffer-normalize-specifiers): Rewrite calling
22863         display-buffer-normalize-alist,
22864         display-buffer-normalize-argument, and
22865         display-buffer-normalize-options.  Don't call the latter if
22866         display-buffer-normalize-options-inhibit is non-nil.
22867         (frame-auto-delete): New option.
22868         (window-deletable-p): Use frame-auto-delete.
22869         (window-list-no-nils, window-state-ignored-parameters)
22870         (window-state-get-1, window-state-get, window-state-put-list)
22871         (window-state-put-1, window-state-put-2, window-state-put):
22872         New functions.
22873         (display-buffer-normalize-options): Move special-display-p group
22874         after pop-up-frame group (Bug#8851) and (Bug#8856).
22876 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
22878         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22879         groups (Bug#8776).
22880         (rx-submatch-n): New function.
22881         (rx): Document it.
22883         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22884         (Bug#8768).
22886         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22888         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22890         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22891         anytime existing face settings are present (Bug#8889).
22893         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22894         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22895         Remove unused argument.
22897 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
22899         * window.el (display-buffer-default-specifiers):
22900         Remove pop-up-frame.  Add pop-up-window-min-height,
22901         pop-up-window-min-width, and another reuse-window specifier
22902         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
22903         (display-buffer-normalize-specifiers-2):
22904         Handle split-height-threshold and split-width-threshold also when
22905         pop-up-windows is unset.  Add a reuse-window specifier for the
22906         case popping up a new window fails.
22907         (special-display-popup-frame): Remove double quoting.
22908         (display-buffer-normalize-specifiers-1): Fix thinko.
22910 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
22912         * shell.el (shell-completion-vars): Set pcomplete-termination-string
22913         according to comint-completion-addsuffix.
22915         * pcomplete.el: Convert to lexical binding and fix bug#8819.
22916         (pcomplete-suffix-list): Mark as obsolete.
22917         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22918         pcomplete-seen in the closure.
22919         (pcomplete-comint-setup): Setup completion-at-point as well.
22920         (pcomplete--entries): New function.
22921         (pcomplete--env-regexp): New var.
22922         (pcomplete-entries): Rewrite to work with partial-completion and
22923         without relying on pcomplete-suffix-list.
22924         (pcomplete-pare-list): Remove, unused.
22926 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
22928         * window.el (display-buffer-alist): Set pop-up-window-min-height
22929         and pop-up-window-min-width in default value.  Reported by
22930         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
22931         other-window-means-other-frame.
22932         (display-buffer-macro-specifiers): Comment out entry for
22933         other-window specifier.
22934         (display-buffer-other-window-means-other-frame): New function.
22935         (display-buffer-normalize-specifiers-1): New arguments
22936         buffer-name and label.  Treat other-window case specially.
22937         (display-buffer-normalize-specifiers-2): Treat other-window case
22938         specially.
22939         (display-buffer-normalize-specifiers-3): New function.
22940         (display-buffer-normalize-specifiers):
22941         Call display-buffer-normalize-specifiers-3.
22943 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
22945         * window.el (same-window-p): Fix two typos introduced when
22946         adding with-no-warnings.
22947         (display-buffer-normalize-specifiers-1): Don't check
22948         pop-up-frames for 'unset initialization.
22949         (display-buffer-normalize-specifiers-2): Major rewrite using
22950         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22951         (pop-up-frames, display-buffer-reuse-frames)
22952         (display-buffer-mark-dedicated): Don't initialize to 'unset.
22953         Suggested by David Engster <deng@randomsample.de>.
22954         (even-window-heights): Initialize to 'unset.
22955         (display-buffer-alist-set): Handle new 'unset initializations.
22956         (display-buffer-macro-specifiers): Don't pop up a new frame in the
22957         other window case.
22959 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
22961         * window.el (display-buffer-normalize-specifiers-1):
22962         Respect current value of pop-up-frames for most reasonable values of
22963         second argument of display-buffer (Bug#8865).
22964         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22965         (switch-to-buffer-other-window-same-frame)
22966         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
22967         Adams (Bug#8875).
22968         (display-buffer): Don't check noninteractive when calling
22969         display-buffer-pop-up-frame.
22970         (display-buffer-pop-up-frame): Never pop up a frame in
22971         noninteractive mode (Bug#8857).
22972         (enlarge-window, shrink-window): Don't report an error when the
22973         window can't be resized as requested (Bug#8862).
22975 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
22977         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22979         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22981         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22983 2011-06-15  Alan Mackenzie  <acm@muc.de>
22985         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22986         for declarators, disable knr checking to speed up for normal files.
22987         2: Refactor, replacing a sequence of nested if forms by a cond form.
22989 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
22991         * net/network-stream.el (open-network-stream): Add the keyword
22992         :always-query-capabilities for the case where you want to force a
22993         `plain' network connection, but the protocol still requires the
22994         capabilitiy command (i.e., SMTP and EHLO).
22996         * subr.el (process-live-p): Rename from `process-alive-p' for
22997         consistency with other `-live-p' functions.
22999 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
23001         * window.el (same-window-buffer-names, same-window-regexps)
23002         (special-display-frame-alist, special-display-popup-frame)
23003         (special-display-function, special-display-buffer-names)
23004         (special-display-regexps, pop-up-frame-alist)
23005         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
23006         (pop-up-windows, split-window-preferred-function)
23007         (split-height-threshold, split-width-threshold, even-window-heights)
23008         (display-buffer-mark-dedicated): Don't encourage the use of
23009         display-buffer-alist from Elisp code.
23011 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
23013         * progmodes/python.el (python-mode): Derive from prog-mode.
23014         * progmodes/ps-mode.el (ps-mode):
23015         * progmodes/mixal-mode.el (mixal-mode):
23016         * progmodes/cfengine.el (cfengine-mode):
23017         * progmodes/ld-script.el (ld-script-mode): Likewise.
23019 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
23021         * window.el (display-buffer-alist): Trim default value to avoid
23022         popping up a new frame (Bug#8857) or reusing an arbitrary window
23023         on another frame.
23024         (display-buffer): Do not fall back on popping up a new frame in
23025         batch mode (Bug#8857).
23027 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
23029         * cus-theme.el (describe-theme-1): Use custom-theme-p.
23030         (custom-theme-summary): New function.
23031         (customize-themes): Use it.
23033 2011-06-13  Glenn Morris  <rgm@gnu.org>
23035         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
23037 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
23039         * help.el (help-window): Remove variable.
23040         (help-window-point-marker, temp-buffer-max-height)
23041         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
23042         (help-print-return-message): Don't set help-window.
23043         (resize-temp-buffer-window): Rewrite cod eand doc-string.
23044         (help-window-setup-finish): Remove.
23045         (help-window-display-message, help-window-setup)
23046         (with-help-window): Major rewrite based on new
23047         display-buffer-window variable.
23049         * help-mode.el (help-mode-finish): Remove help-window related
23050         code.
23052         * view.el (view-exits-all-viewing-windows): Remove reference to
23053         view-return-to-alist in doc-string.
23054         (view-return-to-alist): Make obsolete.
23055         (view-buffer): Call pop-to-buffer-same-window and remove
23056         undo-window code.
23057         (view-buffer-other-window): Call pop-to-buffer-other-window and
23058         simplify code.  Ignore second argument.
23059         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
23060         simplify code.  Ignore second argument.
23061         (view-return-to-alist-update): Make obsolete.
23062         (view-mode-enter): Rename second argument to QUIT-RESTORE.
23063         Rewrite using quit-restore window parameters.
23064         (view-mode-exit): Rename second argument to EXIT-ONLY.
23065         Rewrite using quit-restore-window.
23066         (View-exit, View-exit-and-edit, View-leave, View-quit)
23067         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
23068         appropriate arguments.
23069         (view-end-message): Use quit-restore window parameter.
23071         * window.el (display-buffer-function): Rewrite doc-string.
23072         (display-buffer-window, display-buffer-alist): New variables.
23073         (display-buffer-split-specifiers)
23074         (display-buffer-side-specifiers)
23075         (display-buffer-macro-specifiers): New constants.
23076         (display-buffer-even-window-sizes, display-buffer-set-height)
23077         (display-buffer-set-width, display-buffer-select-window)
23078         (display-buffer-in-window, display-buffer-reuse-window)
23079         (display-buffer-split-window-1, display-buffer-split-window)
23080         (display-buffer-split-atom-window, display-buffer-pop-up-window)
23081         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
23082         (display-buffer-in-side-window, normalize-buffer-to-display)
23083         (display-buffer-normalize-specifiers-1)
23084         (display-buffer-normalize-specifiers-2)
23085         (display-buffer-normalize-specifiers, display-buffer-frame):
23086         New functions.
23087         (display-buffer): Major rewrite.
23088         (display-buffer-other-window, display-buffer-other-frame)
23089         (pop-to-buffer, switch-to-buffer-other-window)
23090         (switch-to-buffer-other-frame): Rewrite.
23091         (display-buffer-same-window, display-buffer-same-frame)
23092         (display-buffer-same-frame-other-window)
23093         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
23094         (pop-to-buffer-other-window)
23095         (pop-to-buffer-same-frame-other-window)
23096         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
23097         (switch-to-buffer-other-window-same-frame): New functions.
23098         (same-window-p, special-display-p): Rewrite disabling warnings.
23099         Make obsolete.
23100         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
23101         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
23102         Make obsolete
23103         (same-window-buffer-names, same-window-regexps)
23104         (special-display-frame-alist, special-display-popup-frame)
23105         (special-display-function, special-display-buffer-names)
23106         (special-display-regexps, pop-up-frame-alist)
23107         (pop-up-frame-function, split-window-preferred-function)
23108         (split-height-threshold, split-width-threshold)
23109         (even-window-heights): Make obsolete.
23111 2011-06-12  Glenn Morris  <rgm@gnu.org>
23113         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
23114         Misc simplifications.
23116 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
23118         * window.el (window-safely-shrinkable-p): Restore function which
23119         was inadvertently removed in change from 2011-06-11.  Declare as
23120         obsolete.
23122         * calendar/calendar.el (calendar-generate-window):
23123         Use window-iso-combined-p instead of combination of one-window-p and
23124         window-safely-shrinkable-p.
23126 2011-06-12  Glenn Morris  <rgm@gnu.org>
23128         * progmodes/fortran.el (fortran-mode-syntax-table):
23129         * progmodes/f90.el (f90-mode-syntax-table):
23130         Set % to punctuation.  (Bug#8820)
23131         (f90-find-tag-default): Remove, no longer needed.
23133 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
23135         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
23137 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
23139         * image.el (image-animated-p): Return animation delay in seconds.
23140         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
23141         (image-animate-timeout): Remove DELAY argument.  Don't assume
23142         every subimage has the same delay; get it from image-animated-p.
23143         (image-animate): Caller changed.
23145 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
23147         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
23148         to ignored backtrace functions.
23150 2011-06-11  Glenn Morris  <rgm@gnu.org>
23152         * calendar/appt.el (appt-disp-window-function): Doc fix.
23153         (appt-check): Handle overlapping appointments.  (Bug#8337)
23155 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
23157         * window.el (window-tree-1, window-tree): New functions, moving
23158         the latter to window.el.
23159         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
23160         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
23161         (bw-refresh-edges): Remove.
23162         (balance-windows-1, balance-windows-2): New functions.
23163         (balance-windows): Rewrite in terms of window tree functions,
23164         balance-windows-1 and balance-windows-2.
23165         (bw-adjust-window): Remove.
23166         (balance-windows-area-adjust): New function with functionality of
23167         bw-adjust-window but using resize-window.
23168         (set-window-text-height): Rewrite doc-string.
23169         Use normalize-live-window and resize-window.
23170         (enlarge-window-horizontally, shrink-window-horizontally):
23171         Rename argument to DELTA.
23172         (window-buffer-height): New function.
23173         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
23174         Rewrite using new window resize routines.
23175         (kill-buffer-and-window, mouse-autoselect-window-select):
23176         Use ignore-errors instead of condition-case.
23177         (quit-window): Call delete-frame instead of delete-windows-on
23178         for the only buffer on frame.
23180 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
23182         * loadup.el (top-level): Load window before files for the sake
23183         of replace-buffer-in-windows.
23185         * files.el (read-buffer-to-switch)
23186         (switch-to-buffer-other-window)
23187         (switch-to-buffer-other-frame, display-buffer-other-frame):
23188         Move to window.el.
23190         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
23191         (previous-buffer): Move to window.el.
23193         * bindings.el (unbury-buffer): Move to window.el.
23195         * window.el (delete-other-windows-vertically): Move after
23196         definition of delete-other-windows.
23197         (other-window, delete-windows-on, replace-buffer-in-windows):
23198         Move here from window.c.
23199         (record-window-buffer, unrecord-window-buffer)
23200         (set-window-buffer-start-and-point, switch-to-prev-buffer)
23201         (switch-to-next-buffer): New functions.
23202         (get-next-valid-buffer, last-buffer, next-buffer): Move here
23203         from simple.el.  Call switch-to-next-buffer.
23204         (previous-buffer): Move here from simple.el.
23205         Call switch-to-prev-buffer.
23206         (bury-buffer): Move here from buffer.c.  Switch to previous
23207         buffer when window cannot be deleted.
23208         (unbury-buffer): Move here from bindings.el.
23209         (ctl-x-map): Move binding for other-window from window.c to
23210         here.
23211         (read-buffer-to-switch, switch-to-buffer-other-window)
23212         (switch-to-buffer-other-frame): Move here from files.el.
23213         (normalize-buffer-to-switch-to): New functions.
23214         (switch-to-buffer): Move here from buffer.c.
23215         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
23217 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
23219         * window.el (window-min-height, window-min-width): Move here
23220         from window.c.  Add defcustoms and rewrite doc-strings.
23221         (resize-mini-window, resize-window): New functions.
23222         (adjust-window-trailing-edge, enlarge-window, shrink-window):
23223         Move here from window.c.
23224         (maximize-window, minimize-window): New functions.
23225         (delete-window, delete-other-windows, split-window): Move here
23226         from window.c.
23227         (window-split-min-size): New function.
23228         (split-window-keep-point): Mention split-window-above-each-other
23229         instead of split-window-vertically.
23230         (split-window-above-each-other, split-window-vertically):
23231         Rename split-window-vertically to split-window-above-each-other
23232         and provide defalias for old definition.
23233         (split-window-side-by-side, split-window-horizontally):
23234         Rename split-window-horizontally to split-window-side-by-side
23235         and provide defalias for the old definition.
23236         (ctl-x-map): Move bindings for delete-window,
23237         delete-other-windows and enlarge-window here from window.c.
23238         Replace bindings for split-window-vertically and
23239         split-window-horizontally by bindings for
23240         split-window-above-each-other and split-window-side-by-side.
23242         * cus-start.el (all): Remove entries for window-min-height and
23243         window-min-width.  Add entries for window-splits and
23244         window-nest.
23246 2011-06-09  Glenn Morris  <rgm@gnu.org>
23248         * calendar/appt.el (appt-mode-line): New function.
23249         (appt-check, appt-disp-window): Use it.
23251         * files.el (hack-one-local-variable-eval-safep):
23252         Allow minor-modes with explicit +/-1 arguments.
23254 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
23256         * term/xterm.el (xterm): Add defgroup.
23257         (xterm-extra-capabilities): Add defcustom to supply known xterm
23258         capabilities, skip querying them, or query them (default).
23259         (terminal-init-xterm): Use it.
23260         (terminal-init-xterm-modify-other-keys): New function to set up
23261         modifyOtherKeys support to simplify `terminal-init-xterm'.
23263 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
23265         * window.el (resize-window-reset, resize-window-reset-1)
23266         (resize-subwindows-skip-p, resize-subwindows-normal)
23267         (resize-subwindows, resize-other-windows, resize-this-window)
23268         (resize-root-window, resize-root-window-vertically)
23269         (window-deletable-p, window-or-subwindow-p)
23270         (frame-root-window-p): New functions.
23272 2011-06-09  Glenn Morris  <rgm@gnu.org>
23274         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
23275         (ange-ftp-get-files): Use it.
23277 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
23279         * mail/sendmail.el (mail-recover-1, mail-recover):
23280         * files.el (recover-file, recover-session):
23281         Handle dired-listing-switches not being just a single short option.
23283 2011-06-09  Glenn Morris  <rgm@gnu.org>
23285         * calendar/appt.el (appt-display-message, appt-disp-window):
23286         Handle lists of appointments.
23288 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
23290         * window.el (one-window-p): Move down in code.
23291         Rewrite doc-string.
23292         (window-current-scroll-bars): Rewrite doc-string.
23293         Normalize live window argument.
23294         (walk-windows, get-window-with-predicate, count-windows):
23295         Rewrite doc-string.  Use window-list-1.
23296         (window-in-direction-2, window-in-direction, get-mru-window):
23297         New functions.
23299 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
23301         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
23302         Doc fix (Bug#8713).
23304 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
23306         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
23308 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
23310         * loadhist.el (unload-feature-special-hooks):
23311         Add `comint-output-filter-functions'.
23313 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
23315         * calendar/appt.el (appt-check): Move some initializations into the let.
23317 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
23319         * window.el (window-height): Defalias to window-total-height.
23320         (window-width): Defalias to window-body-width.
23322 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
23324         * image-mode.el (image-toggle-animation): New command.
23325         (image-mode-map): Bind it to RET.
23326         (image-mode): Update message.
23327         (image-toggle-display-image): Avoid a spurious cache flush.
23328         (image-transform-rotation): Doc fix.
23329         (image-transform-properties): Return quickly in the normal case.
23330         (image-animate-loop): Rename from image-animate-max-time.
23332         * image.el (image-animate-max-time): Move to image-mode.el.
23333         (create-animated-image): Remove unnecessary function.
23334         (image-animate): Rename from image-animate-start.  New arg.
23335         (image-animate-stop): Remove; just use image-animate-timer.
23336         (image-animate-timer): Use car-safe.
23337         (image-animate-timeout): Rename argument.
23339 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
23341         * window.el (get-lru-window, get-largest-window): Move here from
23342         window.c.  Rename first argument to ALL-FRAMES.
23343         Rephrase doc-strings.
23344         (get-buffer-window-list): Rewrite using window-list-1.
23345         Rephrase doc-string.
23346         (window-safe-min-height, window-safe-min-width): New constants.
23347         (window-size-ignore, window-min-size, window-min-size-1)
23348         (window-sizable, window-sizable-p, window-size-fixed-1)
23349         (window-size-fixed-p, window-min-delta-1, window-min-delta)
23350         (window-max-delta-1, window-max-delta, window-resizable)
23351         (window-resizable-p, window-total-height, window-total-width)
23352         (window-body-width): New functions.
23353         (window-full-height-p, window-full-width-p): Rewrite using
23354         window-total-size.
23355         (window-body-height): Rewrite using window-body-size.
23357 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
23359         * window.el (window-right, window-left, window-child)
23360         (window-child-count, window-last-child, window-any-p)
23361         (normalize-live-buffer, normalize-live-frame)
23362         (normalize-any-window, normalize-live-window)
23363         (window-iso-combination-p, window-iso-combined-p)
23364         (window-iso-combinations)
23365         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
23366         (windows-with-parameter, window-with-parameter)
23367         (window-atom-root, make-window-atom, window-atom-check-1)
23368         (window-atom-check, window-side-check, window-check):
23369         New functions.
23370         (ignore-window-parameters, window-sides, window-sides-vertical)
23371         (window-sides-slots): New variables.
23372         (window-size-fixed): Move down in code.  Minor doc-string fix.
23374 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
23376         * comint.el (comint-dynamic-complete-as-filename)
23377         (comint-dynamic-complete-filename): Correctly call
23378         completion-in-region.
23380 2011-06-05  Deniz Dogan  <deniz@dogan.se>
23382         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
23383         in last change.
23385 2011-06-05  Deniz Dogan  <deniz@dogan.se>
23387         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
23388         (rcirc): Use it to prompt for encryption.
23390 2011-06-05  Roland Winkler  <winkler@gnu.org>
23392         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
23393         (bibtex-search-entries): New command bound to C-c C-a.
23394         (bibtex-display-entries): New function.
23396 2011-06-05  Roland Winkler  <winkler@gnu.org>
23398         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
23399         (bibtex-insert-kill): After yanking insert newline if necessary.
23400         (bibtex-initialize): Call bibtex-string-files-init only once.
23401         (bibtex-mode): Do not call easy-menu-add.
23402         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
23403         (bibtex-yank): Set arg properly if nil.
23405 2011-06-05  Roland Winkler  <winkler@gnu.org>
23407         * textmodes/bibtex.el (bibtex-search-entry-globally):
23408         New variable.
23409         (bibtex-search-entry): Use it.
23411 2011-06-05  Roland Winkler  <winkler@gnu.org>
23413         * textmodes/bibtex.el (bibtex-entry-format): New option
23414         sort-fields.
23415         (bibtex-format-entry, bibtex-reformat): Honor this option.
23416         (bibtex-parse-entry): Return fields in proper order.
23418 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
23420         * doc-view.el (doc-view-remove-if): Move computation of result out
23421         of `dolist' to silence misleading lexical-binding warning.
23423 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
23425         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23426         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23428 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
23430         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23431         "SunOS 5.10".
23433 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
23435         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23436         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23437         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23438         (tramp-parse-putty):
23439         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23440         (tramp-completion-function-alist-ssh)
23441         (tramp-completion-function-alist-telnet)
23442         (tramp-completion-function-alist-su)
23443         (tramp-completion-function-alist-putty): Set `tramp-autoload'
23444         cookie.
23446         * net/tramp-ftp.el:
23447         * net/tramp-sh.el:
23448         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23449         load "tramp.el" `tramp-set-completion-function'.
23451 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
23453         * shell.el: Require and use pcomplete.
23454         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23455         (shell-completion-vars): Set pcomplete-default-completion-function.
23457 2011-06-04  Deniz Dogan  <deniz@dogan.se>
23459         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23460         `memq' (Bug#8799).
23462 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
23464         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23466 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
23468         * bs.el (bs--mark-unmark, bs--nth-wrapper):
23469         * mpc.el (mpc-select-extend, mpc-songpointer-context):
23470         * vc/log-view.el (log-view-beginning-of-defun):
23471         * vc/smerge-mode.el (smerge-apply-resolution-patch)
23472         (smerge-refine-forward, smerge-refine-chopup-region):
23473         Silence warning for unused `dotimes' counter variables.
23475 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
23477         * net/tramp.el (tramp-with-progress-reporter): Rename from
23478         with-progress-reporter.  Use `declare'.
23479         * net/tramp-smb.el:
23480         * net/tramp-sh.el:
23481         * net/tramp-gvfs.el: Update all uses.
23483 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
23485         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23486         buffer isn't killed before making it current.
23488 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
23490         Silence various byte-compiler warnings.
23491         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23492         `access-type' and new obsolescence format.
23493         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23494         new format.
23495         (byte-compile-check-variable): New `access-type' argument.
23496         Only warn if the access-type is obsolete.
23497         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23498         (byte-compile-variable-set): Adjust callers.
23499         * help-fns.el (describe-variable): Adjust to new obsolescence format.
23500         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23501         setting it as obsolete.
23502         * simple.el (minibuffer-completing-symbol):
23503         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23504         access as obsolete.
23505         * minibuffer.el (minibuffer-completing-file-name): Don't make it
23506         obsolete yet.
23507         * international/quail.el (quail-mouse-choose-completion): Remove unused
23508         code referring to obsolete var.
23509         (quail-choose-completion-string): Remove.
23510         * server.el (server-clients-with, server-kill-buffer-query-function)
23511         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23512         * proced.el (proced-send-signal):
23513         * emacs-lisp/lisp.el (lisp-complete-symbol):
23514         Replace completion-annotate-function with completion-extra-properties.
23516 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
23518         * simple.el (goto-line): Use read-number.
23519         (overriding-map-is-bound): Remove.
23520         (saved-overriding-map): Change default.
23521         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23522         Take the map as argument.
23523         (universal-argument, negative-argument, digit-argument): Use it.
23524         (restore-overriding-map): Adjust.
23525         (do-auto-fill): Use fill-forward-paragraph.
23526         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23528         * minibuffer.el (minibuffer-inactive-mode-map): New var.
23529         (minibuffer-inactive-mode): New major mode.
23530         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23531         the *Messages* buffer" hack.
23532         (mouse-popup-menubar): Don't burp if the event is a normal key.
23534         Miscellaneous tweaks.
23535         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23536         lexical scoping as in subr.el's dolist and dotimes.
23537         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23538         Silence compiler warning.
23539         * thingatpt.el (forward-whitespace): Trivial coding style fix.
23540         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23541         * international/ccl.el (ccl-compile): Trivial simplification.
23542         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23543         * emacs-lisp/testcover.el (testcover-end): Remove spurious
23544         `printflag' argument.
23545         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23546         Purecopy the whole obsolescence data.
23548 2011-06-01  Leo Liu  <sdl.web@gmail.com>
23550         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23551         improve doc-string as suggested by Marco Pessotto
23552         <melmothx@gmail.com>.
23553         (rcirc-print): Fix last change.
23555 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
23557         * minibuffer.el (complete-with-action): Return nil for the metadata and
23558         boundaries of non-functional tables.
23559         (completion-table-dynamic): Return nil for the metadata.
23560         (completion-table-with-terminator): Add default case, using
23561         complete-with-action.
23562         (completion--metadata): New function.
23563         (completion-all-sorted-completions, minibuffer-completion-help): Use it
23564         to try and avoid pathological performance problems.
23565         (completion--embedded-envvar-table): Return `category' metadata.
23567 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
23569         * subr.el (process-alive-p): New tiny convenience function.
23571 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
23573         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23574         content but also its previous major mode.
23576 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
23578         * emacs-lisp/debug.el (debug): Restore the previous content of the
23579         *Backtrace* buffer when we exit with C-M-c.
23581 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
23583         * minibuffer.el: Add metadata method to completion tables.
23584         (completion-category-overrides): New defcustom.
23585         (completion-metadata, completion--field-metadata)
23586         (completion-metadata-get, completion--styles)
23587         (completion--cycle-threshold): New functions.
23588         (completion-try-completion, completion-all-completions):
23589         Add `metadata' argument to choose completion-styles.
23590         (completion--do-completion): Use metadata to choose cycling.
23591         (completion-all-sorted-completions): Use metadata for sorting.
23592         Remove :completion-cycle-penalty which is not needed any more.
23593         (completion--try-word-completion): Add `metadata' argument.
23594         (minibuffer-completion-help): Check metadata for annotation function
23595         and sorting.
23596         (completion-file-name-table): Return `category' metadata.
23597         (minibuffer-completing-file-name): Make obsolete.
23598         * simple.el (minibuffer-completing-symbol): Make obsolete.
23599         * icomplete.el (icomplete-completions): Pass new `metadata' param to
23600         completion-try-completion.
23602 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
23604         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23606 2011-05-30  Leo Liu  <sdl.web@gmail.com>
23608         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23609         (rcirc-print): Decode all incoming messages (bug#8744).
23610         (rcirc-decode-coding-system): Allow value nil for automatic coding
23611         system detection.
23613 2011-06-01  Glenn Morris  <rgm@gnu.org>
23615         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23617 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
23619         * image.el (image-animate-max-time): Allow nil and t values.
23620         Default to nil.
23621         (create-animated-image): Doc fix.
23622         (image-animate-start): Remove second arg; just use
23623         image-animate-max-time.
23624         (image-animate-timeout): Doc fix.  Args changed.
23626         * image-mode.el (image-toggle-display-image): Ensure that the
23627         image spec passed to the animate timer is the same object as in
23628         the buffer's display property (Bug#6981).
23629         (image-transform-properties): Doc fix.
23631         * image.el (image-animate-max-time): Default to nil.
23633 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
23635         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23636         entire buffer list (Bug#8184).
23638 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
23640         * image.el (imagemagick-types-inhibit)
23641         (imagemagick-register-types): Doc fix.
23643 2011-05-29  Deniz Dogan  <deniz@dogan.se>
23645         * net/rcirc.el (rcirc): Use the user's stored encryption method by
23646         default.
23648 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
23650         * select.el: Don't perform clipboard-manager saving in hooks;
23651         leave the hooks empty.
23653 2011-05-28  Leo Liu  <sdl.web@gmail.com>
23655         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23656         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
23657         (occur-edit-mode): New major mode (Bug#8463).
23658         (occur-after-change-function): New function.
23659         (occur-engine): Give Occur tags a read-only property.
23661 2011-05-28  Kevin Ryde  <user42@zip.com.au>
23663         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23665 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
23667         * bindings.el (help-echo): Make the initial non-indicator dash
23668         empty on graphical terminals (Bug#7295).
23670         * files.el (auto-mode-alist): Move config rule after the
23671         in-stripping one (Bug#8547).
23673         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23675         * startup.el (normal-splash-screen): Remove gratuitous mode-line
23676         setting (Bug#8740).
23678 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
23680         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23681         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23682         (Bug#8539).
23684 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
23686         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23688 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
23690         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23691         (hs-hide-block-at-point, hs-find-block-beginning)
23692         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23693         (Bug#8279).
23695 2011-05-28  Glenn Morris  <rgm@gnu.org>
23697         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
23699 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
23701         * help-fns.el (describe-function-1): If the function is a derived
23702         major mode, print the parent mode.
23704         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23705         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23707 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
23709         * minibuffer.el (completion--capf-wrapper): Check applicability before
23710         returning non-nil for non-exclusive completion data.
23711         * progmodes/etags.el (tags-completion-at-point-function):
23712         * info-look.el (info-lookup-completions-at-point): Mark as
23713         non-exclusive.
23714         (info-complete): Adjust accordingly.
23716         * info-look.el: Convert to lexical-binding and completion-at-point.
23717         (info-lookup-completions-at-point): New function.
23718         (info-complete): Use it and completion-in-region.
23720 2011-05-28  Drew Adams  <drew.adams@oracle.com>
23722         * isearch.el: Let M-e start with point at the first mismatched char.
23723         (isearch-fail-pos): New function.
23724         (isearch-edit-string): Use it.
23726 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
23728         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23730 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
23732         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
23733         traversal functions for avl-trees.
23734         (avl-tree--stack): New struct.
23735         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23736         (avl-tree-enter): Add optional `updatefun' arg.
23737         (avl-tree--do-enter): Add optional `updatefun' arg.
23738         Change return value.
23739         (avl-tree-delete): Add optional `test' and `nilflag' args.
23740         (avl-tree--do-delete): Add `test' and `nilflag' args.
23741         Change return value.
23742         (avl-tree-member): Add optional `nilflag'
23743         (avl-tree-member-p): New function.
23744         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23745         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23746         (avl-tree-stack-empty-p): New functions.
23748         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23749         avl-tree--del-balance1 and make it work both ways.
23750         (avl-tree--del-balance2): Remove.
23751         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23752         make it work both ways.
23753         (avl-tree--enter-balance2): Remove.
23754         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23755         New macros.
23756         (avl-tree--mapc, avl-tree-map): Add direction argument.
23758 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
23760         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23762 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
23764         * select.el: Support clipboard managers with built-in function
23765         x-clipboard-manager-save, via delete-frame-functions and
23766         kill-emacs-hook.
23767         (xselect-convert-to-targets): Add MULTIPLE target to list.
23768         (xselect-convert-to-save-targets): New function.
23770 2011-05-27  Kenichi Handa  <handa@m17n.org>
23772         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23773         let-binding rfc2047-encode-encoded-words to nil.
23775 2011-05-27  Glenn Morris  <rgm@gnu.org>
23777         * mail/emacsbug.el: Don't require url-util.
23779         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
23781         * files.el (set-auto-mode):
23782         Also respect mode: entries at the end of the file.  (Bug#8586)
23784 2011-05-26  Glenn Morris  <rgm@gnu.org>
23786         * files.el (hack-local-variables-prop-line, hack-local-variables):
23787         Downcase mode names, as seems to be traditional.
23788         (hack-local-variables, hack-local-variables-apply): Doc fixes.
23790         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23791         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
23793 2011-05-25  Julien Danjou  <julien@danjou.info>
23795         * textmodes/rst.el (rst-define-level-faces): Do not define face
23796         symbol if it is already defined.
23798 2011-05-24  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
23800         * play/5x5.el (5x5-new-game, 5x5-randomize):
23801         Reset 5x5-solver-output to nil when a new grid is cast.
23802         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23803         these debugging traces, as defmacro breaks the compiled code.
23805 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
23807         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23809 2011-05-24  Leo Liu  <sdl.web@gmail.com>
23811         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23812         (vc-bzr-sha1): Adapt.
23814         * sha1.el: Remove.  Function `sha1' is now builtin.
23816         * bindings.el: Provide sha1 feature.
23818 2011-05-24  Kenichi Handa  <handa@m17n.org>
23820         * mail/sendmail.el: Require `rfc2047'.
23821         (mail-insert-from-field): Do not perform RFC2047 encoding.
23822         (mail-encode-header): New function.
23823         (sendmail-send-it): Set buffer-file-coding-system of the work
23824         buffer to the return value of select-message-coding-system.
23825         Call mail-encode-header.
23827         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23829 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
23831         * mail/supercite.el (sc-default-cite-frame):
23832         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23834 2011-05-24  Glenn Morris  <rgm@gnu.org>
23836         * progmodes/python.el (brm-menu): Declare.
23838         * emulation/viper.el (viper-set-hooks): Declare.
23840         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23841         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23842         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23843         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23844         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23845         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23847 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
23849         Add an :exit-function for completion-at-point.
23851         * minibuffer.el (completion--done): New fun.
23852         (completion--do-completion): Use it.  New arg `expect-exact'.
23853         (minibuffer-complete, minibuffer-complete-word): Don't output message,
23854         since completion--do-completion does it for us now.
23855         (minibuffer-force-complete): Use completion--done and
23856         completion--replace.  Handle sole-completion case with more care.
23857         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23858         (completion-extra-properties): New var.
23859         (completion-annotate-function): Make obsolete.
23860         (minibuffer-completion-help): Adjust accordingly.
23861         Use completion-list-insert-choice-function.
23862         (completion-at-point, completion-help-at-point):
23863         Bind completion-extra-properties.
23864         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23865         * simple.el (completion-list-insert-choice-function): New var.
23866         (completion-setup-function): Preserve it.
23867         (choose-completion): Pay attention to it, shuffle the code a bit.
23868         (choose-completion-string): New arg `insert-function'.
23870         * textmodes/bibtex.el: Convert to lexical binding.
23871         (bibtex-mode-map): Use completion-at-point.
23872         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23873         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23874         (bibtex-complete): Define as obsolete alias.
23875         (bibtex-complete-internal): Remove.
23876         (bibtex-format-entry): Remove unused sub-group in regexp.
23877         * shell.el (shell--command-completion-data)
23878         (shell-environment-variable-completion):
23879         * pcomplete.el (pcomplete-completions-at-point):
23880         * comint.el (comint--complete-file-name-data): Use :exit-function
23881         instead of completion-table-with-terminator so it also works for
23882         choose-completion.
23884 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
23886         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23888         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23889         (bug#8710).
23891         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23893 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
23895         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23896         customization variable and implement: If non-nil, auto-fill will
23897         be inhibited while on topic's header line.
23899 2011-05-23  Vincent BelaĂ¯che  <vincentb1@users.sourceforge.net>
23901         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23902         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
23903         always have a solution in grid size = 5 cases.
23904         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23905         (5x5-solver-output, 5x5-log-buffer): New vars.
23906         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23907         Make these variables buffer local to achieve 5x5 multi-session-ness.
23908         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23909         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23910         (5x5-solve-suggest): New funs.
23911         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23912         randomize a grid so that we ensure that there is always a solution.
23913         (5x5-make-random-grid): Allow other movement than flipping.
23915 2011-05-23  Kevin Ryde  <user42@zip.com.au>
23917         * emacs-lisp/advice.el (ad-read-advised-function):
23918         Use `function-called-at-point' as the default, if it has
23919         advice and passes PREDICATE.
23921 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
23923         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23924         byte-compile-lambda if it's actually a lambda.
23926         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23927         Fix function quoting.  Use backquote better.
23929 2011-05-22  Yuanle Song  <sylecn@gmail.com>
23931         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23932         matching (Bug#8516).
23934 2011-05-22  Jari Aalto  <jari.aalto@cante.net>
23936         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23937         different face (Bug#8178).
23939 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
23941         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23942         defface (Bug#8144).
23944 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
23946         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23947         funcall as well (bug#8712).  Warn when performing those conversions.
23948         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23950         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23952 2011-05-22  Glenn Morris  <rgm@gnu.org>
23954         * files.el (hack-local-variables-prop-line): Small simplifications.
23955         (hack-local-variables, hack-local-variables-prop-line):
23956         If MODE-ONLY, return the mode, rather than just `t'.
23958 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
23960         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23962 2011-05-21  Glenn Morris  <rgm@gnu.org>
23964         * files.el (hack-local-variables-prop-line, hack-local-variables):
23965         If only interested in the mode, don't bother doing the other stuff.
23967         * image-mode.el (image-after-revert-hook):
23968         Redraw all frames on which the image is visible.  (Bug#8567)
23970         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
23972         * wid-edit.el (widget-checklist-match-inline):
23973         Fix 2011-04-19 change.  (Bug#8649)
23975 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
23977         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23978         Also allow singlespace after single-letter capitals followed by a dot.
23980         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23981         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23983 2011-05-20  Nix  <nix@esperi.org.uk>
23985         * files.el (basic-save-buffer-2):
23986         Fix handling of break-hardlink-on-save with non-existent files.
23988 2011-05-19  Deniz Dogan  <deniz@dogan.se>
23990         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23991         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23993 2011-05-19  Glenn Morris  <rgm@gnu.org>
23995         * progmodes/f90.el (f90-type-def-re):
23996         Handle "type, bind(c)".  (Bug#8691)
23998         * emacs-lisp/autoload.el (batch-update-autoloads):
23999         Set autoload-excludes by parsing loadup.el rather than Makefiles.
24001 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
24003         * net/tramp.el (tramp-process-actions): Set "first-password-request"
24004         property for the correct connection in case of multihops.
24006 2011-05-18  Glenn Morris  <rgm@gnu.org>
24008         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
24009         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
24011         Rationalize calendar handling of day and month abbrev-arrays.
24012         * calendar/calendar.el (calendar-customized-p): New function.
24013         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
24014         (calendar-day-name-array, calendar-month-name-array): Doc fix.
24015         Add :set function.
24016         (calendar-abbrev-length, calendar-day-abbrev-array)
24017         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
24018         (calendar-day-abbrev-array, calendar-month-abbrev-array):
24019         Elements may no longer be nil.
24020         (calendar-day-name, calendar-month-name):
24021         Update for changed nature of abbrev arrays.
24022         * calendar/diary-lib.el (diary-name-pattern):
24023         Update for changed nature of abbrev arrays.
24024         (diary-mark-entries-1): Update calendar-make-alist calls.
24025         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
24026         * calendar/cal-html.el (cal-html-day-abbrev-array):
24027         Simply inherit from calendar-day-abbrev-array.
24029 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
24031         * progmodes/grep.el (grep-mode): Disable default
24032         compilation-directory-matcher setting (bug#8684).
24034 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
24036         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
24037         instead of "head" and "tail".  There were problems with SunOS 5.9,
24038         and it performs better.
24040 2011-05-17  Glenn Morris  <rgm@gnu.org>
24042         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
24044         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
24045         Replace obsolete function.
24047         * shell.el (pcomplete-parse-arguments-function): Declare.
24049         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
24050         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
24051         (appt-check): Doc fixes.
24052         (appt-disp-window-function, appt-delete-window-function):
24053         Remove needless special case in custom :type.
24054         (appt-display-count): Default to 0, not nil.
24055         (appt-check): Reset appt-display-count to 0, not nil.
24057 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
24059         * progmodes/python.el (python-font-lock-keywords):
24060         Add the Python 3.X keyword "nonlocal" (bug#8639).
24062 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
24064         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
24066 2011-05-16  Kevin Ryde  <user42@zip.com.au>
24068         * info-look.el (makefile-automake-mode): New setups, looking in
24069         automake manual, then makefile-mode.
24070         (makefile-mode): Remove automake manual, have it just in
24071         makefile-automake-mode since there's various things different or
24072         not relevant to plain make.
24073         (makefile-mode): Remove "other-modes" non-existent automake-mode,
24074         believe a hypothetical automake-mode would go to makefile-mode,
24075         not the other way around.
24077 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
24079         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
24080         hunk-end tags (Bug#8672).
24082         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
24083         vc-annotate-show-diff-revision-at-line (Bug#8671).
24085 2011-05-14  Glenn Morris  <rgm@gnu.org>
24087         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
24088         in the middle of an existing one with multiple authors.  (Bug#8645)
24089         (change-log-font-lock-keywords): Also handle multiple author lines
24090         with leading tabs.  (Bug#8644)
24092         * calendar/appt.el (appt-check): Rename some local variables.
24093         Some simplification/reordering.
24095         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
24096         (feedmail-sendmail-f-doesnt-sell-me-out)
24097         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24098         (feedmail-debug-sit-for, feedmail-queue-express-hook)
24099         (feedmail-queue-runner-message-sender): Set :version.
24100         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
24101         (bbdb-dwim-net-address, vm-mail): Declare.
24102         (feedmail-binmail-gnulinuxish-template):
24103         Rename from feedmail-binmail-linuxish-template.
24104         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
24105         Use insert-buffer-substring.
24107 2011-05-14  Bill Carpenter  <bill@carpenter.org>
24109         * mail/feedmail.el (feedmail-patch-level): Increase.
24110         (feedmail-debug): New custom group.
24111         (feedmail-confirm-outgoing-timeout)
24112         (feedmail-sendmail-f-doesnt-sell-me-out)
24113         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
24114         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
24115         (feedmail-sender-line, feedmail-from-line)
24116         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
24117         (feedmail-spray-this-address)
24118         (feedmail-spray-address-fiddle-plex-list)
24119         (feedmail-queue-use-send-time-for-date)
24120         (feedmail-queue-use-send-time-for-message-id)
24121         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
24122         (feedmail-buffer-eating-function):
24123         Doc fixes.
24124         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
24125         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
24126         (feedmail-message-action-scroll-down): New functions.
24127         (feedmail-queue-directory, feedmail-queue-draft-directory):
24128         Use expand-file-name.
24129         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
24130         Remove C-v help entry.
24131         (feedmail-queue-buffer-file-name): New variable.
24132         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
24133         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
24134         (feedmail-message-action-send-strong, feedmail-message-action-edit)
24135         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
24136         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
24137         (feedmail-message-action-toggle-spray)
24138         (feedmail-run-the-queue-no-prompts)
24139         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
24140         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
24141         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
24142         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
24143         (feedmail-envelope-deducer, feedmail-fiddle-from)
24144         (feedmail-fiddle-sender, feedmail-default-date-generator)
24145         (feedmail-fiddle-date, feedmail-fiddle-message-id)
24146         (feedmail-fiddle-spray-address)
24147         (feedmail-fiddle-list-of-spray-fiddle-plexes)
24148         (feedmail-fiddle-list-of-fiddle-plexes)
24149         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
24150         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
24151         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
24152         Change default.  Doc fix.
24153         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
24154         (feedmail-binmail-linuxish-template): New constant.
24155         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
24156         Respect feedmail-sendmail-f-doesnt-sell-me-out.
24157         (feedmail-send-it): Add debug call.
24158         Use feedmail-queue-buffer-file-name, and
24159         feedmail-send-it-immediately-wrapper.
24160         (feedmail-message-action-send): Add debug call.
24161         Use feedmail-send-it-immediately-wrapper.
24162         (feedmail-queue-express-to-queue): Add debug call.
24163         Run feedmail-queue-express-hook.
24164         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
24165         (feedmail-message-action-help-blat):
24166         Rename from feedmail-queue-send-edit-prompt-help-first.
24167         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
24168         Check line-endings.  Handle errors better.
24169         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
24170         Doc fix.  Add debug call.
24171         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
24172         Use feedmail-queue-send-edit-prompt-inner.
24173         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
24174         (feedmail-queue-send-edit-prompt-inner): New function, extracted
24175         from feedmail-queue-send-edit-prompt.
24176         (feedmail-queue-send-edit-prompt-help)
24177         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
24178         (feedmail-tidy-up-slug): Add debug call.
24179         Respect feedmail-queue-slug-suspect-regexp.
24180         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
24181         (feedmail-dump-message-to-queue): Add debug call.
24182         Expand queue-directory.
24183         (feedmail-dump-message-to-queue): Change message slightly.
24184         Use feedmail-say-chatter.
24185         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
24186         (feedmail-send-it-immediately-wrapper): New function.
24187         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
24188         Insert empty string rather than newline.  Handle full-frame case.
24189         Use catch/throw.  Use feedmail-say-chatter.
24190         (feedmail-fiddle-from): Try mail-host-address.
24191         (feedmail-default-message-id-generator): Doc fix.
24192         Bind system-time-locale.  Handle missing end.
24193         (feedmail-fiddle-x-mailer): Add debug call.
24194         Handle feedmail-x-mailer-line being nil.
24195         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
24196         Add debug call.  Use buffer-substring-no-properties.
24197         (feedmail-say-debug, feedmail-say-chatter): New functions.
24198         (feedmail-find-eoh): Give an explicit error.
24200 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
24202         * net/newst-treeview.el (newsticker-treeview-face): Change default
24203         family from helvetica to sans.
24204         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
24205         etc/images/newsticker.
24207         * net/newst-reader.el (newsticker-feed-face): Change default
24208         family from helvetica to sans.
24210         * net/newst-plainview.el (newsticker-new-item-face)
24211         (newsticker-old-item-face, newsticker-immortal-item-face)
24212         (newsticker-obsolete-item-face, newsticker-date-face)
24213         (newsticker-statistics-face): Change default family from
24214         helvetica to sans.
24215         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
24216         etc/images/newsticker.
24218         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
24219         (newsticker--process-auto-mark-filter-match): Tell user about
24220         auto-marking.
24222 2011-05-13  Didier Verna  <didier@xemacs.org>
24224         Common Lisp indentation improvements on defmethod and lambda-lists.
24225         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
24226         TODO entries.
24227         (lisp-lambda-list-keyword-parameter-indentation)
24228         (lisp-lambda-list-keyword-parameter-alignment)
24229         (lisp-lambda-list-keyword-alignment): New customizable user options.
24230         (lisp-indent-defun-method): Improve docstring.
24231         (extended-loop-p): Fix comment.
24232         (lisp-indent-lambda-list-keywords-regexp): New variable.
24233         (lisp-indent-lambda-list): New function.
24234         (lisp-indent-259): Use it.
24235         (lisp-indent-defmethod): Support for more than one
24236         method qualifier and properly indent methods lambda-lists.
24237         (defgeneric): Provide a missing common-lisp-indent-function property.
24239 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
24241         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
24242         bounds for the empty string (bug#8667).
24244 2011-05-13  Glenn Morris  <rgm@gnu.org>
24246         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
24248         * mail/sendmail.el (sendmail-program): Try executable-find first.
24249         (sendmail-send-it): `sendmail-program' cannot be unbound.
24251         * calendar/appt.el (appt-make-list): Simplify.
24252         (appt-time-msg-list): Doc fix.
24253         (appt-check): Change mode-line message at the time of the appointment.
24255 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
24257         * progmodes/ld-script.el (ld-script-keywords)
24258         (ld-script-builtins): Update keywords list.
24260 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
24262         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
24264         * shell.el (shell-completion-vars): New function.
24265         (shell-mode):
24266         * simple.el (read-shell-command): Use it.
24267         (blink-matching-open): No need for " [...]" in minibuffer-message.
24269 2011-05-12  Glenn Morris  <rgm@gnu.org>
24271         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
24272         (appt-check): Simplify.
24274 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
24276         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
24277         literal "/dev/null".
24279 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
24281         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
24282         Fix typo.
24284 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
24286         * progmodes/which-func.el (which-function):
24287         Use add-log-current-defun instead of add-log-current-defun-function,
24288         which might not be defined (Bug#8260).
24290 2011-05-12  Glenn Morris  <rgm@gnu.org>
24292         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
24293         Let byte-compile-initial-macro-environment always take precedence.
24295 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
24297         * net/rcirc.el: Add support for SSL/TLS connections.
24298         (rcirc-server-alist): New field `encryption'.
24299         (rcirc): Check `encryption' settings.
24300         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
24301         Merge make-local-variable into `set'.
24302         (rcirc--connection-open-p): New function.
24303         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
24304         the process is not a network process (e.g. running gnutls-cli).
24305         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
24306         Make rcirc-(en|de)code-coding-system local here.
24307         (rcirc-mode): Merge make-local-variable into `set'.
24308         (rcirc-parent-buffer): Make permanent buffer-local.
24309         (rcirc-multiline-minor-mode): Don't do it here.
24310         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
24311         there's no server buffer.
24313 2011-05-11  Glenn Morris  <rgm@gnu.org>
24315         * newcomment.el (comment-kill): Prefix "unused" local.
24317         * term/w32console.el (get-screen-color): Declare.
24319         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
24320         Handle symbol elements of byte-compile-initial-macro-environment.
24322 2011-05-10  Leo Liu  <sdl.web@gmail.com>
24324         * bookmark.el (bookmark-bmenu-mode-map):
24325         Bind bookmark-bmenu-search to `/'.
24327         * mail/footnote.el: Convert to utf-8 encoding.
24328         (footnote-unicode-string, footnote-unicode-regexp): New variable.
24329         (Footnote-unicode): New function.
24330         (footnote-style-alist): Add unicode style to the list.
24331         (footnote-style): Doc fix.
24333 2011-05-10  Jim Meyering  <meyering@redhat.com>
24335         Fix doubled-word typos.
24336         * international/quail.el (quail-insert-kbd-layout): and and -> and
24337         * kermit.el: and and -> and
24338         * net/ldap.el (ldap-search-internal): to to -> to
24339         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
24340         * progmodes/js.el (js-mode): and and -> and
24341         * textmodes/artist.el (artist-move-to-xy): at at -> at
24342         (artist-draw-region-trim-line-endings): if if -> if
24343         And Safetyc -> Safety.
24344         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
24346 2011-05-10  Glenn Morris  <rgm@gnu.org>
24347             Stefan Monnier  <monnier@iro.umontreal.ca>
24349         * files.el (hack-one-local-variable-eval-safep):
24350         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
24352 2011-05-10  Glenn Morris  <rgm@gnu.org>
24354         * calendar/diary-lib.el (diary-list-entries-hook)
24355         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
24356         (diary-nongregorian-marking-hook, diary-list-entries)
24357         (diary-include-other-diary-files, diary-mark-entries)
24358         (diary-mark-included-diary-files): Doc fixes.
24360 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
24362         * misc.el: Require tabulated-list.el during compilation.
24364 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
24366         * progmodes/compile.el (compilation-start):
24367         Run compilation-filter-hook for the async case too.
24368         (compilation-filter-hook): Doc fix.
24370 2011-05-09  Deniz Dogan  <deniz@dogan.se>
24372         * wdired.el: Remove outdated installation comment.  Fix usage
24373         comment.
24375 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
24377         * misc.el: Implement new command `list-dynamic-libraries'.
24378         (list-dynamic-libraries--loaded-only-p): New variable.
24379         (list-dynamic-libraries--refresh): New function.
24380         (list-dynamic-libraries): New command.
24382 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
24384         * progmodes/compile.el (compilation-error-regexp-alist-alist):
24385         Fix the ant regexp to handle end-line and end-column info from jikes.
24386         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
24387         higher priority to avoid clobbering by gnu.
24389 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
24391         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
24392         if the face has existing theme settings (Bug#8454).
24394 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
24396         * progmodes/perl-mode.el (perl-imenu-generic-expression):
24397         Only match variables declared via `my' or `our' (Bug#8261).
24399         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
24400         special file names `.' and `..' (Bug#8259).
24402 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
24404         * progmodes/grep.el (grep-mode-font-lock-keywords):
24405         Remove buffer-changing entries.
24406         (grep-filter): New function.
24407         (grep-mode): Add it to compilation-filter-hook.
24409         * progmodes/compile.el (compilation-filter-hook)
24410         (compilation-filter-start): New defvars.
24411         (compilation-filter): Call compilation-filter-hook prior to
24412         updating the process mark.
24414 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
24416         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24418 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
24420         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24421         mailclient-send-it even if window-system is nil.  (Bug#8595)
24423         * term/w32console.el (terminal-init-w32console):
24424         Call get-screen-color and use its output to set the frame
24425         background-mode.  (Bug#8597)
24427 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
24429         Make bytecomp.el understand that defmethod defines funs (bug#8631).
24430         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24431         New functions.
24432         (defgeneric, eieio--defmethod): Use them.
24433         (eieio-defgeneric): Remove.
24434         (defmethod): Call defgeneric in a way visible to the byte-compiler.
24436 2011-05-07  Glenn Morris  <rgm@gnu.org>
24438         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24439         Use let rather than let*.
24440         (timeclock-find-discrep): Remove unused local.
24442         * calendar/diary-lib.el (diary-comment-start): Doc fix.
24444         * calendar/appt.el (appt-time-msg-list): Doc fix.
24446 2011-05-06  Noah Friedman  <friedman@splode.com>
24448         * apropos.el (apropos-print-doc): Only use
24449         emacs-lisp-docstring-fill-column when it is bound to an integer,
24450         per that variable's documentation.
24452 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
24454         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24455         and warnings are not silently discarded (e.g. use -d instead of -P).
24457 2011-05-06  Glenn Morris  <rgm@gnu.org>
24459         * calendar/appt.el (appt-message-warning-time): Doc fix.
24460         (appt-warning-time-regexp): New option.
24461         (appt-make-list): Respect appt-message-warning-time.
24463         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24464         New options.
24465         (diary-add-to-list): Strip comments from the displayed string.
24466         (diary-mode): Set comment-start and comment-end.
24468         * vc/diff-mode.el (smerge-refine-subst): Declare.
24469         (diff-refine-hunk): Don't require smerge-mode when compiling.
24471 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
24473         * simple.el (list-processes): Return nil as the docstring says.
24475 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
24477         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24478         to "".
24479         (ange-ftp-write-region, ange-ftp-insert-file-contents)
24480         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24481         determining of binary transfer.  (Bug#7383)
24483 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
24485         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24486         Fix port computation bug.  (Bug#8618)
24488 2011-05-05  Glenn Morris  <rgm@gnu.org>
24490         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24492         * simple.el (shell-dynamic-complete-functions)
24493         (comint-dynamic-complete-functions): Declare.
24495         * net/network-stream.el (gnutls-negotiate):
24496         * simple.el (tabulated-list-print): Fix declarations.
24498         * progmodes/gud.el (syntax-symbol, syntax-point):
24499         Remove unnecessary and incorrect declarations.
24501         * emacs-lisp/check-declare.el (check-declare-scan):
24502         Handle byte-compile-initial-macro-environment in bytecomp.el.
24504 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
24506         Fix earlier half-done eieio-defmethod change (bug#8338).
24507         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24508         Streamline and change calling convention.
24509         (defmethod): Adjust accordingly and simplify.
24510         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24511         new eieio--defmethod.
24512         (slot-boundp): Minor CSE simplification.
24514 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
24516         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24517         (glasses-make-readable): Use glasses-separate-capital-groups.
24519 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
24521         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24522         (warning-series): Doc fix.
24523         (display-warning): Don't try to create the buffer if we just found it.
24525 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
24527         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24528         (autoload-find-generated-file): New function.
24529         (generate-file-autoloads): Bind generated-autoload-file to
24530         buffer-file-name.
24531         (update-file-autoloads, update-directory-autoloads):
24532         Use autoload-find-generated-file.  If called interactively, prompt for
24533         output file (Bug#7989).
24534         (batch-update-autoloads): Doc fix.
24536 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
24538         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24540 2011-05-04  Glenn Morris  <rgm@gnu.org>
24542         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24543         function, so it follows changes in calendar-date-style.
24544         (diary-fancy-date-matcher): New function.
24545         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24546         (diary-fancy-font-lock-fontify-region-function):
24547         Use diary-fancy-date-pattern as a function.
24549         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24550         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
24552 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
24554         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24555         instead of positional arguments.  Allow :keylist and :crlfiles
24556         arguments.
24557         (open-gnutls-stream): Call it.
24559         * net/network-stream.el (network-stream-open-starttls): Adjust to
24560         call `gnutls-negotiate' with :process and :hostname arguments.
24562 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
24564         * minibuffer.el (completion--message): New function.
24565         (completion--do-completion, minibuffer-complete)
24566         (minibuffer-force-complete, minibuffer-complete-word): Use it.
24567         (completion--do-completion): Don't ignore completion-auto-help when in
24568         icomplete-mode.
24570         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24571         internal encoding (e.g. tibetan zero is not whitespace).
24572         (global-whitespace-mode): Prefer save-current-buffer.
24573         (whitespace-trailing-regexp): Remove useless save-match-data.
24574         (whitespace-empty-at-bob-regexp): Minor simplification.
24576 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
24578         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24580 2011-05-03  AgustĂ­n MartĂ­n Domingo  <agustin.martin@hispalinux.es>
24582         * textmodes/ispell.el (ispell-add-per-file-word-list):
24583         Use `concat' to create string for insertion.
24585 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
24587         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24588         Avoid open-line which runs post-self-insert-hook.
24589         (bibtex-fill-entry): Remove unused `end' var.
24591 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
24593         * textmodes/ispell.el (ispell-add-per-file-word-list):
24594         Protect against `nil' value of `comment-start' (Bug#8579).
24596 2011-05-03  Leo Liu  <sdl.web@gmail.com>
24598         * isearch.el (isearch-yank-pop): New command.
24599         (isearch-mode-map): Bind it to `M-y'.
24600         (isearch-forward): Mention it.
24602 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
24604         * simple.el (minibuffer-complete-shell-command): Remove.
24605         (minibuffer-local-shell-command-map): Use completion-at-point.
24606         (read-shell-command): Setup completion vars here instead.
24607         (read-expression-map): Bind TAB to symbol completion.
24609         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24610         error directly rather via storing it into `results'.
24612 2011-05-02  Leo Liu  <sdl.web@gmail.com>
24614         * vc/diff.el: Fix description.
24616 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
24618         * server.el (server-eval-at): New function.
24620 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
24622         * net/network-stream.el (open-network-stream): Take a :nowait
24623         parameter and pass it on to `make-network-process'.
24624         (network-stream-open-plain): Ditto.
24626 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
24628         * faces.el (face-spec-set-match-display): Don't match toolkit
24629         options on terminal frames.
24631 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
24633         * progmodes/pascal.el: Use lexical binding.
24634         (pascal-mode-map): Remove author preferences.
24636         * pcomplete.el (pcomplete-std-complete): Don't abuse
24637         completion-at-point.
24639 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
24641         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24642         removing code that has been dead since 1991 or so.
24644         * startup.el (command-line): When warning about "_emacs", use a
24645         delayed warning to allow the user to filter it out.
24647 2011-04-28  Deniz Dogan  <deniz@dogan.se>
24649         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24650         user has not joined.
24652 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
24654         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24655         aren't any completions at point.
24657 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
24659         * subr.el (display-delayed-warnings): New function.
24660         (delayed-warnings-hook): New variable.
24662 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
24664         * minibuffer.el (completion-at-point, completion-help-at-point):
24665         Don't presume that a given completion-at-point-function will always
24666         use the same calling convention.
24668         * pcomplete.el (pcomplete-completions-at-point):
24669         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
24670         pcomplete-seen is non-nil.
24671         (pcomplete-comint-setup): Also recognize the new comint/shell
24672         completion functions.
24673         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24674         pcomplete-seen is non-nil.
24676 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
24678         * calendar/icalendar.el (diary-lib): Add require statement.
24679         (icalendar--create-uid): Read out a uid from a text-property on
24680         the first character in the entry.  This allows for code to add its
24681         own uid to the entry.
24682         (icalendar--convert-float-to-ical): Add export of
24683         `diary-float'-entries save for those with the optional DAY
24684         argument.
24686 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
24688         * subr.el (shell-quote-argument): Use alternate escaping strategy
24689         when we spot a variable reference in a string.
24691 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
24693         * cus-start.el (all): Define customization for debug-on-event.
24695 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
24697         * subr.el (shell-quote-argument): Escape correctly under Windows.
24699 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
24701         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24703 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
24705         * net/tramp.el (tramp-process-actions): Add POS argument.
24706         Delete region between POS and (pos).
24708         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24709         Use `nil' position in `tramp-process-actions' call.
24710         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24712         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24713         position in `tramp-process-actions' call.
24715         * net/trampver.el: Update release number.
24717 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
24719         * custom.el (defcustom): Obey lexical-binding.
24721         Fix octave-inf completion problems reported by Alexander Klimov.
24722         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24723         Inherit from octave-mode-syntax-table.
24724         (inferior-octave-mode): Set info-lookup-mode.
24725         (inferior-octave-completion-at-point): New function.
24726         (inferior-octave-complete): Use it and completion-in-region.
24727         (inferior-octave-dynamic-complete-functions): Use it as well, and use
24728         comint-filename-completion.
24729         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24730         symbol elements which shouldn't be word elements.
24731         (octave-font-lock-keywords, octave-beginning-of-defun)
24732         (octave-function-header-regexp): Adjust regexps accordingly.
24733         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24735 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
24737         * net/gnutls.el (gnutls-errorp): Declare before first use.
24739 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
24741         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24742         verify-error, and verify-hostname-error parameters.  Check whether
24743         default trustfile exists before going to use it.  Add missing
24744         argument to gnutls-message-maybe call.  Return value.
24745         Reported by Claudio Bley <claudio.bley@gmail.com>.
24746         (open-gnutls-stream): Add usage example.
24748         * net/network-stream.el (network-stream-open-starttls): Give host
24749         parameter to `gnutls-negotiate'.
24750         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24751         * subr.el (shell-quote-argument): Escape correctly under Windows.
24753 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
24755         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24756         Use correct match group (bug#8438).
24758 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
24760         * emacs-lisp/package.el (package-built-in-p): Fix typo.
24761         (package-menu--generate): New arg specifying packages to show.
24762         (package-menu-refresh, package-menu-execute, list-packages):
24763         Callers changed.
24764         (package-show-package-list): New function, replacing deleted
24765         package--list-packages (renamed because it is non-internal).
24767         * finder.el (finder-list-matches): Use package-show-package-list
24768         instead of deleted package--list-packages.
24770         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24771         Based on a previous implementation by Juanma Barranquero (Bug#8366).
24772         (vc-annotate-mode-map): Bind it to RET.
24774 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
24776         * progmodes/etags.el (next-file): Don't use set-buffer to change
24777         buffers (Bug#8478).
24779 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
24781         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24783         * apropos.el (apropos-label-face): Avoid variable-pitch face.
24784         (apropos-accumulator): Doc fix.
24785         (apropos-function, apropos-macro, apropos-command)
24786         (apropos-variable, apropos-face, apropos-group, apropos-widget)
24787         (apropos-plist): Add face property.
24788         (apropos-symbols-internal): Fix indentation.
24789         (apropos-print): Simplify help, and recognize apropos-multi-type.
24790         (apropos-print-doc): Use button-type-get to extract the button's
24791         face property.  Fill docstring (Bug#8352).
24793 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
24795         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24797         * play/mpuz.el (mpuz-silent): Doc fix.
24798         (mpuz-mode-map): Use mapc.
24799         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24800         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24801         Fix typos in docstrings.
24803         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24804         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24806         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24808 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
24810         * minibuffer.el (completion--do-completion): Avoid the "Next char
24811         not unique" prompt if icomplete-mode is enabled (Bug#5849).
24813         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24814         mouse-2 into unread-command-events, it is interpreted correctly.
24816         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24817         (image-toggle-display): Doc fix.
24819 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
24821         * textmodes/page.el (what-page): Use line-number-at-pos to
24822         calculate line number (Bug#6825).
24824 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
24826         * eshell/esh-mode.el (find-tag-interactive): Declare function.
24827         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24828         Pass argument NO-DEFAULT to `find-tag-interactive'.
24830 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
24832         Lexical-binding cleanup.
24834         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24835         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24836         * progmodes/ada-prj.el (ada-prj-initialize-values)
24837         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24838         (ada-prj-show-value):
24839         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24840         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24841         (antlr-invalidate-context-cache, antlr-options-menu-filter)
24842         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24843         * progmodes/bug-reference.el (bug-reference-push-button):
24844         * progmodes/fortran.el (fortran-line-length):
24845         * progmodes/glasses.el (glasses-change):
24846         * progmodes/octave-mod.el (octave-fill-paragraph):
24847         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24848         (python-pdbtrack-grub-for-buffer, python-sentinel):
24849         * progmodes/sql.el (sql-save-connection):
24850         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24851         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24852         Mark unused parameters.
24854         * progmodes/compile.el (compilation--flush-directory-cache)
24855         (compilation--flush-parse, compile-internal): Mark unused parameters.
24856         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24857         (compilation-next-error-function): Remove unused variable `timestamp'.
24859         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24860         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24862         * progmodes/dcl-mode.el (dcl-end-of-command):
24863         Remove unused variable `start'.
24864         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24865         (dcl-option-value-basic, dcl-option-value-offset)
24866         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24867         Mark unused parameters.
24868         (dcl-save-local-variable): Remove unused variable `val'.
24869         (mode): Declare.
24871         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24872         Mark unused parameters.
24873         (delphi-ignore-changes): Move before first use.
24874         (delphi-charset-token-at): Remove unused variable `start'.
24875         (delphi-else-start): Remove unused variable `if-count'.
24876         (delphi-comment-block-start, delphi-comment-block-end):
24877         Remove unused variable `kind'.
24878         (delphi-indent-line): Remove unused variable `new-point'.
24880         * progmodes/ebrowse.el (ebrowse-files-list)
24881         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24882         Mark unused parameters.  Don't quote `lambda'.
24883         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24884         Don't quote `lambda'.
24885         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24886         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24887         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24888         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24889         Use `ignore-errors'.
24890         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24891         (ebrowse-view/find-file-and-search-pattern)
24892         (ebrowse-view/find-member-declaration/definition):
24893         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24894         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24895         Rename parameter PREFIX-ARG to PREFIX.
24896         (ebrowse-tags-read-name): Remove unused variables `start' and
24897         `member-info'.
24898         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24899         to `tags-file'.
24901         * progmodes/etags.el (local-find-tag-hook): Declare.
24902         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24903         Mark unused parameters.
24905         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24906         (executable-interpret): Mark unused parameter.
24908         * progmodes/flymake.el (flymake-process-sentinel)
24909         (flymake-after-change-function)
24910         (flymake-create-temp-with-folder-structure)
24911         (flymake-get-include-dirs-dot): Mark unused parameters.
24912         (flymake-safe-delete-directory): Remove unused variable `err'.
24914         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24915         (speedbar-timer-fn, speedbar-line-text)
24916         (speedbar-change-expand-button-char, speedbar-delete-subblock)
24917         (speedbar-center-buffer-smartly): Declare functions.
24918         (gdb-find-watch-expression): Remove unused variable `array'.
24919         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24920         (gdb-starting): Mark unused parameters.
24921         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24922         (gdb-table-string): Remove unused variable `res'.
24923         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24924         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24925         (gdb-display-buffer): Remove unused variable `cur-size'.
24927         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24928         allow lexical-binding compilation.
24929         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24930         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24931         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24932         Mark unused parameters.
24933         (gud-gdb-marker-filter): Remove unused variable `match'.
24934         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24935         lambda expressions and funcall them, instead of using `fset'.
24937         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24938         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24940         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24941         variable `header-beg'; use `let'.
24943         * progmodes/icon.el (indent-icon-exp): Remove unused variables
24944         `restart', `last-sexp' and `at-do'.
24946         * progmodes/js.el (js--debug): Mark unused parameter.
24947         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24948         (js--splice-into-items): Remove unused variable `item'.
24949         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24951         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24952         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24953         (makefile-complete): Remove unused variable `try'.
24954         (makefile-fill-paragraph, makefile-match-function-end):
24955         Mark unused parameters.
24957         * progmodes/octave-inf.el (inferior-octave-complete):
24958         Remove unused variable `proc'.
24959         (inferior-octave-output-digest): Mark unused parameter.
24961         * progmodes/perl-mode.el (perl-calculate-indent):
24962         Remove unused variable `err'.
24964         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24965         (prolog-indent-line): Mark unused parameters.
24966         (prolog-indent-line): Remove unused variable `beg'.
24968         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24969         (reporter-dont-compact-list): Declare.
24971         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24972         Remove unused variable `char'.
24973         (sh-debug): Mark unused parameter.
24974         (sh-get-indent-info): Remove unused variable `start'.
24975         (sh-calculate-indent): Remove unused variable `var'.
24977         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24978         (simula-electric-keyword): Remove unused variable `null'.
24979         (simula-search-backward, simula-search-forward): Remove unused
24980         variables `begin' and `end'.
24982         * progmodes/vera-mode.el (vera-guess-basic-syntax):
24983         Remove unused variable `pos'.
24984         (vera-electric-tab, vera-comment-uncomment-region):
24985         Mark unused parameters.
24986         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24988 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
24990         * emacs-lisp/package.el (package--builtins, package-alist)
24991         (package-load-descriptor, package-built-in-p, package-activate)
24992         (define-package, package-installed-p)
24993         (package-compute-transaction, package-buffer-info)
24994         (package--push): Doc fix.  Distinguish more clearly between
24995         version strings and version lists.
24997 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
24999         Lexical-binding cleanup.
25001         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
25002         (5x5-make-mutate-best):
25003         * play/fortune.el (fortune-in-buffer):
25004         * play/gomoku.el (gomoku-init-display):
25005         * play/solitaire.el (solitaire, solitaire-do-check):
25006         * play/tetris.el (tetris-default-update-speed-function):
25007         Mark unused parameters.
25009         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
25010         (bubbles--shift): Remove unused variable `char-org'.
25011         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
25012         (bubbles--show-images): Remove unused variable `char'.
25014         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
25015         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
25016         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
25017         (decipher-analyze-buffer): Use ?\s.
25018         (decipher-make-checkpoint): Remove unused variable `mapping'.
25020         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
25022         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
25023         Remove unused variable `result'; use `let'.
25025         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
25026         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
25027         (gametree-children-shown-p, gametree-compute-reduced-score):
25028         Use `ignore-errors'.
25030         * play/handwrite.el (ps-lpr-switches): Declare.
25031         (handwrite): Remove unused variables `pmin' and `lastp'.
25033         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
25035         * play/landmark.el (landmark-init-display)
25036         (landmark-update-naught-weights): Mark unused parameters.
25037         (landmark-y): Remove unused variable `noise'.  Simplify.
25038         (landmark-human-plays): Remove unused variable `score'.
25040         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
25041         (mpuz-try-proposal): Remove unused variable `game'.
25043         * play/zone.el (life-patterns): Declare.
25045 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
25047         * vc/vc.el (ediff-vc-internal): Declare function.
25049 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
25051         * shell.el: Use lexical-binding and std completion UI.
25052         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
25053         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
25054         comint-preoutput-filter-functions rather than on
25055         comint-output-filter-functions.
25056         (shell-command-completion, shell--command-completion-data)
25057         (shell-filename-completion, shell-environment-variable-completion)
25058         (shell-c-a-p-replace-by-expanded-directory): New functions.
25059         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
25060         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
25061         (shell-dynamic-complete-environment-variable): Use them.
25062         (shell-dynamic-complete-as-environment-variable)
25063         (shell-dynamic-complete-as-command): Remove.
25064         (shell-match-partial-variable): Match past point.
25065         * comint.el: Clean up use of completion-at-point-functions.
25066         (comint-completion-at-point): New function.
25067         (comint-mode): Use it completion-at-point-functions.
25068         (comint-dynamic-complete): Make it obsolete.
25069         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
25070         (comint-c-a-p-replace-by-expanded-history): New function.
25071         (comint-dynamic-complete-functions)
25072         (comint-replace-by-expanded-history): Use it.
25073         * minibuffer.el (completion-table-with-terminator): Allow dynamic
25074         termination strings.  Try harder to avoid second try-completion.
25075         (completion-in-region-mode-map): Disable bindings that don't work yet.
25077         * comint.el: Use lexical-binding.  Require CL.
25078         (comint-dynamic-complete-functions): Use comint-filename-completion.
25079         (comint-completion-addsuffix): Tweak custom type.
25080         (comint-filename-completion, comint--common-suffix)
25081         (comint--common-quoted-suffix, comint--table-subvert)
25082         (comint--complete-file-name-data): New functions.
25083         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
25084         (comint-dynamic-list-filename-completions): Use them.
25085         (comint-dynamic-simple-complete): Make obsolete.
25087         * minibuffer.el (completion-in-region-mode):
25088         Keep completion-in-region-mode--predicate global.
25089         (completion-in-region--postch):
25090         Assume completion-in-region-mode--predicate is not null.
25092         * progmodes/flymake.el (flymake-start-syntax-check-process):
25093         Obey `dir'.  Simplify.
25095         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
25096         we're in VC after all.
25098 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
25100         * vc/vc.el (vc-diff-build-argument-list-internal)
25101         (vc-version-ediff, vc-ediff): New commands.
25102         (vc-version-diff): Use vc-diff-build-argument-list-internal.
25104 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
25106         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
25107         add sanity check.
25109         * obsolete/erc-hecomplete.el: Make obsolete.
25110         * obsolete/: Standardize obsolescence info in the header.
25112 2011-04-20  Glenn Morris  <rgm@gnu.org>
25114         * calendar/solar.el (solar-horizontal-coordinates):
25115         Use the longitude argument rather than `calendar-longitude'.
25116         (solar-date-next-longitude): Remove unused locals.
25118 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
25120         * whitespace.el: New version 13.2.1.
25122 2011-04-20  felix  <EmacsWiki>  (tiny change)
25124         * whitespace.el (global-whitespace-mode): Keep highlight when
25125         switching between major modes on a file.
25127 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
25129         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
25130         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
25131         multi-line comments as well.
25133 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
25135         Lexical-binding cleanup.
25137         * arc-mode.el (archive-mode-revert):
25138         * cmuscheme.el (scheme-interactively-start-process):
25139         * custom.el (custom-initialize-delay):
25140         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
25141         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
25142         * emacs-lock.el (emacs-lock-clear-sentinel):
25143         * ezimage.el (defezimage):
25144         * follow.el (follow-avoid-tail-recenter):
25145         * fringe.el (set-fringe-mode-1):
25146         * generic-x.el (bat-generic-mode-compile):
25147         * help-mode.el (help-info-variable, help-do-xref)
25148         (help-mode-revert-buffer):
25149         * help.el (view-emacs-todo):
25150         * iswitchb.el (iswitchb-completion-help):
25151         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
25152         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
25153         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
25154         * locate.el (locate-update):
25155         * longlines.el (longlines-encode-region)
25156         (longlines-after-change-function):
25157         * outline.el (outline-isearch-open-invisible):
25158         * ps-def.el (declare-function, charset-dimension, char-width)
25159         (encode-char):
25160         * ps-mule.el (ps-mule-plot-string):
25161         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
25162         (recentf-edit-list-select, recentf-edit-list-validate)
25163         (recentf-open-files-action):
25164         * rect.el (delete-whitespace-rectangle-line)
25165         (rectangle-number-line-callback):
25166         * register.el (window-configuration-to-register)
25167         (frame-configuration-to-register):
25168         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
25169         * select.el (xselect-convert-to-string, xselect-convert-to-length)
25170         (xselect-convert-to-targets, xselect-convert-to-delete)
25171         (xselect-convert-to-filename, xselect-convert-to-charpos)
25172         (xselect-convert-to-lineno, xselect-convert-to-colno)
25173         (xselect-convert-to-os, xselect-convert-to-host)
25174         (xselect-convert-to-user, xselect-convert-to-class)
25175         (xselect-convert-to-name, xselect-convert-to-integer)
25176         (xselect-convert-to-atom, xselect-convert-to-identity):
25177         * subr.el (declare, ignore, process-kill-without-query)
25178         (text-clone-maintain):
25179         * terminal.el (te-get-char, te-tic-sentinel):
25180         * tool-bar.el (tool-bar-make-keymap):
25181         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
25182         * type-break.el (type-break-mode, type-break-noninteractive-query):
25183         * view.el (View-back-to-mark):
25184         * wid-browse.el (widget-browse-action, widget-browse-widget)
25185         (widget-browse-widgets, widget-browse-sexp):
25186         * widget.el (define-widget-keywords):
25187         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
25188         Mark unused parameters.
25190         * align.el (align-adjust-col-for-rule): Mark unused parameter.
25191         (align-areas): Remove unused variable `look'.
25192         (align-region): Remove unused variables `real-end' and `pos-list'.
25194         * apropos.el (apropos-score-doc): Remove unused variable `i'.
25196         * bindings.el (mode-line-modified, mode-line-remote):
25197         Mark unused parameters.
25198         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
25200         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
25201         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
25203         * comint.el (comint-history-isearch-pop-state)
25204         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
25205         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
25206         (comint-substitute-in-file-name): Doc fix.
25208         * completion.el (cmpl-statistics-block): Mark unused parameter.
25209         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
25210         (save-completions-to-file, load-completions-from-file):
25211         Remove unused local variable `e'.
25213         * composite.el (compose-chars): Remove unused variable `len'.
25214         (lgstring-insert-glyph): Remove unused variable `g'.
25215         (compose-glyph-string): Remove unused variables `ascent',
25216         `descent', `lbearing' and `rbearing'.
25217         (compose-glyph-string-relative): Remove unused variables
25218         `lbearing', `rbearing' and `wadjust'.
25219         (compose-gstring-for-graphic): Remove unused variables `header',
25220         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
25221         (compose-gstring-for-terminal): Remove unused variables `header'
25222         and `nchars'.  Use `let', not `let*'.
25224         * cus-edit.el (Custom-set, Custom-save, custom-reset)
25225         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
25226         (Custom-buffer-done, custom-buffer-create-internal)
25227         (custom-browse-visibility-action, custom-browse-group-tag-action)
25228         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
25229         (widget-magic-mouse-down-action, custom-toggle-parent)
25230         (custom-add-parent-links, custom-toggle-hide-variable)
25231         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
25232         (custom-toggle-hide-face, face, hook, custom-group-link-action)
25233         (custom-face-menu-create, custom-variable-menu-create, get)
25234         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
25235         (custom-reset-standard-save-and-update): Remove unused variable `value'.
25236         (customize-apropos): Remove unused variable `tests'.
25237         (custom-group-value-create): Remove unused variable `hidden-p'.
25238         (sort-fold-case): Declare.
25240         * cus-theme.el (custom-reset-standard-faces-list)
25241         (custom-reset-standard-variables-list): Declare.
25242         (customize-create-theme, custom-theme-revert, custom-theme-write)
25243         (custom-theme-choose-mode, customize-themes, custom-theme-save):
25244         Mark unused parameters.
25246         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
25248         * delim-col.el (delimit-columns-max): Move defvar before first use.
25250         * descr-text.el (describe-char-categories): Don't quote `lambda'.
25251         (describe-char): Don't quote `lambda'.  Mark unused parameter.
25253         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
25254         (auto-insert): Declare.
25255         (desktop-restore-file-buffer): Rename desktop-* parameters;
25256         mark unused ones.
25257         (desktop-create-buffer): Rename desktop-* parameters and bind them.
25258         (desktop-buffer): Rename desktop-* parameters.
25260         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
25261         (dframe-reposition-frame-xemacs, dframe-help-echo)
25262         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
25263         Mark unused parameters.
25265         * dired-aux.el (backup-extract-version-start, overwrite-query)
25266         (overwrite-backup-query, rename-regexp-query)
25267         (rename-non-directory-query): Declare.
25268         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
25269         (dired-add-entry): Remove unused variable `orig-file-name'.
25270         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
25271         Use parameter PRESERVE-TIME instead of accessing dynamic variable
25272         `dired-copy-preserve-time' directly.
25273         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
25274         (dired-insert-subdir-newpos): Rename unused variable `pos'.
25276         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
25277         (dired-virtual-revert, dired-make-relative-symlink):
25278         Mark unused parameters.
25279         (manual-program): Declare.
25280         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
25281         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
25282         wrapped in `with-no-warnings' to avoid replacing one warning by another.
25284         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
25286         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
25288         * echistory.el (electric-history-in-progress, Helper-return-blurb):
25289         Declare.
25291         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
25293         * electric.el (Electric-command-loop): Rename parameter
25294         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
25296         * expand.el (expand-in-literal): Remove unused variable `here'.
25298         * facemenu.el (facemenu-add-new-color):
25299         Remove unused variable `docstring'.
25301         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
25302         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
25303         (face-attr-construct): Mark unused parameter.  Doc fix.
25304         (read-color): Remove unused variable `hex-string'.
25306         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
25307         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
25308         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
25309         (display-buffer-other-frame): Remove unused variable `old-window'.
25310         (kill-buffer-hook): Declare.
25311         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
25312         Mark unused parameters.
25313         (after-find-file): Pass 1 to `auto-save-mode', not t.
25315         * files-x.el (auto-insert): Declare.
25316         (modify-file-local-variable-prop-line): Remove unused variable `val'.
25318         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
25319         variable `buf'.  Mark unused parameter.
25320         (find-lisp-insert-directory): Mark unused parameter.
25322         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
25323         (format-encode-region): Remove unused variables `cur-buf' and `result'.
25324         (format-common-tail): Remove, unused.
25325         (format-deannotate-region): Remove unused variable `loc'.
25326         (format-annotate-region): Remove unused variable `p'.
25327         (format-annotate-single-property-change): Remove unused variables
25328         `default' and `tail'.
25330         * forms.el (read-file-filter): Declare.
25331         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
25333         * frame.el (frame-creation-function-alist): Mark unused parameter.
25334         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
25336         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
25337         Remove unused parameters.
25338         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
25339         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
25341         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
25342         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
25343         (hfy-prepare-tag-map): Mark unused parameters.
25344         (htmlfontify-buffer): Use `called-interactively-p'.
25346         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
25347         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
25348         (ibuffer-do-occur): Mark unused parameters.
25349         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
25350         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
25352         * ibuffer.el: Don't quote `lambda'.
25353         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
25354         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
25355         Mark unused parameters.
25357         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
25358         (ido-completing-read): Mark unused parameters.
25359         (ido-copy-current-word): Mark unused parameters;
25360         remove unused variable `name'.
25361         (ido-sort-merged-list): Remove unused parameter `dirs'.
25363         * ielm.el (ielm-input-sender): Mark unused parameter.
25364         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
25365         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
25366         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
25367         `ielm-string' as a dynamic variable accessible from the IELM prompt.
25368         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
25370         * image-dired.el (image-dired-display-thumbs): Remove unused
25371         variables `curr-file' and `count'.
25372         (image-dired-remove-tag): Remove unused variable `start'.
25373         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
25374         variable `curr-file'
25375         (image-dired-rotate-original): Remove unused variable `temp-file'.
25376         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
25377         Remove unused variable `file'.
25378         (image-dired-gallery-generate): Remove unused variable `curr'.
25379         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
25381         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
25383         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
25385         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
25387         * isearch.el (minibuffer-history-symbol): Declare.
25388         (isearch-edit-string): Remove unused variable `err'.
25389         (isearch-message-prefix, isearch-message-suffix):
25390         Mark unused parameters.
25392         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
25394         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
25396         * makesum.el (double-column): Remove unused variable `cnt'.
25398         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
25399         (ido-ignore-item-temp-list): Declare.
25401         * mouse-drag.el (mouse-drag-throw): Remove unused variables
25402         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
25403         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
25404         (mouse-drag-drag): Remove unused variables `mouse-delta' and
25405         `mouse-col-delta'.
25407         * mouse-sel.el (mouse-extend-internal):
25408         Remove unused variable `orig-window-frame'.
25410         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
25411         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
25412         Move declarations before first use.
25413         (pcomplete-opt): Mark unused parameters; doc fix.
25415         * proced.el (proced-revert): Mark unused parameter.
25416         (proced-send-signal): Remove unused variable `err'.
25418         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25419         Rename parameter PREFIX-ARG to ARG.
25420         (ps-basic-plot-string, ps-basic-plot-whitespace):
25421         Mark unused parameters.
25423         * replace.el (replace-count): Define.
25424         (occur-revert-function): Mark unused parameters.
25425         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25426         (isearch-case-fold-search, isearch-string): Declare.
25427         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25428         bind `case-fold-search'.  Remove unused variables `beg' and `end',
25429         and simplify.
25430         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25431         COUNT and bind `replace-count'.
25432         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25433         to COUNT.
25435         * savehist.el (print-readably, print-string-length): Declare.
25437         * shadowfile.el (shadow-expand-cluster-in-file-name):
25438         Remove unused variable `cluster'.
25439         (shadow-copy-file): Remove unused variable `i'.
25440         (shadow-noquery, shadow-clusters, shadow-site-cluster)
25441         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25442         (shadow-define-literal-group, shadow-define-regexp-group)
25443         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25445         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25446         (shell): Use `called-interactively-p'.
25447         (shell-directory-tracker): Remove unused variable `chdir-failure'.
25449         * simple.el (compilation-context-lines, comint-file-name-quote-list)
25450         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25451         (delete-backward-char): Remove unused variable `ocol'.
25452         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25453         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25454         (event-apply-hyper-modifier, event-apply-shift-modifier)
25455         (event-apply-control-modifier, event-apply-meta-modifier):
25456         Mark unused parameters.
25457         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25458         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25460         * speedbar.el (speedbar-ignored-directory-expressions)
25461         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25462         (speedbar-find-file, speedbar-dir-follow)
25463         (speedbar-directory-buttons-follow, speedbar-tag-find)
25464         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25465         (speedbar-buffers-line-directory, speedbar-buffer-click):
25466         Mark unused parameters.
25467         (speedbar-tag-file): Remove unused variable `mode'.
25468         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25470         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25472         * talk.el (talk): Remove unused variable `display'.
25474         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25475         (tar-write-region-annotate): Mark unused parameter.
25477         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25478         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25479         Declare them, wrapped in `with-no-warnings' to avoid replacing one
25480         warning by another.
25482         * time-stamp.el (time-stamp-string-preprocess):
25483         Remove unused variable `require-padding'.
25485         * tree-widget.el (widget-glyph-enable): Declare.
25486         (tree-widget-action): Mark unused parameter.
25488         * w32-fns.el (x-get-selection): Mark unused parameter.
25489         (autoload-make-program, generated-autoload-file): Declare.
25491         * wdired.el (wdired-revert): Mark unused parameters.
25492         (wdired-xcase-word): Remove unused variable `err'.
25494         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25495         (whitespace-help-scroll): Remove unused variable `data-help'.
25497         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25498         (widget-image-insert, widget-after-change, default)
25499         (widget-default-format-handler, widget-default-notify)
25500         (widget-default-prompt-value, widget-info-link-action)
25501         (widget-url-link-action, widget-function-link-action)
25502         (widget-variable-link-action, widget-file-link-action)
25503         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25504         (widget-field-prompt-internal, widget-field-action, widget-field-match)
25505         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25506         (widget-insert-button-action, widget-delete-button-action, visibility)
25507         (widget-documentation-link-action, widget-documentation-string-action)
25508         (widget-const-prompt-value, widget-regexp-match, symbol)
25509         (widget-coding-system-prompt-value)
25510         (widget-key-sequence-value-to-external, sexp)
25511         (widget-sexp-value-to-internal, character, vector, cons)
25512         (widget-choice-prompt-value, widget-boolean-prompt-value)
25513         (widget-color--choose-action): Mark unused parameters.
25514         (widget-item-match-inline, widget-choice-match-inline)
25515         (widget-checklist-match, widget-checklist-match-inline)
25516         (widget-group-match): Rename parameter VALUES to VALS.
25517         (widget-field-value-set): Remove unused variable `size'.
25518         (widget-color-action): Remove unused variables `value' and `start'.
25520         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25521         variable `dir'.  Doc fix.
25522         (windmove-find-other-window): Don't pass it.
25524         * window.el (count-windows): Mark unused parameter.
25525         (bw-adjust-window): Remove unused variable `err'.
25527         * woman.el (woman-file-name): Remove unused variable `default'.
25528         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25529         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25530         (global-font-lock-mode): Declare.
25531         (woman-decode-region): Mark unused parameter.
25532         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25534         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25535         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25536         (x-dnd-handle-moz-url): Remove unused variable `title'.
25537         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25539         * xml.el (xml-parse-tag, xml-parse-attlist):
25540         Remove unused variable `pos'.
25542 2011-04-19  Glenn Morris  <rgm@gnu.org>
25544         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25545         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25546         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25547         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25548         * calendar/cal-html.el (cal-html-insert-minical):
25549         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25550         (calendar-mark-date-pattern):
25551         Prefix "unused" locals.
25553         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25554         optional argument `style'.
25556         * calendar/appt.el (appt-make-list):
25557         * calendar/cal-china.el (calendar-chinese-date-string):
25558         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25559         (diary-hebrew-yahrzeit):
25560         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25561         * calendar/calendar.el (calendar-generate-window):
25562         * calendar/time-date.el (time-to-days):
25563         Remove unused local variables.
25565 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
25567         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25568         glyphless-char-display table.
25569         (tabulated-list-glyphless-char-display): New var.
25571 2011-04-18  Sam Steingold  <sds@gnu.org>
25573         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25574         to acknowledgments.
25576 2011-04-17  Glenn Morris  <rgm@gnu.org>
25578         * calendar/diary-lib.el (diary-sexp-entry):
25579         * calendar/holidays.el (holiday-sexp):
25580         Set debug-on-error rather than the removed stack-trace-on-error.
25582 2011-04-16  Glenn Morris  <rgm@gnu.org>
25584         * progmodes/f90.el: Use lexical-binding.
25585         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25587 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
25589         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25590         (mail-mode): Setup mailalias completion here instead.
25591         * mail/mailalias.el: Use lexical-binding.
25592         (pattern, mailalias-done): Declare dynamic.
25593         (mail-completion-at-point-function): New function, from mail-complete.
25594         (mail-complete): Use it.
25595         (mail-completion-expand): New function.
25596         (mail-get-names): Use it.
25597         (mail-directory, mail-directory-process, mail-directory-stream):
25598         Don't use `pattern' for lexically bound arg.
25600         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25602         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25603         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25604         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25606         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25607         (byte-save-window-excursion, byte-temp-output-buffer-setup)
25608         (byte-interactive-p): Define them again, for use when inlining
25609         old code.
25611 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
25613         * loadup.el: Use `string-to-number', not `string-to-int'.
25615 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
25617         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25618         gud-gdb-complete-command.
25619         (gud-gdb-completions): New function, from gud-gdb-complete-command.
25620         (gud-gdb-completion-at-point): New function.
25621         (gud-gdb-completions): Remove.
25623 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
25625         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25626         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
25627         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25628         whether `executable-find' is bound.
25630         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25632 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
25634         * minibuffer.el (completion-in-region-mode-predicate)
25635         (completion-in-region-mode--predicate): New vars.
25636         (completion-in-region, completion-in-region--postch)
25637         (completion-in-region-mode): Use them.
25638         (completion--capf-wrapper): Also return the hook function.
25639         (completion-at-point, completion-help-at-point):
25640         Adjust and provide a predicate.
25642         Preserve arg names for advice of subr and lexical functions (bug#8457).
25643         * help-fns.el (help-function-arglist): Consolidate the subr and
25644         new-byte-code cases.  Add argument `preserve-names' to extract names
25645         from the docstring when needed.
25646         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25647         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25648         (ad-arglist): Use help-function-arglist's new arg.
25649         (ad-definition-type): Use cond.
25651 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
25653         * autorevert.el (auto-revert-handler):
25654         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25655         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25656         Don't quote lambda.
25658         * image-mode.el (image-transform-set-scale):
25659         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25661 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
25663         * net/network-stream.el (network-stream-open-starttls): Only do
25664         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25665         Upgrades via gnutls-cli are too slow to be done opportunistically.
25667 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
25669         * dframe.el (dframe-current-frame): Remove spurious quote.
25671 2011-04-12  Glenn Morris  <rgm@gnu.org>
25673         * calendar/cal-tex.el (cal-tex-end-document):
25674         Try to automatically use latin1 input if needed.
25676         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25677         Don't try to cons a mark onto an empty element.
25679 2011-04-11  Leo Liu  <sdl.web@gmail.com>
25681         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25682         buffers.
25683         (ido-kill-buffer-at-head): Support killing virtual buffers.
25685 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
25687         * minibuffer.el (completion-show-inline-help): New var.
25688         (completion--do-completion, minibuffer-complete)
25689         (minibuffer-force-complete, minibuffer-complete-word):
25690         Inhibit minibuffer messages if completion-show-inline-help is nil.
25692         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25693         to avoid interference from inline help (Bug#5849).
25695 2011-04-10  Leo Liu  <sdl.web@gmail.com>
25697         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25698         Fix typo.
25700 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
25702         * image-mode.el (image-toggle-display-image): Signal an error if
25703         not in Image mode.
25704         (image-transform-mode, image-transform-resize)
25705         (image-transform-set-rotation): Doc fix.
25706         (image-transform-set-resize): Delete.
25707         (image-transform-set-scale, image-transform-fit-to-height)
25708         (image-transform-fit-to-width): Handle image-toggle-display-image
25709         and image-transform-resize directly.
25711 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
25713         * doc-view.el (doc-view-fit-width-to-window)
25714         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25715         New functions for fitting the shown image to the Emacs window size.
25716         (doc-view-mode-map): Add bindings for the new functions.
25718 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
25720         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25721         Fix typo in docstring.
25723 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
25725         * files.el (file-size-human-readable): Produce one digit after
25726         decimal, like "ls -lh" does.
25728         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25729         the file size representation.
25731         * simple.el (list-processes): If async subprocesses are not
25732         available, error out with a clear error message.
25734 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
25736         * help.el (help-form-show): New function, to be called from C.
25737         Put help-form output in a buffer named differently than *Help*.
25739 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
25741         * files.el (file-size-human-readable): New function.
25743         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25744         computing the representation inline.  Don't require `cl'.
25746 2011-04-08  Glenn Morris  <rgm@gnu.org>
25748         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25750         * net/browse-url.el (browse-url-firefox):
25751         Test system-type, not system-configuration.
25753         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25754         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25755         Use log-edit-empty-buffer-p.  (Bug#7598)
25757         * net/rlogin.el (rlogin-process-connection-type): Simplify.
25758         (rlogin-mode-map): Initialize in the defvar.
25759         (rlogin): Use ignore-errors.
25761         * replace.el (occur-mode-map): Some fixes for menu items.
25763 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
25765         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
25767 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
25769         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25770         issuing unused warnings.
25772         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25773         macro directly.
25775         * simple.el: Lisp reimplement of list-processes.  Based on an
25776         earlier reimplementation by Leo Liu, but using tabulated-list.el.
25777         (process-menu-mode): New major mode.
25778         (list-processes--refresh, list-processes):
25779         (process-menu-visit-buffer): New functions.
25781         * files.el (save-buffers-kill-emacs): Don't assume any return
25782         value of list-processes, which is undocumented anyway.
25784 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
25786         * emacs-lisp/tabulated-list.el: New file.
25788         * emacs-lisp/package.el: Use Tabulated List mode.
25789         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25790         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
25791         table format using Tabulated List mode variables.
25792         (package--push): New macro, replacing package-list-maybe-add.
25793         (package-menu--generate): Use package--push.  Renamed from
25794         package--generate-package-list.
25795         (package-menu-refresh, list-packages): Use it.
25796         (package-menu--print-info): Rename from package-print-package.
25797         Return insertion data instead of inserting it directly.
25798         (package-menu-describe-package, package-menu-execute):
25799         Use tabulated-list-get-id.
25800         (package-menu-mark-delete, package-menu-mark-install)
25801         (package-menu-mark-unmark, package-menu-backup-unmark)
25802         (package-menu-mark-obsolete-for-deletion):
25803         Use tabulated-list-put-tag.
25804         (package--list-packages, package-menu-revert)
25805         (package-menu-get-package, package-menu-get-version)
25806         (package-menu-sort-by-column): Functions deleted.
25807         (package-menu-package-list, package-menu-sort-key): Vars deleted.
25808         (package-menu--status-predicate, package-menu--version-predicate)
25809         (package-menu--name-predicate)
25810         (package-menu--description-predicate): Handle arguments in the
25811         Tabulated List format.
25812         (package-list-packages-no-fetch): Call list-packages.
25814 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
25816         * files.el (after-find-file-from-revert-buffer): Remove variable.
25817         (after-find-file): Don't bind it.
25818         (revert-buffer-in-progress-p): New variable.
25819         (revert-buffer): Bind it.
25820         Pass nil for `after-find-file-from-revert-buffer'.
25822         * saveplace.el (save-place-find-file-hook): Use new variable
25823         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25825 2011-04-06  Glenn Morris  <rgm@gnu.org>
25827         * Makefile.in (AUTOGEN_VCS): New variable.
25828         (autoloads): Use $AUTOGEN_VCS.
25830         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25831         * calendar/calendar.el (calendar-mode-map):
25832         Check for toolkit scroll bars.  (Bug#8305)
25834 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
25836         * minibuffer.el (completion-in-region--postch)
25837         (completion-in-region-mode): Remove unnecessary messages.
25839 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
25841         * font-lock.el (font-lock-refresh-defaults):
25842         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25843         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25845         * info.el (Info-directory-list, Info-read-node-name-2)
25846         (Info-split-parameter-string): Doc fixes.
25847         (Info-virtual-nodes): Reflow docstring.
25848         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25849         (Info-apropos-toc-nodes, info-finder, Info-get-token)
25850         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25851         Fix typos in docstrings.
25852         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25853         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25854         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25855         (Info-restore-desktop-buffer): Mark unused parameters.
25856         (Info-directory-find-file, Info-directory-find-node)
25857         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25858         (Info-virtual-index-find-node, Info-apropos-find-file)
25859         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25860         Mark unused parameters; fix typos in docstrings.
25861         (Info-virtual-index): Remove unused local variable `nodename'.
25863 2011-04-05  Deniz Dogan  <deniz@dogan.se>
25865         * net/rcirc.el: Update my e-mail address.
25866         (rcirc-mode-map): Remove M-o binding.
25868 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
25870         * startup.el (command-line): Save the cursor's theme-face
25871         directly, instead of using face-override-spec.
25873         * custom.el (load-theme): Minor optimization in assigning faces.
25875 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
25877         * help-fns.el (describe-variable): Complete all variables having
25878         documentation, including keywords.
25879         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25881 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
25883         Convert to lexical-binding.
25885         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25886         (bs--get-marked-string, bs--get-modified-string)
25887         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25888         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25889         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25891         * ehelp.el (electric-help-execute-extended)
25892         (electric-help-ctrl-x-prefix):
25893         * hexl.el (hexl-revert-buffer-function):
25894         * linum.el (linum-after-change, linum-after-scroll):
25895         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25897         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25899 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
25901         * epa-dired.el:
25902         * epa-mail.el:
25903         * epa-hook.el:
25904         * epa-file.el:
25905         * epa.el:
25906         * epg.el: Use lexical binding.
25908 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
25910         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25912         * textmodes/flyspell.el (flyspell-word): Recognize default
25913         dictionary case for flyspell-mark-duplications-exceptions.
25914         Use regexp matching for languages.
25915         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25916         default dictionary (Bug#7926).
25918 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
25920         * emacs-lisp/package.el (package--with-work-buffer):
25921         Recognize https URLs.
25923         * net/network-stream.el: Move from gnus/proto-stream.el.
25924         Change prefix to network-stream throughout.
25925         (open-protocol-stream): Merge into open-network-stream, leaving
25926         open-protocol-stream as an alias.  Handle nil BUFFER args.
25928         * subr.el (open-network-stream): Move to net/network-stream.el.
25930 2011-04-02  Glenn Morris  <rgm@gnu.org>
25932         * find-dired.el (find-exec-terminator): New option.
25933         (find-ls-option): Test for -ls support.
25934         (find-ls-subdir-switches): Test for -b in find-ls-option.
25935         (find-dired, find-grep-dired): Doc fixes.
25936         (find-dired): Use find-exec-terminator.
25938         * find-dired.el (find-ls-option, find-ls-subdir-switches)
25939         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25940         (find-name-arg): Remove purecopy.
25942         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25943         (grep-compute-defaults): Check for `-exec COMMAND +' support.
25944         Set grep-find-use-xargs, grep-find-command, and grep-find-template
25945         accordingly.  Don't add the null-device if not needed.
25947         * files.el (save-some-buffers): Doc fix.
25949 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
25951         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25953 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
25955         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25956         Use `dolist' rather than `mapcar'.
25958 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
25960         Add lexical binding.
25962         * subr.el (apply-partially): Use new closures rather than CL.
25963         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25964         (dolist, dotimes): Use slightly different expansion for lexical code.
25965         (functionp): Move to C.
25966         (letrec): New macro.
25967         (with-wrapper-hook): Use it and apply-partially instead of CL.
25968         (eval-after-load): Preserve lexical-binding.
25969         (save-window-excursion, with-output-to-temp-buffer): Turn them
25970         into macros.
25972         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25974         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25975         than the arglist.
25976         (help-add-fundoc-usage): Don't add `Not documented'.
25977         (help-function-arglist): Handle closures, subroutines, and new
25978         byte-code-functions.
25979         (help-make-usage): Remove leading underscores.
25980         (describe-function-1): Handle closures.
25981         (describe-variable): Use special-variable-p for completion.
25983         * files.el (lexical-binding): Declare safe.
25985         * emacs-lisp/pcase.el: Don't use destructuring-bind.
25986         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
25987         (pcase): Add `let' pattern.
25988         Change memoization so it actually works.
25989         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25990         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25991         <let>: New case.
25993         * emacs-lisp/macroexp.el: Use lexical binding.
25994         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
25995         Don't convert ' to #' without checking that it's indeed quoting
25996         a lambda.
25998         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25999         Use eval-sexp-add-defvars.
26000         (eval-sexp-add-defvars): New fun.
26002         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
26004         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
26005         Don't autoload.
26006         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
26007         than the internal `byte-compile-lambda'.
26008         (defmethod): Don't hide code under quotes.
26009         (eieio-defmethod): New `code' argument.
26011         * emacs-lisp/eieio-comp.el: Remove.
26013         * emacs-lisp/edebug.el (edebug-eval-defun)
26014         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
26015         (edebug-toggle): Avoid `eval'.
26017         * emacs-lisp/disass.el (disassemble-internal): Handle new
26018         `closure' objects.
26019         (disassemble-1): Handle new byte codes.
26021         * emacs-lisp/cl.el (pushnew): Silence warning.
26023         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
26024         (cl-byte-compile-throw): Remove.
26025         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
26027         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
26028         closures.
26030         * emacs-lisp/cconv.el: New file.
26032         * emacs-lisp/bytecomp.el: Use lexical binding instead of
26033         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
26034         (byte-compile-initial-macro-environment):
26035         Handle declare-function here.
26036         (byte-compile--lexical-environment): New var.
26037         (byte-stack-ref, byte-stack-set, byte-discardN)
26038         (byte-discardN-preserve-tos): New lap codes.
26039         (byte-interactive-p): Don't use any more.
26040         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
26041         New macros.
26042         (byte-compile-lapcode): Use them and handle new lap codes.
26043         (byte-compile-obsolete): Remove.
26044         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
26045         (byte-compile-arglist-warn): Check late def of inlinable funs.
26046         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
26047         since they should have been expanded by now.
26048         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
26049         (byte-compile-from-buffer): Remove unused second arg.
26050         (byte-compile-preprocess): New function.
26051         (byte-compile-toplevel-file-form): New function to distinguish
26052         file-form calls from outside from file-form calls from hunk-handlers.
26053         (byte-compile-file-form): Simplify.
26054         (byte-compile-file-form-defsubst): Remove.
26055         (byte-compile-file-form-defmumble): Simplify now that
26056         byte-compile-lambda always returns a byte-code-function.
26057         (byte-compile): Preprocess.
26058         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
26059         Remove, not used any more.
26060         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
26061         (byte-compile-make-args-desc): New funs.
26062         (byte-compile-lambda): Handle lexical functions.  Always return
26063         a byte-code-function.
26064         (byte-compile-reserved-constants): New var, to make up room for
26065         closed-over variables.
26066         (byte-compile-constants-vector): Obey it.
26067         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
26068         (byte-compile-macroexpand-declare-function): New function.
26069         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
26070         byte-code-functions.
26071         (byte-compile-form): Check obsolescence here.
26072         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
26073         (byte-compile-variable-ref): Remove.
26074         (byte-compile-dynamic-variable-op): New fun.
26075         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
26076         (byte-compile-variable-set): New funs.
26077         (byte-compile-discard): Add 2 args.
26078         (byte-compile-stack-ref, byte-compile-stack-set)
26079         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
26080         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
26081         macroexpand-all instead.
26082         (byte-compile-quote-form): Remove.
26083         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
26084         (byte-compile-bind, byte-compile-unbind): New funs.
26085         (byte-compile-let): Handle let* and lexical binding.
26086         (byte-compile-let*): Remove.
26087         (byte-compile-catch, byte-compile-unwind-protect)
26088         (byte-compile-track-mouse, byte-compile-condition-case):
26089         Handle a new :fun-body form, used for lexical scoping.
26090         (byte-compile-save-window-excursion)
26091         (byte-compile-with-output-to-temp-buffer): Remove.
26092         (byte-compile-defun): Simplify.
26093         (byte-compile-stack-adjustment): New fun.
26094         (byte-compile-out): Use it.
26095         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
26097         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
26098         handler any more.
26100         * emacs-lisp/byte-opt.el: Use lexical binding.
26101         (byte-inline-lapcode): Remove (to bytecomp).
26102         (byte-compile-inline-expand): Pay attention to inlining to/from
26103         lexically bound code.
26104         (byte-compile-unfold-lambda): Don't handle byte-code-functions
26105         any more.
26106         (byte-optimize-form-code-walker): Don't handle save-window-excursion
26107         any more and don't call compiler-macros.
26108         (byte-compile-splice-in-already-compiled-code): Remove.
26109         (byte-code): Don't inline any more.
26110         (disassemble-offset): Receive `bytes' as argument rather than via
26111         dynamic scoping.
26112         (byte-compile-tag-number): Declare before first use.
26113         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
26114         `return' even if make-spliceable.
26115         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
26116         obsolete interactive-p.
26117         (byte-optimize-lapcode): Optimize new lap-codes.
26118         Don't trip up on new form of `byte-constant' lap code.
26120         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
26122         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
26124         * custom.el (custom-initialize-default, custom-declare-variable):
26125         Use `defvar'.
26127         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
26128         New variables.
26129         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
26130         (COMPILE_FIRST): Add macroexp and cconv.
26131         * makefile.w32-in: Mirror changes in Makefile.in.
26133         * vc/cvs-status.el:
26134         * vc/diff-mode.el:
26135         * vc/log-edit.el:
26136         * vc/log-view.el:
26137         * vc/smerge-mode.el:
26138         * textmodes/bibtex-style.el:
26139         * textmodes/css-mode.el:
26140         * startup.el:
26141         * uniquify.el:
26142         * minibuffer.el:
26143         * newcomment.el:
26144         * reveal.el:
26145         * server.el:
26146         * mpc.el:
26147         * emacs-lisp/smie.el:
26148         * doc-view.el:
26149         * dired.el:
26150         * abbrev.el: Use lexical binding.
26152 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
26154         * info.el (info-display-manual): New function.
26156 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
26158         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
26160 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
26162         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
26163         an entry for that server in rcirc-authinfo.  (Bug#8385)
26165 2011-03-31  Glenn Morris  <rgm@gnu.org>
26167         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
26169         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
26171 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
26173         * progmodes/python.el (python-default-interpreter)
26174         (python-python-command-args, python-jython-command-args)
26175         (python-which-shell, python-which-args, python-which-bufname)
26176         (python-file-queue, python-comint-output-filter-function)
26177         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
26178         variables and functions.
26180 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
26182         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
26183         (completion-in-region-mode): New minor mode.
26184         (completion-in-region): Use it.
26185         (completion-in-region--data, completion-in-region-mode-map): New vars.
26186         (completion-in-region--postch): New function.
26187         (completion--capf-misbehave-funs, completion--capf-safe-funs):
26188         New vars.
26189         (completion--capf-wrapper): New function.
26190         (completion-at-point): Use it to track well-behavedness of
26191         hook functions.
26192         (completion-help-at-point): New command.
26194 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
26196         * vc/add-log.el (add-change-log-entry): Don't use whitespace
26197         syntax class to search for whitespace on a single line
26198         (Message-ID: <4D938140.4030905@redhat.com>).
26200 2011-03-30  Leo Liu  <sdl.web@gmail.com>
26202         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
26203         New commands.
26204         (edit-abbrevs-map): Bind them here.
26205         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
26207 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
26209         * allout.el (allout-hide-by-annotation, allout-flag-region):
26210         Reduce possibility of overlay leakage by making them volatile.
26212         * allout-widgets.el (allout-widgets-tally): Define as nil so the
26213         hash is not shared between buffers.  Mode initialization is
26214         responsible for giving it a useful starting value.
26215         (allout-item-span): Reduce possibility of overlay leakage by
26216         making them volatile.
26217         (allout-widgets-count-buttons-in-region): Add diagnostic function
26218         for tracking down button overlay leaks.
26220 2011-03-29  Leo Liu  <sdl.web@gmail.com>
26222         * ido.el (ido-read-internal): Use the default history var
26223         minibuffer-history if no HISTORY is specified.
26225 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
26227         * net/imap.el (imap-shell-open, imap-process-connection-type):
26228         Use imap-process-connection-type for 'shell' streams as well as
26229         Kerberos, SSL, other subprocesses.
26231 2011-03-28  Leo Liu  <sdl.web@gmail.com>
26233         * abbrev.el (abbrev-table-empty-p): New function.
26234         (prepare-abbrev-list-buffer): Place empty abbrev tables after
26235         nonempty ones.  (Bug#5937)
26237 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
26239         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
26241 2011-03-27  Leo Liu  <sdl.web@gmail.com>
26243         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
26244         for foreground and background colors.
26245         (ansi-color-make-color-map): Adapt.
26247 2011-03-25  Leo Liu  <sdl.web@gmail.com>
26249         * midnight.el (midnight-time-float): Remove.  Note it calculates
26250         the microsecond component incorrectly and seconds-to-time does the
26251         same job.
26252         Remove redundant (require 'timer).
26254         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
26255         (ido-completions): Remove unused arguments.  (Bug#8329)
26257 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
26259         * minibuffer.el (completion--flush-all-sorted-completions):
26260         Remove itself from hook.
26261         (completion-at-point): Let the functions perform the completion
26262         immediately and return nil or t.
26263         * comint.el (comint-dynamic-complete-functions): Now identical to
26264         completion-at-point-functions.
26265         (comint-dynamic-list-input-ring): Remove unused var `index'.
26266         (comint--match-partial-filename, comint--unquote&expand-filename):
26267         New funs, split from comint-match-partial-filename.
26268         (comint-dynamic-complete): Use completion-at-point.
26269         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
26271 2011-03-24  Drew Adams  <drew.adams@oracle.com>
26273         * thingatpt.el: Support `defun'.
26275 2011-03-23  Leo Liu  <sdl.web@gmail.com>
26277         * abbrevlist.el: Move to obsolete/abbrevlist.el.
26279         * help-mode.el (help-mode-finish): Tweak regexp.
26281 2011-03-23  Glenn Morris  <rgm@gnu.org>
26283         * eshell/esh-opt.el (eshell-eval-using-options):
26284         Do not bind unused local variable `eshell-option-stub'.
26286         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
26288 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
26290         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
26291         keymap variable in `with-no-warnings' to avoid a warning when the
26292         keymap has been already `defconst'ed.
26294 2011-03-22  Leo Liu  <sdl.web@gmail.com>
26296         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
26297         encode all chars in abbrevs; otherwise use emacs-mule or
26298         utf-8-emacs.  (Bug#8308)
26300 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
26302         * simple.el (backward-delete-char-untabify):
26303         Avoid warning about using `delete-backward-char'.
26305         * image.el (image-type-file-name-regexps): Make it variable.
26306         `imagemagick-register-types' modifies it, and the user may want
26307         to add new extensions for known image types.
26308         (imagemagick-register-types): Throw error if not using ImageMagick.
26310 2011-03-22  Leo Liu  <sdl.web@gmail.com>
26312         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
26313         located before rcirc-prompt-end-marker.
26314         (rcirc-complete): Error if point is not after rcirc prompt.
26315         Handle the case when table is nil.
26316         (rcirc-user-authenticated): Define to fix compiler warning.
26318 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
26320         * custom.el (custom--inhibit-theme-enable): Make it affect only
26321         custom-theme-set-variables and custom-theme-set-faces.
26322         (provide-theme): Ignore custom--inhibit-theme-enable.
26323         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
26324         (custom-enabling-themes): Delete variable.
26325         (enable-theme): Accept only loaded themes as arguments.
26326         Ignore the special custom-enabled-themes variable.
26327         (custom-enabled-themes): Forbid themes from setting this.
26328         Eliminate use of custom-enabling-themes.
26329         (custom-push-theme): Quote "changed" custom var entry.
26331 2011-03-21  Leo Liu  <sdl.web@gmail.com>
26333         * ido.el (ido-read-internal): Add ido-selected to history instead
26334         of user input.
26336 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
26338         * subr.el (deferred-action-list, deferred-action-function):
26339         Mark obsolete.
26341 2011-03-21  Leo Liu  <sdl.web@gmail.com>
26343         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
26344         change on 2011-02-13 (bug#8309).
26346         * minibuffer.el (read-file-name-function): Change default value.
26347         (read-file-name--defaults): Rename from read-file-name-defaults.
26348         (read-file-name-default): Rename from read-file-name.
26349         (read-file-name): Call read-file-name-function.
26351 2011-03-21  Glenn Morris  <rgm@gnu.org>
26353         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
26354         Doc fixes.
26356 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
26358         * cus-theme.el: Add missing provide statement.
26359         (customize-create-theme): Extract theme value correctly.
26360         (custom-theme-visit-theme): Autoload.
26361         (customize-create-theme): Prompt before inserting default faces.
26363 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
26365         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
26366         units and musical notes.
26368 2011-03-20  Leo Liu  <sdl.web@gmail.com>
26370         * ido.el (ido-read-internal): Use completing-read-default.
26371         (ido-completing-read): Fix compatibility with completing-read.
26373 2011-03-20  Christian Ohler  <ohler@gnu.org>
26375         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
26376         (ert-delete-all-tests): Use `called-interactively-p' rather than
26377         `interactive-p'.
26378         (ert--make-xrefs-region): Respect END.
26380 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
26382         * dired-aux.el (dired-create-directory): Signal an error if the
26383         directory already exists (Bug#8246).
26385         * facemenu.el (list-colors-display): Call list-faces-display
26386         inside with-help-window.
26387         (list-colors-print): Use display property to align the final
26388         column, instead of checking window-width.
26390 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
26392         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
26393         windows-nt systems.
26394         (emerge-protect-metachars): Quote correctly for ms-dos and
26395         windows-nt systems.
26397 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
26399         * info.el (info-initialize): Replace all uses of `:' with
26400         path-separator for compatibility with non-Unix systems.
26401         Cache quoting of path-separator.  (Bug#8258)
26403 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
26405         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
26406         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
26407         (mouse-avoidance-mode): Fix typos in docstrings.
26409 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
26411         * startup.el (package-subdirectory-regexp): Move from package.el.
26412         Omit \\` and \\', and let callers add them.
26414         * emacs-lisp/package.el (package-strip-version)
26415         (package-load-all-descriptors): Add \\` and \\' to
26416         package-subdirectory-regexp before using it.
26417         (package-untar-buffer): New arg DIR; ensure that file untars only
26418         into this expected directory.  Remove superfluous delete-region.
26419         (package-unpack): Caller changed.
26420         (package-tar-file-info): Use package-subdirectory-regexp.
26422 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
26424         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26425         diff-mode-shared-map (bug#8284).
26426         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26428 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
26430         * calendar/time-date.el (format-seconds): Use assoc instead of
26431         assoc-string, since assoc-string doesn't exist in XEmacs.
26433 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
26435         * custom.el (custom-known-themes): Reflow docstring.
26436         (custom-theme-load-path): Fix typo in docstring.
26437         (load-theme): Fix typo in error message.
26438         (custom-available-themes, custom-variable-theme-value):
26439         Use `let', not `let*'.
26441 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
26443         * calc/README: Mention inclusion of musical notes.
26445         * calc/calc-units.el (calc-lu-quant): Rename from
26446         `calc-logunits-quantity'.
26447         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26448         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26449         (calc-db): Rename from `calc-dblevel'.
26450         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26451         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26452         (calc-np): Rename from `calc-nplevel'.
26453         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26454         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26455         (calc-lu-plus): Rename from `calc-logunits-add'.
26456         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26457         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26458         (calc-lu-minus): Rename from `calc-logunits-sub'.
26459         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26460         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26461         (calc-lu-times): Rename from `calc-logunits-mul'.
26462         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26463         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26464         (calc-lu-divide): Rename from `calc-logunits-div'.
26465         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26466         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26468         * calc/calc-ext.el (calc-init-extensions): Update the names of the
26469         functions being autoloaded.
26471         * calc/calc.el (calc-lu-power-reference): Rename from
26472         `calc-logunits-power-reference'.
26473         (calc-lu-field-reference): Rename from
26474         `calc-logunits-field-reference'.
26476         * calc/calc-help.el (calc-l-prefix-help):
26477         Mention musical note functions.
26479 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
26481         * minibuffer.el (completion-all-sorted-completions):
26482         Use :completion-cycle-penalty text property if present.
26484 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
26486         * allout.el (allout-yank-processing): Adjust for new rebulleting
26487         regime so bullet being yanked is used without prompting the user
26488         for a choice.
26490 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
26492         * startup.el (command-line): Warn the user that _emacs is deprecated.
26494 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
26496         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26497         (delphi-verbose, delphi-comment-face, delphi-string-face)
26498         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26499         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26500         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26501         (delphi-new-comment-line, delphi-font-lock-defaults)
26502         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26503         Fix typos in docstrings.
26505 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
26507         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26508         Invert the roles of character and string values for INSTEAD, so a
26509         string is used for the more common case of a defaulting prompt.
26511 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
26513         * progmodes/ruby-mode.el (ruby-backward-sexp):
26514         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26515         * play/gamegrid.el (gamegrid-make-face):
26516         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26517         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26518         * notifications.el (notifications-notify):
26519         * net/xesam.el (xesam-search-engines):
26520         * net/quickurl.el (quickurl-list-insert):
26521         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26523 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
26525         * startup.el (command-line): Update package subdirectory regexp.
26527 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
26529         * allout.el (allout-abbreviate-flattened-numbering)
26530         (allout-mode-deactivate-hook): Fix up obsolescence "date".
26532         * subr.el (read-char-choice): Only show the cursor after the prompt,
26533         not after the answer.
26535 2011-03-15  Kevin Ryde  <user42@zip.com.au>
26537         * help-fns.el (variable-at-point): Skip leading quotes, if any
26538         (bug#8253).
26540 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
26542         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26543         warning message.
26545 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
26547         * shell.el (shell): When called interactively, offer to change the
26548         shell file name on remote hosts.
26550 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
26552         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26553         integration for LDAP parameters.  The host, base, user or binddn,
26554         and secret tokens can be specified in a netrc file, for instance.
26555         This is optional because an `auth-source' parameter must be
26556         specified in the search attributes.
26558 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
26560         * help.el (describe-mode): Link to the mode's definition (bug#8185).
26562 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
26564         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26565         into declaration.  Remove redundant and harmful binding.
26567 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
26569         * files.el (file-ownership-preserved-p): Pass `integer' as an
26570         explicit 2nd argument to `file-attributes'.  If the file's owner
26571         is the Administrators group on Windows, and the current user is
26572         Administrator, consider that a match.
26574         * server.el (server-ensure-safe-dir): Consider server directory
26575         safe on MS-Windows if its owner is the Administrators group while
26576         the current Emacs user is Administrator.  Use `=' to compare
26577         numerical UIDs, since they could be integers or floats.
26579 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
26581         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26583 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
26585         Sync with Tramp 2.2.1.
26587         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26589         * net/trampver.el: Update release number.
26591 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
26593         * progmodes/compile.el (compilation--previous-directory): Fix up
26594         various nil/dead-marker mismatches (bug#8014).
26595         (compilation-directory-properties, compilation-error-properties):
26596         Don't call it at a position past the one we're about to change.
26598         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26599         Disable obsolescence warnings in the file that declares it.
26601 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
26603         * allout-widgets.el (allout-widgets-tally):
26604         Initialize allout-widgets-tally as a hash table rather than nil to
26605         prevent mode-line redisplay warnings.  Also, clarify the module
26606         description and fix a comment typo.
26608 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
26610         * help-fns.el (describe-variable): Don't complete keywords.
26611         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26613 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
26615         * emacs-lisp/package.el (package-version-join): Impose a standard
26616         string representation for pre/alpha/beta version lists.
26617         (package-unpack-single): Standardize the directory name by passing
26618         it through package-version-join.
26619         (package-strip-rcs-id): Accept any version string that does not
26620         signal an error in version-to-list.
26622 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
26624         * simple.el (delete-trailing-whitespace): Return nil for the
26625         benefit of `write-file-functions'.
26627 2011-03-10  Glenn Morris  <rgm@gnu.org>
26629         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26631         * vc/vc-git.el (vc-git-program): New option.
26632         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26633         (vc-git--call): Use it.
26635         * eshell/esh-util.el (eshell-condition-case): Doc fix.
26637         * cus-edit.el (Custom-newline): If no button at point, look
26638         for a subgroup button at start-of-line.  (Bug#2298)
26640         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26642 2011-03-10  Julien Danjou  <julien@danjou.info>
26644         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26645         `cursor-type' is nil.
26647 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
26649         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26651 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
26653         * allout.el: Change so yank of distinctive-bullet items
26654         preserves the existing header prefix, rebulleting it if necessary,
26655         rather than replacing it.  This is necessary for proper operation
26656         of cooperative addons like allout-widgets.
26657         (allout-make-topic-prefix, allout-rebullet-heading):
26658         Change SOLICIT arg to INSTEAD, and interpret additionally a string
26659         value as alternate bullet to be used, instead of prompting the user
26660         for a bullet character.
26662 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
26664         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26665         Do not use `tramp-file-name-port', because this returns also
26666         `tramp-default-port'.
26668 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
26670         * net/rcirc.el (rcirc-handler-001): Remove useless
26671         with-rcirc-process-buffer.
26672         (rcirc-check-auth-status): Swap arguments to string-match.
26674 2011-03-09  Glenn Morris  <rgm@gnu.org>
26676         * shell.el (shell-mode):
26677         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
26679         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26680         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
26682 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
26684         * emacs-lisp/package.el (package-refresh-contents)
26685         (package-menu-execute): Use condition-case-no-debug.
26687 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
26689         * simple.el (shell-command-to-string): Use `process-file'.
26691         * emacs-lisp/package.el (package-tar-file-info): Handle also
26692         remote files.
26694         * emacs-lisp/package-x.el (package-upload-buffer-internal):
26695         Use `equal' for upload base check.
26697 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
26699         * textmodes/texinfo.el (texinfo-environments):
26700         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
26702 2011-03-08  Glenn Morris  <rgm@gnu.org>
26704         * cus-start.el (cursor-in-non-selected-windows):
26705         Fix :set quoting oddness.  (Bug#8192)
26707         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26708         in some setf expressions.  (Bug#2159)
26710 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
26712         * custom.el (custom-available-themes): Return themes in
26713         alphabetical order.
26715 See ChangeLog.15 for earlier changes.
26717 ;; Local Variables:
26718 ;; coding: utf-8
26719 ;; End:
26721   Copyright (C) 2011-2013 Free Software Foundation, Inc.
26723   This file is part of GNU Emacs.
26725   GNU Emacs is free software: you can redistribute it and/or modify
26726   it under the terms of the GNU General Public License as published by
26727   the Free Software Foundation, either version 3 of the License, or
26728   (at your option) any later version.
26730   GNU Emacs is distributed in the hope that it will be useful,
26731   but WITHOUT ANY WARRANTY; without even the implied warranty of
26732   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26733   GNU General Public License for more details.
26735   You should have received a copy of the GNU General Public License
26736   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.