Merge from emacs-24; up to 2012-11-24T16:58:43Z!cyd@gnu.org
[emacs.git] / lisp / ChangeLog
blobfbd6e3c631ced2ea46269ee46d86be02915e8d71
1 2012-12-06  Chong Yidong  <cyd@gnu.org>
3         * ffap.el (ffap-replace-file-component): Fix typo.
5 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7         * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
8         fix open-paren-like token test (bug#12785).
10 2012-12-06  Glenn Morris  <rgm@gnu.org>
12         * mail/rmailsum.el (rmail-new-summary): Tweak for
13         rmail-maybe-display-summary changing buffer.  (Bug#13066)
15 2012-12-06  Juri Linkov  <juri@jurta.org>
17         * info.el (Info-fontify-node): Don't hide the last newline.
18         (Bug#12272)
20 2012-12-06  Katsumi Yamaoka  <yamaoka@jpl.org>
22         * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
23         so as to enable message-read-from-minibuffer to expand mail aliases.
25 2012-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
27         * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
28         the `intangible' property.
29         Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
31 2012-12-05  Deniz Dogan  <deniz@dogan.se>
33         * net/rcirc.el (rcirc-urls): Update documentation.
34         (rcirc-condition-filter): New function.
35         (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
36         and exclude consecutive duplicate URLs (Bug#6082).
38 2012-12-05  Michael Albinus  <michael.albinus@gmx.de>
40         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
41         Check return code of copy command.
43         * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt): Use
44         group `tramp'.  Add version.
46 2012-12-05  Chong Yidong  <cyd@gnu.org>
48         * ffap.el (ffap-url-regexp): Don't require matching at front of
49         string (Bug#4952).
50         (ffap-url-p): If only a substring matches, return that.
51         (ffap-url-at-point): Use the return value of ffap-url-p.
52         (ffap-read-file-or-url, ffap-read-file-or-url-internal)
53         (find-file-at-point, dired-at-point, dired-at-point-prompter)
54         (ffap-guess-file-name-at-point): Likewise.
55         (ffap-replace-file-component): Fix typo.
57         * info.el (info-display-manual): Add existing Info buffers, whose
58         files may not be in Info-directory-list, to the completion.
59         (info--manual-names): New helper function.
61 2012-12-05  Glenn Morris  <rgm@gnu.org>
63         * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
64         New functions, for detecting and resolving conflicts.  (Bug#10709)
66 2012-12-04  Jambunathan K  <kjambunathan@gmail.com>
68         * hi-lock.el (hi-lock-auto-select-face): New user variable.
69         (hi-lock-auto-select-face-defaults): New buffer local variable.
70         (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
71         (hi-lock-unface-buffer): Prompt user with useful defaults.
72         With prefix arg, unhighlight all hi-lock patterns in buffer.
74 2012-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
76         * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
78 2012-12-04  Michael Albinus  <michael.albinus@gmx.de>
80         * Makefile.in (TRAMP_SRC):
81         * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
83 2012-12-04  Juergen Hoetzel  <juergen@archlinux.org>
85         * net/tramp-adb.el: New package.
87 2012-12-04  Chong Yidong  <cyd@gnu.org>
89         * terminal.el: Move to obsolete/.
91         * longlines.el: Move to obsolete/.
93         * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
94         Remove code referring to longlines mode.
96 2012-12-03  Juri Linkov  <juri@jurta.org>
98         * sort.el (delete-duplicate-lines): New command.  (Bug#13032)
100 2012-12-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
102         * textmodes/ispell.el (ispell-init-process)
103         (ispell-start-process, ispell-internal-change-dictionary):
104         Make sure personal dictionary name is expanded after initial
105         `default-directory' value. Use expanded strings for
106         keep/restart checks and for value (Bug#13019).
108 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
110         * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
112 2012-12-03  Leo Liu  <sdl.web@gmail.com>
114         * files.el (dir-locals-read-from-file): Check file non-empty
115         before reading.  (Bug#13038)
117 2012-12-03  Glenn Morris  <rgm@gnu.org>
119         * jka-cmpr-hook.el (jka-compr-get-compression-info):
120         Remove any version extension before checking filename.  (Bug#13006)
121         (jka-compr-compression-info-list): Belated :version bump.
123 2012-12-03  Chong Yidong  <cyd@gnu.org>
125         * simple.el (transient-mark-mode): Doc fix (Bug#11523).
127         * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
128         (buffer-menu): Doc fix (Bug#12294).
130 2012-12-03  Roland Winkler  <winkler@gnu.org>
132         * calendar/diary-lib.el (diary-header-line-format): Use keybinding
133         of diary-show-all-entries in the diary buffer (Bug#12994).
135 2012-12-03  Michael Albinus  <michael.albinus@gmx.de>
137         * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
138         "<STDIN>".  This is binary safe.
140 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
142         * calc/calc-forms.el (math-absolute-from-iso-dt)
143         (math-date-to-iso-dt, math-parse-iso-date-validate)
144         (math-iso-dt-to-date): New functions.
145         (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
146         (math-fd-isoweekday): New variables.
147         (calc-date-notation, math-parse-standard-date, math-format-date)
148         (math-format-date-part): Add support for more formatting codes.
150 2012-12-02  Dmitry Gutov  <dgutov@yandex.ru>
152         * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
153         current buffer's file name when called interactively (Bug#12488).
155 2012-12-02  Juri Linkov  <juri@jurta.org>
157         * info.el (info-display-manual): Don't clobber an existing Info
158         buffer (Bug#10770).  Add completion (Bug#10771).
160 2012-12-01  Yuya Nishihara  <yuya@tcha.org>  (tiny change)
162         * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
163         before using it for comparison (Bug#5297).
165 2012-12-01  Jari Aalto  <jari.aalto@cante.net>
167         * textmodes/css-mode.el (css-current-defun-name): New function.
168         (css-mode): Use it.
170         * textmodes/sgml-mode.el (html-current-defun-name): New function.
171         (html-mode): Use it.
173 2012-12-01  Chong Yidong  <cyd@gnu.org>
175         Modularize add-log-current-defun (Bug#2224).
176         Suggested by Jari Aalto.
178         * vc/add-log.el (add-log-current-defun-function): Doc fix.
179         (add-log-current-defun): Move mode-specific code to other files.
180         (add-log-lisp-like-modes, add-log-c-like-modes)
181         (add-log-tex-like-modes): Variables deleted.
183         * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
184         (lisp-mode-variables): Use it.
186         * progmodes/cc-mode.el (c-common-init):
187         * progmodes/cperl-mode.el (cperl-mode): Set a value for
188         add-log-current-defun-function.
190         * progmodes/m4-mode.el (m4-current-defun-name): New function.
191         (m4-mode): Use it.
193         * progmodes/perl-mode.el (perl-current-defun-name): New.
194         (perl-mode): Use it.
196         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Use
197         lisp-current-defun-name.
199         * textmodes/tex-mode.el (tex-current-defun-name): New.
200         (tex-common-initialization): Use it.
202         * textmodes/texinfo.el (texinfo-current-defun-name): New.
203         (texinfo-mode): Use it.
205 2012-12-01  Chong Yidong  <cyd@gnu.org>
207         * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
208         * progmodes/autoconf.el (autoconf-mode):
209         * progmodes/js.el (js-mode):
210         * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
211         (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
212         * progmodes/perl-mode.el (perl-mode):
213         * progmodes/sh-script.el (sh-mode, sh-set-shell):
214         * textmodes/css-mode.el (css-mode):
215         * textmodes/sgml-mode.el (html-mode, sgml-mode)
216         (sgml-tags-invisible, sgml-guess-indent):
217         * textmodes/tex-mode.el (tex-common-initialization)
218         (latex-complete-bibtex-keys, tex-shell, tex-main-file)
219         (doctex-mode, plain-tex-mode, latex-mode):
220         * textmodes/texinfo.el (texinfo-mode): Use setq-local.
222 2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>
224         * vc/vc-hg.el (vc-hg-next-revision):
225         Ensure use of default "tip" output format.  (Bug#6968)
227 2012-12-01  Kim F. Storm  <storm@cua.dk>
229         * startup.el (fancy-startup-tail): Add a clickable link
230         (Bug#2176).
232 2012-12-01  Chong Yidong  <cyd@gnu.org>
234         * startup.el (fancy-startup-tail): Improve the message about
235         auto-save files (Bug#2176).
237         * files.el (recover-session): Improve the descriptive message, and
238         use substitute-command-keys.
240 2012-12-01  Glenn Morris  <rgm@gnu.org>
242         * ido.el (ido-file-internal):
243         Handle other-window, other-frame for dired.  (Bug#13036)
245 2012-11-30  Glenn Morris  <rgm@gnu.org>
247         * icomplete.el (icomplete-separator): Fix :version.
249 2012-11-30  Chong Yidong  <cyd@gnu.org>
251         * shell.el (shell): For C-u M-x shell, use an inactive shell
252         buffer as the default (Bug#1975).
253         (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
254         (shell-mode): Use them to reapply ansi colorization if Shell mode
255         is re-enabled.
257 2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
259         * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
261 2012-11-30  Samuel Bronson  <naesten@gmail.com>
263         * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
264         flag to xargs, for compatibility with BSD xargs (Bug#11703).
266 2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
268         * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
269         by move-to-column (Bug#3234).
271 2012-11-30  Chong Yidong  <cyd@gnu.org>
273         * longlines.el (longlines-wrap-line, longlines-encode-region):
274         Preserve text properties (Bug#1425).
276 2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
278         * vc/vc.el (vc-register): Allow registering a file which is
279         already registered with a different backend (Bug#10589).
281 2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
282             Stefan Monnier  <monnier@iro.umontreal.ca>
284         * icomplete.el: Change separator; add ido-style commands.
285         (icomplete-show-key-bindings): Remove custom var.
286         (icomplete-get-keys): Remove function.
287         (icomplete-forward-completions, icomplete-backward-completions):
288         New commands.
289         (icomplete-minibuffer-map): New var.
290         (icomplete-minibuffer-setup): Use it.
291         (icomplete-exhibit): Don't delay if the list of completions is known.
292         (icomplete-separator): New custom.
293         (icomplete-completions): Use it.
294         * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
295         (minibuffer-force-complete-and-exit): New command.
296         (minibuffer--complete-and-exit): New function extracted from
297         minibuffer-complete-and-exit.
298         (minibuffer-complete-and-exit): Use it.
300         * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
301         error message when the file doesn't exist (bug#12974).
303 2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
305         * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
307 2012-11-29  Glenn Morris  <rgm@gnu.org>
309         * files.el (hack-dir-local-variables): Warn if try to set
310         coding via dir-locals, since it doesn't work.  (Bug#7169)
312         Add desktop support for restoring vc-dir buffers.  (Bug#10606)
313         * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
314         Set buffer-local value of desktop-save-buffer.
315         (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
316         New functions.
317         (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
318         * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
320         * files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
321         (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
322         Doc fix.
323         (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
324         Doc fixes.
326 2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
328         * calc/calc-forms.el (calc-date-notation): Fix regexp
329         used to find time codes.  Fix symbol for seconds.
331 2012-11-27  Glenn Morris  <rgm@gnu.org>
333         * emacs-lisp/derived.el (derived-mode-make-docstring):
334         Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)
336 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
338         * textmodes/table.el (table-insert): Don't use `symbol-name' on
339         lexically scoped variables (bug#13005).
341 2012-11-27  Glenn Morris  <rgm@gnu.org>
343         * vc/vc-hooks.el (vc-mistrust-permissions):
344         Default to t, to avoid data-loss.  (Bug#11490)
346 2012-11-27  Fabián Ezequiel Gallina  <fgallina@cuca>
348         * progmodes/python.el (python-indent-guess-indent-offset):
349         If indentation is guessed make python-indent-offset buffer-local.
351         Fix Imenu regression.
352         * progmodes/python.el (python-nav-beginning-of-defun):
353         Fix forward movement when statement(s) separates point from defun.
354         (python-imenu-prev-index-position): New function.
356 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
358         * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
360         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
361         Don't set buffer-file-type.  Return nil.  (Bug#12989)
363 2012-11-27  Glenn Morris  <rgm@gnu.org>
365         * hippie-exp.el (hippie-expand-try-functions-list):
366         Re-autoload it.  (Bug#12982)
368 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
370         * descr-text.el (describe-char-padded-string):
371         Call internal-char-font only on GUI frames.  (Bug#11964)
373 2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
375         * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
376         and obsoletion message.
378 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
380         * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
381         the constructs to keep outside of the `cl-block' (bug#12977).
383 2012-11-27  Chong Yidong  <cyd@gnu.org>
385         * mouse.el (mouse-drag-line): Even if the line is not draggable,
386         keep reading until we get the up-event anyway, in order to process
387         the up-event for mouse-1-click-follows-link (Bug#12971).
389 2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
391         * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
392         base function is not yet defined (bug#12965).
393         (ad-activate-advised-definition): Use ad-compile-function.
394         (ad-activate): Use cond.
396 2012-11-25  Leo Liu  <sdl.web@gmail.com>
398         * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
399         (Bug#12979)
401 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
403         * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
404         reftex-section-info-function in order to be compatible with
405         Texinfo integration.
407         * textmodes/reftex.el (reftex-section-pre-regexp)
408         (reftex-section-post-regexp, reftex-section-info-function):
409         New variable.
410         (reftex-compile-variables): Use variables reftex-section-pre-regexp,
411         reftex-section-post-regexp, and reftex-section-info-function in order
412         to be compatible with Texinfo integration.
414         * textmodes/reftex-toc.el (reftex-toc-promote-action):
415         use reftex-section-pre-regexp variable in order to be compatible with
416         Texinfo integration.
418 2012-11-25  Chong Yidong  <cyd@gnu.org>
420         * faces.el: Make face-spec-set more analogous to setq.
421         (face-spec-set): Change the third arg to specify whether this
422         function is being called via defface, customize, or a third party.
423         Set the appropriate symbol properties.  Clear the override spec if
424         setting via Custom.  Initialize face if necessary.  (Bug#4988)
425         (face-spec-recalc): Allow theme faces to completely replace the
426         defface spec, in the same way as custom faces (Bug#8454).
428         * cus-face.el (custom-declare-face): Move face initialization to
429         face-spec-set.
430         (custom-theme-set-faces): Don't initialize the face name here, as
431         that is now done in face-spec-set.
433         * cus-edit.el (custom-face-set, custom-face-mark-to-save)
434         (custom-face-reset-saved, custom-face-mark-to-reset-standard):
435         Simplify by using the new arg to face-spec-set.
437         * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
438         reset face-override-spec too, and use custom-declare-face.
440 2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>
442         * term/ns-win.el (ns-initialize-window-system): Move creation of
443         fontsets here (Bug#11964).
445 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
447         * ses.el (ses-rename-cell): Correct bug on mode-line update after
448         cell renaming.
450 2012-11-24  Chong Yidong  <cyd@gnu.org>
452         * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
453         obsolete.
455         * custom.el (custom-theme-set-variables): Use a topological sort
456         for ordering by custom dependencies (Bug#12952).
457         (custom--sort-vars, custom--sort-vars-1): New functions.
459 2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
461         * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
462         lexical-binding (bug#12938).
464 2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
466         * image-mode.el (image-transform-check-size): Use assertions only
467         for images of type imagemagick.
469         Otherwise no error, image-transform-fit-to-{width,height} is
470         silently ignored, as before.  Doc fix.
472 2012-11-24  Chong Yidong  <cyd@gnu.org>
474         * faces.el (color-defined-p): Doc fix (Bug#12853).
476 2012-11-24  Juri Linkov  <juri@jurta.org>
478         * dired.el (dired-mark): Add optional arg `interactive'.
479         Check for `use-region-p' if `interactive' is non-nil.
480         (dired-unmark, dired-flag-file-deletion): Add optional arg
481         `interactive'.  Call `dired-mark' with the arg `interactive'.
482         (Bug#10624)
484         * wdired.el: Revert 2012-10-17 change partly and replace it with
485         Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
486         (wdired-finish-edit): Add marks for new file names to
487         `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
488         after `revert-buffer'.
489         (wdired-do-renames): Remove calls to `dired-remove-file',
490         `dired-add-file', `dired-add-entry'.  (Bug#11795)
492 2012-11-24  Alan Mackenzie  <acm@muc.de>
494         * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
496         Fix bugs in the state cache.  Enhance a debugging mechanism.
497         * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
498         "brace at column zero" strategy for C++.
499         (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
500         (c-parse-state-point): New variable.
501         (c-record-parse-state-state): Record old parse state with
502         `copy-tree'.  Record previous value of point.
503         (c-debug-parse-state-double-cons): New debugging function.
504         (c-debug-parse-state): Call the above new function.
505         (c-toggle-parse-state-debug): Output a confirmatory message.
507         * progmodes/cc-mode.el (c-before-change, c-after-change):
508         Call c-invalidate-state-cache from `c-before-change' instead of
509         `c-after-change'.
511 2012-11-23  Chong Yidong  <cyd@gnu.org>
513         * find-cmd.el (find-constituents): Add executable, ipath,
514         readable, samefile, writable, daystart, regextype (Bug#12856).
516 2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
518         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
520 2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
522         * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
523         definition.  This fixes a bootstrap failure.
524         (calc-gregorian-switch): In menu, put dates before regions.
525         This is easier to follow, lines up better in the menu, and lets us
526         coalesce regions that switch at the same time.  Give country
527         names, not "Vatican", as that's better for non-expert users.
528         Use names that are stable between the date of switch and now, e.g.,
529         Bohemia and Moravia (which existed then and now) and not
530         Czechoslovakia (which didn't exist then and doesn't exist now).
531         What is now the U.S. mostly did not switch at the same time as
532         Britain, so omit the U.S.  Correct spelling of "Britain".
533         Catholic Switzerland was too much of a mess, so omit it.
535 2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
537         * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
538         after the variable is changed.
540 2012-11-21  Daniel Colascione  <dancol@dancol.org>
542         * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
543         in SQL declarations for font-lock.
544         (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
546 2012-11-21  Glenn Morris  <rgm@gnu.org>
548         * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
549         (face-italic-p): Add optional argument "inherit".
551         * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
552         Remove -p suffix from names, for consistency with other set-face-*.
553         (set-face-inverse-video): Fix interactive spec.
554         * play/gamegrid.el (gamegrid-make-mono-tty-face):
555         * textmodes/table.el (table--update-cell-face):
556         Use set-face-inverse-video rather than now obsolete alias.
558 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
560         * simple.el (line-move): Don't call line-move-partial if
561         scroll-conservatively is in effect.  (Bug#12927)
563 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
565         * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
566         Fallback on completion-at-point rather than
567         pcomplete-expand-and-complete, and only if pcomplete actually failed.
568         (eshell-cmpl-initialize): Setup completion-at-point.
570         * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
572         * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
574 2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
576         * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
577         are remote, check out-of-band property for both.
579 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
581         * window.el (switch-to-buffer): Re-add the warning that was lost in the
582         code rewrite.
584 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
586         More minor time fixes.
587         * calendar/time-date.el: Commentary fix.
588         * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
589         too much other code depends on (0 0) time stamps.
590         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
591         Add a couple of FIXME comments.
593         Minor cleanup for times as lists of four integers.
594         * files.el (dir-locals-directory-cache):
595         * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
596         Doc fixes.
597         * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
598         * ps-bdf.el (bdf-file-newer-than-time):
599         Process four-integers time stamps, not two.  Doc fixes.
601 2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
603         * uniquify.el (uniquify-managed): Use defvar-local.
604         (rename-buffer, create-file-buffer): Advise with advice-add.
605         (uniquify-unload-function): Unadvise accordingly.
607         * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
608         (trace-buffer): Don't purecopy.
609         (trace-entry-message, trace-exit-message): Add `context' arg.
610         (trace--timer): New var.
611         (trace-make-advice): Adjust for use in nadvice.
612         Add `context' argument.  Delay `display-buffer' via a timer.
613         (trace-function-internal): Use advice-add.
614         (trace--read-args): New function.
615         (trace-function-foreground, trace-function-background): Use it.
616         (trace-function): Rename to trace-function-foreground and redefine as
617         an alias to that new name.
618         (untrace-function, untrace-all): Adjust to the use of nadvice.
620         * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
622         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
624         * subr.el (called-interactively-p-functions): New var.
625         (internal--called-interactively-p--get-frame): New macro.
626         (called-interactively-p, interactive-p): Rewrite in Lisp.
627         * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
628         (called-interactively-p-functions): Use it.
629         * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
630         (called-interactively-p-functions): Use it.
631         * allout.el (allout-called-interactively-p): Don't assume
632         called-interactively-p is a subr.
634 2012-11-20  Glenn Morris  <rgm@gnu.org>
636         * profiler.el (profiler-report-mode-map): Add a menu.
637         No need to bind `q' because we derive from special-mode.
638         (profiler-report-find-entry): Handle calls from the menu-bar.
640 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
642         * emacs-lisp/byte-run.el (defun-declarations-alist):
643         Allow a compiler-macro to be a lambda expression.
645         * progmodes/python.el: Use cl-lib.  Move var declarations outside of
646         eval-when-compile.
647         (python-syntax-context): Add compiler-macro.
648         (python-font-lock-keywords): Simplify with De Morgan.
650         * vc/diff-mode.el (diff-hunk): Don't make useless timers.
652         * files.el (load-file): Require match in minibuffer selection, as was
653         the case in Emacs-20 before we changed the spec to allow .elc files
654         (bug#12935).
656         * json.el: Don't require cl since we don't use it.
657         * color.el: Don't require cl.
658         (color-complement): `caddr' -> `nth 2'.
660         * calendar/time-date.el (time-to-seconds): De-obsolete.
662 2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
664         * calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
665         year numbers.
666         (math-date-to-julian-dt): Adjust the initial approximation for the
667         year to deal with the new definition of the DATE.
669 2012-11-19  Daniel Colascione  <dancol@dancol.org>
671         * term/w32-win.el (cygwin-convert-path-from-windows):
672         Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
674 2012-11-18  Chong Yidong  <cyd@gnu.org>
676         * filecache.el (file-cache--read-list): New function.
677         (file-cache-add-directory-list, file-cache-add-file-list)
678         (file-cache-delete-file-list, file-cache-delete-directory-list):
679         Use it to read a list of files or directories (Bug#12846).
680         (file-cache-add-file, file-cache-add-directory)
681         (file-cache-delete-file-list, file-cache-delete-file-regexp)
682         (file-cache-delete-directory): Print an message.
684 2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
686         * calc/calc-forms.el (math-date-to-dt): Use integer date when
687         calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
689 2012-11-18  Glenn Morris  <rgm@gnu.org>
691         * image.el (insert-image, insert-sliced-image): Doc fix.
693 2012-11-18  Chong Yidong  <cyd@gnu.org>
695         * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
696         (Bug#12810).
698 2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
700         * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
701         response when the target file is in a subdirectory (Bug#12757).
703 2012-11-18  Chong Yidong  <cyd@gnu.org>
705         * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
707 2012-11-18  Glenn Morris  <rgm@gnu.org>
709         * emacs-lisp/cl-lib.el (face-underline-p):
710         Use set-face-underline rather than the alias set-face-underline-p.
712         * window.el (with-temp-buffer-window): Doc fix.
713         * subr.el (with-output-to-temp-buffer):
714         Add doc xref to with-temp-buffer-window.
716 2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
718         * woman.el (woman-non-underline-faces): Use `set-face-underline'.
719         * calc/calc.el (math-format-date-cache): Declare.
721 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
723         Calc by default uses the Gregorian calendar for all dates (Bug#12633).
724         It also uses January 1, 1 AD as its day number 1.
725         * calc/calc-forms.el (math-julian-date-beginning)
726         (math-julian-date-beginning-int): Implement this.
728 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
730         * descr-text.el (quail-find-key):
731         * dired.el (desktop-file-name):
732         * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
733         * generic-x.el (comint-mode, comint-exec):
734         * image-dired.el (widget-forward):
735         * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
736         (speedbar-change-expand-button-char)
737         (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
738         (speedbar-make-specialized-keymap, speedbar-make-tag-line):
739         * printing.el (easy-menu-add-item, easy-menu-remove-item)
740         (widget-field-action, widget-value-set):
741         * speedbar.el (imenu--make-index-alist):
742         * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
743         (ring-length, ring-insert):
744         * vcursor.el (compare-windows-skip-whitespace):
745         * woman.el (dired-get-filename):
746         Declare functions.
748         * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
750 2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
752         * calc/calc.el (calc-gregorian-switch): New variable.
754         * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
755         (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
756         (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
757         (math-leap-year-p): Add option to distinguish between Julian
758         and Gregorian calendars.
759         (math-day-number): Use `math-day-in-year' to do the computations.
760         (math-absolute-from-dt): Rename from `math-absolute-from-date'.
761         Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
762         to do the computations.
763         (math-date-to-dt): Use `math-date-to-julian-dt' and
764         `math-date-to-gregorian-dt' to do the computations.
765         (calcFunc-weekday, math-format-date-part): Use the new version of
766         the DATE to determine the weekday.
767         (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
768         when necessary.
770 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
772         * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
773         Cygwin; otherwise use 'file:'.  (Bug#12914)
774         (cygwin-convert-path-from-windows): Declare, to avoid
775         byte-compiler warnings.
777 2012-11-17  Andreas Politz  <politza@fh-trier.de>
779         * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
780         (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
781         prefix and negative numeric prefix args (Bug#12795).
783 2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
785         * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
786         Don't signal an error with a score that is too low to add to the
787         list of top scores. (Bug#12779)
789 2012-11-17  Chong Yidong  <cyd@gnu.org>
791         * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
793         * filecache.el (file-cache-add-file): Handle relative file name in
794         the argument (Bug#12694).
796 2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
798         * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
800 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
802         * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
804         * emacs-lisp/cl-lib.el: Set more meaningful version number.
806 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
808         * window.el (enlarge-window, shrink-window): Don't mention return
809         value in doc-string (Bug#12896).
810         (window--display-buffer): Don't resize frames - it won't work
811         with all window managers and defeat pop-up-frame-alist.
812         (display-buffer-alist): In doc-string explain that CONDITION can
813         be a function and which arguments are passed to it (Bug#12854).
814         (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
815         expressions (Bug#12854).
816         (display-buffer): Pass ACTION argument to
817         display-buffer-assq-regexp.
819 2012-11-16  Glenn Morris  <rgm@gnu.org>
821         * window.el (fit-frame-to-buffer-bottom-margin)
822         (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
824         * faces.el (face-underline-p): Use face-attribute-specified-or.
826 2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
828         * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
830 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
832         * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
834 2012-11-16  Glenn Morris  <rgm@gnu.org>
836         * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
837         (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
839         * faces.el (face-underline-p): Doc fix.  Handle :underline being
840         things other than `t' (a string, a list).
841         (face-inverse-video-p): Doc fix.
842         (set-face-underline): Rename it back from set-face-underline-p.
843         Doc fix.  Allow interactive input of values other than t.
844         (read-face-attribute): Apply formatting to :underline,
845         since like :box and :stipple it can take list values.
847         * term.el (ansi-term): Don't let C-x escape-char binding
848         clobber the more standard C-c binding.  (Bug#12842)
850         * subr.el (set-temporary-overlay-map): Doc fix.
852 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
854         * window.el (record-window-buffer)
855         (display-buffer-record-window): When copying the markers to
856         window-point preserve window-point-insertion-type. (Bug#12588)
858 2012-11-16  Glenn Morris  <rgm@gnu.org>
860         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
861         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
862         Use new names for hooks rather than obsolete aliases.
864 2012-11-15  Daniel Colascione  <dancol@dancol.org>
866         * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
867         prefix instead of "file:" so that when FILE-NAME begins with "//",
868         as it does when the target file is on a network share, url-handler
869         isn't confused.
871 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
873         * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
874         a preactivated advice from an old advice.el; they're not compatible!
876 2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
878         * emacs-lisp/nadvice.el (advice--make-interactive-form):
879         Fix string-spec case.
881         * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
883 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
885         * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
886         (advice--buffer-local-function-sample): New var.
887         (advice--set-buffer-local, advice--buffer-local): New functions.
888         (add-function, remove-function): Use them.
890 2012-11-15  Drew Adams  <drew.adams@oracle.com>
892         * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
894 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
896         * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
897         potential binding of print-gensym to t, and prettify (back)quotes in
898         case they appear in args's default values (bug#12884).
900 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
902         * emacs-lisp/nadvice.el: Add around advice for interactive specs.
903         (advice-eval-interactive-spec): New function.
904         (advice--make-interactive-form): Support around advice (bug#12844).
906 2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
908         * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
909         more strict.  Add docstring.
910         (ruby-expression-expansion-re): Extract from
911         `ruby-match-expression-expansion'.
912         (ruby-syntax-propertize-function): After everything else, search
913         for expansions in string literals, mark their insides as
914         whitespace syntax and save match data for font-lock.
915         (ruby-font-lock-keywords): Use the 2nd group from expression
916         expansion matches.
917         (ruby-match-expression-expansion): Use the match data saved to the
918         text property in ruby-syntax-propertize-function.
920 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
922         * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
923         (bug#12879).
925 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
927         * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
928         start/end keyword a bit harder.  Works with different values of N.
929         Add more comments.
930         (ruby-end-of-block): Update accordingly.
932 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
934         * woman.el (woman-file-name): Don't mess with unread-command-events
935         (bug#12861).
937         * emacs-lisp/advice.el: Layer on top of nadvice.el.
938         Remove out of date self-require hack.
939         (ad-do-advised-functions): Use simple `dolist'.
940         (ad-advice-name, ad-advice-protected, ad-advice-enabled)
941         (ad-advice-definition): Redefine as functions.
942         (ad-advice-classes): Move before first use.
943         (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
944         (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
945         (ad--defalias-fset): Remove functions.
946         (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
947         (ad-get-orig-definition): Rewrite.
948         (ad-make-advised-definition-docstring): Change base docstring.
949         (ad-real-orig-definition): Rewrite.
950         (ad-map-arglists): Change name of called function.
951         (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
952         (ad-make-advised-definition): Simplify.
953         (ad-assemble-advised-definition): Tweak for new calling context.
954         (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
955         (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
956         function and call ad-activate if needed.
957         (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
958         (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
959         (ad-compile-function): Compile ad-Advice-*.
960         (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
961         (ad-start-advice, ad-stop-advice): Remove.
963 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
965         * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
966         period before class method names, not after.  Remove handling of
967         one impossible case.  Add comments.
969 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
971         * emacs-lisp/advice.el: Remove support for freezing.
972         (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
973         (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
974         Remove support for `freeze'.
976         * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
977         override the default.
978         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
979         cl--dotimes/dolist.
980         * subr.el (dolist, dotimes, declare): Redefine them normally, even when
981         `cl' is loaded.
983         * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
984         from add-advice.
985         (advice--strip-macro): New function.
986         (advice--defalias-fset): Use them to handle macros.
987         (advice-add): Use them.
988         (advice-member-p): Correctly handle macros.
990 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
992         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
993         Never font-lock the beginning of singleton class as heredoc.
995 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
997         * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
999 2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
1001         * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
1002         39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
1003         thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
1005 2012-11-13  Fabián Ezequiel Gallina  <fgallina@cuca>
1007         Fix end-of-defun misbehavior.
1008         * progmodes/python.el (python-nav-beginning-of-defun): Rename from
1009         python-beginning-of-defun-function.  Handle nested defuns
1010         correctly.
1011         (python-nav-end-of-defun): Rename from
1012         python-end-of-defun-function.  Ensure forward movement.
1013         (python-info-current-defun): Reimplement to work as intended
1014         with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
1015         parent defuns as soon as possible.
1017 2012-11-13  Glenn Morris  <rgm@gnu.org>
1019         * progmodes/flymake.el (flymake-error-bitmap)
1020         (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
1021         (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
1023 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
1025         * progmodes/ruby-mode.el (ruby-move-to-block): When moving
1026         backward, always stop at indentation.  Reverts the change from
1027         2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
1029 2012-11-13  Glenn Morris  <rgm@gnu.org>
1031         * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
1032         Add ibuffer-filter-by-derived-mode.
1034         * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
1035         the same name shadowing each other.
1037         * window.el (with-temp-buffer-window): Doc tweak.
1039         * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
1041         * help.el (temp-buffer-max-height):
1042         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
1043         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1045 2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1047         * emacs-lisp/nadvice.el: New package.
1048         * subr.el (special-form-p): New function.
1049         * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1050         (elp-all-instrumented-list): Remove var.
1051         (elp-not-profilable): Remove elp-wrapper.
1052         (elp-profilable-p): Use autoloadp and special-form-p.
1053         (elp--advice-name): New const.
1054         (elp-instrument-function): Use advice-add.
1055         (elp--instrumented-p): New predicate.
1056         (elp-restore-function): Use advice-remove.
1057         (elp-restore-all, elp-reset-all): Use mapatoms.
1058         (elp-set-master): Use elp--instrumented-p.
1059         (elp--make-wrapper): Rename from elp-wrapper, return a function
1060         suitable for advice-add.  Use cl-inf.
1061         (elp-results): Use mapatoms+elp--instrumented-p.
1062         * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1063         (debug-function-list): Remove var.
1064         (debug): Rename arg, and then let-bind it explicitly inside.
1065         (debugger-setup-buffer): Rename arg.
1066         (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1067         (debugger-frame-number): Adjust to new debug-on-entry setup.
1068         (debug--implement-debug-on-entry): Rename from
1069         implement-debug-on-entry, add argument.
1070         (debugger-special-form-p): Remove, use special-form-p instead.
1071         (debug-on-entry): Use advice-add.
1072         (debug--function-list): New function.
1073         (cancel-debug-on-entry): Use it, along with advice-remove.
1074         (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1075         (debugger-list-functions): Use debug--function-list instead of
1076         debug-function-list.
1077         * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1078         (ad-special-form-p): Remove, use special-form-p instead.
1079         (ad-set-advice-info): Use add-function and remove-function.
1080         (ad--defalias-fset): Adjust accordingly.
1082 2012-11-10  Glenn Morris  <rgm@gnu.org>
1084         * mail/emacsbug.el (report-emacs-bug-tracker-url)
1085         (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1086         (report-emacs-bug-create-existing-bugs-buffer)
1087         (report-emacs-bug-parse-query-results)
1088         (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
1090         * term.el (term-default-fg-color, term-default-bg-color):
1091         Make obsolete, rather than just saying "deprecated" in the doc.
1093         * term.el (term): Rename from `term-face'.
1094         (term-current-face, ansi-term-color-vector)
1095         (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1096         Update all users.
1098 2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
1100         * server.el (server-create-window-system-frame): Handle Nextstep
1101         specially (Bug#12780).
1103 2012-11-10  Glenn Morris  <rgm@gnu.org>
1105         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1106         Unautoload, and make obsolete.  (Bug#7449)
1108 2012-11-10  Chong Yidong  <cyd@gnu.org>
1110         * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1111         rename from diff-remove-trailing-whitespace (Bug#12831).
1113 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1115         * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1116         miscompilation of trace.el.
1118 2012-11-10  Glenn Morris  <rgm@gnu.org>
1120         * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1122 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1124         * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1125         (bug#12812).
1127 2012-11-10  Chong Yidong  <cyd@gnu.org>
1129         * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1130         a defcustom with an appropriate :set function.
1131         (minibuffer-default--in-prompt-regexps): New function.
1133 2012-11-10  Glenn Morris  <rgm@gnu.org>
1135         * emacs-lisp/cl.el (define-setf-expander, defsetf)
1136         (define-modify-macro): Doc fixes.
1138         * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1139         (gv-define-simple-setter): Update doc of `fix-return'.
1141 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1143         * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1144         twice when `fix-return' is set (bug#12813).
1146         * emacs-lisp/cl.el (defsetf): Pass the third arg to
1147         gv-define-simple-setter (bug#12812).
1149         * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1150         (bug#12756).
1152 2012-11-10  Glenn Morris  <rgm@gnu.org>
1154         * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1156         * emacs-lisp/cl-extra.el (cl-prettyexpand):
1157         * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1158         * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1159         (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1161         * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1163 2012-11-10  Leo Liu  <sdl.web@gmail.com>
1165         * ido.el (ido-set-matches-1): Improve flex matching performance by
1166         removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
1168 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1170         * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1171         (ad--defalias-fset): New function.
1172         (ad-safe-fset): Remove.
1173         (ad-make-freeze-definition): Use cl-letf*.
1175 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1177         * subr.el (dolist): Don't bind VAR in RESULT.
1179         * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
1180         (fset, documentation): Don't save real def since we don't advise.
1181         (ad-do-advised-functions): Remove problematic `result-form'.
1182         (ad-safe-fset): `ad-real-fset' => `fset'.
1183         (ad-read-advised-function): Don't assume that ad-do-advised-functions
1184         uses CL's dolist internally.
1185         (ad-arglist): Remove unused arg `name'.
1186         (ad-docstring, ad-make-advised-docstring):
1187         `ad-real-documentation' => `documentation'.
1188         (warning-suppress-types): Declare.
1189         (ad-set-arguments): Simple CSE.
1190         (ad-recover-normality): Sanity check.
1192         * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1193         (funcall '(lambda ..) ..) into ((lambda ..) ..).
1195 2012-11-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1197         * ses.el: symbol to coordinate mapping is made by symbol property
1198         `ses-cell'.  This means that the same mapping is done for all SES
1199         sheets.  That is good enough for cells with standard A1 names, but
1200         not for named cell.  So a hash map is added for the latter.
1201         (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1202         (ses-sym-rowcol): Use hashmap for named cell.
1203         (ses-is-cell-sym-p): New defun.
1204         (ses-decode-cell-symbol): New defun.
1205         (ses-create-cell-variable): Add cell to hashmap when name is not
1206         A1-like.
1207         (ses-rename-cell): Check that cell new name is not already in
1208         spreadsheet with the use of ses-is-cell-sym-p
1209         (ses-rename-cell): Use hash map for named cells, but accept also
1210         renaming back to A1-like.
1212 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1214         * emacs-lisp/advice.el: Use new dynamic docstrings.
1215         (ad-make-advised-definition-docstring, ad-advised-definition-p):
1216         Use dynamic-docstring-function instead of ad-advice-info.
1217         (ad--make-advised-docstring): New function extracted from
1218         ad-make-advised-docstring.
1219         (ad-make-advised-docstring): Use it.
1220         * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1221         from sql-help.
1222         (sql-help): Use it with dynamic-docstring-function.
1224         * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1226 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1228         * files.el (hack-one-local-variable--obsolete): New function.
1229         (hack-one-local-variable): Use it for obsolete settings.
1231         * subr.el (locate-user-emacs-file): If both old and new name exist, use
1232         the new name.
1234         * progmodes/js.el (js--filling-paragraph): New var.
1235         (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1236         (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1237         less sneaky.
1239 2012-11-08  Julien Danjou  <julien@danjou.info>
1241         * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1242         `auto-mode-alist' (Bug#12835).
1244 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1246         * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1247         (perl--prettify-symbols-alist): New const.
1248         (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1249         New functions.
1250         (perl-font-lock-keywords-2): Use them.
1251         (perl-electric-noindent-p): New function.
1252         (perl-mode): Use it to set up electric-indent-mode.
1253         (perl-electric-terminator, perl-indent-command): Mark obsolete.
1254         (perl-mode-map): Remove bindings for them.
1255         (perl-imenu-generic-expression, perl-outline-level):
1256         Match functions&packages in column>0.
1258         * env.el (env--substitute-vars-regexp): New const.
1259         (substitute-env-vars): Use it.  Add `only-defined' arg.
1260         * net/tramp.el (tramp-replace-environment-variables): Use it.
1262         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1263         Byte-compile *before* eval in eval-and-compile.
1264         (byte-compile-log-warning): Remove redundant inhibit-read-only.
1265         (byte-compile-file-form-autoload): Don't hide actual definition.
1266         (byte-compile-maybe-guarded): Accept `functionp' as well.
1268         * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1270 2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
1272         * notifications.el (notifications-get-server-information-method):
1273         New defconst.
1274         (notifications-get-capabilities): Fix docstring.
1275         (notifications-get-server-information): New defun.
1277 2012-11-06  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1279         * textmodes/ispell.el (ispell-region): Standard re-indent for better
1280         readability.
1282         * textmodes/ispell.el: Experimental support for support debugging.
1283         (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1284         buffer for ispell.
1285         (ispell-print-if-debug): New function to print stuff to
1286         `ispell-debug-buffer' if debugging is enabled.
1287         (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1288         show some debugging info.
1289         (ispell-buffer-with-debug): New function that creates a debugging
1290         buffer and calls `ispell-buffer' with debugging enabled.
1292         * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1293         comment in autoconf mode. (Bug#12768)
1295 2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
1297         * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1298         frame-first-window, frame-root-window, frame-selected-window,
1299         minibuffer-selected-window, minibuffer-window,
1300         window-absolute-pixel-edges, window-at, window-body-height,
1301         window-body-width, window-display-table, window-combination-limit,
1302         window-frame, window-fringes, window-inside-absolute-pixel-edges,
1303         window-inside-edges, window-inside-pixel-edges, window-left-child,
1304         window-left-column, window-margins, window-next-buffers,
1305         window-next-sibling, window-new-normal, window-new-total,
1306         window-normal-size, window-parameter, window-parameters, window-parent,
1307         window-pixel-edges, window-point, window-prev-buffers,
1308         window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1309         window-start, window-text-height, window-top-child, window-top-line,
1310         window-total-height, window-total-width and window-use-time to the list
1311         of functions without side-effects.
1312         (toplevel): Add window-valid-p to the list of error-free functions
1313         without side-effects.
1315 2012-11-05  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1317         * textmodes/ispell.el (ispell-program-name):
1318         Update spellchecker parameters when customized.
1320 2012-11-04  Glenn Morris  <rgm@gnu.org>
1322         * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
1324 2012-11-04  Chong Yidong  <cyd@gnu.org>
1326         * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1327         same-window-* variables.
1329 2012-11-04  Juri Linkov  <juri@jurta.org>
1331         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1332         (isearch-describe-key, isearch-describe-mode): Use a display
1333         action instead of binding same-window-* variables (Bug#10040).
1335 2012-11-03  Glenn Morris  <rgm@gnu.org>
1337         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1338         Rename handler properties back from cl-- to cl-.  (Bug#12788)
1340         * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1342 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
1344         * term/pc-win.el: Don't load term/internal from here.
1346         * loadup.el: Load term/internal from here.
1348 2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>
1350         * progmodes/python.el (inferior-python-mode): Fix hang in
1351         jit-lock (Bug#12645).
1353 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
1355         * window.el (switch-to-visible-buffer)
1356         (switch-to-buffer-preserve-window-point): Fix doc-strings.
1358 2012-11-03  Glenn Morris  <rgm@gnu.org>
1360         * emacs-lisp/cl-lib.el (cl--random-time):
1361         Rename from cl-random-time.  (Bug#12773)
1362         (cl--gensym-counter, cl--random-state): Update callers.
1363         * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1365 2012-11-03  Chong Yidong  <cyd@gnu.org>
1367         * cus-start.el: Make cursor-type customizable (Bug#11633).
1369 2012-11-02  Glenn Morris  <rgm@gnu.org>
1371         * filecache.el: No need to load find-lisp when compiling.
1372         (find-lisp-find-files): Autoload it.
1373         (file-cache-add-directory-recursively): Don't require find-lisp.
1375         * image.el (image-type-from-file-name): Trivial simplification.
1377         * emacs-lisp/bytecomp.el (byte-compile-eval):
1378         Decouple "noruntime" and "cl-functions" warnings.
1380 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
1382         * play/gomoku.el (gomoku-display-statistics): Update mode line
1383         only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1385 2012-10-31  Martin Rudalics  <rudalics@gmx.at>
1387         * window.el (quit-restore-window): If the window has been
1388         created on an existing frame and ended up as the sole window on
1389         that frame, do not delete it (Bug#12764).
1391 2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1393         * progmodes/sh-script.el (sh--inside-noncommand-expression):
1394         Rename from sh--inside-arithmetic-expression, handle more cases
1395         (bug#11263).
1397         * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1398         (sh-font-lock-open-heredoc): Use it (bug#12770).
1400 2012-10-30  Glenn Morris  <rgm@gnu.org>
1402         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
1404         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
1406 2012-10-29  Chong Yidong  <cyd@gnu.org>
1408         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1409         function key is stored in a keyboard macro (Bug#4894).
1411         * thingatpt.el (number-at-point): Apply a thing-at-point property.
1413 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1415         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1416         header comments".
1417         (diff-unified->context, diff-context->unified)
1418         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1420         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1422         * files.el (find-alternate-file): Only ask one question (bug#12487).
1424 2012-10-29  Chong Yidong  <cyd@gnu.org>
1426         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1427         Suggested by Dan Nicolaescu (Bug#6326).
1429         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1431         * startup.el (fancy-about-screen): Don't message (Bug#12680).
1433         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1435         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1437         * face-remap.el (face-remap-add-relative): Handle the case where a
1438         face-remapping-alist entry is a cons cell (Bug#12762).
1440 2012-10-29  Kevin Ryde  <user42@zip.com.au>
1442         * woman.el (woman-parse-numeric-value): Handle picas correctly
1443         (Bug#12639).
1445 2012-10-29  Glenn Morris  <rgm@gnu.org>
1447         * emacs-lisp/cl.el (defsetf): Doc fix.
1449 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1451         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1452         syntax to the matching opener, if any (bug#12547).
1453         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1454         matching open as a "case-(".
1455         (sh-smie-rc-grammar): Add a corresponding rule for it.
1457 2012-10-28  Daniel Hackney  <dan@haxney.org>
1459         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1460         "PKGNAME-autoloads.el" in case we created it.
1462 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1464         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1465         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1466         (completion--twq-all): Disable too-strict assertions.
1468         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1470 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
1472         * profiler.el (profiler-report-make-entry-part): Fix help-echo
1473         text to match the real keybindings.
1475 2012-10-27  Juri Linkov  <juri@jurta.org>
1477         * wdired.el (wdired-keep-marker-rename): New defcustom.
1478         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1479         (Bug#11795)
1481         * dired.el (dired-keep-marker-rename): Add reference to
1482         `wdired-keep-marker-rename' in the docstring.
1483         Add default character value ?R to display initially in
1484         Customization UI instead of ?@.
1486 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
1488         * window.el (display-buffer): In doc-string describe
1489         window-height and window-width alist entries.
1491         * time.el (display-time-world): Restore fit-window-to-buffer
1492         behavior.
1494 2012-10-27  Chong Yidong  <cyd@gnu.org>
1496         * subr.el (insert-buffer-substring-as-yank): Doc fix.
1498 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
1500         * minibuffer.el (completion-category-overrides): New completion
1501         category `bookmark' (bug#11131).
1503 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1505         * emacs-lisp/advice.el (ad-assemble-advised-definition):
1506         Silence bogus compiler warnings for ad-do-it.
1508         * bookmark.el (bookmark-completing-read): Set the completion category
1509         to `bookmark' (bug#11131).
1511 2012-10-26  Bastien  <bzg@altern.org>
1512             Stefan Monnier  <monnier@iro.umontreal.ca>
1514         * face-remap.el: Use lexical-binding.
1515         (text-scale-adjust): Improve docstring.  Use itself for the temporary
1516         overlay-map bindings, so as to repeat the "Use..." message each time.
1518 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1520         * emacs-lisp/macroexp.el (macroexp--expand-all):
1521         Obey byte-compile-warning-enabled-p (bug#12486).
1523         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1524         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1526 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
1528         * mouse.el (mouse-drag-line): Move last form into preceding when
1529         clause (Bug#12731).
1531         * help.el (resize-temp-buffer-window): Fix doc-string.
1533 2012-10-25  David Engster  <deng@randomsample.de>
1535         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1536         Remove.  This feature is already integrated in imenu.
1538         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1539         always loaded.  Require `speedbar' unconditionally.
1541 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1543         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1545         * minibuffer.el (minibuffer-force-complete): Fix thinko.
1547         * net/ldap.el (ldap-search-internal): The official ldif format starts
1548         with a "version: 1" header (bug#12724).
1550         * emacs-lisp/package.el (package-installed-p): Warn if not ready
1551         (bug#12721).
1553 2012-10-25  Glenn Morris  <rgm@gnu.org>
1555         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1557 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1559         * minibuffer.el (minibuffer-force-complete): Use one more marker
1560         for the temporary-overlay-map command (bug#12619).
1562 2012-10-24  Chong Yidong  <cyd@gnu.org>
1564         * time.el (display-time-world-mode): Derive from special-mode.
1565         (display-time-world): Use display-buffer (Bug#12708).
1566         (display-time-world-mode-map): Variable deleted.
1567         (display-time-world-display): Wrap the final delete-char inside
1568         inhibit-read-only.
1570 2012-10-24  Chong Yidong  <cyd@gnu.org>
1572         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1573         Doc fix.
1575         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1577 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1579         * minibuffer.el (completion--all-sorted-completions-location): New var.
1580         (completion--cache-all-sorted-completions)
1581         (completion--flush-all-sorted-completions): Use it.
1582         (completion-in-region, completion-in-region--postch)
1583         (completion-at-point, completion-help-at-point): Use markers in
1584         completion-in-region--data (bug#12619).
1586 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1588         * progmodes/compile.el (compilation-start): Try to handle common
1589         quoting of `cd' argument (bug#12640).
1591         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1592         (bug#12671).
1594 2012-10-23  Glenn Morris  <rgm@gnu.org>
1596         * progmodes/gud.el (gud-menu-map):
1597         Check gdb-active-process is bound.  (Bug#12358)
1599 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1601         * repeat.el (repeat): Set real-this-command (bug#12232).
1603         * htmlfontify.el (hfy-post-html-hook):
1604         * filesets.el (filesets-cache-fill-content-hook):
1605         * arc-mode.el (archive-extract-hook):
1606         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1607         * net/rcirc.el (rcirc-sentinel-functions)
1608         (rcirc-receive-message-functions, rcirc-activity-functions)
1609         (rcirc-print-functions):
1610         * net/dbus.el (dbus-event-error-functions):
1611         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1612         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1613         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1614         * term/sun.el (sun-raw-prefix-hooks):
1615         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1617 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
1619         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1620         Set `tramp-chunksize' to 1.  This improves the performance.
1621         (tramp-smb-wait-for-output): Add timeout to
1622         `tramp-accept-process-output' calls.
1624 2012-10-23  Chong Yidong  <cyd@gnu.org>
1626         * faces.el (font-list-limit): Define as an obsolete variable.
1628         * startup.el (command-line):
1629         * cus-start.el: Don't refer to font-list-limit.
1631         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1633 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1635         * subr.el (internal-temp-output-buffer-show): Rename from
1636         temp-output-buffer-show, since previously compiled files expect this name.
1638 2012-10-23  Glenn Morris  <rgm@gnu.org>
1640         * image.el (image-type-from-file-name): If multiple types match,
1641         return the first one that is supported.  (Bug#9045)
1643 2012-10-22  Glenn Morris  <rgm@gnu.org>
1645         * image.el (imagemagick-enabled-types): Doc fix.
1647 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
1649         * progmodes/which-func.el (which-func-current): The hash-table may have
1650         an explicit nil (bug#12338).
1652 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1654         * electric.el (electric-pair-delete-selection-self-insert-function):
1655         Rename to electric-pair-will-use-region, return a boolean.
1656         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
1658         * delsel.el (delete-selection-helper): Use a function instead of a hook.
1659         (delete-selection-pre-hook): Use use-region-p.
1660         (delete-selection-self-insert-function): Remove.
1661         (self-insert-command): Obey self-insert-uses-region-functions.
1662         (self-insert-iso): Revert to previous setting, since we don't actually
1663         know what that command does.
1664         (delete-selection-self-insert-hooks): Remove.
1666 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
1668         * delsel.el (delete-selection-helper): New function, extracted from
1669         delete-selection-pre-hook.
1670         (delete-selection-pre-hook): Use it.
1671         (delete-selection-self-insert-function): New function.
1672         (delete-selection-self-insert-hooks): New hook.
1673         (self-insert-command, self-insert-iso): Use it.
1674         * electric.el (electric-pair-syntax): New function, extracted from
1675         electric-pair-post-self-insert-function.
1676         (electric-pair-post-self-insert-function): Use it.
1677         (electric-pair-delete-selection-self-insert-function): New function.
1678         (electric-pair-mode): Require delsel and setup
1679         delete-selection-self-insert-hooks (bug#11520).
1681 2012-10-20  Chong Yidong  <cyd@gnu.org>
1683         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1684         no changes to show (Bug#12586).
1686         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1687         list explicitly (Bug#12571).
1689 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
1691         * progmodes/flymake.el (flymake-create-temp-inplace):
1692         Use file-truename.
1694 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
1696         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
1698 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
1700         * calc/calc-units.el (math-extract-units): Properly extract powers
1701         of units.
1703 2012-10-20  Daniel Colascione  <dancol@dancol.org>
1705         * frame.el (make-frame): Set x-display-name as we used to in order
1706         to unbreak creating an X11 frame from an Emacs daemon started
1707         without a display.
1709 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1711         * minibuffer.el (minibuffer-force-complete): Make the next completion use
1712         the same completion-field (bug#12221).
1714 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
1716         * emacs-lisp/debug.el (debug): Record height of debugger window
1717         also when debugger will be back (Bug#8789).
1719 2012-10-18  Chong Yidong  <cyd@gnu.org>
1721         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1722         Convert to defcustom.
1723         (gdb-get-source-file): Don't bind pop-up-windows.
1725         * progmodes/gud.el (gud-display-line): Don't specially re-use
1726         other frames for the gdb-mi case (Bug#12648).
1728 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1730         * emacs-lisp/advice.el: Clean up commentary a bit.
1731         (ad-do-advised-functions, ad-with-originals): Use `declare'.
1732         (byte-code-function-p): Never redefine.
1734         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1736 2012-10-18  Glenn Morris  <rgm@gnu.org>
1738         * dired.el (dired-sort-toggle): Some ls implementations only allow
1739         a single option string.  (Bug#12666)
1741         * minibuffer.el (completion-cycle-threshold): Doc fix.
1743 2012-10-17  Kenichi Handa  <handa@gnu.org>
1745         * international/mule.el (set-keyboard-coding-system):
1746         Recover input meta mode when the new coding system doesn not use 8-bit.
1747         Supply TERMINAL arg to set-input-meta-mode.
1749 2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
1751         * wdired.el (wdired-old-marks): New variable.
1752         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1753         (wdired-do-renames): Move point with renamed file and don't lose
1754         mark status (Bug#11795).
1756 2012-10-16  Juri Linkov  <juri@jurta.org>
1758         * replace.el (query-replace-help): Mention multi-buffer replacement
1759         keys in the Help message.  (Bug#12655)
1761 2012-10-15  Chong Yidong  <cyd@gnu.org>
1763         * emacs-lisp/byte-run.el (defsubst): Doc fix.
1765 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
1767         * window.el (display-buffer): Doc fix.
1769         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1770         Adjust the msft regexp to the output of Studio 2010, and move msft
1771         before edg-1.  See the discussion on emacs-devel,
1772         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1773         for the details.
1775 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1777         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1778         (oset): Move uses of object-class-fast macro after its definition.
1780         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1782 2012-10-13  Chong Yidong  <cyd@gnu.org>
1784         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1785         enabled, re-enable it (Bug#11963).
1787 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
1789         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1790         non-nil, restore window configuration (Bug#12623).
1792 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1794         * help-fns.el (describe-variable, describe-function-1):
1795         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1797         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1799 2012-10-12  Glenn Morris  <rgm@gnu.org>
1801         * mail/rmailsum.el (rmail-header-summary):
1802         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
1804 2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>
1806         * progmodes/python.el (python-mode-map):
1807         Replace subtitute-key-definition with proper command remapping.
1808         (python-nav--up-list): Fix behavior for blocks on the same level.
1810 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1812         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1814         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1815         changes to the format of load-history.
1817         * international/mule-cmds.el (read-char-by-name): Move let-binding of
1818         completion-ignore-case in case that var is buffer-local (bug#12615).
1820 2012-10-11  Kenichi Handa  <handa@gnu.org>
1822         * international/eucjp-ms.el: Re-generated.
1824 2012-10-10  Kenichi Handa  <handa@gnu.org>
1826         * select.el (xselect--encode-string): If a coding is specified for
1827         selection, and that is compatible with COMPOUND_TEXT, use it.
1829 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
1831         * window.el (switch-to-buffer-preserve-window-point): New option.
1832         (switch-to-buffer):
1833         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1835 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1837         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1838         Don't document nil as a useful value (bug#12583).
1840 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
1842         * net/tramp.el (tramp-debug-message):
1843         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1844         (with-tramp-progress-reporter): Rename from
1845         `tramp-with-progress-reporter'.
1846         (with-tramp-file-property, with-tramp-connection-property):
1847         Move from tramp-cache.el, rename from `with-file-property' and
1848         `with-connection-property', respectively.
1850         * net/tramp-cache.el: Remove `with-file-property' and
1851         `with-connection-property'.
1853         * net/tramp.el:
1854         * net/tramp-gvfs.el:
1855         * net/tramp-sh.el:
1856         * net/tramp-smb.el: Adapt callees.
1858         * net/trampver.el: Update release number.
1860 2012-10-09  Glenn Morris  <rgm@gnu.org>
1862         * w32-fns.el (set-message-beep):
1863         * term/w32-win.el (set-message-beep): Update declarations.
1865 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1867         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1868         (mode-line-widen, mode-line-input-method-map)
1869         (mode-line-coding-system-map, mode-line-remote)
1870         (mode-line-unbury-buffer, mode-line-bury-buffer)
1871         (mode-line-next-buffer, mode-line-previous-buffer):
1872         Replace save-selected-window+select-window => with-selected-window.
1874         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1875         * progmodes/cc-vars.el (bq-process): Remove, unused.
1877         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1879 2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>
1881         Implemented `backward-up-list'-like navigation.
1882         * progmodes/python.el (python-nav-up-list)
1883         (python-nav-backward-up-list): New functions.
1884         (python-mode-map): Define substitute key for backward-up-list to
1885         python-nav-backward-up-list.
1887 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
1889         * progmodes/python.el (python-fill-paragraph): Rename from
1890         python-fill-paragraph-function.  Fixed fill-paragraph for
1891         decorators (Bug#12605).
1893 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
1895         * progmodes/python.el (python-shell-output-filter): Handle extra
1896         carriage return in OSX (Bug#12409).
1898 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
1900         Fix shell handling of unbalanced quotes and parens in output.
1901         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1902         (python-syntax-propertize-function): Use it.
1903         (python-shell-output-syntax-table): New var.
1904         (inferior-python-mode): Prevent unbalanced parens/quotes from
1905         previous output mess with current input context.
1907 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
1909         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1910         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1912 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
1914         * ffap.el (ffap-replace-file-component): Support Tramp file name
1915         syntax, not only ange-ftp's one.
1917 2012-10-08  Glenn Morris  <rgm@gnu.org>
1919         * cus-start.el (message-log-max): Set :version.
1921         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1923 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
1925         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1926         the minibuffer window (Bug#10851).
1928 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
1930         Enhancements on forward-sexp movement.
1931         * progmodes/python.el (python-nav-beginning-of-statement)
1932         (python-nav-end-of-statement): Return point-marker.
1933         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1934         (python-info-current-symbol)
1935         (python-info-statement-starts-block-p): Rename from
1936         python-info-beginning-of-block-p.
1937         (python-info-statement-ends-block-p): Rename from
1938         python-info-end-of-block-p.
1939         (python-info-beginning-of-statement-p)
1940         (python-info-end-of-statement-p)
1941         (python-info-beginning-of-block-p, python-info-end-of-block-p):
1942         New functions.
1944 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1946         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1947         frame-selected-windows.
1949 2012-10-08  Daniel Colascione  <dancol@dancol.org>
1951         * battery.el (battery-status-function): Check for
1952         w32-battery-status itself, not system-time windows-nt.
1954         * frame.el: Require cl-lib.
1955         (display-format-alist): New variable mapping frame types to
1956         functions that initialize them.
1957         (window-system-for-display): New function: interprets
1958         display-format-alist.
1959         (make-frame-on-display): Remove existing display-selection logic
1960         and just forward to make-frame, which will now DTRT.
1961         (make-frame): Restructure to use window-system-for-display to
1962         figure out how to create a frame on a given display.
1963         (display-mouse-p): Look for frame-type w32, not a particular
1964         system-type.
1966         * loadup.el: Load w32 lisp code when we have the w32 feature.
1968         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1969         system-type windows-nt.
1971         * server.el (server-create-window-system-frame): Look for window
1972         type.
1973         (server-proces-filter): Only force a window system when windows-nt
1974         _and_ w32.  Explain why.
1976         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1977         of window systems we configure for the mode.
1979         * startup.el (command-line): Mark window system is initialized
1980         after we've done it.
1982         * common-win.el (x-select-text): Look for w32, not windows-nt.
1984         * ns-win.el: Require cl-lib.  Add ourselves to
1985         display-format-alist.
1986         (ns-initialize-window-system): Assert we're not initialized twice.
1988         * w32-win.el: Enable lexical binding; require cl-lib; add
1989         ourselves to display-format-alist.
1990         (w32-handle-dropped-file): Convert incoming dropped files from
1991         Windows paths to Cygwin ones before passing them on to the rest of
1992         Emacs.
1993         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
1994         (w32-initialize-window-system): Assert we're not initialized twice.
1996         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1997         (x-initialize-window-system): Assert we're not initialized twice.
1999         * w32-common-fns.el: New File.
2000         (w32-version, w32-using-nt, w32-get-clipboard-data)
2001         (w32-set-clipboard-data, x-set-selection, x-get-selection)
2002         (w32-charset-info-alist, x-last-selected, text)
2003         (x-get-selection-value, x-selection-value): Move here.
2005         * w32-fns.el: Require w32-common-fns.
2006         (w32-version, w32-using-nt, w32-get-clipboard-data)
2007         (w32-set-clipboard-data, x-set-selection, x-get-selection)
2008         (w32-charset-info-alist, x-last-selected, text)
2009         (x-get-selection-value, x-selection-value): Move to
2010         w32-common-fns.
2012         * w32-vars.el:
2013         (w32-allow-system-shell, w32-system-shells): Define only in
2014         non-cygwin case.
2016 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2018         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
2019         (read-passwd): Remove a few more potential sources of leaks.
2021 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
2023         * progmodes/python.el (inferior-python-mode)
2024         (python-shell-make-comint): Fix initialization of local
2025         variables copied from parent buffer.
2027 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
2029         * term/ns-win.el (ns-read-file-name): Update declaration to match
2030         nsfns.m.
2031         (ns-respond-to-change-font): Change fontsize separatly so we are sure
2032         it is set when font is acted upon.
2034 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
2036         Enhancements to indentation.
2037         * progmodes/python.el (python-indent-context): Give priority to
2038         inside-string context.  Make comments indentation markers.
2039         (python-indent-region): Do not mess with strings, unless it's the
2040         enclosing set of quotes.
2042 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2044         * window.el (internal--before-save-selected-window)
2045         (internal--after-save-selected-window): New functions extracted from
2046         save-selected-window.  Make sure we return the `alist' we construct.
2047         (save-selected-window): Use them.
2049         * textmodes/tex-mode.el (tex-recenter-output-buffer):
2050         Use with-selected-window.
2052         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2053         forms that define macros (bug#12593).
2055 2012-10-07  Kenichi Handa  <handa@gnu.org>
2057         * international/mule-conf.el (compound-text-with-extensions):
2058         Add :mime-charset property as x-ctext.
2060 2012-10-07  Stefan Merten  <smerten@oekonux.de>
2062         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2063         (rst-indent-literal-normal, rst-indent-literal-minimized)
2064         (rst-indent-comment): Correct :version tag.
2065         (rst-official-cvs-rev): Correct version string.
2067 2012-10-07  Glenn Morris  <rgm@gnu.org>
2069         * mail/rmailmm.el (rmail-mime-process-multipart):
2070         Do not confuse a multipart message with an epilogue
2071         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
2073 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
2075         Fix shell output retrieval and comint-prompt-regexp init.
2076         * progmodes/python.el (inferior-python-mode):
2077         (python-shell-make-comint): Fix initialization of
2078         comint-prompt-regexp from copied file local variables.
2079         (python-shell-fetched-lines): Remove var.
2080         (python-shell-output-filter-in-progress): Rename from
2081         python-shell-fetch-lines-in-progress.
2082         (python-shell-output-filter-buffer): Rename from
2083         python-shell-fetch-lines-string.
2084         (python-shell-fetch-lines-filter): Delete function.
2085         (python-shell-output-filter): New function.
2086         (python-shell-send-string-no-output): Use them.
2088 2012-10-07  Glenn Morris  <rgm@gnu.org>
2090         * hi-lock.el (hi-lock-process-phrase):
2091         Try to make it less fragile.  (Bug#7161)
2093         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2095 2012-10-06  Glenn Morris  <rgm@gnu.org>
2097         * ehelp.el (electric-help-mode): Use help-mode rather than
2098         non-existent mode `help'.
2099         (electric-help-map): Use button-buffer-map.  (Bug#10917)
2101         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2102         (reftex-create-bibtex-footer): Fix custom types.
2104         * progmodes/sh-script.el (sh-indent-after-continuation):
2105         Add explicit :group.
2107         * textmodes/rst.el (rst-preferred-decorations)
2108         (rst-shift-basic-offset): Clarify obsolescence versions.
2110         * profiler.el (profiler): Add missing group :version tag.
2111         * avoid.el (mouse-avoidance-banish-position):
2112         * proced.el (proced-renice-command):
2113         * calc/calc.el (calc-ensure-consistent-units):
2114         * calendar/icalendar.el (icalendar-import-format-uid):
2115         * net/tramp.el (tramp-save-ad-hoc-proxies):
2116         * progmodes/bug-reference.el (bug-reference-bug-regexp):
2117         * progmodes/flymake.el (flymake-error-bitmap)
2118         (flymake-warning-bitmap, flymake-fringe-indicator-position):
2119         * progmodes/sh-script.el (sh-indent-after-continuation):
2120         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2121         (verilog-before-save-font-hook, verilog-after-save-font-hook):
2122         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2123         (vhdl-array-index-record-field-in-sensitivity-list)
2124         (vhdl-indent-comment-like-next-code-line):
2125         * textmodes/reftex-vars.el (reftex-ref-style-alist)
2126         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2127         (reftex-cite-key-separator, reftex-create-bibtex-header)
2128         (reftex-create-bibtex-footer):
2129         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2130         (rst-indent-literal-normal, rst-indent-literal-minimized)
2131         (rst-indent-comment): Add missing custom :version tags.
2133         * calendar/timeclock.el (timeclock-modeline-display):
2134         Add missing obsolete alias for renamed user option.
2136         * strokes.el (strokes-modeline-string):
2137         * emulation/crisp.el (crisp-mode-modeline-string):
2138         * eshell/esh-mode.el (eshell-status-in-modeline):
2139         Aliases to defcustoms must come before the defcustom.
2141         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2142         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2143         (cal-tex-cursor-week-monday): Doc fixes.
2144         (cal-tex-cursor-week2-summary): Doc fix.
2145         Rename from cal-tex-cursor-week-at-a-glance.
2147         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2148         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
2150         * calendar/calendar.el (calendar-mode-map):
2151         Add cal-tex-cursor-week2-summary.
2153 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2155         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2157         * subr.el (read-passwd-map): New var.
2158         (read-passwd): Use `read-string' again.
2159         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2161 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
2163         * register.el (append-to-register, prepend-to-register):
2164         Deactivate mark, as does `copy-to-register' (bug#12389).
2166 2012-10-06  Chong Yidong  <cyd@gnu.org>
2168         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2170 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
2172         * international/characters.el: Fix simple mistake ((car chars) ->
2173         elt), delete duplicated code.
2175 2012-10-06  Glenn Morris  <rgm@gnu.org>
2177         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
2179 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
2181         * color.el (color-hsl-to-rgb): Fix incorrect results for
2182         small and large hue values.  (Bug#12559)
2184 2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>
2186         Enhancements to docstring formatting when filling paragraphs.
2187         * progmodes/python.el (python-fill-docstring-style): Rename from
2188         python-fill-string-style.  Added new style.
2189         (python-fill-string): Use new style.  Better checks for
2190         docstrings.
2192 2012-10-05  Glenn Morris  <rgm@gnu.org>
2194         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2196         * color.el (color-name-to-rgb, color-rgb-to-hex)
2197         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2198         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2199         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2200         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2202         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
2204 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
2206         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2207         to get the correct size across symlinks.
2209         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2211 2012-10-04  Juri Linkov  <juri@jurta.org>
2213         * replace.el (query-replace-interactive): Declare obsolete.
2214         (query-replace-read-from): Add the last incremental search string
2215         to the list of default values accessible via M-n.
2216         (map-query-replace-regexp): Use `read-regexp'.
2217         (query-replace, query-replace-regexp, query-replace-regexp-eval)
2218         (map-query-replace-regexp, replace-string, replace-regexp):
2219         Fix docstrings to replace mentions of `query-replace-interactive'
2220         with alternatives.  (Bug#12526)
2222 2012-10-04  Juri Linkov  <juri@jurta.org>
2224         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
2225         (dired-pop-to-buffer): Declare obsolete.
2226         (dired-mark-pop-up): Doc fix.
2228 2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>
2230         Allow user to set docstring style for fill-paragraph.
2231         * progmodes/python.el
2232         (python-fill-comment-function, python-fill-string-function)
2233         (python-fill-decorator-function, python-fill-paren-function):
2234         Remove :safe for defcustoms.
2235         (python-fill-string-style): New defcustom
2236         (python-fill-paragraph-function): Enhance context detection.
2237         (python-fill-string): Honor python-fill-string-style settings.
2239 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
2241         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2242         after setting its buffer (Bug#10805).
2244 2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>
2246         Fix cornercase for string syntax.
2247         * progmodes/python.el (python-syntax-propertize-function):
2248         Simplify and enhance the regexp for unescaped quotes.  Now it also
2249         matches quotes in weird situations like the single quote in
2250         "something\"'".
2251         (python-syntax-stringify): Simplify num-quotes detecting code.
2253 2012-10-03  Glenn Morris  <rgm@gnu.org>
2255         * help-macro.el (three-step-help):
2256         Revert 2012-09-29 change.  (Bug#12567)
2258 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
2260         * menu-bar.el (kill-this-buffer): Don't do anything when
2261         `menu-frame' is not alive or visible (Bug#8184).
2263         * emacs-lisp/debug.el (debug): When quitting the debugger window
2264         restore current buffer (Bug#12502).
2266 2012-10-02  Chong Yidong  <cyd@gnu.org>
2268         * progmodes/hideif.el (hif-lookup, hif-defined):
2269         Handle semantic-c-takeover-hideif.
2271 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
2273         Change sampling interval units from ms to ns.
2274         * profiler.el (profiler-sampling-interval): Change units
2275         from ms to ns, multiplying the default by 1000000 so that
2276         it remains 1 ms.
2277         (profiler-report-cpu-line-format): Give enough room for
2278         the maximum counters on 64-bit hosts.
2279         (profiler-report-render-calltree-1): Call them "CPU samples",
2280         not "Time (ms)", since they are not milliseconds now (and
2281         never really were).
2283 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
2285         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2286         Fix querying BBDB for entries without a last name (Bug#11580).
2288 2012-10-02  Chong Yidong  <cyd@gnu.org>
2290         * emacs-lisp/eieio.el: Restore Version header.
2292 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2294         * vc/diff-mode.el (diff--auto-refine-data): New var.
2295         (diff-hunk): Use it to delay refinement.
2296         (diff-mode): Remove overlays when we turn off font-lock.
2298         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2299         (table-initialize-table-fixed-width-mode)
2300         (table-set-table-fixed-width-mode): Remove functions.
2301         (table-command-list): Move initialization into declaration.
2302         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2303         (table-with-cache-buffer): Use `declare'.
2304         (table-span-cell): Simplify via CSE.
2305         (table-fixed-width-mode): Use define-minor-mode.
2306         (table-call-interactively, table-funcall, table-apply): Remove.
2307         (table-function): New function, to replace them.
2309         * bookmark.el (bookmark-search-pattern): Remove var.
2310         (bookmark-read-search-input): Remove function.
2311         (bookmark-bmenu-search): Reimplement using a minibuffer.
2313         * faces.el (modeline): Remove obsolete face name.
2315         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2316         and give a non-nil default value.
2317         (add-change-log-entry): Simplify accordingly.
2319 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
2321         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2322         (vc-git-log-edit-toggle-amend): New function.
2323         (vc-git-log-edit-toggle-signoff): New function.
2324         (vc-git-log-edit-mode): New major mode.
2325         (vc-git-log-edit-mode-map): Keymap for it.
2326         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2328         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2329         header names.
2330         (log-edit-toggle-header): New function.
2331         (log-edit-extract-headers): Accept function values in HEADERS alist.
2333 2012-10-01  David Engster  <deng@randomsample.de>
2335         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2336         from symbol property and change message to be more consistent with
2337         Emacs proper.
2338         (eieio-describe-generic): Add filename for each implementation.
2339         Fix indices for generic and normal methods.
2340         (eieio-method-def, eieio-class-def): New buttons.
2341         (eieio-help-find-method-definition)
2342         (eieio-help-find-class-definition): New functions.
2343         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2344         class, constructor and method definitions.
2346         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2347         information in symbol property.
2348         (scoped-class): Remove.
2349         (eieio-slot-name-index, call-next-method): Check if it is bound.
2351 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
2353         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2354         (eieio-custom-mode): New major mode.
2355         (eieio-customize-object): Use it.
2357 2012-10-01  Eric Ludlam  <zappo@gnu.org>
2359         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2360         specifying the expected class, and whether subclassing is allowed.
2361         (eieio-persistent-convert-list-to-object):
2362         (eieio-persistent-validate/fix-slot-value)
2363         (eieio-persistent-slot-type-is-class-p): New functions.
2364         (eieio-named::slot-missing): Doc fix.
2366         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2367         Stop using unused publd variable.
2369         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2370         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2371         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2372         (eieio-speedbar-handle-click): Do not specify a class for the
2373         method.  Fixes method invocation order problems with EDE.
2375 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2377         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2378         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2380 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
2382         * bookmark.el (bookmark-version-control): Give tags in the
2383         :type choices (Bug#12309), and improve doc string.
2384         (bookmark-write-file): Bind `print-circle' to `t' to allow
2385         circular custom bookmark types.  (Bug#12503)
2387 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
2389         Revert the FOLLOW-SYMLINKS change for file-attributes.
2390         * files.el (remote-file-name-inhibit-cache, after-find-file):
2391         * time.el (display-time-file-nonempty-p): Undo last change.
2393         * profiler.el (profiler-sampling-interval): Change default back to 1.
2394         See Stefan Monnier in
2395         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2397 2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>
2399         Shell output catching a la gud-gdb.
2400         * progmodes/python.el (python-shell-fetch-lines-in-progress)
2401         (python-shell-fetch-lines-string, python-shell-fetched-lines):
2402         New Vars.
2403         (python-shell-fetch-lines-filter): New function.
2404         (python-shell-send-string-no-output): Use them.
2406 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
2408         * profiler.el (profiler-sampling-interval): Rename from
2409         profiler-sample-interval.
2410         (profiler-sampling-interval): Default to 10.
2411         (profiler-find-profile): New command (was profiler-find-log).
2412         (profiler-find-profile-other-window): New command.
2413         (profiler-find-profile-other-frame): New command.
2414         (profiler-profile): Introduce API-level data structure.
2416 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
2418         file-attributes has a new optional arg FOLLOW-SYMLINKS.
2419         * files.el (remote-file-name-inhibit-cache):
2420         * time.el (display-time-file-nonempty-p): Use it.
2421         * files.el (after-find-file): Don't chase links before calling
2422         file-exists-p, as file-exists-p already does the right thing.
2424 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
2426         Merge from standalone RefTeX repository.
2428         The following ChangeLog entries are shortened versions of the
2429         original ones with file paths adapted.  A not so strongly edited
2430         version of the original ChangeLog can be found in the commit log.
2432         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2433         (reftex-arg-cite): Use `reftex-cite-key-separator'.
2434         Correctly handle new value type returned by `reftex-citation'.
2436         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2437         that entries with whitespace at various places are found.
2438         Doc fix. Include entries that are cross-referenced from cited entries.
2439         Include @String definitions in the resulting bib file.  Add header
2440         and footer defined in `reftex-create-bibtex-header' and
2441         `reftex-create-bibtex-footer'.
2442         (reftex-do-citation): Make it possible again to insert
2443         non-existent entries.  Save match data when asking for optional
2444         arguments. Return all keys, not just the first one.
2445         (reftex-all-used-citation-keys): Fix regexp to correctly extract
2446         all citations in the same line.
2447         (reftex-parse-bibtex-entry): Accept additional optional argument
2448         `raw' and keep quotes or braces if it is non-nil.  Match fields
2449         containing hyphens besides word constituents.
2450         (reftex-get-string-refs): New function.
2451         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2452         and ask if it should be reread in case it did.
2453         (reftex-pop-to-bibtex-entry)
2454         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2455         entries with spaces or tabs in front of arguments.
2456         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2457         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2458         Match entries containing numbers and symbol constituents.
2459         (reftex-do-citation, reftex-figure-out-cite-format):
2460         Use `reftex-cite-key-separator'.
2462         * textmodes/reftex-dcr.el: Move provide statement to end of file.
2463         (reftex-mouse-view-crossref): Explain why point is set.
2465         * textmodes/reftex-global.el: Whitespace changes.
2467         * textmodes/reftex-index.el: Move provide statement to end of
2468         file.
2469         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2470         (reftex-index-visit-phrases-buffer): Set marker when visiting
2471         buffer.  This allows for returning from the phrases file to the
2472         file one was just editing instead of the file where the last
2473         phrases was added from.
2474         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
2475         punctuation syntax as it usually is not used as string quote in
2476         TeX-related modes and may occur unmatched.  The change also
2477         prevents fontification of quoted content.
2478         (reftex-index-phrases-mode): Use it.
2480         * textmodes/reftex-parse.el (reftex-parse-from-file):
2481         Move backward one char if a `\' was matched after a section macro.
2482         (reftex-parse-from-file): Use beginning of match instead of end as
2483         bound.
2485         * textmodes/reftex-ref.el: Adapt creation of
2486         `reftex-<package>-<macro>' functions to new structure of
2487         `reftex-ref-style-alist'.
2488         (reftex-reference): Use `reftex-ref-style-list' function.
2489         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
2490         reference macro if `reftex-ref-macro-prompt' is non-nil.
2491         (reftex-reference): Pass refstyle to `reftex-format-special'.
2492         Determine reference macro by looking at
2493         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2494         Use only one special format function.
2495         (reftex-varioref-vref, reftex-fancyref-fref)
2496         (reftex-fancyref-Fref): Remove definitions.  The functions are now
2497         generated from `reftex-ref-style-alist'.
2498         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2499         Remove.
2500         (reftex-format-special): New function.
2502         * textmodes/reftex-sel.el
2503         (reftex-select-cycle-ref-style-internal): Adapt to new structure
2504         of `reftex-ref-style-alist'. Remove code for testing macro type.
2505         (reftex-select-toggle-varioref)
2506         (reftex-select-toggle-fancyref): Remove.
2507         (reftex-select-cycle-ref-style-internal)
2508         (reftex-select-cycle-ref-style-forward)
2509         (reftex-select-cycle-ref-style-backward): New functions.
2510         (reftex-select-label-map): Use `v' and `V' for general cycling
2511         through reference styles.  Add `p' for switching between number
2512         and page reference types.
2514         * textmodes/reftex-toc.el (reftex-re-enlarge):
2515         Call `enlarge-window' only if there is something to do because in Emacs
2516         the horizontal version throws an error even if the parameter is 0.
2518         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2519         (reftex-plug-into-AUCTeX): Doc fix.
2520         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2521         string.  Adapt to new name.
2522         (reftex-ref-style-alist): Change structure so that it is not
2523         possible to use multiple different package names within a style.
2524         Remove the symbols for symbols for macro type distinction.
2525         Add characters for macro selection.
2526         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2527         (reftex-create-bibtex-footer): New variables.
2528         (reftex-format-ref-function): Mention third argument of special
2529         format function.
2530         (reftex-ref-style-alist, reftex-ref-style-default-list):
2531         New variables.
2532         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2533         to new implementation.  Mark as obsolete.  Add compatibility code
2534         for honoring the variable values in case they are set.
2535         (reftex-cite-format-builtin, reftex-bibliography-commands):
2536         Add support for ConTeXt.
2537         (reftex-format-ref-function, reftex-format-cite-function):
2538         Fix custom type.
2539         (reftex-cite-key-separator): New variable.
2541         * textmodes/reftex.el (reftex-syntax-table-for-bib)
2542         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2543         `reftex-syntax-table' because parens have to retain their paren
2544         syntax in order for parsing of BibTeX entries like @book(...) to
2545         work.
2546         (reftex-in-comment): Do not error out if `comment-start-skip' is
2547         not set.  Deal correctly with escaped comment characters.
2548         (reftex-tie-multifile-symbols): Add doc string.
2549         Initialize `reftex-ref-style-list'.
2550         (reftex-untie-multifile-symbols): Add doc string.
2551         (reftex-add-index-macros): Doc fix.
2552         (reftex-ref-style-activate, reftex-ref-style-toggle)
2553         (reftex-ref-style-list): New functions.
2554         (reftex-mode-menu): Use them.  Adapt to new structure of
2555         `reftex-ref-style-alist'.
2556         (reftex-select-with-char): Kill the RefTeX Select buffer when
2557         done.
2558         (reftex-remove-if): New function.
2559         (reftex-erase-all-selection-and-index-buffers)
2560         (reftex-mode-menu): Reference styles are now computed from
2561         `reftex-ref-style-alist'.  Fix typo.
2562         (reftex-report-bug): New function.
2563         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2564         algorithms with O(n log n).  Introduce optional argument SORT (not
2565         yet used).
2567 2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>
2569         Enhancements for triple-quote string syntax.
2570         * progmodes/python.el (python-syntax-propertize-function):
2571         Match both quote cases in one regexp.
2572         (python-syntax-stringify): Handle matches properly.
2574 2012-09-30  Juri Linkov  <juri@jurta.org>
2576         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2577         to nil around the call to `insert' to prevent
2578         directory time modification by lock_file.  (Bug#2295)
2579         * tar-mode.el (tar-summarize-buffer): Idem.
2581 2012-09-30  Juri Linkov  <juri@jurta.org>
2583         * facemenu.el (list-colors-sort): Add option "Luminance".
2584         (list-colors-sort-key): Implement it.
2586         * vc/diff-mode.el (diff-refine-removed):
2587         * vc/ediff-init.el (ediff-fine-diff-A):
2588         * vc/smerge-mode.el (smerge-refined-removed):
2589         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
2591 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
2593         * term/ns-win.el (x-file-dialog): New function.
2595 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
2597         * ido.el (ido-max-directory-size): Default to nil; the current
2598         default is small for POSIX systems, and impractical on Windows 7
2599         now that lstat returns directory sizes for NTFS.
2601 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
2603         In buffer display functions handle window-height/window-width
2604         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
2605         * window.el (window--display-buffer): New argument ALIST.
2606         Obey window-height and window-width alist entries.
2607         (window--try-to-split-window): New argument ALIST.
2608         Bind window-combination-limit to t when the window's size shall be
2609         changed and window-combination-limit equals `window-size'.
2610         (display-buffer-in-atom-window)
2611         (display-buffer-in-major-side-window)
2612         (display-buffer-in-side-window, display-buffer-same-window)
2613         (display-buffer-reuse-window, display-buffer-pop-up-frame)
2614         (display-buffer-pop-up-window, display-buffer-below-selected)
2615         (display-buffer-at-bottom, display-buffer-in-previous-window)
2616         (display-buffer-use-some-window): Adjust all callers of
2617         window--display-buffer and window--try-to-split-window.
2618         (fit-frame-to-buffer): New option.
2619         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2620         is non-nil.
2621         (display-buffer-in-major-side-window): Evaluate window-height /
2622         window-width alist entries.
2624         * help.el (temp-buffer-resize-frames)
2625         (temp-buffer-resize-regexps): Remove options.
2626         (temp-buffer-resize-mode): Adjust doc-string.
2627         (resize-temp-buffer-window): Don't consult
2628         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
2629         temp-buffer-resize-frames.
2631         * dired.el (dired-mark-pop-up):
2632         Call display-buffer-below-selected with a fit-window-to-buffer alist
2633         entry.
2635 2012-09-30  Chong Yidong  <cyd@gnu.org>
2637         * server.el (server-host): Document the security implications.
2638         (server-auth-key): Doc fix.
2640         * startup.el (initial-buffer-choice): Doc fix.
2642         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2644         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2645         restriction change.
2647         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2649         * help-fns.el (help-fns--obsolete): Fix last change.
2651 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2653         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2654         (minor-mode-map-alist): Remove redundant code.
2656         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2657         visited in a buffer.
2658         (cvs-insert-visited-file): New function.
2659         (find-file-hook): Use it.
2661         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2663         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2664         chose face.
2665         (log-edit-empty-buffer-p): Don't require a space after a header.
2667         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2669         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2671         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2672         a proper minor-mode.
2674         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2676 2012-09-29  Glenn Morris  <rgm@gnu.org>
2678         * winner.el (winner-mode): Remove variable (let define-minor-mode
2679         handle it).
2680         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2681         Doc fixes.
2682         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2683         (winner-mode): Use define-minor-mode.
2685         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2686         the full definition in loaddefs, rather than duplicating it.
2688         * help-macro.el (three-step-help): No need to autoload defcustom.
2690         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2691         (inferior-lisp-program, inferior-lisp-load-command)
2692         (inferior-lisp-prompt, inferior-lisp-mode-hook):
2693         No need to autoload defcustoms.
2695         * hippie-exp.el (hippie-expand-try-functions-list)
2696         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2697         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2698         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2699         (hippie-expand-only-buffers): No need to autoload defcustoms.
2700         * progmodes/vhdl-mode.el (vhdl-line-expand):
2701         Explicitly load hippie-exp, so it does not get autoloaded
2702         while hippie-expand-try-functions-list is let-bound.
2704 2012-09-28  Glenn Morris  <rgm@gnu.org>
2706         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2708         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2709         Only "cl.el" counts as cl these days.
2711 2012-09-28  Juri Linkov  <juri@jurta.org>
2713         Display archive errors in the echo area instead of inserting
2714         to the file buffer.
2716         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2717         to STDERR-TEST that can be a regexp matching a successful output.
2718         Create a temporary file and redirect stderr to it.  Search for
2719         STDERR-TEST in the stderr output and display it in the echo area
2720         if no match is found.
2721         (archive-extract-by-file): New function like
2722         `archive-extract-by-stdout' but extracting archives to files
2723         and looking for successful matches in stdout.  Function body is
2724         mostly copied from `archive-rar-extract'.
2725         (archive-rar-extract): Use `archive-extract-by-file'.
2726         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
2728 2012-09-28  Leo Liu  <sdl.web@gmail.com>
2730         * pcomplete.el (pcomplete-show-completions):
2731         Use minibuffer-message to make pcomplete usable in minibuffer.
2733         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2735 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2737         * type-break.el: Use lexical-binding.
2738         (type-break-mode): Use define-minor-mode.
2740         * emacs-lisp/pcase.el (pcase--mark-used): New.
2741         (pcase--u1): Use it (bug#12512).
2743         * custom.el (load-theme): Set buffer-file-name so the load is recorded
2744         in load-history with the right file name.
2746 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
2748         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2749         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2750         (doc-view-get-bounding-box): Make bounding box slicing work for
2751         ODF and DVI documents.
2753 2012-09-28  Glenn Morris  <rgm@gnu.org>
2755         * type-break.el (type-break-mode, type-break-interval)
2756         (type-break-good-rest-interval, type-break-keystroke-threshold):
2757         No need to autoload.
2758         (type-break-good-rest-interval, type-break-keystroke-threshold):
2759         Add :set-after.
2761 2012-09-28  Chong Yidong  <cyd@gnu.org>
2763         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2764         Add :version tag.
2766 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2768         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2770 2012-09-27  Glenn Morris  <rgm@gnu.org>
2772         * faces.el (x-display-name): Declare (for without-x builds).
2774         * linum.el (linum-format): Don't autoload it.  Improve :type.
2776         * progmodes/tcl.el: Don't require outline when compiling.
2777         (outline-regexp, outline-level): Declare.
2778         * textmodes/sgml-mode.el: Don't require outline when compiling.
2779         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2781         * term.el (term-ansi-reset):
2782         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
2784         * vc/vc.el (vc-next-action): Only gripe about committing read-only
2785         files for RCS and SCCS.  (Bug#9781)
2787 2012-09-27  Chong Yidong  <cyd@gnu.org>
2789         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2790         change; value should be t.
2792 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2794         * image-mode.el: Use lexical-binding.
2795         (image-mode-winprops): Use t to stand for the window of
2796         a buffer that's not displayed.
2797         * doc-view.el (doc-view-new-window-function): Handle the new
2798         t in winprops.
2799         (doc-view-enlarge): Make it a real nop if the size is not changed.
2800         (doc-view-display): Handle the case where the buffer is not (yet?)
2801         displayed in any window.
2802         (doc-view-saved-settings): New var.
2803         (doc-view-mode): Use it.
2804         (doc-view-fallback-mode): Set it.
2806         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2807         Set lexical-binding.
2808         (minibuffer-eldef-shorten-default): New var.
2809         (minibuffer-default-in-prompt-regexps): Use it for new default.
2810         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2812 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
2814         * international/uni-bidi.el:
2815         * international/uni-category.el:
2816         * international/uni-name.el:
2817         * international/uni-numeric.el: Regenerate.
2819 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
2820             Stefan Monnier  <monnier@iro.umontreal.ca>
2822         * profiler.el: New file.
2824 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2826         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2827         (testcover-reinstrument): Simplify with CSE.
2829 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
2831         * window.el (temp-buffer-window-setup): Fix typo in docstring.
2833 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
2835         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2836         (verilog-auto-input, verilog-auto-insert-lisp)
2837         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2838         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2839         (verilog-auto-unused, verilog-auto-wire)
2840         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2841         newline.  Reported by Andrew Jones.
2842         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2843         Reported by Brad Dobbie.
2844         (verilog-batch-delete-trailing-whitespace):
2845         Create verilog-batch-delete-trailing-whitespace.
2846         Reported by Brad Dobbie.
2847         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2848         parameters from another module.  Reported by Dan Katz.
2849         (verilog-auto, verilog-auto-assign-modport)
2850         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2851         AUTOINOUTMODPORT for UVM interface module shell generation.
2852         Reported by Brad Dobbie.
2853         (verilog-auto-inst-interfaced-ports): Make default nil, as more
2854         standard behavior.
2855         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2856         Reported by Matt Martin.
2858 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
2860         * window.el (window--resize-child-windows): When resizing child
2861         windows proportionally, process them in reverse order to
2862         preserve the "when splitting a window the new one gets the odd
2863         line" behavior.
2864         (window--resize-root-window-vertically): When resizing the
2865         minibuffer window try to affect only windows at the bottom of the
2866         frame.  (Bug#12419)
2868 2012-09-25  Chong Yidong  <cyd@gnu.org>
2870         * subr.el (declare): Doc fix.
2872         * help-fns.el (help-fns--obsolete): Handle macros properly.
2874 2012-09-25  Chong Yidong  <cyd@gnu.org>
2876         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2877         this function obsolete.
2879         * calendar/cal-x.el (calendar-two-frame-setup)
2880         (calendar-only-one-frame-setup, calendar-one-frame-setup):
2881         * calendar/calendar.el (american-calendar, european-calendar)
2882         (calendar-for-loop):
2883         * comint.el (comint-dynamic-simple-complete)
2884         (comint-dynamic-complete-as-filename, comint-unquote-filename):
2885         * desktop.el (desktop-load-default):
2886         * dired-x.el (dired-omit-here-always)
2887         (dired-hack-local-variables, dired-default-directory):
2888         * emacs-lisp/derived.el (derived-mode-class):
2889         * emacs-lisp/timer.el (timer-set-time-with-usecs):
2890         * emacs-lock.el (toggle-emacs-lock):
2891         * epa.el (epa-display-verify-result):
2892         * epg.el (epg-sign-keys, epg-start-sign-keys)
2893         (epg-passphrase-callback-function):
2894         * eshell/esh-util.el (eshell-for):
2895         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2896         (eshell-add-to-window-buffer-names):
2897         * files.el (locate-file-completion):
2898         * imenu.el (imenu-example--create-c-index)
2899         (imenu-example--create-lisp-index)
2900         (imenu-example--lisp-extract-index-name)
2901         (imenu-example--name-and-position):
2902         * international/mule-cmds.el (princ-list):
2903         * international/mule-diag.el (decode-codepage-char):
2904         * international/mule-util.el (detect-coding-with-priority):
2905         * iswitchb.el (iswitchb-read-buffer):
2906         * mail/mailalias.el (mail-complete):
2907         * mail/sendmail.el (mail-sent-via):
2908         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2909         (mouse-major-mode-menu):
2910         * password-cache.el (password-read-and-add):
2911         * pcomplete.el (pcomplete-parse-comint-arguments):
2912         * progmodes/sh-script.el (sh-maybe-here-document):
2913         * replace.el (query-replace-regexp-eval):
2914         * savehist.el (savehist-load):
2915         * simple.el (choose-completion-delete-max-match):
2916         * term.el (term-dynamic-simple-complete):
2917         * vc/ediff-init.el (ediff-check-version):
2918         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2919         * vc/vc.el (vc-diff-switches-list):
2920         * view.el (view-return-to-alist-update): Likewise.
2922         * subr.el (eval-next-after-load, makehash, insert-string)
2923         (assoc-ignore-representation, assoc-ignore-case): Use declare to
2924         mark obsolete.
2925         (mode-line-inverse-video): Variable deleted.
2927         * international/mule-util.el (string-to-sequence): Remove.
2929         * calendar/calendar.el (calendar-version):
2930         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2931         (icalendar-convert-diary-to-ical):
2932         * cus-edit.el (custom-mode):
2933         * ansi-color.el (ansi-color-unfontify-region):
2934         * international/latin1-disp.el (latin1-char-displayable-p):
2935         * progmodes/cwarn.el (turn-on-cwarn-mode):
2936         * progmodes/which-func.el (which-func-update-1):
2937         Use define-obsolete-function-alias.
2939         * net/newst-backend.el (newsticker-cache-filename):
2940         * net/newst-treeview.el (newsticker-groups-filename):
2941         Fix incorrect obsolescence declaration.
2943         * allout.el (allout-passphrase-hint-string): Likewise.
2944         (allout-init): Use a declare form to mark obsolete.
2946         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2947         this applies to functions.
2949         * iswitchb.el (iswitchb-read-buffer): Move code of
2950         iswitchb-define-mode-map here, and delete that obsolete function.
2952         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2953         font-lock-reference-face.
2955 2012-09-25  Glenn Morris  <rgm@gnu.org>
2957         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2958         Doc fixes.
2960         * eshell/em-term.el (eshell-term-name):
2961         Default to term-term-name.  (Bug#12485)
2963 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
2965         * progmodes/python.el (python-shell-send-buffer): Better handling
2966         of "if __name__ == '__main__':" conditionals when sending the buffer.
2968 2012-09-24  Glenn Morris  <rgm@gnu.org>
2970         * eshell/esh-cmd.el (eshell-find-alias-function):
2971         Tighten up file-name regexp.  (Bug#12499)
2973 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
2975         Enhancements for triple-quote string syntax.
2976         * progmodes/python.el (python-quote-syntax): Remove.
2977         (python-syntax-propertize-function): New value.
2978         (python-syntax-count-quotes, python-syntax-stringify):
2979         New functions.
2981 2012-09-24  Chong Yidong  <cyd@gnu.org>
2983         * mail/supercite.el (sc-version): Remove obsolete function.
2984         (sc-describe): Don't mark as obsolete, since it is bound.
2985         (sc-submit-bug-report): Remove.
2987         * vc/log-edit.el (cvs-changelog-full-paragraphs)
2988         (cvs-commit-buffer-require-final-newline): Remove.
2989         (log-edit-require-final-newline)
2990         (log-edit-changelog-full-paragraphs): Default to t.
2992         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2993         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2994         * vc/vc.el (vc-checkout-carefully): Likewise.
2996         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2997         (emerge-version): Remove.
2999         * progmodes/compile.el (compile-internal): Remove.
3000         (compilation-parse-errors-function): Fix typo.
3002         * international/mule.el (set-char-table-default): Remove.
3003         (set-coding-priority, make-coding-system, generic-char-p)
3004         (charset-list, charset-bytes, charset-id): Use declare to mark
3005         functions as obsolete.
3007         * vc/pcvs-defs.el (cvs-buffer-name-alist)
3008         (cvs-invert-ignore-marks): Remove references to obsolete vars.
3009         * vc/vc-hooks.el (vc-default-registered): Don't use
3010         vc-master-templates.
3012         * font-lock.el (font-lock-reference-face):
3013         Use define-obsolete-variable-alias.
3015         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
3016         * calendar/calendar.el (calendar-font-lock-keywords):
3017         * calendar/diary-lib.el (diary-font-lock-keywords)
3018         (diary-fancy-font-lock-keywords):
3019         * textmodes/reftex-sel.el (reftex-insert-docstruct):
3020         * textmodes/reftex-index.el (reftex-insert-index):
3021         * textmodes/reftex-cite.el (reftex-format-bib-entry):
3022         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3023         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
3024         * progmodes/prolog.el (prolog-font-lock-keywords):
3025         * progmodes/idlwave.el (idlwave-idl-keywords):
3026         * progmodes/ada-mode.el (ada-font-lock-keywords):
3027         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
3029 2012-09-24  Glenn Morris  <rgm@gnu.org>
3031         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
3033 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
3035         * progmodes/python.el (python-indent-line): More consistent cursor
3036         movement behavior.
3038 2012-09-23  Stefan Merten  <smerten@oekonux.de>
3040         * textmodes/rst.el: Fix compiler warning.
3042 2012-09-23  Roland Winkler  <winkler@gnu.org>
3044         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3045         Transcribe also LaTeX hyphenation.
3046         (bibtex-reformat): Bug fix. Do not quote twice the elements of
3047         bibtex-reformat-previous-options.
3049 2012-09-23  Roland Winkler  <winkler@gnu.org>
3051         * proced.el (proced-renice-command): New variable.
3052         (proced-marked-processes): New function.
3053         (proced-with-processes-buffer): New macro.
3054         (proced-send-signal): Use them.
3055         (proced-renice): New command bound to r.
3057 2012-09-23  Roland Winkler  <winkler@gnu.org>
3059         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3060         ibuffer-saved-filter-groups has one element, shortcut the call of
3061         completing-read.  (Bug#12331)
3063 2012-09-23  Chong Yidong  <cyd@gnu.org>
3065         * bindings.el (mode-line-toggle-read-only):
3066         * bs.el (bs-toggle-readonly):
3067         * buff-menu.el (Buffer-menu-toggle-read-only):
3068         * dired.el (dired-toggle-read-only):
3069         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3071 2012-09-23  Chong Yidong  <cyd@gnu.org>
3073         * image.el (image-type-available-p): Adapt to init-image-library
3074         argument changes.
3076 2012-09-22  Juri Linkov  <juri@jurta.org>
3078         * dired.el (dired-mode-map): Add [remap read-only-mode] for
3079         `dired-toggle-read-only'.  (Bug#12462)
3081 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
3083         * subr.el (temp-output-buffer-show): New function.
3084         (with-output-to-temp-buffer): Call temp-output-buffer-show
3085         instead of internal-temp-output-buffer-show.
3087 2012-09-22  Chong Yidong  <cyd@gnu.org>
3089         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3090         (Bug#12462).
3092         * repeat.el (repeat): Doc fix (Bug#12348).
3094         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3095         (Bug#10909).
3097         * simple.el (shell-command-on-region): Doc fix.
3098         (read-only-mode): Doc fix.
3100 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
3102         * emacs-lisp/timer.el (run-with-idle-timer)
3103         (timer-activate-when-idle): Warn against reinvoking an idle timer
3104         from within its own timer action.  (Bug#12447)
3106 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
3108         * cus-start.el (window-combination-limit): Add new optional
3109         values.
3110         * window.el (temp-buffer-window-show)
3111         (window--try-to-split-window): Handle new values of
3112         window-combination-limit (Bug#1806).
3113         (split-window): Test window-combination-limit for t instead of
3114         non-nil.
3115         (display-buffer-at-bottom): New buffer display action function.
3116         * help.el (temp-buffer-resize-regexps): New option.
3117         (temp-buffer-resize-mode): Rewrite doc-string.
3118         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3119         Don't resize reused window.  Suggested by Glenn Morris.
3121 2012-09-22  Stefan Merten  <smerten@oekonux.de>
3123         * textmodes/rst.el: Revamp section title faces.
3124         (rst-official-version)
3125         (rst-package-emacs-version-alist): Sync with official version
3126         V1.4.0.
3127         (rst-faces-defaults, rst-set-level-default)
3128         (rst-level-face-max, rst-level-face-base-color)
3129         (rst-level-face-base-light, rst-level-face-format-light)
3130         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3131         (rst-adornment-faces-alist): Match new setup.
3132         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3133         (rst-level-5, rst-level-6): New faces.
3135 2012-09-22  Chong Yidong  <cyd@gnu.org>
3137         * simple.el (undo): Handle indirect buffers (Bug#8207).
3139 2012-09-21  Leo Liu  <sdl.web@gmail.com>
3141         IDO: Disable match re-ordering for buffer switching.
3142         * ido.el (ido-buffer-disable-smart-matches): New variable.
3143         (ido-set-matches-1): Use it.  (Bug#2042)
3145 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
3147         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3148         Fix 2011-05-17 change.  (Bug#12418)
3150 2012-09-21  Leo Liu  <sdl.web@gmail.com>
3152         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3154 2012-09-21  Glenn Morris  <rgm@gnu.org>
3156         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3157         Be more robust about locating simple.el.
3159 2012-09-21  Glenn Morris  <rgm@gnu.org>
3161         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3163 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
3165         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
3167 2012-09-20  Juri Linkov  <juri@jurta.org>
3169         * replace.el (query-replace-read-from): Use `read-regexp' instead
3170         of `read-from-minibuffer' when `regexp-flag' is non-nil.
3171         (occur-read-primary-args): Use `read-regexp' instead of
3172         `read-string'.
3173         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3174         `read-from-minibuffer'.
3175         * isearch.el (isearch-occur): Use `read-regexp' instead of
3176         `read-string'.
3177         * dired.el (dired-read-regexp): Use `read-regexp' instead of
3178         `read-from-minibuffer'.
3179         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3180         of `read-string'.  (Bug#7567)
3182         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3183         and allow accepting a list of strings prepended to a list of
3184         standard default values.  Doc fix.  (Bug#12321)
3186         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
3188         * replace.el (read-regexp): Don't add ": " when PROMPT already
3189         ends with a colon and space.  (Bug#12321)
3191 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
3193         * doc-view.el (doc-view-display): Better fix for the cl-assertion
3194         error.
3196 2012-09-20  Stefan Merten  <smerten@oekonux.de>
3198         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3199         Fixes feature request bug#11711.
3200         (rst-mode): Create `imenu-create-index-function'.
3201         (rst-get-stripped-line): Delete after refactoring.
3202         (rst-section-tree, rst-section-tree-rec)
3203         (rst-section-tree-point): Refactor and document properly.
3204         (rst-imenu-find-adornments-for-position)
3205         (rst-imenu-convert-cell, rst-imenu-create-index):
3206         New function.
3208 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3210         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3211         (macroexp--expand-all): Use it.
3212         (macroexp--funcall-and-return): Remove by folding it into its sole
3213         caller (macroexp--warn-and-return).
3214         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3215         Use macroexp--obsolete-warning.
3217         * calc/calc.el: Fix last change by removing the whole chunk, since it
3218         was only needed back when Calc was not bundled.
3220 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
3222         * emacs-lisp/debug.el (debug): Restore assignment to
3223         debugger-old-buffer removed on 2012-09-08.
3225 2012-09-20  Juri Linkov  <juri@jurta.org>
3227         * dired-aux.el (dired-diff): Remove (require 'diff) since
3228         `diff-latest-backup-file' is now autoloaded.
3230 2012-09-20  Chong Yidong  <cyd@gnu.org>
3232         * vc/diff.el (diff-latest-backup-file): Autoload.
3234 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3236         * calc/calc.el: Remove redundant autoload shape check.
3237         (sel-mode): Don't defvar.
3238         (calc-get-stack-element): Add `sel-mode' arg instead.
3239         (calc-top, calc-top-list): Pass it this additional argument.
3240         * calc/calc-store.el (calc-store-map):
3241         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3242         (calc-map-equation, calc-outer-product, calc-inner-product):
3243         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3245         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3247 2012-09-19  Juri Linkov  <juri@jurta.org>
3249         * dired-aux.el (dired-diff): Add (require 'diff) because
3250         `diff-latest-backup-file' is not autoloaded.
3251         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3252         of `dired-get-filename' to t to not report error when there is
3253         no default file on the current line.
3255 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3257         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3258         macroexp--eval-if-compile.
3259         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3260         (macroexp--expand-all): Use them (bug#12371).
3262         * doc-view.el (doc-view-guess-paper-size)
3263         (doc-view-scale-bounding-box): Fix unbound `caddr'.
3265 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
3267         New feature: set optimal slice from BoundingBox information.
3268         * doc-view.el (doc-view-mode-map): Add keybinding.
3269         (doc-view-menu): Add menu entry.
3270         (doc-view-set-slice): Adapt docstring.
3271         (doc-view-get-bounding-box, doc-view-guess-paper-size)
3272         (doc-view-scale-bounding-box)
3273         (doc-view-set-slice-from-bounding-box): New functions.
3274         (doc-view-paper-sizes): New defvar.
3276 2012-09-19  Glenn Morris  <rgm@gnu.org>
3278         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3279         (byte-compile-log-warning): Autoload.  (Bug#12371)
3281         * calendar/calendar.el (calendar-american-month-header)
3282         (calendar-european-month-header, calendar-iso-month-header)
3283         (calendar-month-header): New options.
3284         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
3285         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
3287 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
3289         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3291 2012-09-18  Juri Linkov  <juri@jurta.org>
3293         * dired-aux.el (dired-diff): Restore original functionality of
3294         getting the default value, but keep new feature of using the
3295         latest existing backup file (`diff-latest-backup-file').
3297 2012-09-18  Juri Linkov  <juri@jurta.org>
3299         * dired.el (dired-mark): If the region is active in Transient Mark
3300         mode, mark all files in the active region.  Doc fix.
3301         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3302         Doc fix.  (Bug#10624)
3304 2012-09-18  Juri Linkov  <juri@jurta.org>
3306         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3307         attributes for M-n are pulled from the file at point.
3308         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3309         Suggested by Drew Adams.  (Bug#10624)
3311 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
3313         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3314         whitespace after "end".
3315         (ruby-do-end-to-brace): Collapse block to one line if it fits
3316         within fill-column.
3318 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
3320         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3321         value.
3322         (debug): Don't remove debugger window when debugger is expected
3323         to be back.
3325 2012-09-18  Chong Yidong  <cyd@gnu.org>
3327         * custom.el (defface): Doc fix.
3329         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3331 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
3333         * progmodes/compile.el (compilation-start): Use compilation-always-kill
3334         to initialize query-on-exit; then test that instead (bug#12288).
3336 2012-09-17  Stefan Merten  <smerten@oekonux.de>
3338         * textmodes/rst.el: Add support for `testcover'.
3339         (rst-defcustom-testcover, rst-testcover-add-compose)
3340         (rst-testcover-add-1value): New functions.
3341         (rst-portable-mark-active-p): Replace by `use-region-p'.
3342         (rst-update-section, rst-classify-adornment)
3343         (rst-find-title-line): Mark `1value' forms.
3344         (rst-classify-adornment): Remove superfluous form.
3345         (rst-update-section, rst-get-adornments-around)
3346         (rst-adornment-complete-p, rst-get-next-adornment)
3347         (rst-adjust, rst-promote-region)
3348         (rst-display-adornments-hierarchy, rst-straighten-adornments)
3349         (rst-find-pfx-in-region, rst-section-tree-rec)
3350         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3351         (rst-toc-node, rst-toc, rst-forward-section)
3352         (rst-iterate-leftmost-paragraphs)
3353         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3354         (rst-bullet-list-region)
3355         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3356         (rst-compile-find-conf, rst-compile)
3357         (rst-repeat-last-character): Fix style.
3359 2012-09-17  Chong Yidong  <cyd@gnu.org>
3361         * comint.el (comint--complete-file-name-data): Don't add a space
3362         if the status is `sole'; that adds a gratuitous space in the
3363         completion-cycling case (Bug#12092).
3365         * pcomplete.el (pcomplete-completions-at-point): Likewise.
3367 2012-09-17  Richard Stallman  <rms@gnu.org>
3369         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3370         only in the mime-shown mode, not in raw mode.
3371         (rmail-mime): Toggle off mime by displaying the message without
3372         mime processing.  (Bug#12305)
3374         * mail/rmail.el (rmail-retry-failure):
3375         Turn off mime processing first.  (Bug#12037)
3377         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3379 2012-09-17  Chong Yidong  <cyd@gnu.org>
3381         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3382         (shell-dynamic-complete-functions): Convert to defcustom.
3383         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3385         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3386         * comint.el (comint-prompt-read-only):
3387         * custom.el (defcustom):
3388         * hi-lock.el (hi-lock-mode):
3389         * ibuffer.el (ibuffer-formats):
3390         * ielm.el (ielm-prompt-read-only):
3391         * novice.el (disable-command):
3392         * saveplace.el (toggle-save-place):
3393         * speedbar.el (speedbar-supported-extension-expressions):
3394         * startup.el (auto-save-list-file-prefix, init-file-user)
3395         (after-init-hook, inhibit-startup-echo-area-message):
3396         * strokes.el (strokes-help):
3397         * time-stamp.el (time-stamp):
3398         * calendar/calendar.el (calendar, diary-file):
3399         * calendar/diary-lib.el (diary-mail-entries, diary)
3400         (diary-list-entries-hook):
3401         * calendar/holidays.el (holidays, calendar-holidays):
3402         * calendar/lunar.el (lunar-phases):
3403         * calendar/solar.el (sunrise-sunset):
3404         * emulation/edt.el (edt-load-keys):
3405         * emulation/viper.el (viper-mode):
3406         * eshell/em-alias.el (eshell-command-aliases-list):
3407         * eshell/esh-util.el (eshell-convert-numeric-arguments):
3408         * international/ogonek.el (ogonek-information):
3409         * net/tramp-cmds.el (tramp-bug):
3410         * net/quickurl.el (quickurl-reread-hook-postfix):
3411         * play/decipher.el (decipher-font-lock-keywords):
3412         * progmodes/cc-styles.el (c-set-style):
3413         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3414         * progmodes/inf-lisp.el (inferior-lisp-prompt):
3415         * progmodes/octave-mod.el (octave-mode):
3416         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3417         * progmodes/verilog-mode.el (verilog-read-defines):
3418         * textmodes/two-column.el (2C-mode): Likewise.
3420 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
3422         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3423         that holds many addresses.
3425 2012-09-16  Chong Yidong  <cyd@gnu.org>
3427         * align.el (align-areas): Call the indication function with
3428         positions instead of markers for arguments (Bug#12343).
3430         * files.el (parse-colon-path): Use split-string (Bug#12351).
3432         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3433         (display-buffer-function): Mark as obsolete.
3435         * progmodes/compile.el (compilation-parse-errors): Accept list
3436         values similar to font-lock-keywords (Bug#12136).
3437         Suggested by Oleksandr Manzyuk.
3438         (compilation-error-regexp-alist): Doc fix.
3440 2012-09-15  Glenn Morris  <rgm@gnu.org>
3442         * version.el (emacs-bzr-version-bzr): New function.
3443         (emacs-bzr-get-version): Add optional EXTERNAL argument.
3445         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3446         checkouts, check the parent dirstate matches the branch.
3447         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
3448         empty string.
3450         * version.el (emacs-bzr-version): Doc fix.
3451         (emacs-bzr-version-dirstate): New function.
3452         (emacs-bzr-get-version): For lightweight checkouts, if the parent
3453         is local try and check that it matches the branch.  If not, just
3454         use dirstate information.  (Bug#12441)
3456 2012-09-14  Juri Linkov  <juri@jurta.org>
3458         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3459         (Bug#12399)
3461 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3463         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3465         * emacs-lisp/edebug.el: Miscellaneous cleanup.
3466         Remove obsolete byte-compiler hack that tried to silence some warnings.
3467         (edebug-submit-bug-report): Remove.
3468         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3469         Remove aliases, use the un-prefixed name instead.
3470         (edebug-pop-to-buffer): Consider other frames.
3471         (edebug-original-read):: Make it more obvious that it's always defined.
3472         (edebug--make-form-data-entry, edebug--form-data-name)
3473         (edebug--form-data-begin, edebug--form-data-end): Rename from the
3474         single-dashed name, and implement with cl-defstruct.
3475         (edebug-set-form-data-entry): Use the standard accessors.
3476         (edebug-make-top-form-data-entry): Use push.
3477         (edebug-no-match): Drop useless `funcall'.
3478         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3479         to functions.
3480         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3481         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3482         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3483         (easy-menu-define, with-custom-print): Remove redundant specs.
3484         (edebug-outside-overriding-local-map)
3485         (edebug-outside-overriding-terminal-local-map): Remove, unused.
3486         (edebug--display): Bind unread-command-events directly to nil rather
3487         than binding it to unread-command-events and later setting it to nil.
3488         (edebug--display): Kill edebug-eval-buffer here...
3489         (edebug--recursive-edit): ...rather than here.
3490         Bind standard-output and standard-input.
3491         (edebug-eval): Check cl-macroexpand-all is fboundp.
3492         (edebug-temp-display-freq-count): Fix last change.
3494         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3495         * subr.el (noreturn, 1value): Add `debug' spec.
3496         * emacs-lisp/advice.el: Require cl-lib.
3497         (ad-copy-tree): Remove, use copy-tree instead.
3498         (ad-dolist): Remove use dolist or cl-dolist instead.
3499         (ad-do-return): Remove, use cl-return instead.
3500         (defadvice): Add `debug' spec.
3502 2012-09-13  Juri Linkov  <juri@jurta.org>
3504         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3505         (Bug#12399)
3507 2012-09-13  Glenn Morris  <rgm@gnu.org>
3509         * calc/calc.el (math-compose-expr):
3510         * calc/calc-ext.el (math-compose-expr):
3511         * progmodes/cc-defs.el (cl-macroexpand-all):
3512         * progmodes/cc-langs.el (delete-duplicates, mapcan)
3513         (cl-macroexpand-all): Update declarations.
3515         * vc/vc.el: No need to require ediff.
3516         (ediff-load-version-control): Declare.
3517         (ediff-vc-internal): Fix declaration.
3518         (vc-version-ediff): Require ediff.
3520 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
3522         Use a more backwards-compatible timer format (Bug#12430).
3523         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3524         being right after USECS, as that better supports old code that
3525         inadvisedly looked directly at the timer vector.
3527 2012-09-13  Kenichi Handa  <handa@gnu.org>
3529         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3530         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3531         `coding-priority' property of these language environment.
3533 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
3535         Fix glitches caused by addition of psec to timers (Bug#12430).
3536         * image.el (image-animate-timer):
3537         * time.el (display-time-world-timer):
3538         Use timer--function and timer--args rather than raw access to
3539         timer vector.
3541 2012-09-13  Glenn Morris  <rgm@gnu.org>
3543         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3544         If not compiling a file, try using load-file-name.
3546 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3548         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3549         Fix last change.
3550         (edebug-update-eval-list): Use `push'.
3552         * emacs-lisp/edebug.el: Use lexical-binding.
3553         Remove the "edebug-" prefix from non-dynamically-scoped variables.
3554         Mark unused args with underscore.
3555         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3556         (edebug-form-data): Use defvar-local.
3557         (edebug-make-before-and-after-form, edebug-make-after-form):
3558         Use backquote.
3559         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3560         Not dynamically scoped any more.
3561         (edebug--enter-trace): Add arguments `function' and `args'.
3562         Rename from edebug-enter-trace.
3563         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
3564         (edebug--update-coverage): Add `after-index' and `value' args.
3565         Rename from edebug-update-coverage.
3566         (edebug-slow-after): Call it accordingly.
3567         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
3568         edebug-recursive-edit.
3569         (edebug--display): Call it accordingly.  Add args `value',
3570         `offset-index', and `arg-mode'.  Rename from edebug-display.
3571         (edebug-debugger, edebug): Call it accordingly.
3572         (edebug-eval-display-list): Use dolist.
3574 2012-09-12  Juri Linkov  <juri@jurta.org>
3576         * info.el (Info-search): Don't check for isearch-mode and
3577         isearch-regexp before let-binding search-spaces-regexp to
3578         Info-search-whitespace-regexp.
3579         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3580         search-whitespace-regexp if isearch-lax-whitespace or
3581         isearch-regexp-lax-whitespace is non-nil.
3582         (Info-mode): Don't set local variable search-whitespace-regexp.
3583         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3585 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3587         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3588         (debugger-env-macro): Remove support for unread-command-char.
3590         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3591         the temporary map re-appearing on emulation-mode-map-alists.
3593         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3594         since 22.1.
3596         * ehelp.el (with-electric-help): Accept functions in
3597         electric-help-form-to-execute.
3598         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3599         And replace unread-command-char -> unread-command-events.
3601 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
3603         Sync with Tramp 2.2.6.
3605         * net/tramp.el (tramp-accept-process-output): Don't use
3606         JUST-THIS-ONE in the XEmacs case.
3608         * net/trampver.el: Update release number.
3610 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
3612         * emacs-lisp/debug.el (debugger-previous-window-height):
3613         New variable.
3614         (debug): When debugger-jumping-flag is non-nil try to restore
3615         height of debugger window.  (Bug#8789)
3617 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3619         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3620         overriding-local-map and pre/post-command-hook here.
3621         (edebug-recursive-edit): Do it here instead (bug#12345).
3622         (edebug-outside-unread-command-char): Remove all uses of
3623         unread-command-char.
3625         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3626         inhibit-debugger is bound instead.
3628 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3630         * subr.el (set-temporary-overlay-map): Add a docstring.
3631         (Bug#12346)
3633 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3635         * minibuffer.el (completion-table-subvert): Fix docstring.
3636         (Bug#12347)
3638 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3640         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
3642 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
3644         * progmodes/sql.el: Version 3.1
3645         (sql-db2-escape-newlines): New variable.
3646         (sql-escape-newlines-filter): Use it.
3648 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
3650         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3652 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
3654         * vc/diff-mode.el (diff-mode-menu):
3655         Bind diff-remove-trailing-whitespace.
3657 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3659         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3660         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3661         (emacs-lisp-byte-code-mode): New functions.
3662         (eval-sexp-add-defvars): Don't skip defvars in column >0.
3663         (eval-defun-2): Remove bogus interactive spec.
3664         (lisp-indent-line): Remove redundant whole-exp code, now done in
3665         indent-according-to-mode.
3666         (save-match-data): Remove redundant indent data.
3668         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3669         Use `declare'.
3671 2012-09-09  Juri Linkov  <juri@jurta.org>
3673         * replace.el (replace-regexp-lax-whitespace): New defcustom.
3674         (replace-lax-whitespace, query-replace-regexp)
3675         (query-replace-regexp-eval, replace-regexp): Doc fix.
3676         (perform-replace, replace-highlight): Let-bind
3677         isearch-lax-whitespace to replace-lax-whitespace and
3678         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3680         * isearch.el (isearch-query-replace): Let-bind
3681         replace-lax-whitespace to isearch-lax-whitespace and
3682         replace-regexp-lax-whitespace to
3683         isearch-regexp-lax-whitespace.  (Bug#10885)
3685 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3687         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3689 2012-09-09  Alan Mackenzie  <acm@muc.de>
3691         * progmodes/cc-engine.el (c-state-cache-init):
3692         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3693         (c-record-parse-state-state):
3694         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3696 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
3698         * register.el (register-separator): Rename from
3699         separator-register.  All uses changed.  Doc fix.
3700         (register): Fix version.
3702 2012-09-09  Chong Yidong  <cyd@gnu.org>
3704         * replace.el (query-replace-map): Bind four new symbols for
3705         requesting window scrolling.
3707         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3708         query-replace-map (Bug#8948).
3710         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3712         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3713         since they are now in query-replace-map.
3715         * window.el (scroll-other-window-down): Make the arg optional.
3717 2012-09-09  Chong Yidong  <cyd@gnu.org>
3719         * files.el (hack-local-variables-confirm): Use quit-window to kill
3720         the *Local Variables* buffer.
3722 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
3724         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3725         not just expect to be at its beginning.  Adjust callees.
3726         Succeed when do-end block has no space before the pipe character.
3727         (ruby-brace-to-do-end): When the original block is one-liner,
3728         convert to multiline.  Reindent the result.
3730 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
3732         * register.el (register): New group.
3733         (separator-register): New user option.
3734         (increment-register): Route it to `append-to-register', if
3735         register contains text.  Implication is that `C-x r +' can now be
3736         used for appending to a text register (bug#12217).
3737         (append-to-register, prepend-to-register): Add separator based on
3738         `separator-register'.
3740 2012-09-08  Alan Mackenzie  <acm@muc.de>
3742         AWK Mode: make auto-newline work when there's "==" in the pattern.
3743         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3744         correctly.
3745         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3746         Test more rigorously for "=" token.
3748 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
3750         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3751         Only fail when reached LIMIT.
3753 2012-09-08  Chong Yidong  <cyd@gnu.org>
3755         * dired.el (dired-mode-map): Don't bind M-=.
3757         * dired-aux.el (dired-diff): Use backup file as default.
3759 2012-09-08  Drew Adams  <drew.adams@oracle.com>
3761         * subr.el (add-to-history): Fix delete usage (Bug#12314).
3763 2012-09-08  Chong Yidong  <cyd@gnu.org>
3765         * subr.el (syntax-after, syntax-class): Doc fix.
3767 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
3769         * window.el (display-buffer-in-previous-window): New buffer
3770         display action function.
3772         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3773         (debugger-previous-window): New variable.
3774         (debug): Rewrite using display-buffer-in-previous-window,
3775         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
3777 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3779         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
3781 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
3783         * progmodes/python.el (python-shell-send-string):
3784         When default-directory is remote, create temp file on remote
3785         filesystem.
3786         (python-shell-send-file): When file is remote, pass local view of
3787         file paths to remote Python interpreter.  (Bug#12340)
3789 2012-09-07  Chong Yidong  <cyd@gnu.org>
3791         * window.el (switch-to-buffer): Doc fix (Bug#12181).
3793         * files.el (after-find-file): Don't fail on a read-only buffer if
3794         require-final-newline is `visit' or `visit-save' (Bug#11156).
3796         * subr.el (read-char-choice): Allow quitting via ESC ESC.
3798         * userlock.el (ask-user-about-supersession-threat):
3799         Use read-char-choice (Bug#12093).
3801 2012-09-07  Chong Yidong  <cyd@gnu.org>
3803         * subr.el (buffer-narrowed-p): New function.
3805         * ses.el (ses-widen):
3806         * simple.el (count-words--buffer-message):
3807         * net/browse-url.el (browse-url-of-buffer): Use it.
3809         * simple.el (count-words-region): Don't signal an error if there
3810         is a non-nil prefix arg and the mark is not set.
3812         * help.el (describe-key-briefly): Allow the message to be seen
3813         when invoked from the minibuffer (Bug#7014).
3815 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
3817         * progmodes/ruby-mode.el (ruby-end-of-defun)
3818         (ruby-beginning-of-defun): Simplify, allow indentation before
3819         block beginning and end keywords.
3820         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3821         (ruby-end-of-defun): Expect that the point is at the beginning of
3822         the defun.
3824 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3826         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3827         (bug#12367).
3828         (cl--make-usage-args): Strip _ from argument names.
3830 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3832         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3833         obsolete alias speedbar-key-map.
3834         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3835         (vhdl-index-menu-init): Don't use obsolete variable
3836         font-lock-maximum-size.
3838 2012-09-06  Chong Yidong  <cyd@gnu.org>
3840         * frame.el (window-system-version): Mark as obsolete.
3842         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3843         of obsolete variable speedbar-key-map.
3845 2012-09-06  Juri Linkov  <juri@jurta.org>
3847         * replace.el (replace-lax-whitespace): New defcustom.
3848         (query-replace, query-replace-regexp, query-replace-regexp-eval)
3849         (replace-string, replace-regexp): Mention it in docstrings.
3850         (perform-replace, replace-highlight): Let-bind
3851         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3852         to the values of replace-lax-whitespace and regexp-flag.
3853         Don't let-bind search-whitespace-regexp.  (Bug#10885)
3855         * isearch.el (isearch-query-replace): Let-bind
3856         replace-lax-whitespace instead of let-binding
3857         replace-search-function and replace-re-search-function.
3858         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3859         and isearch-regexp-lax-whitespace to lazy-highlight variables.
3860         (isearch-toggle-symbol): Set isearch-regexp to nil
3861         in isearch-word mode (like in isearch-toggle-word).
3863 2012-09-06  Juri Linkov  <juri@jurta.org>
3865         * replace.el (replace-search-function)
3866         (replace-re-search-function): Set default values to nil.
3867         (perform-replace): Let-bind isearch-related variables based on
3868         replace-related values, call `isearch-search-fun' and let-bind
3869         the result to `search-function'.  Remove code that sets
3870         `search-function' and `search-string' separately for
3871         `delimited-flag'.
3872         (replace-highlight): Add new argument `delimited-flag' and
3873         rename other arguments to the names used in `perform-replace'.
3874         Let-bind `isearch-word' to the argument `delimited-flag'.
3875         (Bug#10885, bug#10887)
3877 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
3879         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3880         ruby-beginning-of-indent, simplify, allow all keywords to have
3881         indentation before them.
3882         (ruby-beginning-of-indent): Adjust for above.  Search until the
3883         found point is not inside a string or comment.
3884         (ruby-font-lock-keywords): Allow symbols to start with "@"
3885         character, give them higher priority than variables.
3886         (ruby-syntax-propertize-function)
3887         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3888         matchers.  Expression expansions are not comments when inside a
3889         string, and there comment syntax status is irrelevant.
3890         (ruby-match-expression-expansion): New function.  Check that
3891         expression expansion is inside a string, and it's not escaped.
3892         (ruby-font-lock-keywords): Use it.
3894 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
3896         * help.el (temp-buffer-max-height): New default value.
3897         (temp-buffer-resize-frames): New option.
3898         (resize-temp-buffer-window): Optionally resize frame.
3900         * window.el (fit-frame-to-buffer-bottom-margin): New option.
3901         (fit-frame-to-buffer): New function.
3903 2012-09-05  Glenn Morris  <rgm@gnu.org>
3905         * emulation/cua-rect.el (cua--init-rectangles):
3906         * textmodes/picture.el (picture-mode-map):
3907         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3908         like forward-char and backward-char.  (Bug#12317)
3910 2012-09-05  Leo Liu  <sdl.web@gmail.com>
3912         * progmodes/flymake.el (flymake-warning-re): New variable.
3913         (flymake-parse-line): Use it.
3915 2012-09-05  Glenn Morris  <rgm@gnu.org>
3917         * calendar/holidays.el (holiday-christian-holidays):
3918         Rename an entry.  (Bug#12289)
3920 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3922         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3923         (bug#12222).
3925 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3927         * loadup.el: Load macroexp.  Remove hack.
3928         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3929         (macroexp--expand-all): Use it to get better warnings.
3930         (macroexp--backtrace, macroexp--trim-backtrace-frame)
3931         (internal-macroexpand-for-load): New functions.
3932         (macroexp--pending-eager-loads): New var.
3933         (emacs-startup-hook): New hack to replace one in loadup.el.
3934         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3935         (cl--compiler-macro-cXXr): Move to top, before they can be used.
3936         (cl-psetf): Simplify.
3937         (cl-defstruct): Add indent rule.
3939 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
3941         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3942         over `user-mail-address' for the SMTP MAIL FROM envelope.
3943         (smtpmail-via-smtp): Ditto.
3945 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
3947         * progmodes/ruby-mode.el: Clean up keybindings.
3948         (ruby-mode-map): Don't bind ruby-electric-brace,
3949         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3950         backward-kill-word, reindent-then-newline-and-indent.
3951         (ruby-mark-defun): Remove.
3952         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
3953         (ruby-mode): Set local beginning-of-defun-function and
3954         end-of-defun-function values.
3956 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
3958         * window.el (temp-buffer-window-setup-hook)
3959         (temp-buffer-window-show-hook): New hooks.
3960         (temp-buffer-window-setup, temp-buffer-window-show)
3961         (with-temp-buffer-window): New functions.
3962         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3963         (special-display-popup-frame): Make sure the window used shows BUFFER.
3965         * help.el (temp-buffer-resize-mode): Fix doc-string.
3966         (resize-temp-buffer-window): New optional argument WINDOW.
3968         * files.el (recover-file, save-buffers-kill-emacs):
3969         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3971 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
3973         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3974         remote definition of `default-directory', ensure we can connect.
3976 2012-09-02  Juri Linkov  <juri@jurta.org>
3978         Toggle whitespace matching mode with M-s SPC.
3979         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3981         * isearch.el (search-whitespace-regexp): Doc fix.
3982         Remove cons cell customization.
3983         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3984         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3985         New variables.
3986         (isearch-forward, isearch-forward-regexp): Doc fix.
3987         (isearch-toggle-lax-whitespace): New command.
3988         (search-forward-lax-whitespace, search-backward-lax-whitespace)
3989         (re-search-forward-lax-whitespace)
3990         (re-search-backward-lax-whitespace): New functions.
3991         (isearch-whitespace-regexp): Remove function.
3992         (isearch-query-replace): Let-bind replace-search-function and
3993         replace-re-search-function.
3994         (isearch-occur): Let-bind search-spaces-regexp according to the
3995         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3996         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3997         condition for C-q SPC.
3998         (isearch-search-fun-default): Use new functions mentioned above.
3999         (isearch-search-forward, isearch-search-backward): Remove functions.
4000         (isearch-search): Don't let-bind search-spaces-regexp.
4001         (isearch-lazy-highlight-space-regexp): Remove variable.
4002         (isearch-lazy-highlight-lax-whitespace)
4003         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
4004         (isearch-lazy-highlight-new-loop): Use them.
4005         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
4007 2012-09-02  Chong Yidong  <cyd@gnu.org>
4009         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
4011 2012-09-02  Glenn Morris  <rgm@gnu.org>
4013         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
4015 2012-09-01  Glenn Morris  <rgm@gnu.org>
4017         * term.el: Tidy up menu definitions.
4018         (term-mode-map): Use easymenu for In/Out, Complete menus.
4019         (term-pager-break-map): Initialize in the defvar.
4020         (term-terminal-menu, term-signals-menu): Define with easymenu.
4021         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
4022         (term-pager-menu): New, extracted from term-process-pager.
4023         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
4024         (term-update-mode-line): Propertize line/char and page items.
4025         (term-process-pager): Move keymap initialization elsewhere.
4027 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
4029         * window.el (switch-to-prev-buffer): Handle additional values of
4030         BURY-OR-KILL argument.  Don't switch in minibuffer window.
4031         (switch-to-next-buffer): Don't switch in minibuffer window.
4032         (quit-restore-window): New function based on quit-window.
4033         Handle additional values of former KILL argument.
4034         (quit-window): Call quit-restore-window with appropriate
4035         interpretation of KILL argument.
4036         (display-buffer-below-selected): New buffer display action
4037         function.
4039 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4041         * minibuffer.el (completion-at-point-functions): Complete docstring
4042         (bug#12254).
4044 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
4046         Better seed support for (random).
4047         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4048         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4049         * play/mpuz.el, play/tetris.el, play/zone.el:
4050         * calc/calc-comb.el (math-init-random-base):
4051         * play/blackbox.el (bb-init-board):
4052         * play/life.el (life):
4053         * server.el (server-use-tcp):
4054         * type-break.el (type-break):
4055         Remove unnecessary call to (random t).
4056         * net/sasl.el (sasl-unique-id-function):
4057         Change (random t) to (random), now that the latter is more random.
4058         * play/life.el (life-initialized): Remove no-longer-needed var.
4060 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
4062         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4063         Consider frame's buffer predicate when choosing the buffer.
4064         (Bug#12081)
4066 2012-08-30  Richard Stallman  <rms@gnu.org>
4068         * simple.el (special-mode-map): Delete binding for `z'.
4070 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
4072         * progmodes/compile.el (compilation-always-kill): Doc fix.
4074 2012-08-30  Chong Yidong  <cyd@gnu.org>
4076         * window.el (display-buffer-reuse-frames): Make the obsolescence
4077         message more informative.
4079 2012-08-30  Glenn Morris  <rgm@gnu.org>
4081         * paren.el (show-paren-delay):
4082         Add a :set function.  Doc fix.  (Bug#12297)
4084 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
4086         * progmodes/compile.el (compilation-always-kill): New var.
4087         (compilation-start): Use it.
4089 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4091         * simple.el (read-only-mode): Move from files.el for bootstrapping.
4092         * files.el (read-only-mode): Move to simple.el.
4094         * files.el (read-only-mode): New minor mode.
4095         (toggle-read-only): Use it and mark obsolete.
4096         (find-file--read-only):
4097         * vc/vc.el (vc-next-action, vc-checkout):
4098         * vc/vc-cvs.el (vc-cvs-checkout):
4099         * obsolete/vc-mcvs.el (vc-mcvs-update):
4100         * ffap.el (ffap--toggle-read-only): Update callers.
4102 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
4104         * eshell/esh-ext.el (eshell-external-command): Do not examine
4105         remote shell scripts.
4106         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4108         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4109         "/usr/local/sbin".
4111 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4113         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4115 2012-08-28  Leo Liu  <sdl.web@gmail.com>
4117         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4118         completion-at-point.  (Bug#12220)
4120         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4122         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4124 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4126         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4127         be buffer-local; add delete-trailing-whitespace (bug#12259).
4129 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
4131         * progmodes/hideif.el (hif-compress-define-list):
4132         Fix typo.  (Bug#11951)
4134 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
4136         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4137         buffer local setting.
4139         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4140         rcirc-encode-coding-system.
4142 2012-08-28  Leo Liu  <sdl.web@gmail.com>
4144         * net/rcirc.el (rcirc-split-message): New function.
4145         (rcirc-send-message): Use it.  (Bug#12051)
4147 2012-08-28  Juri Linkov  <juri@jurta.org>
4149         * info.el (Info-fontify-node): Hide empty lines at the end of
4150         the node.  (Bug#12272)
4152 2012-08-27  Drew Adams  <drew.adams@oracle.com>
4154         * dired.el (dired-pop-to-buffer): Make window start at beginning
4155         of buffer (Bug#12281).
4157 2012-08-26  Chong Yidong  <cyd@gnu.org>
4159         * window.el (special-display-regexps, special-display-frame-alist)
4160         (special-display-buffer-names, special-display-function)
4161         (display-buffer-reuse-frames): Mark as obsolete.
4163         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4165         * help.el (help-print-return-message): Don't treat
4166         display-buffer-reuse-frames specially.
4168 2012-08-26  Chong Yidong  <cyd@gnu.org>
4170         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4171         New variable, replacing gdb-frame-parameters.
4172         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4173         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4174         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4175         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4176         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
4177         the functions directly with gdb-display-buffer-other-frame-action.
4178         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4179         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4180         (gdb-display-stack-buffer, gdb-display-locals-buffer)
4181         (gdb-display-registers-buffer): Define directly.
4182         (def-gdb-display-buffer): Macro deleted.
4183         (gdb-display-buffer): Remove second and third args, callers don't
4184         use them.  Defer to the default display-buffer behavior, apart
4185         from making windows dedicated.
4186         (gdb-setup-windows): Don't call display-buffer unnecessarily.
4188         * progmodes/gud.el (gud-display-line): Just use display-buffer.
4190         * window.el (display-buffer-pop-up-frame): Handle a
4191         pop-up-frame-parameters alist entry.
4192         (display-buffer): Document it.
4194 2012-08-26  Chong Yidong  <cyd@gnu.org>
4196         * isearch.el (search-whitespace-regexp): Make string and nil
4197         values apply to both ordinary and regexp search.  Allow a cons
4198         cell value to distinguish between the two.
4199         (isearch-whitespace-regexp, isearch-search-forward)
4200         (isearch-search-backward): New functions.
4201         (isearch-occur, isearch-search-fun-default, isearch-search)
4202         (isearch-lazy-highlight-new-loop): Use them.
4203         (isearch-forward, isearch-forward-regexp): Doc fix.
4205 2012-08-26  Chong Yidong  <cyd@gnu.org>
4207         * faces.el (help-argument-name): Always inherit from italic
4208         (Bug#12213).
4210 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
4212         * window.el (window--even-window-heights): Even heights when
4213         WINDOW and the selected window form a vertical combination.
4214         (display-buffer-use-some-window): Provide that window used gets
4215         sized back by quit-window.  (Bug#11880) and (Bug#12091)
4217 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
4219         Fix file time stamp problem with bzr and CVS (Bug#12001).
4220         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4221         in the file's time stamp, since the version control system loses
4222         that information.
4224 2012-08-22  Juri Linkov  <juri@jurta.org>
4226         * info.el (Info-fontify-node): Hide the suffix of the
4227         Info file name in the header line.  (Bug#12187)
4229 2012-08-22  Glenn Morris  <rgm@gnu.org>
4231         * calendar/cal-tex.el (cal-tex-weekly-common):
4232         Restore leading blank page.
4234 2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
4236         * misc.el (forward-to-word, backward-to-word): Activate or extend
4237         the region under `shift-select-mode'.  (Bug#12231)
4239 2012-08-22  Bastien Guerry  <bzg@gnu.org>
4241         * progmodes/executable.el (executable-prefix): Set to "#!" instead
4242         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
4243         gives details on why the space is never needed.
4245 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
4247         * window.el (walk-window-tree, window-with-parameter):
4248         New optional argument MINIBUF to control whether these functions
4249         should run on the minibuffer window.
4250         (window-at-side-list): Don't operate on minibuffer window.
4251         (window-in-direction): Simplify and rewrite doc-string.
4252         (window--size-ignore): Rename to window--size-ignore-p.
4253         Update callers.
4254         (display-buffer-in-atom-window, window--major-non-side-window)
4255         (window--major-side-window, display-buffer-in-major-side-window)
4256         (delete-side-window, display-buffer-in-side-window):
4257         New functions.
4258         (window--side-check, window-deletable-p, delete-window)
4259         (delete-other-windows, split-window): Handle side windows and
4260         atomic windows appropriately.
4261         (window--display-buffer): Call display-buffer-record-window also
4262         when the window buffer did not change.
4264 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
4266         * help-fns.el (help-fns--key-bindings):
4267         Abbreviate non-symbol remap targets.  (Bug#12174)
4269 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
4271         * dired.el (dired-mark-remembered): Don't clobber point.
4272         (Bug#11795)
4274 2012-08-22  Glenn Morris  <rgm@gnu.org>
4276         * progmodes/bug-reference.el (bug-reference): New custom group.
4277         (bug-reference-bug-regexp): Make it a defcustom.
4279 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
4281         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4282         (js-paren-indent-offset, js-square-indent-offset)
4283         (js-curly-indent-offset): Add :safe (Bug#12257).
4285 2012-08-22  Edward O'Connor  <hober0@gmail.com>
4287         * json.el (json-key-format): Add error properties.
4288         (json-encode-key): New function.
4289         (json-encode-hash-table, json-encode-alist, json-encode-plist):
4290         Use json-encode-key.
4292 2012-08-22  Glenn Morris  <rgm@gnu.org>
4294         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4295         (cal-tex-leftday, cal-tex-rightday): Remove functions.
4296         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4297         Update for above change.
4299 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
4301         * cus-face.el (custom-face-attributes): Fix customize type for the
4302         :underline attribute.  (Bug#11805)
4304 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
4306         * window.el (window-point-1, set-window-point-1): Remove.
4307         (window-in-direction, record-window-buffer)
4308         (set-window-buffer-start-and-point, split-window-below)
4309         (window--state-get-1, display-buffer-record-window):
4310         Replace calls to window-point-1 and set-window-point-1 by calls to
4311         window-point and set-window-point respectively.
4313 2012-08-21  Glenn Morris  <rgm@gnu.org>
4315         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4316         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4317         Use it.
4319         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4320         (cal-tex-shortday): New function.
4321         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4322         (cal-tex-cursor-filofax-daily): Use the above.
4324         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4325         New functions.
4326         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4327         (cal-tex-cursor-filofax-week): Use them.
4329         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4330         New constants.
4331         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4332         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4334         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4335         (cal-tex-end-document): Don't rely on buffer name.
4337         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4338         Use cal-tex-vspace.
4339         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4340         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4341         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4342         Use cal-tex-arg.
4344         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4345         (cal-tex-cursor-week, cal-tex-cursor-week2)
4346         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4347         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4348         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4349         (cal-tex-insert-preamble, cal-tex-b-document)
4350         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4351         Improve cal-tex-cmd usage.
4353         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4354         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4355         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4356         (cal-tex-weekly-paper): New function.
4357         (cal-tex-cursor-week, cal-tex-cursor-week2)
4358         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4359         (cal-tex-cursor-day): Use it.
4361         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4362         (cal-tex-cursor-filofax-week): Remove leading blank page.
4364         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4365         Add autoload cookie.  For now at least, don't use color, since
4366         no other cal-tex function does.
4368         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4369         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4370         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4372 2012-08-21  Juri Linkov  <juri@jurta.org>
4374         * info.el (Info-file-attributes): New variable.
4375         (info-insert-file-contents): Add file attributes to
4376         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
4377         `Info-toc-nodes' when previous modtime of the Info file is less
4378         than new modtime.
4379         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4380         of info.el.  (Bug#12230)
4382 2012-08-20  Glenn Morris  <rgm@gnu.org>
4384         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4385         * calendar/holidays.el (calendar-holiday-list):
4386         Report errors with display-warning rather than beep'n'sleep.
4388 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
4390         * net/tramp.el (tramp-accept-process-output): Accept only output
4391         from PROC.  Otherwise, process filters and sentinels might be
4392         confused.  (Bug#12145)
4394 2012-08-20  Chong Yidong  <cyd@gnu.org>
4396         * descr-text.el (describe-text-properties-1): Use overlays-in to
4397         report on empty overlays (Bug#3322).
4399 2012-08-20  Glenn Morris  <rgm@gnu.org>
4401         * mail/rmailout.el (rmail-output-read-file-name):
4402         Trap and report errors in rmail-output-file-alist elements.
4404         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4405         since most non-font-lock faces are not also variables).
4407 2012-08-20  Edward Reingold  <reingold@iit.edu>
4409         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4410         New function.  (Bug12160)
4412 2012-08-19  Glenn Morris  <rgm@gnu.org>
4414         * mail/rmailout.el (rmail-output-read-file-name):
4415         Fix previous change (when the alist is nil or does not match).
4417 2012-08-19  Chong Yidong  <cyd@gnu.org>
4419         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4420         (Bug#12228).
4422 2012-08-18  Chong Yidong  <cyd@gnu.org>
4424         * simple.el (yank-handled-properties): New defcustom.
4425         (yank-excluded-properties): Add font-lock-face and category.
4426         (yank): Doc fix.
4428         * subr.el (remove-yank-excluded-properties):
4429         Obey yank-handled-properties.  The special handling of font-lock-face
4430         and category is now done this way, instead of being hard-coded.
4431         (insert-for-yank-1): Remove font-lock-face handling.
4432         (yank-handle-font-lock-face-property)
4433         (yank-handle-category-property): New function.
4435 2012-08-17  Glenn Morris  <rgm@gnu.org>
4437         * mail/rmailout.el (rmail-output-read-file-name):
4438         Check rmail-output-file-alist against the full message body
4439         in the correct rmail buffer.  (Bug#12214)
4441 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
4443         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4444         Eliminate superfluous prompt.  (Bug#12203)
4446 2012-08-17  Chong Yidong  <cyd@gnu.org>
4448         * mouse.el (mouse-appearance-menu): If x-select-font returns a
4449         font spec, set the font directly (Bug#3228).
4451 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
4453         * window.el (delete-window): Fix last fix.
4455 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
4457         * window.el (window-valid-p): Move to window.c.
4458         (window-child, window-child-count, window-last-child)
4459         (window-normalize-window, window-combined-p)
4460         (window-combinations, window-atom-root, window-min-size)
4461         (window-sizable, window-sizable-p, window-size-fixed-p)
4462         (window-min-delta, window-max-delta, window--resizable)
4463         (window--resizable-p, window-resizable, window-total-size)
4464         (window-full-height-p, window-full-width-p, window-body-size)
4465         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4466         (minimize-window, window-deletable-p, delete-window)
4467         (delete-other-windows, set-window-buffer-start-and-point)
4468         (next-buffer, previous-buffer, split-window, balance-windows-2)
4469         (set-window-text-height, window-buffer-height)
4470         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4471         (truncated-partial-width-window-p): Minor code adjustments.
4472         In doc-strings state whether the argument window has to denote a
4473         live, valid or any window.
4475 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
4477         * progmodes/subword.el (subword-forward-function)
4478         (subword-backward-function, subword-forward-regexp)
4479         (subword-backward-regexp): New variables.
4480         (subword-forward, subword-forward-internal, subword-backward-internal):
4481         Use new variables, eg so that different "word" definitions
4482         can be easily used.  (Bug#11411)
4484 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4486         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4487         for composite selectors.
4488         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4489         operation just because we can't find a previous revision.
4491 2012-08-15  Chong Yidong  <cyd@gnu.org>
4493         * frame.el (set-frame-font): Accept font objects.
4495 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4497         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4499 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
4501         * man.el (Man-overstrike-face, Man-underline-face)
4502         (Man-reverse-face): Remove variables.
4503         (Man-overstrike, Man-underline, Man-reverse): New faces.
4504         (Man-fontify-manpage): Use them instead of the variables.
4505         (Man-cleanup-manpage): Comment change.
4506         (Man-ansi-color-map): New variable.
4507         (Man-fontify-manpage): Use it.
4508         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4510         Implement ANSI SGR parameters 22-27 (bug#12146).
4511         * ansi-color.el (ansi-colors): Doc fix.
4512         (ansi-color-context, ansi-color-context-region): Doc fix.
4513         (ansi-color--find-face): New function.
4514         (ansi-color-apply, ansi-color-apply-on-region): Use it.
4515         Rename the local variable `face' to `codes' since it is now a list of
4516         ansi codes.  Doc fix.
4517         (ansi-color-get-face): Remove.
4518         (ansi-color-parse-sequence): New function, derived from
4519         ansi-color-get-face.
4520         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
4521         codes 22-27.
4523 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4525         * subr.el (read-passwd): Allow use from a minibuffer.
4527 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
4529         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4530         inside comments and strings as identifiers.
4532         * progmodes/gud.el (gud-tooltip-print-command): Quote the
4533         expression to evaluate.  This allows to evaluate expressions with
4534         embedded whitespace.
4535         (gud-tooltip-tips): Add a blank before the newline in the
4536         message-box text, for the benefit of message-box emulation on
4537         MS-Windows.
4539         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4540         messages from GDB, pop them up in a tooltip to give feedback to
4541         user.
4542         (gdb-tooltip-print-1): Quote the expression to evaluate.
4543         This allows to evaluate expressions with embedded whitespace.
4544         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4545         if the TTY name is nil or empty (which happens when communicating
4546         with the inferior via pipes, e.g. on MS-Windows).
4547         (gdb-internals): If GDB sends a "&\n" empty debugging message,
4548         don't send that to the GUD buffer.
4550 2012-08-14  Glenn Morris  <rgm@gnu.org>
4552         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4553         Optimize away setq-default with no args, as for setq.  (Bug#12195)
4555 2012-08-14  Chong Yidong  <cyd@gnu.org>
4557         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4559         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4560         (Bug#12085).
4562 2012-08-14  Glenn Morris  <rgm@gnu.org>
4564         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4566 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
4568         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4569         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4570         Use cached shell name.
4572 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
4574         * progmodes/python.el (python-shell-send-string):
4575         (python-shell-send-setup-code): Do not use `format' with `message'.
4577 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
4579         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4580         (ruby-percent-literal-beg-re): New constant.
4581         (ruby-syntax-general-delimiters-goto-beg): Rename to
4582         `ruby-syntax-enclosing-percent-literal', improve literal type check.
4583         (ruby-syntax-propertize-general-delimiters): Rename to
4584         `ruby-syntax-propertize-percent-literal', it's a shorter and more
4585         popular term.  Adjust comments everywhere.
4586         (ruby-syntax-propertize-percent-literal): Only propertize when not
4587         inside a simple string or comment.  When the literal is unclosed,
4588         leave the text after it unpropertized.
4589         (ruby-syntax-methods-before-regexp): New constant.
4590         (ruby-syntax-propertize-function): Use it to recognize regexps.
4591         Don't look at the text after regexp, just use the whitelist.
4593 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
4595         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4596         non-nil always load the compiled file if it exists.  (Bug#12197)
4598 2012-08-14  Chong Yidong  <cyd@gnu.org>
4600         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4601         (hi-lock-set-pattern): When deciding whether to use font lock or
4602         overlays, look at font-lock-mode instead of font-lock-fontified
4603         (Bug#12168).
4604         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4605         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4607 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
4609         * subr.el (internal--after-with-selected-window): Fix typo
4610         (Bug#12193).
4612 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
4614         Use `completion-table-dynamic' for completion functions.
4615         * progmodes/python.el
4616         (python-shell-completion--do-completion-at-point)
4617         (python-shell-completion--get-completions):
4618         Remove functions.
4619         (python-shell-completion-complete-at-point): New function.
4620         (python-completion-complete-at-point): Use it.
4622 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
4624         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4625         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4627 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4629         * subr.el (function-get): Refine `autoload' arg so it can also
4630         autoload functions for gv.el (bug#12191).
4631         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4632         autoloads macros.
4634         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4635         Prefer pcase-let over destructuring-bind.
4636         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4637         Also, remove whitespace as we go, rather than after accumulating the
4638         various places.
4640         * subr.el (internal--before-with-selected-window)
4641         (internal--after-with-selected-window): Fix typo seleted->selected.
4642         (with-selected-window): Adjust callers.
4643         Reported by Dmitry Gutov <dgutov@yandex.ru>.
4645 2012-08-13  Bastien Guerry  <bzg@gnu.org>
4647         * window.el (special-display-popup-frame): Minor docstring
4648         enhancement.  (Bug#12172)
4650 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
4652         * tar-mode.el (tar-header-data-end): Only ignore size for files of
4653         type 1-6.
4654         (tar-header-block-summarize, tar-get-descriptor): Handle pax
4655         extended headers.
4657         * files.el (hack-local-variables-filter): Remove useless eval.
4659 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
4661         * subr.el (with-selected-window): Fix last change.
4663 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4665         * subr.el (internal--before-with-seleted-window)
4666         (internal--after-with-seleted-window): New functions.
4667         (with-selected-window): Use them, to replace dependency on
4668         tty-top-frame.
4670 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4672         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4673         binding for `newline'.
4674         (ruby-move-to-block): When moving backward, stop at block opening,
4675         not indentation.
4676         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4677         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4678         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4679         `ruby-toggle-block'.
4681 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4683         * ibuffer.el (ibuffer-do-toggle-read-only):
4684         * dired.el (dired-toggle-read-only):
4685         * buff-menu.el (Buffer-menu-toggle-read-only):
4686         * bindings.el (mode-line-toggle-read-only):
4687         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4689 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
4691         * descr-text.el (describe-char): Put the overlays over the
4692         "displayed as" character.
4694 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
4696         * calc/calc-units.el (math-default-units-table): Give an
4697         initial value.
4698         (math-put-default-units): Add options to put composite units and
4699         unit systems in the default units table.
4700         (calc-convert-units): Send composite units to
4701         `math-put-default-units' when appropriate.
4703 2012-08-11  Glenn Morris  <rgm@gnu.org>
4705         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4707         * tutorial.el (help-with-tutorial):
4708         * emacs-lisp/copyright.el (copyright-update-directory):
4709         * emacs-lisp/autoload.el (autoload-find-generated-file)
4710         (autoload-find-file): Disable local eval: (for insurance).
4712         * files.el (hack-local-variables-filter): If an eval: form is not
4713         known to be safe, and enable-local-variables is :safe, then ignore
4714         the form totally, as is done for non-eval forms.  (Bug#12155)
4715         This is CVE-2012-3479.
4717 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4719         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4720         (rx-form): Simplify.
4722 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
4724         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4725         ?, _, and : are symbol constituents, ! is not (but kinda should be).
4726         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4727         (ruby-syntax-propertize-function): Adjust for changes in
4728         `ruby-syntax-propertize-heredoc'.
4730 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
4732         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4733         binding (use `M-;' instead).
4734         (ruby-singleton-class-p): New function.
4735         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4737 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4739         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4741 2012-08-10  Chong Yidong  <cyd@gnu.org>
4743         * progmodes/python.el (python-shell-get-process-name): Don't mess
4744         with same-window-buffer-names.
4746         * eshell/eshell.el (eshell-add-to-window-buffer-names)
4747         (eshell-remove-from-window-buffer-names): Make obsolete.
4748         (eshell-buffer-name, eshell-unload-hook): Don't use them.
4749         (eshell): Just use pop-to-buffer-same-window instead.
4751 2012-08-10  Chong Yidong  <cyd@gnu.org>
4753         * bindings.el: Bind M-= back to count-words-region.
4755         * simple.el (count-words-region): Accept a prefix arg for acting
4756         on the entire buffer.
4757         (count-words--buffer-message): New helper function.
4759 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4761         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4762         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4763         (event-start, event-end): Use posn-at-point to return a more
4764         informative posn.
4765         (posnp): New function.
4766         * mouse.el (popup-menu-normalize-position): Use it.
4768 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
4770         * mouse.el (popup-menu-normalize-position): New function.
4771         (popup-menu): Use `popup-menu-normalize-position' to normalize
4772         the form for POSITION argument.
4774         * term/x-win.el (x-menu-bar-open):
4775         Use the value returend from (posn-at-point) as position
4776         passed to `popup-menu'.
4778 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
4780         * calc/calccomp.el (math-compose-expr): Add extra argument
4781         indicating that parentheses should be put around products in
4782         denominators.  Give multiplication precedence over division during
4783         composition.
4785 2012-08-09  Chong Yidong  <cyd@gnu.org>
4787         * man.el (Man-switches, Man-sed-command, Man-awk-command)
4788         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4789         (Man-untabify-command, manual-program): Convert to defcustom
4790         (Bug#10429).
4792         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4794         * descr-text.el (describe-char): Don't insert extra newlines
4795         (Bug#10127).
4797         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4798         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4800         * align.el (align-region): Delete temporary markers (Bug#10047).
4801         Plus some code cleanups.
4803 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
4805         * progmodes/python.el (python-pdbtrack-tracked-buffer)
4806         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4807         (python-shell-internal-last-output): Use make-local-variable
4808         instead of make-variable-buffer-local.
4810 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
4812         * progmodes/python.el: Enhancements to forward-sexp.
4813         (python-nav-forward-sexp): Rename from
4814         python-nav-forward-sexp-function.
4815         (python-nav--forward-sexp, python-nav--backward-sexp):
4816         New functions.
4818 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
4820         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4821         modes and simplification modes.
4823 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4825         * delsel.el (delete-selection-pre-hook): Don't propagate the
4826         file-supersession signals (bug#12161).
4828 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4830         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4831         (cl-map-extents): Add compatibility aliases (bug#12135).
4833 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
4835         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4836         tests by `ignore-error'.
4837         (tramp-find-shell): Open also a new shell, when cache is already
4838         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
4840 2012-08-08  Juri Linkov  <juri@jurta.org>
4842         * bookmark.el: Add `defaults' property to the bookmark record.
4843         (bookmark-current-buffer): Doc fix.
4844         (bookmark-make-record): Add `defaults' property with default values
4845         to the bookmark record.
4846         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4847         with `bookmark-insert-current-bookmark'.
4848         (bookmark-set): Get `defaults' property from the bookmark record
4849         and use it in `read-from-minibuffer'.
4850         (bookmark-insert-current-bookmark): Remove function.
4852         * info.el (Info-bookmark-make-record): Add `defaults' property
4853         with values of canonical Info node name, the current Info file
4854         name and the current Info node name.  (Bug#12107)
4856 2012-08-08  Juri Linkov  <juri@jurta.org>
4858         * files.el (basic-save-buffer): Use `buffer-name' as the default
4859         of `read-file-name' when buffer is not visiting a file (bug#12128).
4861 2012-08-08  Juri Linkov  <juri@jurta.org>
4863         * info.el (Info-isearch-search): Doc fix.
4864         (Info-search): Change search-failed message from "initial node" to
4865         "end of node" (bug#12078).
4866         (Info-isearch-search): Change `isearch-string-state' to
4867         `isearch--state-string'.
4869 2012-08-08  Glenn Morris  <rgm@gnu.org>
4871         * language/persian.el: Remove file.
4872         * language/misc-lang.el: Move unique part of persian.el here.
4873         * loadup.el: Remove language/persian.
4875 2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
4877         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4879 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
4881         * progmodes/python.el Fixed defsubst warning.
4882         (python-syntax-context) Rename from python-info-ppss-context.
4883         (python-syntax-context-type): Rename from
4884         python-info-ppss-context-type.
4885         (python-syntax-comment-or-string-p): Rename from
4886         python-info-ppss-comment-or-string-p.
4888 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
4890         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4892 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
4894         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4895         a defcustom that is quoted with backquote.
4897         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4898         Fix handling of interactive spec when the body uses return.
4899         (math-do-arg-check, math-define-function-body): Use backquote forms.
4900         * calc/calc-ext.el (math-defcache): Likewise.
4901         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4902         * allout.el (allout-new-exposure): Likewise.
4903         * calc/calcalg2.el (math-tracing-integral): Likewise.
4904         * info.el (Info-last-menu-item): Likewise.
4905         * emulation/vip.el (vip-loop): Likewise.
4906         * textmodes/artist.el (artist-funcall): Likewise.
4907         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4908         Construct menu-item directly.
4910         * progmodes/autoconf.el (font-lock-syntactic-keywords):
4911         Don't declare.
4913 2012-08-07  Chong Yidong  <cyd@gnu.org>
4915         * simple.el (deactivate-mark): Preserve text properties when
4916         saving the primary selection (Bug#8384).
4918 2012-08-07  Kevin Ryde  <user42@zip.com.au>
4920         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4921         (woman-parse-numeric-value): On a bad .IP line, issue a warning
4922         and continue processing (Bug#12110).
4924 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4926         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4927         syntax-propertize-function (bug#10095).
4929 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4931         * help-fns.el (help-fns--key-bindings, help-fns--signature)
4932         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4933         describe-function-1.
4934         (describe-function-1): Use them.  Move compiler macro after sig.
4935         (help-fns--compiler-macro): Use function-get.  Assume we're already in
4936         standard-output.  Adjust layout to new call order.
4938         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4939         re-binding a symbol that has a symbol-macro (bug#12119).
4941 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
4943         * language/persian.el: New file.  (Bug#11812)
4944         * loadup.el: Add language/persian.el.
4946 2012-08-06  Chong Yidong  <cyd@gnu.org>
4948         * window.el (window--maybe-raise-frame): New function.
4949         (window--display-buffer): Split off from here.
4950         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4951         (display-buffer-pop-up-window, display-buffer-use-some-window):
4952         Obey an inhibit-switch-frame action alist entry.
4953         (display-buffer): Update doc.
4955         * replace.el (occur-after-change-function): Avoid losing focus by
4956         using the inhibit-switch-frame display parameter (Bug#12139).
4958 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
4960         Make internal shell process buffer names start with space.
4961         * progmodes/python.el (python-shell-make-comint): Add optional
4962         argument INTERNAL.
4963         (run-python-internal): Use it.
4964         (python-shell-internal-get-or-create-process): Check for new
4965         internal buffer names.
4967 2012-08-06  Glenn Morris  <rgm@gnu.org>
4969         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4970         Do less getting and setting of environment variables.
4972 2012-08-05  Chong Yidong  <cyd@gnu.org>
4974         * proced.el (proced): Add substitution string to docstring to
4975         trigger autoloading of the proced library on C-h f (Bug#1768).
4977         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4978         Don't show defvars which have no second argument (Bug#8638).
4980         * imenu.el (imenu-generic-expression): Move documentation here
4981         from imenu--generic-function.
4982         (imenu--generic-function): Refer to imenu-generic-expression.
4984 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
4986         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4987         indentation declaration.
4988         (viper-loop): Add indentation declaration (Bug#7025).
4990 2012-08-05  Chong Yidong  <cyd@gnu.org>
4992         * help-fns.el (describe-variable): Add hyperlink for
4993         directory-local variables files.  Improve buffer-local and
4994         permanent-local reporting; suggested by MON KEY (Bug#6644).
4996         * help-mode.el (help-dir-local-var-def): New button type.
4998         * files.el (kill-buffer-hook): Provide a defvar.
5000 2012-08-05  Glenn Morris  <rgm@gnu.org>
5002         * eshell/esh-ext.el (eshell/addpath):
5003         Also update eshell-path-env.  (Bug#12013)
5005 2012-08-05  Chong Yidong  <cyd@gnu.org>
5007         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
5009         * fringe.el (fringe-styles): Add docstring.
5010         (fringe--check-mode): New function.
5011         (set-fringe-mode, set-fringe-style): Use it.
5012         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
5014         * files.el (set-auto-mode): Fix invalid setq call.
5016 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5018         * isearch.el: Misc simplification; use defstruct.
5019         (isearch-mode-map): Dense maps now work like sparse ones.
5020         (isearch--state): New defstruct.
5021         (isearch-string-state, isearch-message-state, isearch-point-state)
5022         (isearch-success-state, isearch-forward-state)
5023         (isearch-other-end-state, isearch-word-state, isearch-error-state)
5024         (isearch-wrapped-state, isearch-barrier-state)
5025         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
5026         replaced by defstruct's accessors.
5027         (isearch--set-state): Rename from isearch-top-state and change
5028         calling convention.
5029         (isearch-push-state): Use new isearch--get-state.
5030         (isearch-toggle-word): Disable regexp when enabling word.
5031         (isearch-message-prefix): Remove unused arg _c-q-hack.
5032         (isearch-message-suffix): Remove unused arg _ellipsis.
5034 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
5036         * simple.el (list-processes--refresh): For a server use :host or
5037         :local as the address.
5038         (list-processes): Doc fix.
5040 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
5042         * lisp/mpc.el: Support password in host argument.
5043         (mpc--proc-connect): Parse and use new password element.
5044         Set mpc-proc variable instead of returning process.
5045         (mpc-proc): Adjust accordingly.
5047 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
5049         * whitespace.el (whitespace-display-mappings): Use Unicode
5050         codepoints, instead of emacs-mule codepoints.  See
5051         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5052         for the details.
5054         * files.el (file-truename): Don't skip symlink-chasing part on
5055         windows-nt.  Incorporate the resolution of 8+3 short aliases on
5056         Windows into the loop that recursively chases symlinks.
5057         Compare directory and its parent case-insensitively on MS-Windows and
5058         MS-DOS.
5060 2012-08-03  Chong Yidong  <cyd@gnu.org>
5062         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5064         * sort.el (sort-regexp-fields): Doc fix.
5066 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
5068         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5069         labels regex position point at the expected place.
5071 2012-08-03  MON KEY  <monkey@sandpframing.com>
5073         * net/imap.el (imap-interactive-login, imap-authenticate)
5074         (imap-mailbox-lsub, imap-mailbox-list)
5075         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5076         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5077         (imap-parse-response): Doc fix.
5079 2012-08-03  João Távora  <joaotavora@gmail.com>
5081         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5082         if sexp scanning does not move point (Bug#5734).
5084 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
5086         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5087         Add listings, minted, and ctable packages.
5088         (reftex-label-alist-builtin): Move listings, minted, and ctable
5089         entries before LaTeX.
5090         (reftex-label-alist): Docfix.
5092 2012-08-02  Bastien Guerry  <bzg@gnu.org>
5094         * replace.el (occur): Fix docstring (bug#12122).
5096 2012-08-02  Glenn Morris  <rgm@gnu.org>
5098         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5100 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
5102         Obsolete alias inactivate-current-input-method-function (Bug#10150).
5103         * international/mule-cmds.el: Create
5104         inactivate-current-input-method-function as an obsolete alias for
5105         deactivate-current-input-method-function.  See Katsumi Yamaoka in
5106         <http://bugs.gnu.org/10150#46>.
5108 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
5110         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5111         of nested `if's.
5113 2012-08-01  Glenn Morris  <rgm@gnu.org>
5115         * progmodes/autoconf.el (autoconf-definition-regexp):
5116         Add AH_TEMPLATE, adjust submatch numbering.
5117         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5118         (autoconf-current-defun-function): Update for above change.
5119         (autoconf-current-defun-function): First skip to end of current word.
5121 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
5123         * calendar/cal-html.el (cal-html-insert-agenda-days):
5124         Fix typo.  (Bug#12018)
5126 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
5128         Shell processes: enhancements to startup and CEDET compatibility.
5129         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5130         (python-shell-make-comint): accept-process-output at startup.
5131         (run-python-internal): Set inferior-python-mode-hook to nil.
5132         (python-shell-internal-get-or-create-process): call sit-for.
5133         (python-preoutput-result): Add obsolete alias.
5134         (python-shell-internal-send-string): Use it.
5135         (python-shell-send-setup-code): Remove call to
5136         accept-process-output.
5138 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
5140         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5141         (Bug#12108)
5143 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
5145         * calc-mode.el (calc-basic-simplification-mode): Rename from
5146         `calc-limited-simplification-mode'.
5147         (calc-alg-simplification-mode): New function.
5148         (calc-set-simplify-mode): Adjust message.
5150         * calc.el (calc-set-mode-line): Adjust mode line display for
5151         basic simplification mode.
5153         * calc-help.el (calc-m-prefix-help): Update help message.
5155         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5156         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5158 2012-07-31  Bastien Guerry  <bzg@gnu.org>
5160         * man.el (man): Fix comment.  (bug#12101)
5162 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
5164         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5165         Don't return a non-nil value when no suitable buffer was found.
5167 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
5169         * progmodes/python.el (run-python-internal): Disable font lock for
5170         internal shells.
5172 2012-07-30  Stefan Merten  <smerten@oekonux.de>
5174         * textmodes/rst.el: Silence `checkdoc-ispell'.
5175         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5176         (rst-official-version, rst-official-cvs-rev)
5177         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5178         (rst-mode-map): New key binding.
5180 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
5182         Update .PHONY listings in makefiles.
5183         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5184         autoloads, update-subdirs, updates, bzr-update, update-authors,
5185         compile-onefile, compile-calc, backup-compiled-files,
5186         compile-after-backup, compile-one-process, mh-autoloads,
5187         bootstrap-clean, distclean, maintainer-clean.
5189 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
5191         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5192         (calc-set-mode-line): Don't display "AlgSimp ".
5194         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5195         (calc-lim-simplify-mode): New function.
5196         (calc-set-simplify-mode): Default to 'alg.
5197         (calc-default-simplify-mode): Make algebraic simplifications
5198         the default.
5200         * calc/calc-ext.el (calc-init-extensions): Remove binding for
5201         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
5203         * calc/calc-help.el (calc-m-prefix-help): Change messages to
5204         indicate new simplification modes.
5206         * calc/README: Mention new default simplification mode.
5208         * calc/calc.el (math-normalize-error): New variable.
5209         (math-normalize): Set `math-normalize-error' to t
5210         when there's an error.
5212         * calc/calc-alg.el (math-simplify): Don't simplify when
5213         `math-normalize' returns an error.
5215 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
5217         * international/mule-cmds.el (set-locale-environment): Revert last
5218         change, since display-graphic-p returns nil when this function is
5219         called during startup.  Instead...
5221         * term/w32console.el (terminal-init-w32console): ...setup the
5222         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
5224 2012-07-29  Juri Linkov  <juri@jurta.org>
5226         * simple.el (goto-line): Don't display default line number in the
5227         prompt because it should be displayed by `read-number' (bug#9952).
5228         Add the current line number to the defaults of `goto-line' to
5229         allow its easier modification by users with `M-n' (bug#9201).
5231         * subr.el (read-number): Support multiple default values like in
5232         other minibuffer reading functions.  Replace `read' with
5233         `string-to-number' for consistency with `number-to-string'.
5235 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
5237         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5238         * emulation/viper-init.el (viper-deactivate-input-method-action):
5239         Rename from viper-inactivate-input-method-action.
5240         (viper-deactivate-input-method):
5241         Rename from viper-inactivate-input-method.
5242         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5243         * international/mule-cmds.el (deactivate-input-method):
5244         Rename from inactivate-input-method.
5245         Also run input-method-deactivate-hook.
5246         (deactivate-current-input-method-function):
5247         Rename from inactivate-current-input-method-function.
5248         (input-method-deactivate-hook): New hook.
5249         (input-method-inactivate-hook): Mark obsolete.
5250         (inactivate-input-method): Mark obsolete.
5252         * international/quail.el (quail-activate):
5253         Also run quail-deactivate-hook.
5254         (quail-deactivate): Rename from quail-inactivate.
5255         * international/robin.el (robin-activate):
5256         Also run robin-deactivate-hook.
5257         (robin-deactivate): Rename from robin-inactivate.
5259 2012-07-29  Chong Yidong  <cyd@gnu.org>
5261         * simple.el (indicate-copied-region): New function.
5262         (kill-ring-save): Split off from here.
5264         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5265         (kill-rectangle): Set deactivate-mark to t on read-only error.
5267         * register.el (copy-to-register, copy-rectangle-to-register):
5268         Deactivate the mark, and use indicate-copied-region (Bug#10056).
5269         (append-to-register, prepend-to-register): Call indicate-copied-region.
5271 2012-07-29  Juri Linkov  <juri@jurta.org>
5273         * simple.el (async-shell-command-buffer): New defcustom.
5274         (shell-command): Use it.  (Bug#4719)
5276 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
5278         * international/mule-cmds.el (set-locale-environment): In a
5279         console session on MS-Windows, set up keyboard and terminal
5280         encoding from the OEM codepage, not the ANSI codepage.
5281         (Bug#12055)
5283 2012-07-28  Chong Yidong  <cyd@gnu.org>
5285         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5286         gdb-get-location.
5288 2012-07-28  Leo Liu  <sdl.web@gmail.com>
5290         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5291         the alist (bug#12029).
5293 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
5295         * makefile.w32-in (custom-deps, finder-data, updates, compile)
5296         (compile-always, compile-first)
5297         ($(lisp)/calendar/cal-loaddefs.el)
5298         ($(lisp)/calendar/diary-loaddefs.el)
5299         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5300         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5301         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5302         instead of on update-subdirs.
5303         (bootstrap-clean): Delete $(lisp)/subdirs.el.
5305 2012-07-28  Chong Yidong  <cyd@gnu.org>
5307         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5308         directory if vc-deduce-backend returns nil (Bug#7350).
5310         * simple.el (delete-trailing-lines): New option.
5311         (delete-trailing-whitespace): Obey it (Bug#11879).
5313 2012-07-28  David Engster  <deng@randomsample.de>
5315         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5316         Explanation of new 'symbol-qnames feature in doc-strings.
5317         (xml-maybe-do-ns): Return expanded names as plain symbols if
5318         'symbol-qnames was provided in XML-NS argument (Bug#11916).
5319         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5321 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
5323         Consistent completion in inferior python with emacs -nw.
5324         * progmodes/python.el (inferior-python-mode): replace "<tab>"
5325         binding in inferior-python-mode-map with "\t".
5326         (python-shell-completion-complete-at-point)
5327         (python-completion-complete-at-point): Remove interactive spec.
5329 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
5331         * calc/calccomp.el (math-compose-expr): Undo previous change.
5333 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
5335         * progmodes/python.el (python-mode-map): Add keybinding for
5336         run-python.
5337         (python-shell-make-comint): Fix pop-to-buffer call.
5338         (run-python): Autoload.  New arg SHOW.
5339         (python-shell-get-or-create-process): Do not pop python process
5340         buffer.
5342 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
5344         * notifications.el (notifications-on-action-signal)
5345         (notifications-on-closed-signal): Use also the bus address for the map.
5346         (notifications-notify, notifications-close-notification)
5347         (notifications-get-capabilities): Add optional argument BUS.
5349 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
5351         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5352         Add support for the lstlisting and minted environments, and for the
5353         ctable macro.
5354         * textmodes/reftex.el (reftex-compile-variables): Also recognize
5355         labels written in keyvals syntax.
5357 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
5359         * calc/calccomp.el (math-compose-expr): Use parentheses when
5360         there is a product in the denominator of a fraction.
5362 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
5364         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5365         ($(lisp)/calendar/diary-loaddefs.el)
5366         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5367         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5368         Fixes failures in parallel bootstrap because subdirs.el is being
5369         rewritten while the autoload files are built at the same time,
5370         which needs to load subdirs.el.
5372 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
5374         * mouse.el (popup-menu): Fix doc-string and re-indent code.
5375         (mouse-drag-line): Don't exit tracking when a switch-frame or
5376         switch-window event occurs (Bug#12006).
5378 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5380         * mouse.el (popup-menu): Fix last change.
5382 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5384         Autoload from Lisp with more care.  Follow aliases when looking for
5385         function properties.
5386         * subr.el (autoloadp): New function.
5387         (symbol-file): Use it.
5388         (function-get): New function.
5389         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5390         autoload-do-load.
5391         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5392         (lisp-indent-function):
5393         * emacs-lisp/gv.el (gv-get):
5394         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5395         * emacs-lisp/byte-opt.el (byte-optimize-form):
5396         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5397         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5398         Use function-get.
5399         * emacs-lisp/cl.el: Don't propagate function properties any more.
5401         * speedbar.el (speedbar-add-localized-speedbar-support):
5402         * emacs-lisp/disass.el (disassemble-internal):
5403         * desktop.el (desktop-load-file):
5404         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5405         (describe-function-1):
5406         * emacs-lisp/find-func.el (find-function-noselect):
5407         * emacs-lisp/elp.el (elp-instrument-function):
5408         * emacs-lisp/advice.el (ad-has-proper-definition):
5409         * apropos.el (apropos-safe-documentation, apropos-macrop):
5410         * emacs-lisp/debug.el (debug-on-entry):
5411         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5412         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5413         * calc/calc.el (name): Use autoloadp & autoload-do-load.
5415 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
5417         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5418         function, not an obsolete variable (Bug#12046).
5420 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
5422         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
5424 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
5426         * emacs-lisp/pp.el (pp-display-expression): Select old selected
5427         window only if it is still live (Bug#12034).
5429 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
5431         * subr.el (redirect-frame-focus): Add advertised calling
5432         convention (Bug#12030).
5434 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
5436         Prefer typical American spelling for "acknowledgment".
5437         * vc/add-log.el (change-log-acknowledgment): Rename from
5438         change-log-acknowledgement, with an alias for the old name.
5440 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
5442         * calc-alg.el (math-simplify-divide): Don't cross multiply
5443         in an equation when the lhs is a variable.
5445 2012-07-24  Julien Danjou  <julien@danjou.info>
5447         * net/netrc.el (netrc-find-service-number, netrc-store-data):
5448         Remove, unused.
5450 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
5452         * startup.el (command-line): Don't display an empty user name in
5453         the error message about non-existent home directory, when
5454         init-file-user was set to an empty string.  See
5455         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5456         for the details and context.
5458 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5460         * ses.el (ses-cell-formula-aset): New macro.
5461         (ses-cell-references-aset): New macro.
5462         (ses-cell-p): New function.
5463         (ses-rename-cell): Do no longer rely on complex operations like
5464         ses-cell-set-formula or ses-set-cell to change the cell and handle
5465         the undo at the same time, but rather use lower level new macros
5466         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5467         the undo directly.  Refresh the mode line.
5469 2012-07-21  Leo Liu  <sdl.web@gmail.com>
5471         * progmodes/cc-cmds.el (c-defun-name):
5472         Use match-string-no-properties instead for consistency.
5474 2012-07-20  Leo Liu  <sdl.web@gmail.com>
5476         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5477         (Bug#7879)
5479         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5481 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5483         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5484         * progmodes/bug-reference.el, misearch.el: Provide themselves
5485         (bug#11915).
5487         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5488         of narrowed buffer (bug#11966).
5490 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5492         * ses.el (ses-rename-cell): Set new name also in reference list of
5493         cells of which the renamed cell depends.
5495 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
5497         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5498         to check whether menu-bar is shown or not.  If not shown,
5499         show the menu-bar as a popup menu instead of using tmm.
5500         * mouse.el (popup-menu): Accept `point' as `position' argument.
5502 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
5504         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5505         up inside string symbol literal (bug#11923).
5507 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
5509         * startup.el (fancy-startup-text): Read the whole tutorial, not
5510         just its first 256 bytes.  Prevents gibberish in display of the
5511         tutorial title.
5513 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
5515         Drop idle buffer compaction due to an absence of the
5516         proved efficiency.
5517         * compact.el: Remove.
5519 2012-07-19  Sam Steingold  <sds@gnu.org>
5521         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5522         vc-bzr-pull & vc-bzr-merge-branch.
5523         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5524         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5525         for consistency with compilation-error-regexp-alist.
5526         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5527         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5528         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5529         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5531 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5533         * emacs-lisp/chart.el: Use lexical-binding.
5534         (chart-emacs-storage): Don't hardcode the list of entries.
5536 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
5538         Next round of tweaks caused by Fgarbage_collect changes.
5539         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5541 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
5543         Compact buffers when idle.
5544         * compact.el: New file.
5546 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5548         * subr.el (eventp): Presume that if it looks vaguely like an event,
5549         it's an event (bug#10190).
5551 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
5553         Enhancements to ppss related code (thanks Stefan).
5554         * progmodes/python.el (python-indent-context)
5555         (python-indent-calculate-indentation, python-indent-dedent-line)
5556         (python-indent-electric-colon, python-nav-forward-block)
5557         (python-mode-abbrev-table)
5558         (python-info-assignment-continuation-line-p): Simplify checks
5559         for ppss context.
5560         (python-info-continuation-line-p): Cleanup.
5561         (python-info-ppss-context): Do not catch 'quote.
5562         (python-info-ppss-context-type)
5563         (python-info-ppss-comment-or-string-p): Simplify.
5565 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
5567         * progmodes/python.el: Enhancements to eldoc support.
5568         (python-info-current-symbol): New function.
5569         (python-eldoc-at-point): Use python-info-current-symbol.
5570         (python-info-current-defun): Fix cornercase on first defun scan.
5571         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5572         and signal error when no inferior python process is available.
5574 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
5576         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5577         assume it's always t.
5578         (vc-git-registered): Remove caching, the function is only called
5579         once.
5580         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5582 2012-07-18  Chong Yidong  <cyd@gnu.org>
5584         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5586         * simple.el (count-words): Report on narrowing (Bug#9959).
5588         * bindings.el: Bind M-= to count-words.
5590         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5592 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
5594         * progmodes/sh-script.el (sh-imenu-generic-expression):
5595         Capture a function with `function' keyword and without parentheses
5596         like "function FOO" (bug#11856).
5598 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
5600         * window.el (split-window-sensibly): Make WINDOW argument
5601         optional.
5603 2012-07-18  Chong Yidong  <cyd@gnu.org>
5605         * subr.el (keyboard-translate): Doc fix (Bug#7261).
5607         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5608         and make C-x 8 RET exit isearch (Bug#11439).
5610         * international/iso-transl.el: Move isearch-mode-map key
5611         definitions to isearch.el.
5613 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5615         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5616         (eieio-defclass): Use gv-define-setter when possible.
5618 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
5620         Reflect recent changes in Fgarbage_collect.
5621         * emacs-lisp/chart.el (chart-emacs-storage): Change to
5622         reflect new format of data returned by Fgarbage_collect.
5624 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
5626         New utility functions + python-info-ppss-context fix (Bug#11910).
5627         * progmodes/python.el (python-info-beginning-of-block-statement-p)
5628         (python-info-ppss-comment-or-string-p): New functions.
5629         (python-info-ppss-context): Small fix for string check.
5631 2012-07-17  Juri Linkov  <juri@jurta.org>
5633         * dired-aux.el (dired-do-async-shell-command): Doc fix.
5634         (dired-do-async-shell-command): Don't add `*' at the end of the
5635         command (Bug#11815).
5636         (dired-do-shell-command): Doc fix.
5637         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5638         Join the individual commands using either "&" or ";" as the
5639         separator depending on the values of these trailing characters.
5640         At the end re-add the trailing "&".  (Bug#10598)
5642         * simple.el (async-shell-command): Sync the interactive spec with
5643         `shell-command'.  Doc fix.
5644         (shell-command): Doc fix.
5646 2012-07-17  Juri Linkov  <juri@jurta.org>
5648         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
5650 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
5652         Final renames and doc fixes for movement commands (bug#11899).
5653         * progmodes/python.el (python-nav-beginning-of-statement):
5654         Rename from python-nav-statement-start.
5655         (python-nav-end-of-statement): Rename from
5656         python-nav-statement-end.
5657         (python-nav-beginning-of-block): Rename from
5658         python-nav-block-start.
5659         (python-nav-end-of-block): Rename from python-nav-block-end.
5661 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
5663         * progmodes/python.el (python-shell-send-string-no-output):
5664         Allow accept-process-output to quit, keeping shell process ready for
5665         future interactions (Bug#11868).
5667 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5669         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5671         * emacs-lisp/elint.el (elint-find-args-in-code):
5672         Use help-function-arglist, so as to handle lexical byte-code.
5674         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5675         change (bug#11826).
5677 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5679         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5680         Avoid spuriously marking the buffer as modified because of c-is-sws.
5682         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5683         as not-a-comment (bug#11946).
5685         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5686         for uninterned vars.
5688         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5689         Use read-event since we don't really want to read chars but bytes.
5691         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5692         $$..$$ but also $..$ using regexps (bug#11953).
5693         Use tex-verbatim for \url and \path.
5694         (tex-font-lock-keywords): Define as defconst like the others.
5695         (tex-common-initialization): Don't use font-lock-syntax-table any more.
5697 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
5699         * international/mule-cmds.el (ucs-insert): Make it an obsolete
5700         alias for insert-char.
5702 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
5704         * progmodes/python.el: Simplified imenu implementation.
5705         (python-nav-jump-to-defun): Remove command.
5706         (python-mode-map): Use `imenu' instead.
5707         (python-nav-list-defun-positions-cache)
5708         (python-imenu-include-defun-type, python-imenu-make-tree)
5709         (python-imenu-subtree-root-label, python-imenu-index-alist):
5710         Remove vars.
5711         (python-nav-list-defun-positions, python-nav-read-defun)
5712         (python-imenu-tree-assoc, python-imenu-make-element-tree)
5713         (python-imenu-make-tree, python-imenu-create-index):
5714         Remove functions.
5715         (python-mode): Update to interact with imenu by setting
5716         `imenu-extract-index-name-function' only.
5718 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
5720         * progmodes/python.el: Enhancements to navigation commands.
5721         (python-nav-backward-sentence)
5722         (python-nav-forward-sentence): Remove.
5723         (python-nav-backward-statement, python-nav-forward-statement)
5724         (python-nav-statement-start, python-nav-statement-end)
5725         (python-nav-backward-block, python-nav-forward-block)
5726         (python-nav-block-start, python-nav-block-end)
5727         (python-nav-forward-sexp-function)
5728         (python-info-current-line-comment-p)
5729         (python-info-current-line-empty-p): New functions.
5730         (python-indent-context): Use `python-nav-statement-start'.
5732 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
5734         * eshell/em-ls.el (eshell/ls): Use `apply'.
5736         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5737         multi-hops, instead of Tramp internals.
5739         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5741         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5742         when F1 and F2 are located on different hosts.
5744 2012-07-14  Chong Yidong  <cyd@gnu.org>
5746         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5747         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5748         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5749         (xterm-mouse--read-event-sequence-1000)
5750         (xterm-mouse--read-event-sequence-1006): New functions.  For old
5751         mouse protocol, handle M-mouse-X events correctly.
5752         (xterm-mouse-event): New arg specifying mouse protocol.
5753         (turn-on-xterm-mouse-tracking-on-terminal)
5754         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5755         sequence to toggle extended coordinates on newer XTerms.
5756         This appears to be harmless on terminals which do not support this.
5758 2012-07-14  Leo Liu  <sdl.web@gmail.com>
5760         Add fringe bitmap indicators for flymake.  (Bug#11253)
5761         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5762         (flymake-make-overlay): New arg BITMAP.
5763         (flymake-error-bitmap, flymake-warning-bitmap)
5764         (flymake-fringe-indicator-position): New user variables.
5766         * fringe.el: New bitmap exclamation-mark.
5768 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
5770         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5771         also (Bug#7879).
5773 2012-07-14  Chong Yidong  <cyd@gnu.org>
5775         * electric.el (electric-pair-post-self-insert-function): Fix pair
5776         insertion in empty-region case (Bug#11520).
5778 2012-07-14  Chong Yidong  <cyd@gnu.org>
5780         * bindings.el: Consolidate ctl-x-r-map bindings.
5781         Bind copy-rectangle-as-kill to C-x r w.
5783         * rect.el, register.el: Move bindings to bindings.el.
5785 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
5787         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5789 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5791         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
5793 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
5795         * bindings.el (top): Use `mapc' instead of `mapcar'.
5797         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5799 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
5801         * progmodes/sql.el (sql-comint): Suppress the check for program on
5802         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
5803         (Bug#11908)
5805 2012-07-13  Chong Yidong  <cyd@gnu.org>
5807         * bindings.el: Assign a non-nil permanent-local property to
5808         per-buffer variables which lack a default value (Bug#11930).
5810         * help-fns.el (describe-variable): In the "automatically becomes
5811         local" notice, take note of permanent-local variables.
5813 2012-07-13  Chong Yidong  <cyd@gnu.org>
5815         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
5816         to allow printing the message when called from Lisp.
5818         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5819         Remove toggle-read-only.
5821         * bs.el (bs-toggle-readonly):
5822         * buff-menu.el (Buffer-menu-toggle-read-only):
5823         Remove with-no-warnings around toggle-read-only.
5825         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5826         Remove with-no-warnings around toggle-read-only.
5827         (ffap-read-only, ffap-read-only-other-window)
5828         (ffap-read-only-other-frame): Callers changed.
5830         * help-mode.el: Don't require view package.
5831         (help-mode-finish): Set buffer-read-only instead of calling
5832         toggle-read-only.
5834         * bindings.el (mode-line-toggle-read-only):
5835         * dired.el (dired-toggle-read-only):
5836         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5837         with non-nil second arg.
5839         * emacs-lisp/eieio-custom.el (eieio-customize-object):
5840         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5841         directly.
5843 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
5845         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5846         not incf.
5848 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5850         More CL cleanups and reduction of use of cl.el.
5851         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5852         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5853         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5854         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5855         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5856         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5857         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5858         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5859         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5860         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5861         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5862         * eshell/em-cmpl.el, eshell/em-banner.el:
5863         * calendar/parse-time.el: Use cl-lib.
5864         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5865         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5866         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5867         * term/ns-win.el, term.el, shell.el, ps-samp.el:
5868         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5869         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5870         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5871         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5872         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5873         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5874         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5875         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5876         `lambda' rather than with `quote'.
5877         (eshell-do-opt): Adjust accordingly.
5878         (eshell-process-option): Simplify.
5879         * eshell/esh-var.el:
5880         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5881         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5882         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5883         to `pcase--dontcare'.
5884         * emacs-lisp/cl.el (labels): Mark obsolete.
5885         (cl--letf, letf): Move to cl-lib.
5886         (cl--letf*, letf*): Remove.
5887         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5888         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5889         (cl-progv): Rewrite.
5890         (cl--letf, cl-letf): Move from cl.el.
5891         (cl-letf*): New macro.
5892         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5894 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
5896         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5898 2012-07-11  Chong Yidong  <cyd@gnu.org>
5900         * vc/log-edit.el (log-edit-vc-backend): New variable.
5901         (log-edit): Doc fix.
5903         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
5904         argument of log-edit to set up all local variables.
5905         (vc-start-logentry): New optional arg specifying VC backend.
5907         * vc/vc.el (vc-checkin): Use it.
5908         (vc-deduce-fileset): Handle Log Edit buffers.
5909         (vc-diff): Make first argument optional too.
5911         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5913 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
5915         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5916         command, just in case.  The function is not needed anymore.
5917         (eshell-external-command): Do not call `eshell-remote-command'.
5919 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5921         Reduce use of (require 'cl).
5922         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5923         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5924         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5925         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5926         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5927         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5928         * battery.el, avoid.el, abbrev.el: Use cl-lib.
5929         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5930         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5931         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5932         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5933         * calculator.el, autorevert.el, apropos.el: Don't require CL.
5934         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5935         (byte-compile-unfold-bcf, byte-compile-check-variable):
5936         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5937         (byte-compile-nilconstp):
5938         * emacs-lisp/autoload.el (make-autoload): Use pcase.
5939         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5941         * emacs-lisp/gv.el (cond): Make it a valid place.
5942         (if): Simplify slightly.
5944         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5945         (pcase--self-quoting-p): New function.
5946         (pcase--u1): Use it.
5948 2012-07-10  Glenn Morris  <rgm@gnu.org>
5950         * emacs-lisp/authors.el (authors-fixed-entries):
5951         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5953 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
5955         Rename configure.in to configure.ac (Bug#11603).
5956         * emacs-lisp/authors.el (authors-canonical-file-name):
5957         * progmodes/autoconf.el (autoconf-mode):
5958         Prefer configure.ac to configure.in.
5960 2012-07-08  Chong Yidong  <cyd@gnu.org>
5962         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5963         Implement the mouse-1-click-follows-link handling properly.
5965         * info.el (Info-link-keymap): Use follow-link mechanism for
5966         header-line links (Bug#374).
5968         * simple.el (deactivate-mark): Do not set the primary selection
5969         if another program has acquired it (Bug#11772).
5971 2012-07-07  Kevin Ryde  <user42@zip.com.au>
5973         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5974         (woman-decode-region): Replace escaped-escapes without destroying
5975         bold or underline (Bug#11552).
5976         (woman2-process-escapes): Handle nofill regions (Bug#11591).
5978 2012-07-07  Chong Yidong  <cyd@gnu.org>
5980         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5981         (interprogram-cut-function, interprogram-paste-function):
5982         Mention that we typically mean the clipboard.
5984 2012-07-06  Glenn Morris  <rgm@gnu.org>
5986         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
5988         * files.el (toggle-read-only): Restrict message to interactive use.
5990 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
5992         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5994         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5996 2012-07-06  Glenn Morris  <rgm@gnu.org>
5998         * Makefile.in (compile-one-process): Rename from "recompile".
6000         * Makefile.in (bzr-update): "compile" is the same as "recompile
6001         autoloads", but parallelizable, so use that instead.
6003 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
6005         * window.el (quit-window): Always restore window height when
6006         it's saved in quit-restore parameter (Bug#11810).
6008 2012-07-06  Glenn Morris  <rgm@gnu.org>
6010         * simple.el (kill-whole-line): Doc tweak.
6012 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
6014         * files.el (file-relative-name): Compare file names
6015         case-insensitively if on MS-Windows or MS-DOS, or if
6016         read-file-name-completion-ignore-case is non-nil.  Don't use
6017         case-fold-search for this purpose.  (Bug#11827)
6019 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
6021         * calendar/cal-dst.el (calendar-current-time-zone):
6022         Return calendar-current-time-zone-cache if non-nil.
6024 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
6025 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
6027         * calendar/cal-dst.el (calendar-current-time-zone):
6028         Return calendar-current-time-zone-cache if non-nil.
6030 2012-07-06  Glenn Morris  <rgm@gnu.org>
6032         * Makefile.in (cvs-update): Remove old alias.
6034 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
6036         Sync with Tramp 2.2.6-pre.
6038         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
6039         compatible declaration.
6041         * net/tramp-cmds.el (tramp-append-tramp-buffers):
6042         Protect `list-load-path-shadows' call.
6044         * net/tramp-compat.el (top): Require packages, which aren't
6045         autoloaded anymore for XEmacs.  Protect call of
6046         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6047         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
6048         it hurts at least for SXEmacs.
6049         (tramp-compat-temporary-file-directory): In XEmacs, there is no
6050         standard-value for `temporary-file-directory'.
6052         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6053         Redirect stderr to /dev/null.
6054         (tramp-sh-handle-write-region): uid and gid can be floats.
6055         Reported by Russell Sim <russell.sim@gmail.com>.
6056         (tramp-sh-handle-vc-registered): Hide errors.
6057         (tramp-vc-file-name-handler): Use dummy results for `process-file'
6058         and `start-file-process'.
6059         (tramp-maybe-open-connection): Check also whether `non-essential'
6060         is bound.
6062 2012-07-04  Chong Yidong  <cyd@gnu.org>
6064         * xml.el (xml--parse-buffer): Use xml-syntax-table.
6065         (xml-parse-tag): Likewise, and avoid changing entity tables.
6066         (xml-syntax-table): Define from scratch, making sure not to give
6067         x2000 and other Unicode spaces whitespace syntax, since those are
6068         not spaces in XML.
6069         (xml-parse-fragment): Delete unused function.
6070         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6071         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6072         (xml-entity-ref, xml-pe-reference-re)
6073         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6074         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6075         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6076         (xml-entity-value-re): Use syntax references in regexps where
6077         possible; no need to define inside a let-binding.
6078         (xml-parse-dtd): Use xml-pe-reference-re.
6079         (xml-entity-or-char-ref-re): New defconst.
6080         (xml-parse-string, xml-substitute-special): Use it.
6082 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6084         * files.el (locate-dominating-file): Allow `name' to be a predicate.
6085         (find-file--read-only): New function.
6086         (find-file-read-only, find-file-read-only-other-window)
6087         (find-file-read-only-other-frame): Use it.
6088         (insert-file-contents-literally): Don't `fset'.
6089         (get-free-disk-space): Use locate-dominating-file.
6091         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6092         function is already compiled.
6094         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
6096 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
6098         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6099         files on the same host.
6101 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
6103         * help-fns.el (describe-function-1): Only call
6104         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
6106 2012-07-03  Chong Yidong  <cyd@gnu.org>
6108         * xml.el: Protect parser against XML bombs.
6109         (xml-entity-expansion-limit): New variable.
6110         (xml-parse-string, xml-substitute-special): Use it.
6111         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6113 2012-07-03  Glenn Morris  <rgm@gnu.org>
6115         * progmodes/bug-reference.el (bug-reference-bug-regexp):
6116         Allow linking to specific messages in debbugs reports (eg 123#5).
6118 2012-07-02  Chong Yidong  <cyd@gnu.org>
6120         * xml.el: Fix entity and character reference expansion, allowing
6121         them to expand into markup as per XML spec.
6122         (xml-default-ns): New variable.
6123         (xml-entity-alist): Use XML spec definitions for lt and amp.
6124         (xml-parse-region): Make first two arguments optional.
6125         Discard text properties.
6126         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6127         All callers changed.
6128         (xml-parse-tag): Call xml-parse-tag-1.  For backward
6129         compatibility, this function should not modify buffer contents.
6130         (xml-parse-tag-1): Fix opening-tag regexp.
6131         (xml-parse-string): Rewrite, handling entity and character
6132         references properly.
6133         (xml--entity-replacement-text): Signal an error if a parameter
6134         entity is undefined.
6136 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6138         * comint.el (comint-output-filter): Filter out repeated prompts.
6140         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6141         and file-name-absolute-p.
6142         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6143         internal calls.
6145 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
6147         Spelling fixes.
6148         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6149         Rename from byte-compile--refiy-function.  All uses changed.
6151 2012-07-01  Chong Yidong  <cyd@gnu.org>
6153         * xml.el (xml--parse-buffer): New function.  Move most of
6154         xml-parse-region here.
6155         (xml-parse-region): Copy region into a temporary buffer, since
6156         parameter entity substitution requires changing buffer contents.
6157         Use xml--parse-buffer.
6158         (xml-parse-file): Use xml--parse-buffer.
6159         (xml-parse-dtd): Make parameter entity substitution work right.
6160         Use proper regexps for ELEMENT declarations (Bug#7172).
6162 2012-06-30  Glenn Morris  <rgm@gnu.org>
6164         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6166         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6167         Remove outdated and unnecessary dbus declarations.
6169 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
6171         * emacs-lisp/timer.el (timer-until): Subtract results of
6172         float-time, instead of taking float-time of the result of
6173         time-subtract, since float-time signals an error for negative time
6174         arguments.
6176 2012-06-30  Chong Yidong  <cyd@gnu.org>
6178         * xml.el (xml-*-re): Convert defvars into defconsts, and
6179         eval-and-compile them so eval-and-compile works on derivatives.
6180         (xml--entity-replacement-text): Use eval-and-comple.
6182 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
6184         * vc/vc-git.el (vc-git-registered): Use cache property
6185         `git-registered'.
6186         (vc-git-mode-line-string): Call `vc-working-revision' instead of
6187         `vc-git-working-revision' in order to benefit from the cache.
6188         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
6190 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
6192         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6193         removed (likely outside Emacs).  (Bug#11757)
6195 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6197         * emacs-lisp/cl-lib.el: Require macroexp.
6199 2012-06-30  Chong Yidong  <cyd@gnu.org>
6201         * xml.el: Implement XML parameter entities.
6202         (xml-parameter-entity-alist): New variable.
6203         (xml-parse-region, xml-parse-fragment): Preserve previous values
6204         of xml-entity-alist and xml-parameter-entity-alist, so that
6205         repeated calls on different documents do not change them.
6206         (xml-parse-tag): Fix doctype regexp.
6207         (xml--entity-replacement-text): New function.
6208         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
6209         properly requires url retrieval which is unimplemented.
6210         (xml-escape-string): Doc fix.
6212 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6214         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6216 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
6218         * fringe.el (fringe-mode): Doc fix.
6220 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
6222         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6223         is non-nil.
6224         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6225         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
6227 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
6229         * calendar/cal-dst.el (calendar-current-time-zone):
6230         Return calendar-current-time-zone-cache if non-nil.
6232 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
6234         * progmodes/which-func.el (which-func-format):
6235         Add mouse-face.  (Bug#11698)
6237 2012-06-29  Leo Liu  <sdl.web@gmail.com>
6239         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6241 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6243         * minibuffer.el (minibuffer-confirm-exit-commands):
6244         Add completion-at-point (bug#11725).
6246 2012-06-29  Glenn Morris  <rgm@gnu.org>
6248         * progmodes/f90.el (f90-font-lock-keywords-2):
6249         Add some preprocessor elements.  (Bug#10499)
6251 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6253         * progmodes/cperl-mode.el (cperl-update-syntaxification):
6254         Use syntax-propertize (bug#11739).
6256 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
6258         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6260 2012-06-28  Julien Danjou  <julien@danjou.info>
6262         * term.el (term-handle-colors-array): Use a set of new faces to
6263         color the terminal.  Also uses :inverse-video property.
6264         (term-default-fg-color): Set to nil by default, deprecate in favor
6265         of `term-face'.
6266         (term-default-bg-color): Set to nil by default, deprecate in favor
6267         of `term-face'.
6268         (term-current-face): Use `term-face' by default.
6269         (term-bold-attribute): Variable deleted.
6271 2012-06-28  Glenn Morris  <rgm@gnu.org>
6273         * simple.el (completion-list-mode-finish):
6274         Don't use toggle-read-only.  (Since completion-list-mode has
6275         a special mode-class, it wasn't doing anything extra anyway.)
6277 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6279         Make inlining of other-mode interpreted functions work (bug#11799).
6280         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6281         (byte-compile): Use it to fix compilation of lexical-binding closures.
6282         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6283         function, if needed.
6285 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6287         * help-mode.el (help-make-xrefs): Don't just withstand
6288         cyclic-variable-indirection but any error in documentation-property.
6290         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6291         memory use.
6292         * bindings.el (bindings--define-key): New function.
6293         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6294         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6295         * bindings.el: Use it to purecopy define-key bindings.
6297         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6299         * emacs-lisp/cl.el (flet): Mark obsolete.
6300         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6301         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6302         * progmodes/js.el (js-c-fill-paragraph):
6303         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6304         (ebrowse-switch-member-buffer-to-derived-class):
6305         * play/5x5.el (5x5-solver): Use cl-flet.
6307         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
6308         (cl--symbol-function): New macro.
6309         (cl--letf, cl--letf*): Use it.
6311         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6312         Strip "toggle-" if any.
6314 2012-06-27  Glenn Morris  <rgm@gnu.org>
6316         * info.el (Info-default-directory-list): Move here from paths.el.
6317         * paths.el: Remove file, which is now empty.
6318         * loadup.el: No longer load "paths".
6320         * custom.el (custom-initialize-delay): Doc fix.
6322         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6323         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6324         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6325         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6326         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6327         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6328         * eshell/eshell.el (eshell-defgroup): Remove alias.
6330 2012-06-27  Chong Yidong  <cyd@gnu.org>
6332         * help.el (help-enable-auto-load): New variable.
6334         * help-fns.el (help-fns--autoloaded-p): New function.
6335         (describe-function-1): Refer to a function as "autoloaded" if it
6336         was autoloaded at any time in the past.  Perform autoloading if
6337         help-enable-auto-load is non-nil.
6339 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
6341         * makefile.w32-in (compile, compile-always): Depend on
6342         update-subdirs, not on subdirs.el.  Otherwise, several different
6343         sub-targets of 'bootstrap' running in parallel could
6344         simultaneously write to subdirs.el, producing a garbled file.
6346 2012-06-26  Sam Steingold  <sds@gnu.org>
6348         * files.el (file-name-base): New convenience function.
6349         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6350         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6351         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6352         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6353         * textmodes/ispell.el, textmodes/reftex-ref.el:
6354         * textmodes/tex-mode.el: Use it.
6355         Did not touch cedet and org because they are maintained elsewhere.
6357 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
6359         * calendar/calendar.el (calendar-exit): Don't try to delete or
6360         iconify last frame.  See:
6361         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6363 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
6365         * server.el (server-process-filter): Remember dir in the
6366         process's `server-client-directory' properties.
6368 2012-06-24  Chong Yidong  <cyd@gnu.org>
6370         * xml.el (xml-parse-tag): Correctly handle comment embedded in
6371         non-tag text.
6373 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
6375         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6377 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6379         * help-fns.el (describe-variable): Don't croak when doc is not found.
6380         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6381         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6382         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6383         * emacs-lisp/smie.el (smie-next-sexp): CSE.
6384         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6385         ((lambda ..) ..).
6386         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6388 2012-06-23  Chong Yidong  <cyd@gnu.org>
6390         * info.el (Info-mouse-follow-link): Accept symbol values of
6391         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
6392         (Info-fontify-node): Use Info-link-keymap for all navigation
6393         buttons, with link-args property to perform the desired action.
6394         (Info-link-keymap): Doc fix.
6395         (Info-next-link-keymap, Info-prev-link-keymap)
6396         (Info-up-link-keymap): Delete now-unused keymaps.
6398 2012-06-23  Chong Yidong  <cyd@gnu.org>
6400         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6402         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6403         system abbrevs.
6405         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6407 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6409         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6410         (bug#11719).
6412         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6413         the requote function doesn't work properly (bug#11714).
6415 2012-06-23  Glenn Morris  <rgm@gnu.org>
6417         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6419 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6421         Further GV/CL cleanups.
6422         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6423         gv-expander.
6424         (gv--defun-declaration): New function.
6425         (defun-declarations-alist): Use it.
6426         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6427         (gv-place): Autoload.
6428         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6429         original definition of dotimes and dolist.
6430         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6431         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6432         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6433         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6434         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6435         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6436         to the function's definition.
6437         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6438         * window.el:
6439         * files.el:
6440         * faces.el:
6441         * env.el: Don't use CL.
6443 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
6445         Support higher-resolution time stamps (Bug#9000).
6447         * calendar/time-date.el (with-decoded-time-value): New arg
6448         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
6449         (encode-time-value): New optional arg PICO.  New type 3.
6450         (time-to-seconds) [!float-time]: Support the new picoseconds
6451         component if it's used.
6452         (seconds-to-time, time-subtract, time-add):
6453         Support ps-resolution time stamps as well.
6455         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
6456         (timerp): Timer vectors now have length 9, not 8.
6457         (timer--time): Support new-style (4-part) time stamps.
6458         (timer-next-integral-multiple-of-time): Time stamps now have
6459         picosecond resolution, so take a bit more care about rounding.
6460         (timer-relative-time, timer-inc-time): New optional arg psecs.
6461         (timer-set-time-with-usecs): Set psecs to 0.
6462         (timer--activate): Check psecs component, too.
6464         * proced.el (proced-time-lessp): Support ps-resolution stamps.
6466 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6468         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6469         Move the non-essential binding to the post/pre-command-hook where it is
6470         more obviously correct.
6472         * subr.el (read-passwd): Don't use a history at all.
6473         * savehist.el (savehist-save): Remove password saved accidentally
6474         because of the above bug.
6476 2012-06-22  Bastien Guerry  <bzg@gnu.org>
6478         * files.el (toggle-read-only): Display a message telling whether
6479         the buffer is read-only or not (bug#11726).
6481 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6483         * emacs-lisp/gv.el: New file.
6484         * subr.el (push, pop): Extend to generalized variables.
6485         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6486         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6487         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
6488         gv-define-simple-setter, and gv-define-expander.
6489         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
6490         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6491         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6492         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6493         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6494         gv-letplace.
6495         (cl-defstruct): Don't define setf-method any more.
6496         * emacs-lisp/cl.el (flet): Don't autoload.
6497         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6498         (define-setf-expander, defsetf, define-modify-macro)
6499         (cl-struct-setf-expander): Move from cl-lib.el.
6500         * emacs-lisp/syntax.el:
6501         * emacs-lisp/ewoc.el:
6502         * emacs-lisp/smie.el:
6503         * emacs-lisp/cconv.el:
6504         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6505         (timer--time): Use gv-define-simple-setter.
6506         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6507         to avoid coding-system problems in subr.el.  Adjust all users.
6508         (macroexp--maxsize, macroexp-small-p): New functions.
6509         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6510         * scroll-bar.el (scroll-bar-mode):
6511         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6512         (normal-erase-is-backspace-mode): Don't use the `eq' place.
6513         * winner.el (winner-configuration, winner-make-point-alist)
6514         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6515         * files.el (locate-file-completion-table): Avoid list*.
6517 2012-06-22  Chong Yidong  <cyd@gnu.org>
6519         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6520         (dired-create-files): Doc fix (Bug#11329).
6521         (dired-do-copy): Doc fix (Bug#11334).
6522         (dired-mark-read-string): Doc fix (Bug#11553).
6524         * dired.el (dired-recursive-copies, dired-recursive-deletes):
6525         Doc fix (Bug#11326).
6526         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
6527         (dired-dwim-target): Doc fix.
6529         * wdired.el (wdired-mode): Doc fix.
6531 2012-06-22  Glenn Morris  <rgm@gnu.org>
6533         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6534         (pcmpl-rpm-cache-stamp-file): New constant.
6535         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6536         (pcmpl-rpm-packages): Optionally cache list of packages.
6538         * pcmpl-rpm.el (pcmpl-rpm): New group.
6539         (pcmpl-rpm-query-options): New option.
6540         (pcmpl-rpm-packages): No need to inline it.
6541         Use pcmpl-rpm-query-options.
6543         * calendar/calendar.el (calendar-in-read-only-buffer):
6544         Avoid some needless mode changes.
6546 2012-06-21  Chong Yidong  <cyd@gnu.org>
6548         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6549         (desktop-path): Remove . from the default value (Bug#10977).
6550         (desktop-read): Use user-emacs-directory if desktop-path is nil.
6552 2012-06-20  Chong Yidong  <cyd@gnu.org>
6554         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6556 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
6558         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6559         (bug#11201).
6561 2012-06-20  Chong Yidong  <cyd@gnu.org>
6563         * term.el (term-window-width): Handle the case of a missing right
6564         fringe (Bug#8837).
6565         (term-check-size): Use window-text-height (Bug#5445).
6566         (term-mode): Use define-derived-mode.  Minor cleanups.
6567         Set font-lock-defaults (Bug#7692).
6568         (term-move-columns, term-insert-char, term-emulate-terminal)
6569         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6571 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
6573         * net/ange-ftp.el (ange-ftp-get-passwd):
6574         Bind `enable-recursive-minibuffers'.
6575         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6577 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
6579         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6581 2012-06-19  Glenn Morris  <rgm@gnu.org>
6583         * progmodes/python.el (python-mode): Derive from prog-mode.
6585 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
6587         * emulation/edt.el (edt-default-menu-bar-update-buffers)
6588         (edt-user-menu-bar-update-buffers): New functions.
6589         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6591 2012-06-19  Chong Yidong  <cyd@gnu.org>
6593         * subr.el (with-selected-window): Preserve the selected window's
6594         terminal's top-frame (Bug#4702).
6596         * window.el (save-selected-window): Likewise.
6598 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6600         * progmodes/python.el (python-rx-constituents): Move backquote.
6601         (python-skeleton-define, python-define-auxiliary-skeleton):
6602         Use `declare'.
6604 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
6606         * minibuffer.el (read-file-name-default): Revert the patch from
6607         2012-06-17.
6609 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6611         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6612         (pcase--u1, pcase--q1): Don't use apply-partially.
6614 2012-06-18  Glenn Morris  <rgm@gnu.org>
6616         * progmodes/python.el (python-proc, python-buffer)
6617         (python-send-receive, python-send-string): Fix obsolete versions.
6619 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
6621         * window.el (special-display-p): Completely remove stringp
6622         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6624 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
6626         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6628         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6630         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6631         * net/tramp-sh.el (tramp-maybe-open-connection):
6632         Throw if `non-essential' is non-nil.
6634 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
6636         * window.el (special-display-p): Signal an error if BUFFER-NAME
6637         is not a string (Bug#11713).
6639 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
6641         * progmodes/python.el (python-info-beginning-of-backslash):
6642         Rename from python-info-beginning-of-backlash, as a spelling fix.
6644 2012-06-17  Chong Yidong  <cyd@gnu.org>
6646         * term.el (term-emulate-terminal): If term-check-size is called,
6647         move point to the process mark without resetting point (Bug#4635).
6649 2012-06-17  Glenn Morris  <rgm@gnu.org>
6651         * international/mule-cmds.el (mule-menu-keymap)
6652         (set-language-environment, set-locale-environment): Doc tweaks.
6654 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
6656         * cus-face.el (custom-face-attributes): Add wave-style underline
6657         attribute.
6658         * faces.el (set-face-attribute): Update docstring to describe
6659         wave-style underline attribute.
6661 2012-06-16  Chong Yidong  <cyd@gnu.org>
6663         * term/xterm.el (terminal-init-xterm): Discard input before
6664         querying background mode (Bug#10959).
6666 2012-06-16  Stefan Merten  <smerten@oekonux.de>
6668         * textmodes/rst.el: Added and corrected some comments.
6669         (rst-re-alist-def): Improve symbol syntax.
6670         (rst-mode-syntax-table): Correct syntax entries.
6671         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6672         (rst-official-version, rst-official-cvs-rev): Update version
6673         information.
6675 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
6677         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6678         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6680 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
6682         * progmodes/python.el: New python.el merge.
6683         (python-guess-indent): Obsolete var.
6684         (python-indent-guess-indent-offset): New defcustom.
6685         (python-indent): Obsolete var.
6686         (python-indent-offset): New defcustom.
6687         (python-python-command, python-jython-command): Delete var.
6688         (python-shell-interpreter): New defcustom.
6689         (python-pdbtrack-do-tracking-p): Delete var.
6690         (python-pdbtrack-activate): New defcustom.
6691         (python-use-skeletons): Obsolete var.
6692         (python-skeleton-autoinsert): New defcustom.
6693         (inferior-python-filter-regexp, python-continuation-offset)
6694         (python-honour-comment-indentation, python-indent-string-contents)
6695         (python-jython-packages, python-mode-hook)
6696         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6697         (python-shell-prompt-alist)
6698         (python-source-modes): Delete defcustoms.
6699         (python-check-buffer-name, python-eldoc-setup-code)
6700         (python-eldoc-string-code, python-ffap-setup-code)
6701         (python-ffap-string-code, python-fill-comment-function)
6702         (python-fill-decorator-function, python-fill-paren-function)
6703         (python-fill-string-function, python-imenu-include-defun-type)
6704         (python-imenu-make-tree, python-imenu-subtree-root-label)
6705         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6706         (python-shell-compilation-regexp-alist)
6707         (python-shell-completion-module-string-code)
6708         (python-shell-completion-pdb-string-code)
6709         (python-shell-completion-setup-code)
6710         (python-shell-completion-string-code)
6711         (python-shell-enable-font-lock, python-shell-exec-path)
6712         (python-shell-extra-pythonpaths)
6713         (python-shell-internal-buffer-name, python-shell-interpreter-args)
6714         (python-shell-process-environment)
6715         (python-shell-prompt-block-regexp)
6716         (python-shell-prompt-output-regexp)
6717         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6718         (python-shell-send-setup-max-wait, python-shell-setup-codes)
6719         (python-shell-virtualenv-path): New defcustoms.
6720         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6721         (inferior-python-mode-syntax-table, python--prompt-regexp)
6722         (python-buffer, python-command python-python-command)
6723         (python-default-template, python-imports, python-indent-index)
6724         (python-indent-list, python-indent-list-length)
6725         (python-mode-running, python-pdbtrack-is-tracking-p)
6726         (python-preoutput-continuation, python-preoutput-leftover)
6727         (python-preoutput-result, python-preoutput-skip-next-prompt)
6728         (python-prev-dir/file, python-recursing)
6729         (python-saved-check-command, python-version-checked)
6730         (python-which-func-length-limit)
6731         (view-return-to-alist): Delete vars.
6732         (python-check-custom-command, python-dotty-syntax-table)
6733         (python-imenu-index-alist, python-indent-current-level)
6734         (python-indent-dedenters, python-indent-levels)
6735         (python-nav-beginning-of-defun-regexp)
6736         (python-nav-list-defun-positions-cache)
6737         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6738         (python-shell-internal-buffer)
6739         (python-skeleton-available): New vars.
6740         (def-python-skeleton): Delete macro.
6741         (python-skeleton-define): New macro.
6742         (python-define-auxiliary-skeleton, python-rx): New macros.
6743         (python-insert-class): Delete command.
6744         (python-skeleton-class): New command.
6745         (python-insert-def): Delete command.
6746         (python-skeleton-def): New command.
6747         (python-insert-for): Delete command.
6748         (python-skeleton-for): New command.
6749         (python-insert-if): Delete command.
6750         (python-skeleton-if): New command.
6751         (python-insert-try/except, python-insert-try/finally): Delete commands.
6752         (python-skeleton-try): New command.
6753         (python-insert-while): Delete command.
6754         (python-skeleton-while): New command.
6755         (python-backspace): Delete command.
6756         (python-indent-dedent-line-backspace): New command.
6757         (python-electric-colon): Delete command.
6758         (python-indent-electric-colon): New command.
6759         (python-guess-indent): Delete command.
6760         (python-indent-guess-indent-offset): New command.
6761         (python-shift-left): Delete command.
6762         (python-indent-shift-left): New command.
6763         (python-shift-right): Delete command.
6764         (python-indent-shift-right): New command.
6765         (python-find-function): Delete command.
6766         (python-nav-jump-to-defun): New command.
6767         (python-next-statement): Delete command.
6768         (python-nav-forward-sentence): New command.
6769         (python-previous-statement): Delete command.
6770         (python-nav-backward-sentence): New command.
6771         (python-fill-paragraph): Delete command.
6772         (python-fill-paragraph-function): New command.
6773         (python-send-buffer): Delete command.
6774         (python-shell-send-buffer): New command.
6775         (python-send-defun): Delete command.
6776         (python-shell-send-defun): New command.
6777         (python-send-region, python-send-region-and-go): Delete commands.
6778         (python-shell-send-region)
6779         (python-shell-switch-to-shell): New commands.
6780         (python-send-string): Delete command.
6781         (python-shell-send-string): New command.
6782         (python-switch-to-python): Delete command.
6783         (python-shell-switch-to-shell): New command.
6784         (python-describe-symbol): Delete command.
6785         (python-eldoc-at-point): New command.
6786         (python--set-prompt-regexp, python-args-to-list)
6787         (python-after-info-look, python-check-version)
6788         (python-check-comint-prompt, python-find-imports)
6789         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6790         (python-unload-function, python-expand-template)
6791         (python-maybe-jython, python-preoutput-filter)
6792         (python-pdbtrack-get-source-buffer)
6793         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6794         (python-pdbtrack-toggle-stack-tracking)
6795         (python-pdbtrack-track-stack-file, python-initial-text)
6796         (python-first-word, python-comment-line-p, python-send-command)
6797         (python-setup-brm, python-sentinel, python-set-proc)
6798         (python-skip-out, python-input-filter, python-outdent-p)
6799         (python-outline-level, python-backslash-continuation-line-p)
6800         (python-end-of-block, python-end-of-statement, python-mark-block)
6801         (python-beginning-of-block, python-beginning-of-statement)
6802         (python-blank-line-p, python-beginning-of-string)
6803         (python-open-block-statement-p): Delete functions.
6804         (python-indent-line, python-indent-line-1): Delete functions.
6805         (python-indent-line): New function.
6806         (python-indentation-levels): Delete function.
6807         (python-indent-calculate-levels): New function.
6808         (python-proc): Delete function.
6809         (python-shell-get-process): New function.
6810         (python-send-receive): Delete function.
6811         (python-shell-send-string-no-output): New function.
6812         (python-module-path): Delete function.
6813         (python-ffap-module-path): New function.
6814         (python-completion-at-point)
6815         (python-symbol-completions): Delete functions.
6816         (python-completion-complete-at-point): New function.
6817         (python-load-file): Delete function.
6818         (python-shell-send-file): New function.
6819         (python-calculate-indentation): Delete function.
6820         (python-indent-calculate-indentation): New function.
6821         (python-skip-comments/blanks): Delete function.
6822         (python-util-forward-comment): New function.
6823         (python-continuation-line-p): Delete function.
6824         (python-info-continuation-line-p): New function.
6825         (python-which-func, python-current-defun): Delete function.
6826         (python-info-current-defun): New function.
6827         (python-beginning-of-defun): Delete function.
6828         (python-nav-beginning-of-defun): New function.
6829         (python-close-block-statement-p)
6830         (python-block-end-p): Delete function.
6831         (python-info-closing-block): New function.
6832         (python-comint-output-filter-function)
6833         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6834         (python-fill-comment, python-fill-decorator, python-fill-paren)
6835         (python-fill-string, python-imenu-make-element-tree)
6836         (python-imenu-make-tree, python-imenu-tree-assoc)
6837         (python-indent-context, python-indent-dedent-line)
6838         (python-indent-line-function)
6839         (python-indent-post-self-insert-function)
6840         (python-indent-toggle-levels)
6841         (python-info-assignment-continuation-line-p)
6842         (python-info-beginning-of-backlash)
6843         (python-info-block-continuation-line-p)
6844         (python-info-closing-block-message)
6845         (python-info-line-ends-backslash-p)
6846         (python-info-looking-at-beginning-of-defun)
6847         (python-info-ppss-context, python-info-ppss-context-type)
6848         (python-nav-list-defun-positions, python-nav-read-defun)
6849         (python-nav-sentence-end, python-nav-sentence-start)
6850         (python-pdbtrack-comint-output-filter-function)
6851         (python-pdbtrack-set-tracked-buffer)
6852         (python-shell-calculate-exec-path)
6853         (python-shell-calculate-process-environment)
6854         (python-shell-completion--do-completion-at-point)
6855         (python-shell-completion--get-completions)
6856         (python-shell-completion-complete-at-point)
6857         (python-shell-completion-complete-or-indent)
6858         (python-shell-get-or-create-process)
6859         (python-shell-get-process-name)
6860         (python-shell-internal-get-or-create-process)
6861         (python-shell-internal-get-process-name)
6862         (python-shell-internal-send-string, python-shell-make-comint)
6863         (python-shell-parse-command, python-shell-send-setup-code)
6864         (python-skeleton-add-menu-items)
6865         (python-util-clone-local-variables, python-util-position)
6866         (run-python-internal, python-indentation-levels)
6867         (python-nav-beginning-of-defun)
6868         (python-completion-complete-at-point): New functions.
6869         (run-python): Change arguments.  New API requirements.
6871 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6873         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6874         (bug#11649).
6876         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6877         (macroexp--expand-all): Use it.
6879         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6880         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6881         Use `cl-function' instead.
6883 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
6885         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6886         Suggested by Stefan Monnier while discussing bug#11657.
6888 2012-06-14  Sam Steingold  <sds@gnu.org>
6890         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6892 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
6894         * play/doctor.el (doctor-doc): Remove parameter and use
6895         doctor-sent instead of sent.
6896         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
6898 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6900         * files.el: Require cl-lib.
6901         (file-name-non-special): Replace case -> cl-case.
6903         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6905         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6906         mapping from #' to function*.
6908 2012-06-13  Chong Yidong  <cyd@gnu.org>
6910         * mouse.el (mouse-drag-track): Do not set the mark if the user
6911         releases the mouse without selecting anything (Bug#11588).
6913 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6915         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6916         as well (bug#11646).
6918         * loadup.el: Count byte-code functions as well.
6920         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6921         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6923         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6924         (bug#11649).  Add cl-defun and cl-defmacro.
6926 2012-06-13  Drew Adams  <drew.adams@oracle.com>
6928         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6929         Fix last change.
6931 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
6933         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6934         Otherwise, it blocks in batch mode.
6936 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
6938         * help-mode.el (bookmark-make-record-default): Declare.
6940 2012-06-13  Chong Yidong  <cyd@gnu.org>
6942         * emacs-lisp/package.el (list-packages): Compute a list of
6943         packages that are newly-available since the last list-packages
6944         invocation.
6945         (package-menu--new-package-list): New var.
6946         (package-menu--generate, package-menu--print-info)
6947         (package-menu--status-predicate, package-menu-mark-install):
6948         Handle new status label "new".
6950 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6952         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6953         conversion to backquotes.
6955 2012-06-12  Chong Yidong  <cyd@gnu.org>
6957         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6958         Rename from gud-inhibit-global-bindings.
6960         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6962         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6963         hook from nxml-glyph-set-hook.
6965         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6966         declaration.
6968         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6970         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6971         Convert to defcustom.
6973 2012-06-12  Drew Adams  <drew.adams@oracle.com>
6975         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6976         New functions.
6977         (help-mode): Use them.
6979 2012-06-11  Glenn Morris  <rgm@gnu.org>
6981         * progmodes/fortran.el (fortran-font-lock-keywords-3):
6982         Use preprocessor face for directives.
6983         (fortran-directive-re): Doc fix.
6985 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6987         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6988         conversion to backquotes (bug#11652).
6990         Fix compiler-expansion of CL's cXXr functions (bug#11673).
6991         * emacs-lisp/cl-lib.el (cl--defalias): New function.
6992         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6993         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6994         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6995         (cl-ninth, cl-tenth): Mark them as inlinable.
6996         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6997         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6998         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6999         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
7000         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
7001         (cl-list*, cl-adjoin): Don't put an autoload manually.
7002         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
7003         (cl--compiler-macro-list*): Add autoload cookie.
7004         (cl--compiler-macro-cXXr): New function.
7006         * help-fns.el (help-fns--compiler-macro): New function extracted from
7007         describe-function-1; follow aliases and use `compiler-macro' property.
7008         (describe-function-1): Use it.
7010 2012-06-11  Chong Yidong  <cyd@gnu.org>
7012         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
7013         is uninstalled, if imagemagick is installed.
7015 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7017         * emacs-lisp/cl-lib.el: Use lexical-binding.
7018         (cl-map-extents, cl-maclisp-member): Remove.
7019         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
7020         (cl--set-substring, cl--block-wrapper, cl--block-throw)
7021         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
7022         * emacs-lisp/cl-extra.el: Use lexical-binding.
7023         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
7024         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
7025         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
7026         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
7027         * emacs-lisp/cl-seq.el: Use lexical-binding.
7028         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
7029         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
7030         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
7031         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
7032         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
7033         CL's internals.
7035 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
7037         Sync with Tramp 2.2.6-pre.
7039         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
7040         `print-length' and `print-level' to nil, in order to avoid
7041         truncation.  Reported by Christopher Schmidt
7042         <christopher@ristopher.com>.
7044         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7046         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7047         New defmacro.
7048         (tramp-compat-copy-directory): Add optional argument
7049         COPY-CONTENTS.  It is not handled yet.
7051         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7052         (tramp-ftp-file-name-p): Simplify.
7054         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7055         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7056         connection vector.
7058         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7059         (tramp-methods): Do not use `tramp-password-end-of-line'.
7060         (tramp-completion-function-alist-putty): Handle UNIX case.
7061         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7062         (tramp-do-file-attributes-with-stat)
7063         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7064         gid as real numbers.  They could run out of integer range on cygwin.
7065         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7066         (tramp-sh-handle-expand-file-name): Handle hops.
7067         (tramp-open-connection-setup-interactive-shell):
7068         Use `tramp-cleanup'.  Move check for busyboxes ...
7069         (tramp-find-shell): ... here.  Simplify implementation.
7070         Set "remote-shell" property also for alternative shells.
7071         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7072         If failing, a regular file would be written otherwise.
7073         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7074         (tramp-find-inline-encoding): Cache the coding commands in the
7075         process cache.  Apply test command on the remote side, if defined.
7076         (tramp-find-inline-compress): Cache the compress commands in the
7077         process cache.
7078         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7079         when requested.  Handle hops.
7080         (tramp-current-connection): New defvar.
7081         (tramp-maybe-open-connection): Use `tramp-cleanup'.
7082         Throw `suppress', if there was a failed connection shortly before.
7083         Handle user interrupt.  (Bug#10187)
7084         (tramp-get-inline-compress, tramp-get-inline-coding):
7085         Read connection properties from the process cache.
7087         * net/tramp-smb.el (tramp-smb-server-version)
7088         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7089         New defconsts.
7090         (tramp-smb-prompt): Extend for powershell prompt.
7091         (tramp-smb-file-name-handler-alist): Add handlers for
7092         `process-file', `shell-command' and `start-file-process'.
7093         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7094         (tramp-smb-winexe-shell-command-switch): New defcustoms.
7095         (tramp-smb-file-name-p): Simplify.
7096         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7097         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7098         (tramp-smb-shell-quote-argument): New defuns.
7099         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7100         Implement using "tar".  By this, time-stamps are preserved.
7101         (tramp-smb-handle-copy-file): Handle also the case of directories.
7102         (tramp-smb-do-file-attributes-with-stat)
7103         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7104         Use `tramp-get-connection-buffer').
7105         (tramp-smb-handle-rename-file): Use "rename", when source and
7106         target are on the same share.
7107         (tramp-smb-maybe-open-connection): Handle wrong passwords.
7108         Use `tramp-smb-server-version'.
7109         (tramp-smb-wait-for-output): Remove prompt.
7111         * net/tramp.el (top): Require 'cl.
7112         (tramp-methods, tramp-rsh-end-of-line):
7113         Remove `tramp-password-end-of-line' from docstring.
7114         (tramp-save-ad-hoc-proxies): New defcustom.
7115         (tramp-completion-function-alist): Adapt docstring.
7116         (tramp-default-password-end-of-line): Remove defcustom.
7117         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
7118         (tramp-user-regexp, tramp-file-name-regexp-unified)
7119         (tramp-file-name-regexp-url): Extend regexp by hop separator.
7120         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7121         (tramp-remote-file-name-spec-regexp): New defconst.
7122         (tramp-file-name-structure): Extend structure for hops.
7123         (tramp-get-method-parameter): Move up.
7124         (tramp-file-name-p, tramp-dissect-file-name)
7125         (with-parsed-tramp-file-name): Handle hops.
7126         (tramp-file-name-hop): New defun.
7127         (tramp-make-tramp-file-name): New optional arg HOP.
7128         (tramp-message-show-progress-reporter-message): New defvar.
7129         (tramp-with-progress-reporter): Use it.  We cannot use
7130         `tramp-message-show-message' here, because this suppresses also
7131         error buffers.
7132         (tramp-error-with-buffer): Suppress buffer view, if
7133         `tramp-message-show-message' is nil.
7134         Use `tramp-get-connection-buffer'.
7135         (tramp-cleanup): New defun.
7136         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7137         (tramp-file-name-handler): If `debug-on-error' is set, propagate
7138         an error unchanged.
7139         (tramp-completion-handle-file-name-all-completions): Handle hops.
7140         Fix an error when called from ido.
7141         (tramp-completion-dissect-file-name): Use better local variable
7142         name.  Add hop to the vector.
7143         (tramp-handle-insert-file-contents): Use progress-reporter for the
7144         whole scenario.
7145         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7146         to `t'.
7147         (tramp-check-for-regexp): Simplify search.
7148         (tramp-enter-password): Remove it.  Move implementation ...
7149         (tramp-action-password): ... here.
7150         (tramp-mode-string-to-int, tramp-local-host-p)
7151         (tramp-make-tramp-temp-file, tramp-read-passwd)
7152         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7153         Set tramp-autoload cookie.
7155         * net/trampver.el: Update release number.
7157 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7158             Michael Albinus  <michael.albinus@gmx.de>
7160         * net/tramp.el (tramp-set-completion-function): Fix docstring.
7161         (tramp-parse-group, tramp-parse-file)
7162         (tramp-parse-shostkeys-sknownhosts): New defuns.
7163         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7164         (tramp-parse-shosts-group, tramp-parse-sconfig)
7165         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7166         (tramp-parse-sknownhosts, tramp-parse-hosts)
7167         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7168         Use them.
7169         (tramp-parse-passwd-group, tramp-parse-netrc-group)
7170         (tramp-parse-putty-group): Don't narrow.
7171         (tramp-parse-putty): Make a loop.
7172         (tramp-file-name-handler): Catch the `suppress' signal.
7174 2012-06-11  Chong Yidong  <cyd@gnu.org>
7176         * image.el (imagemagick-register-types): Put the ImageMagick entry
7177         at the end of image-type-file-name-regexps.
7179 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
7181         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7182         (pcase, pcase-let*, pcase-dolist): Use them.
7184 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7186         * emacs-lisp/pcase.el (pcase--let*): New function.
7187         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
7188         (pcase--expand): Use macroexp-let².
7190 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7192         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7193         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7194         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7195         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7196         * emacs-lisp/derived.el: Use pcase instead of `cl'.
7197         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7199 2012-06-10  Glenn Morris  <rgm@gnu.org>
7201         * mail/rmail.el (rmail-yank-current-message): Leave point at
7202         correct position.  (Bug#11660)
7204 2012-06-10  Chong Yidong  <cyd@gnu.org>
7206         * allout-widgets.el: Fix code header.
7208 2012-06-10  Chong Yidong  <cyd@gnu.org>
7210         * cus-edit.el (customize-changed-options-previous-release):
7211         Bump to 24.1.
7213 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
7215         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7217 2012-06-09  Chong Yidong  <cyd@gnu.org>
7219         * ebuff-menu.el (electric-buffer-list): Preserve header line.
7221 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
7223         * window.el (special-display-popup-frame): Don't use
7224         window--display-buffer (Bug#11651).
7226 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
7228         Fix parallel builds: make sure loaddefs.el is not being written
7229         while Lisp files are compiled.
7230         (compile): Don't depend on 'mh-autoloads'.
7231         (compile-CMD, compile-SH): Depend on 'autoloads'.
7232         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7234         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
7236 2012-06-09  Chong Yidong  <cyd@gnu.org>
7238         * face-remap.el (face-remap-add-relative, face-remap-set-base)
7239         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7240         Doc fixes (Bug#11225).
7242 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7244         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7245         a function if there's a clear indication that it has a compiler-macro.
7246         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7247         (macro-declarations-alist): Add arglist to declaration functions.
7248         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7249         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7250         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7251         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7252         Also add autoload to find the compiler macro.
7253         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7254         (cl--compiler-macro-member, cl--compiler-macro-assoc)
7255         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7256         (cl--compiler-macro-get): New functions, replacing calls to
7257         cl-define-compiler-macro.
7258         (cl-typep) [compiler-macro]: Use macroexp-let².
7260 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
7262         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7263         string properly, fixes Bug#11473.
7265 2012-06-08  Chong Yidong  <cyd@gnu.org>
7267         * faces.el (set-face-attribute): Doc fix.
7268         (modify-face): Don't use :bold and :italic.
7269         (error, warning, success): Tweak definitions.
7271         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7272         (custom-modified, custom-set, custom-changed, custom-themed)
7273         (custom-saved, custom-button, custom-button-mouse)
7274         (custom-button-pressed, custom-state, custom-comment-tag)
7275         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7276         (custom-group-subtitle): Use new-style face specs.
7277         (custom-invalid-face, custom-rogue-face, custom-modified-face)
7278         (custom-set-face, custom-changed-face, custom-saved-face)
7279         (custom-button-face, custom-button-pressed-face)
7280         (custom-documentation-face, custom-state-face)
7281         (custom-comment-face, custom-comment-tag-face)
7282         (custom-variable-tag-face, custom-variable-button-face)
7283         (custom-face-tag-face, custom-group-tag-face-1)
7284         (custom-group-tag-face): Remove obsolete face alias.
7286         * epa.el (epa-validity-high, epa-validity-medium)
7287         (epa-validity-low, epa-mark, epa-field-name, epa-string)
7288         (epa-field-name, epa-field-body):
7289         * font-lock.el (font-lock-comment-face, font-lock-string-face)
7290         (font-lock-keyword-face, font-lock-builtin-face)
7291         (font-lock-function-name-face, font-lock-variable-name-face)
7292         (font-lock-type-face, font-lock-constant-face):
7293         * ido.el (ido-first-match, ido-only-match, ido-subdir)
7294         (ido-virtual, ido-indicator, ido-incomplete-regexp):
7295         * speedbar.el (speedbar-button-face, speedbar-file-face)
7296         (speedbar-directory-face, speedbar-tag-face)
7297         (speedbar-selected-face, speedbar-highlight-face)
7298         (speedbar-separator-face):
7299         * whitespace.el (whitespace-newline, whitespace-space)
7300         (whitespace-hspace, whitespace-tab, whitespace-trailing)
7301         (whitespace-line, whitespace-space-before-tab)
7302         (whitespace-space-after-tab, whitespace-indentation)
7303         (whitespace-empty):
7304         * emulation/cua-base.el (cua-global-mark):
7305         * eshell/em-prompt.el (eshell-prompt):
7306         * net/newst-plainview.el (newsticker-new-item-face)
7307         (newsticker-old-item-face, newsticker-immortal-item-face)
7308         (newsticker-obsolete-item-face, newsticker-date-face)
7309         (newsticker-statistics-face, newsticker-default-face):
7310         * net/newst-reader.el (newsticker-feed-face)
7311         (newsticker-extra-face, newsticker-enclosure-face):
7312         * net/newst-treeview.el (newsticker-treeview-face)
7313         (newsticker-treeview-new-face, newsticker-treeview-old-face)
7314         (newsticker-treeview-immortal-face)
7315         (newsticker-treeview-obsolete-face)
7316         (newsticker-treeview-selection-face):
7317         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7318         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7319         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7320         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7321         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7322         (nxml-outline-active-indicator, nxml-outline-ellipsis):
7323         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7324         (mpuz-text):
7325         * progmodes/vera-mode.el (vera-font-lock-number)
7326         (vera-font-lock-function, vera-font-lock-interface):
7327         * textmodes/table.el (table-cell): Use new-style face specs, and
7328         don't use the old :bold and :italic attributes.
7330         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7331         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7332         (ebrowse-member-class, ebrowse-progress): Likewise.
7333         (ebrowse-tree-mark-face, ebrowse-root-class-face)
7334         (ebrowse-file-name-face, ebrowse-default-face)
7335         (ebrowse-member-attribute-face, ebrowse-member-class-face)
7336         (ebrowse-progress-face): Remove obsolete faces.
7338         * progmodes/flymake.el (flymake-errline, flymake-warnline):
7339         Inherit from error and warning faces respectively.
7341         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7342         Likewise.
7343         (flyspell-incorrect-face, flyspell-duplicate-face):
7344         Remove obsolete aliases.
7346 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
7348         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7349         Avoid infloop.
7351 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7353         * startup.el (argv, argi): Make lexically scoped.
7354         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7355         * emacs-lisp/cl-macs.el: Use lexical-binding.
7356         Rename cl-bind-* to cl--bind-*.
7357         * files.el: Don't require `cl' since it doesn't use it.
7358         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7360 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
7362         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7363         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7364         instead of calling external sort utility.
7365         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7367 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
7369         * descr-text.el (describe-char): Mention how to insert the
7370         character, if the current input method doesn't support it.
7371         See the discussion in this thread for the details:
7372         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7374 2012-06-08  Sam Steingold  <sds@gnu.org>
7376         * bindings.el (global-map): Bind XF86Forward to next-buffer and
7377         XF86Back to previous-buffer.
7378         (minibuffer-local-map): Bind them to next-history-element and
7379         previous-history-element respectively.
7380         * help-mode.el (help-mode-map): Bind them to help-go-forward and
7381         help-go-back respectively.
7382         * info.el (Info-mode-map): Bind them to Info-history-forward and
7383         Info-history-back respectively.
7384         These are the keys next to Up on the ThinkPad keyboard.
7386 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7388         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7389         * emacs-lisp/cl-macs.el: Provide itself.
7390         (cl--labels-convert-cache): New var.
7391         (cl--labels-convert): New function.
7392         (cl-flet, cl-labels): New implementation with new semantics, relying on
7393         lexical-binding.
7394         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7395         (cl-closure-vars, cl--function-convert-cache)
7396         (cl--function-convert): Move from cl-macs.el.
7397         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7398         rename by removing the "cl-" prefix.
7399         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7401 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7403         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7404         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7405         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7406         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7407         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7408         (cl-hash-table-count): Add old compatibility aliases.
7410         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7411         Use macroexpand-all-environment instead.
7412         (cl--old-macroexpand): New var.
7413         (cl--sm-macroexpand): New function.
7414         (cl-symbol-macrolet): Use it during macro expansion.
7415         (cl--function-convert-cache): New var.
7416         (cl--function-convert): New function, extracted from
7417         cl-macroexpand-all.
7418         (cl-lexical-let): Use it.
7420         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7421         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7422         (cl-member): Remove old alias.
7424         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7425         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7426         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7427         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7428         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7429         (cl-macroexpand-cmacs): Remove var.
7430         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7431         Use macroexpand-all instead.
7433 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7435         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7436         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7437         (macroexp-copyable-p): New functions and macros.
7438         * emacs-lisp/edebug.el (edebug-unwrap):
7439         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7440         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7441         (pcase--let*): Remove.
7442         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7443         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
7444         macroexp-const-p instead.
7445         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7447         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7448         instead of "cl-" for internal definitions.  Use macroexp-const-p.
7449         (cl-old-bc-file-form): Remove var.
7450         (cl-const-exprs-p): Remove fun.
7451         (cl-labels, cl-macrolet): Use backquote.
7452         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
7453         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7454         (cl-define-setf-expander): Rename from cl-define-setf-method.
7455         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7457         * international/mule-cmds.el: Don't require CL.
7458         (view-hello-file): Don't use `letf'.
7460 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7462         * tmm.el (tmm-prompt): Use string-prefix-p.
7463         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7464         (tmm-add-prompt): Use minibuffer-completion-help.
7465         (tmm-delete-map): Remove.
7467         * subr.el (kbd): Make it its own function.
7469 2012-06-07  Stefan Merten  <smerten@oekonux.de>
7471         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7472         Silence compiler warnings.  Fix versions.
7473         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7474         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7475         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7476         (rst-package-emacs-version-alist): Correct Emacs version to
7477         represent major merge with upstream.
7478         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7480 2012-06-06  Glenn Morris  <rgm@gnu.org>
7482         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7483         Only print environment variables if set.
7485 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7487         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7488         (macroexp--cons): Rename from maybe-cons.
7489         (macroexp--accumulate): Rename from macroexp-accumulate.
7490         (macroexp--all-forms): Rename from macroexpand-all-forms.
7491         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7492         (macroexp--expand-all): Rename from macroexpand-all-1.
7494 2012-06-06  Sam Steingold  <sds@gnu.org>
7496         * calendar/calendar.el (calendar-in-read-only-buffer):
7497         Call `special-mode' to enable the standard read-only keybindings.
7499 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7501         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7502         with "loading" messages (bug#11635).
7504 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
7506         * files.el (enable-remote-dir-locals): New option.
7507         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
7509         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7510         Ensure, that the temp directory is local.
7512         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7513         `temporary-file-directory'.
7515         * progmodes/python.el (python-send-region): Ensure, that the
7516         temporary file is created also in the remote case.
7518 2012-06-06  Glenn Morris  <rgm@gnu.org>
7520         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7521         (vc-rcs-update-changelog): Use it.
7523         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7525         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7526         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7527         (vc-sccs-diff): Replace use of the external vcdiff script.
7529 2012-06-05  Glenn Morris  <rgm@gnu.org>
7531         * ledit.el: Move to obsolete/.
7533 2012-06-05  Sam Steingold  <sds@gnu.org>
7535         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7536         patch (Bug#11140).
7538 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7540         * emacs-lisp/cust-print.el: Move to obsolete.
7542         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7543         compiler-macro expansion.
7545         Add native compiler-macro support.
7546         * emacs-lisp/macroexp.el (macroexpand-all-1):
7547         Support compiler-macros directly.  Properly follow aliases and apply
7548         the compiler macros more thoroughly.
7549         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7550         macroexpand now properly follows aliases.
7551         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7552         (cl-compiler-macroexpand): Use new prop.
7553         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7555         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7557 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
7559         * window.el (get-lru-window, get-mru-window, get-largest-window):
7560         New argument NOT-SELECTED to avoid picking the selected window.
7561         (window--display-buffer-1, window--display-buffer-2): Replace by
7562         new function window--display-buffer
7563         (display-buffer-same-window, display-buffer-reuse-window)
7564         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7565         Use window--display-buffer.
7566         (display-buffer-use-some-window): Remove temporary dedication
7567         hack by calling get-lru-window and get-largest-window with
7568         NOT-SELECTED argument non-nil.  Call window--display-buffer.
7570 2012-06-05  Glenn Morris  <rgm@gnu.org>
7572         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7573         Replace external vcdiff script.
7575 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7577         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7579 2012-06-04  Chong Yidong  <cyd@gnu.org>
7581         * image.el (imagemagick-types-inhibit): Revert last change.
7582         Add INFO and M.
7583         (imagemagick-enabled-types): Remove CIN and EPS*.
7585 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7587         * emacs-lisp/cl-lib.el: Rename from cl.el.
7588         * emacs-lisp/cl.el: New compatibility file.
7589         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7590         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7591         to obey the "cl-" prefix.
7592         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7594 2012-06-03  Glenn Morris  <rgm@gnu.org>
7596         * emacs-lisp/authors.el (authors-aliases): Addition.
7598         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7599         Fix :version.
7601 2012-06-03  Stefan Merten  <smerten@oekonux.de>
7603         * textmodes/rst.el: Add comments.
7604         (rst-transition, rst-adornment): New faces.
7605         (rst-adornment-faces-alist): Make default safe to reevaluate.
7606         Fixes
7607         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7608         Improve customization tags.
7609         (rst-define-level-faces): Clarify meaning.
7611 2012-06-03  Chong Yidong  <cyd@gnu.org>
7613         * progmodes/compile.el (compilation-mode-line-fail)
7614         (compilation-mode-line-run, compilation-mode-line-exit):
7615         New faces.
7616         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7618 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
7620         * progmodes/which-func.el (which-func-update-ediff-windows):
7621         New function.  Use it in ediff-select-hook (Bug#11478).
7623 2012-06-03  Chong Yidong  <cyd@gnu.org>
7625         * bindings.el: Remove explicit help text from format-mode-line.
7626         It is now supplied by mode-line-default-help-echo.
7627         (mode-line-front-space, mode-line-end-spaces)
7628         (mode-line-misc-info): New variables.
7629         (mode-line-modes, mode-line-position): Move the default value to
7630         the variable definition.
7631         (mode-line-default-help-echo): New defcustom.
7632         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7633         (mode-line-modified-help-echo): New functions.
7634         (mode-line-mule-info, mode-line-modified): Use them.
7635         (mode-line-eol-desc, propertized-buffer-identification):
7636         Consistency fixes for help text.
7637         (mode-line-coding-system-map): Allow using mouse-3 to invoke
7638         set-buffer-file-coding-system (Bug#289).
7639         (mode-line-mule-info-help-echo): Update help text.
7641 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7643         * simple.el (execute-extended-command): Set real-this-command
7644         (bug#11506).
7646 2012-06-02  Chong Yidong  <cyd@gnu.org>
7648         Remove incorrect uses of "modeline" in comments, docstrings, and
7649         function/variable names (Bug#10329).
7651         * cus-edit.el (mode-line):
7652         * dframe.el (dframe-mouse-hscroll):
7653         * emacs-lisp/re-builder.el:
7654         * emacs-lisp/easy-mmode.el (define-minor-mode):
7655         * frame.el (set-frame-name):
7656         * help.el (lookup-minor-mode-from-indicator):
7657         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7658         * progmodes/cc-cmds.el (c-toggle-auto-newline)
7659         (c-toggle-hungry-state):
7660         * progmodes/antlr-mode.el (antlr-language-alist):
7661         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7662         * progmodes/vhdl-mode.el (vhdl-mode):
7663         * progmodes/which-func.el (which-func, which-func-cleanup-function):
7664         * term/ns-win.el (ns-face-at-pos):
7665         * term/sup-mouse.el (sup-mouse-report):
7666         * textmodes/flyspell.el (flyspell-mode-line-string):
7667         * textmodes/ispell.el (ispell-highlight-face):
7668         * textmodes/reftex-global.el:
7669         * vc/vc-arch.el (vc-arch-mode-line-string):
7670         * vc/vc-cvs.el (vc-cvs-mode-line-string):
7671         * vc/vc-git.el (vc-git-mode-line-string):
7672         * vc/vc-hooks.el (vc-display-status)
7673         (vc-default-mode-line-string):
7674         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7676         * ansi-color.el (ansi-color-faces-vector): Change default faces.
7678         * dired.el (dired-sort-set-mode-line): Rename from
7679         dired-sort-set-modeline.  All callers changed.
7681         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7682         eshell-status-in-modeline.
7684         * foldout.el (foldout-mode-line-string): Rename from
7685         foldout-modeline-string.  All callers changed.
7686         (foldout-update-mode-line): Rename from foldout-update-modeline.
7688         * subr.el (redraw-modeline): Make into obsolete alias.
7690         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7691         timeclock-modeline-display.  Make old name an alias.
7692         (timeclock-update-mode-line): Likewise.  All callers changed.
7693         (timeclock-mode-line-display): No need to check before using
7694         add-hook.
7695         (timeclock-relative, timeclock-day-over-hook)
7696         (timeclock-use-elapsed, timeclock-mode-string)
7697         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7699         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7700         crisp-mode-modeline-string.
7702         * play/solitaire.el (solitaire-build-mode-line): Rename from
7703         solitaire-build-modeline.  All callers changed.
7705         * play/zone.el (zone-hiding-mode-line): Rename from
7706         zone-hiding-modeline.  All callers changed.
7707         (zone): Remove unusued `modeline-hidden-level' property.
7709         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7710         xscheme-modeline-initialize.  All callers changed.
7712         * strokes.el (strokes-lighter): Rename from
7713         strokes-modeline-string.
7715         * textmodes/sgml-mode.el (html-face-tag-alist)
7716         (html-tag-face-alist): Use mode-line face instead of obsolete
7717         alias modeline.
7719 2012-06-02  Stefan Merten  <smerten@oekonux.de>
7721         * textmodes/rst.el: Always require `cl'.
7722         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7724 2012-06-02  Chong Yidong  <cyd@gnu.org>
7726         * image.el (imagemagick-enabled-types): Rename from
7727         imagemagick-types-enable.  Add many more types.
7728         (imagemagick-types-inhibit): Change default to nil.
7729         (imagemagick-filter-types): Caller changed.
7731 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7733         * emacs-lisp/cl-macs.el: Use backquotes.
7734         (cl-transform-function-property): Use eval-and-compile rather than
7735         abusing `require'.
7736         (defstruct): Use declare-function instead of with-no-warnings.
7738         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7739         (byte-compile-output-docform): Re-add the print-circle bindings.
7740         (byte-compile-fix-header): Use #$ just because it's shorter.
7741         (byte-compile-output-file-form): Remove defun/defmacro.
7743 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
7745         * simple.el (choose-completion): Remove now obsolete binding for
7746         owindow.
7748 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
7750         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7751         in order to avoid "Stack overflow in regexp matcher".
7753 2012-05-31  Glenn Morris  <rgm@gnu.org>
7755         * image.el: For clarity, call imagemagick-register-types at
7756         top-level, rather than relying on a custom :initialize.
7757         (imagemagick-types-enable): New option.  (Bug#11557)
7758         (imagemagick-filter-types): New function.  (Bug#7406)
7759         (imagemagick-register-types): Use imagemagick-filter-types.
7760         If disabling support, remove elements altogether rather
7761         than using an impossible regexp.
7762         (imagemagick-types-inhibit): Give it the default init function.
7764 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7766         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7767         Handle arbitrary file name lengths (Bug#11585).
7769 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
7771         * desktop.el (desktop-read): Clear previous and next buffers for
7772         all windows and bury *Messages* buffer (bug#11556).
7774 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7776         Add `declare' for `defun'.  Align `defmacro's with it.
7777         * emacs-lisp/easy-mmode.el (define-minor-mode)
7778         (define-globalized-minor-mode): Don't autoload the var definitions.
7779         * emacs-lisp/byte-run.el: Use lexical-binding.
7780         (defun-declarations-alist, macro-declarations-alist): New vars.
7781         (defmacro, defun): Use them.
7782         (make-obsolete, define-obsolete-function-alias)
7783         (make-obsolete-variable, define-obsolete-variable-alias):
7784         Use `declare'.
7785         (macro-declaration-function): Mark obsolete.
7786         * emacs-lisp/autoload.el: Use lexical-binding.
7787         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
7789 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7791         * textmodes/ispell.el (ispell-with-no-warnings):
7792         Define as a macro.
7793         (ispell-kill-ispell, ispell-change-dictionary):
7794         Use `called-interactively-p' for Emacs instead of obsolete
7795         `interactive-p'.
7797 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7799         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7800         (macro-declaration-function): Move var from C code.
7801         (macro-declaration-function): Define function with defalias.
7802         * emacs-lisp/macroexp.el (macroexpand-all-1):
7803         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7804         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7805         defun/defmacro any more.
7806         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7807         Provide fallback for unknown arglist.
7808         (byte-compile-arglist-warn): Change calling convention.
7809         (byte-compile-output-file-form): Move print-vars binding.
7810         (byte-compile-output-docform): Simplify accordingly.
7811         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7812         (byte-compile-defmacro-declaration): Remove.
7813         (byte-compile-file-form-defmumble): Generalize to defalias.
7814         (byte-compile-output-as-comment): Return byte-positions.
7815         Simplify callers accordingly.
7816         (byte-compile-lambda): Use `assert'.
7817         (byte-compile-defun, byte-compile-defmacro): Remove.
7818         (byte-compile-file-form-defalias):
7819         Use byte-compile-file-form-defmumble.
7820         (byte-compile-defalias-warn): Remove.
7822 2012-05-29  Stefan Merten  <smerten@oekonux.de>
7824         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7825         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
7827         (rst-mode-abbrev-table): Merge definition.
7828         (rst-mode): Make sure `font-lock-defaults' is buffer local.
7829         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7831 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
7833         * calendar/icalendar.el
7834         (icalendar-export-region): Export UID properly.
7836 2012-05-29  Leo Liu  <sdl.web@gmail.com>
7837         * calendar/icalendar.el (icalendar-import-format):
7838         Add `icalendar-import-format-uid' (Bug#11525).
7839         (icalendar-import-format-uid): New.
7840         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7841         Export UID.
7843 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7845         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7846         different alternative patterns.
7847         (pcase-codegen): Be more careful to preserve identity.
7848         (pcase--u1): Don't forget to mark vars as used.
7850         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7851         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7852         (byte-compile-from-buffer): ...rather than here.
7854         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7855         functions from byte-compile-function-environment.
7857 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
7859         * window.el (window-deletable-p): Avoid deleting the root window
7860         of a frame with an active minibuffer.
7862 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
7864         * simple.el (choose-completion): Use quit-window (Bug#11567).
7866 2012-05-29  Chong Yidong  <cyd@gnu.org>
7868         * whitespace.el (whitespace-cleanup): Fix usage of
7869         whitespace-empty-at-bob-regexp (Bug#11492).
7871 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
7873         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7874         revert (Bug#11488).
7876 2012-05-29  Juri Linkov  <juri@jurta.org>
7878         * isearch.el (isearch-mode-map): Bind `M-s _' to
7879         `isearch-toggle-symbol'.  Bind `M-s c' to
7880         `isearch-toggle-case-fold'.
7881         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7882         (isearch-forward): Add `M-s _' to the docstring.
7883         (isearch-forward-symbol, isearch-toggle-case-fold)
7884         (isearch-symbol-regexp): New functions.  (Bug#11381)
7886 2012-05-29  Juri Linkov  <juri@jurta.org>
7888         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
7889         (isearch-occur, isearch-search-and-update): If `isearch-word' is
7890         a function, call it to get the regexp.
7891         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7892         property `isearch-message-prefix' instead of the string "word ".
7893         (isearch-search-fun-default): For the case of `isearch-word',
7894         return a lambda that calls re-search-forward/re-search-backward
7895         with a regexp returned by `word-search-regexp' or by the function
7896         in `isearch-word'.
7898 2012-05-29  Juri Linkov  <juri@jurta.org>
7900         * isearch.el (isearch-search-fun-default): New function.
7901         (isearch-search-fun): Move default part to the new function
7902         `isearch-search-fun-default'.
7903         (isearch-search-fun-function): Set the default value to
7904         `isearch-search-fun-default'.  (Bug#11381)
7906         * comint.el (comint-history-isearch-end):
7907         Use `isearch-search-fun-default'.
7908         (comint-history-isearch-search): Use `isearch-search-fun-default'
7909         and remove spacial case for `isearch-word'.
7910         (comint-history-isearch-wrap): Remove spacial case for
7911         `isearch-word'.
7913         * hexl.el (hexl-isearch-search-function):
7914         Use `isearch-search-fun-default'.
7916         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7917         Use `word-search-regexp' for `isearch-word'.
7919         * misearch.el (multi-isearch-search-fun):
7920         Use `isearch-search-fun-default'.
7922         * simple.el (minibuffer-history-isearch-search):
7923         Use `isearch-search-fun-default' and remove spacial case for
7924         `isearch-word'.
7925         (minibuffer-history-isearch-wrap): Remove spacial case for
7926         `isearch-word'.
7928         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7929         Remove spacial case for `isearch-word'.
7930         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7932 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7934         Decrease XEmacs incompatibilities.
7935         * textmodes/flyspell.el (flyspell-check-pre-word-p):
7936         Use `string-match'.
7937         (flyspell-delete-region-overlays): Use alternative definition for
7938         XEmacs.
7939         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7940         (flyspell-word): Use `process-kill-without-query' if XEmacs.
7941         (flyspell-mode-on): Use `interactive-p' if XEmacs.
7942         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7943         `define-obsolete-face-alias' under XEmacs, but old method.
7945         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7946         `with-no-warnings' definition or Emacs alias.
7947         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7948         (ispell-word): Do not use `region-p' if XEmacs.
7950 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7952         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7953         Check for `ispell-dictionary-base-alist' instead of full
7954         `ispell-dictionary-alist'.
7955         (ispell-init-process): Show spellchecker when starting new Ispell
7956         process.
7958 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7960         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7961         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7963 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
7965         * version.el (motif-version-string, gtk-version-string)
7966         (ns-version-string): Declare.
7968 2012-05-27  Juri Linkov  <juri@jurta.org>
7970         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7971         after the `eval-defun-1' specialcaseing
7972         like in `edebug-eval-defun' (bug#10181).
7974         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7975         like in `eval-defun-1'.
7977 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
7979         * mail/sendmail.el (mail-yank-region):
7980         Recognize rmail-yank-current-message in addition to insert-buffer.
7981         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7982         a *mail* buffer created through rmail-start-mail with sendmail as
7983         mail-user-agent.
7985 2012-05-27  Chong Yidong  <cyd@gnu.org>
7987         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7988         Default to 256 (Bug#11267).
7990         * help.el (describe-mode): Doc fix.
7992 2012-05-26  Glenn Morris  <rgm@gnu.org>
7994         * w32-fns.el (w32-init-info): Remove.
7995         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7997         * info.el (info-initialize): For self-contained NS builds, put the
7998         included info/ directory at the front.  (Bug#2791)
8000         * paths.el (Info-default-directory-list): Make it a defcustom,
8001         mainly so that we can use custom-initialize-delay.
8003 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8005         * subr.el (buffer-has-markers-at): Mark obsolete.
8007         * subr.el (lambda): Use declare.
8009         * emacs-lisp/lisp-mode.el (lambda):
8010         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
8012 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8014         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
8016 2012-05-26  Glenn Morris  <rgm@gnu.org>
8018         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
8020 2012-05-25  Glenn Morris  <rgm@gnu.org>
8022         * paths.el: Remove no-byte-compile.
8023         * loadup.el: No need to load paths.el uncompiled.
8025         * image.el (imagemagick-types-inhibit): Doc fix.
8027         * version.el: Remove no-byte-compile and associated formatting.
8028         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
8029         is ancient code from when there was an "inc-vers.el".
8031 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8033         * progmodes/gdb-mi.el: Minor style changes.
8034         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
8035         Turn into minor modes.
8036         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
8037         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
8038         (gdb-shell): Remove unneeded let-binding.
8039         (gdb-get-many-fields): Eliminate O(n²) behavior.
8041 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
8043         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
8044         platforms that don't link in fontset.c.
8046 2012-05-25  Juri Linkov  <juri@jurta.org>
8048         Use the same diff color scheme as in modern VCSes (bug#10181).
8050         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8051         to avoid confusion with `diff-added' that now uses green colors.
8052         (diff-removed): Use shades of red.
8053         (diff-added): Use shades of green.
8054         (diff-changed): Leave just the yellow color.
8055         (diff-use-changed-face): New variable.
8056         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8057         how to highlight context diff changes.
8058         (diff-refine-change): Use shades of yellow.
8059         (diff-refine-removed): New face that uses shades of red.
8060         (diff-refine-added): New face that uses shades of green.
8061         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8062         `diff-refine-removed' in the call to `smerge-refine-subst'
8063         depending on the value of `diff-use-changed-face'.
8065         * vc/smerge-mode.el (smerge-mine): Use shades of red.
8066         (smerge-other): Use shades of green.
8067         (smerge-base): Use shades of yellow.
8068         (smerge-refined-change): Empty face.
8069         (smerge-refined-removed): New face that uses shades of red.
8070         (smerge-refined-added): New face that uses shades of green.
8071         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
8072         args `props-r' and `props-a', and use them.  Doc fix.
8073         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8074         on its value use different faces `smerge-refined-change',
8075         `smerge-refined-removed', `smerge-refined-added' in the call to
8076         `smerge-refine-subst'.
8078         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8079         Add face condition `min-colors 88' with shades of red.
8080         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8081         `min-colors 88' with shades of green.
8082         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8083         `min-colors 88' with shades of yellow.
8085 2012-05-24  Glenn Morris  <rgm@gnu.org>
8087         * paths.el (prune-directory-list, remote-shell-program): Move to...
8088         * files.el (prune-directory-list, remote-shell-program): ...here.
8089         For the latter, delay initialization, prefer ssh, just search PATH.
8091         * paths.el (term-file-prefix): Move to faces.el (the only user).
8092         * faces.el (term-file-prefix): Move here, make it a defcustom.
8094         * paths.el (news-directory, news-path, news-inews-program):
8095         Move to gnus/nnspool.el.
8097         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8099         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8100         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8101         Make the latter a defcustom, with a delayed initialization.
8103         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8104         These were deleted from Gnus itself late 2010.
8106 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
8108         * progmodes/which-func.el (which-func-ff-hook):
8109         Check against user-error, not error.
8111         * emacs-lisp/edebug.el (top): Do not load or set up loading of
8112         cl-specs.el, which no longer exists.
8114 2012-05-22  Glenn Morris  <rgm@gnu.org>
8116         * info.el (info-emacs-bug): New command.
8117         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8118         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8120 2012-05-21  Glenn Morris  <rgm@gnu.org>
8122         * makefile.w32-in (update-subdirs-SH):
8123         * Makefile.in (update-subdirs): Update for moved update-subdirs.
8125 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8127         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8129         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8130         Simplify Maven regexp, and make sure the file can't start with a space
8131         (bug#11517).
8133 2012-05-21  Glenn Morris  <rgm@gnu.org>
8135         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8136         Scrap superfluous subshells.
8138 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8140         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8141         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8143 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
8145         * calc/calc.el (calc-ensure-consistent-units): New variable.
8147         * calc/calc-units.el (math-consistent-units-p)
8148         (math-check-unit-consistency): New functions.
8149         (calc-quick-units, calc-convert-units):
8150         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8151         is non-nil.
8152         (calc-extract-units): Fix typo.
8154 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8156         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8158         * textmodes/flyspell.el: Commenting style, plus code simplifications.
8159         (flyspell-default-deplacement-commands): Don't spell check after
8160         repeated window/frame switches (e.g. triggered by mouse-movement).
8161         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8162         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8163         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8164         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8165         Remove unused vars.
8166         (flyspell-get-casechars, flyspell-get-not-casechars):
8167         Simplify; Don't bother removing a ] just to add it back.
8168         * textmodes/ispell.el (ispell-program-name): Use executable-find.
8170 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8172         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8173         New functions.
8174         (math-function-table): Add support for more C functions.
8176 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8178         * textmodes/flyspell.el (flyspell-check-pre-word-p)
8179         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8180         Protect delay handling for otherchars against empty otherchars.
8182 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8184         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8185         their respective macro declarations.
8186         * skeleton.el (define-skeleton):
8187         * progmodes/compile.el (define-compilation-mode):
8188         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8189         (define-ibuffer-filter):
8190         * emacs-lisp/generic.el (define-generic-mode):
8191         * emacs-lisp/easy-mmode.el (define-minor-mode)
8192         (define-globalized-minor-mode):
8193         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8194         * emacs-lisp/byte-run.el (defsubst):
8195         * custom.el (deftheme): Add doc-string metadata.
8197 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8199         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8201 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8203         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8205         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8206         * emacs-lisp/cl-macs.el: Idem.
8207         * emacs-lisp/cl-specs.el: Remove.
8209 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8211         Minor renaming of internal CL functions and variables.
8212         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8213         (cl--position): Rename from cl-position.
8214         (cl--delete-duplicates): Rename from cl-delete-duplicates.
8215         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8216         (cl--random-state): Rename from *random-state*.
8218 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8220         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8221         parens around the arg list (bug#11499).
8223 2012-05-17  Juri Linkov  <juri@jurta.org>
8225         * isearch.el (word-search-regexp, word-search-backward)
8226         (word-search-forward, word-search-backward-lax)
8227         (word-search-forward-lax): Move functions from search.c
8228         (bug#10145, bug#11381).
8230 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8232         * textmodes/flyspell.el (flyspell-check-pre-word-p)
8233         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8234         Delay for otherchars as for normal word components.
8236 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8238         * minibuffer.el (completion--sifn-requote): Fix last change.
8239         (minibuffer-local-must-match-filename-map):
8240         Move define-obsolete-variable-alias before its var.
8242 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8244         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8246         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8247         behavior.
8248         (completion--string-equal-p): New function.
8249         (completion--twq-all): Use it to get better assertion failure data.
8251         Only handle ".." and '..' quoting in shell-mode (bug#11466).
8252         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8253         (shell--requote-argument): New functions.
8254         (shell-completion-vars): Use them.
8255         (shell--parse-pcomplete-arguments): Rename from
8256         shell-parse-pcomplete-arguments.
8257         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
8258         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8259         Obey comint-file-name-quote-list.
8261         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8262         (smie-indent-keyword): Use it.
8264 2012-05-14  Stefan Merten  <smerten@oekonux.de>
8266         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8268 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8270         * net/rlogin.el (rlogin-mode-map): Fix last change.
8272 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
8274         * mail/smtpmail.el (smtpmail-send-command): Send the command and
8275         the following \r\n using a single `process-send-string', since the
8276         Lotus SMTP server refuses to accept any commands if they are sent
8277         with two `process-send-string's (Bug#11444).
8279 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8281         * shell.el (shell-parse-pcomplete-arguments):
8282         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8284 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
8286         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8287         (image-transform-scale, image-transform-right-angle-fudge): New vars.
8288         (image-transform-width, image-transform-fit-width): New functions.
8289         (image-transform-properties): Use them.
8290         (image-transform-check-size): New function.
8291         (image-toggle-display-image): Use it (for testing).
8292         (image-transform-set-rotation): Reduce angle mod 360.
8293         Delete obsolete comment.
8295 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
8297         * image-mode.el: Fix scaling (bug#11399).
8298         (image-transform-resize): Doc fix.
8299         (image-transform-properties): Default scale is 1 and height should
8300         be an integer.
8302 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
8304         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8305         than hard-coding `car', to fix misbehavior when moving forward.
8307 2012-05-13  Chong Yidong  <cyd@gnu.org>
8309         * emacs-lisp/tabulated-list.el (tabulated-list-format)
8310         (tabulated-list-entries, tabulated-list-padding)
8311         (tabulated-list-sort-key): Make permanent-local.
8313         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8314         (electric-buffer-list): Put electric buffer menu
8315         command descriptions in this docstring, instead of the docstring
8316         of electric-buffer-menu-mode.  Code cleanups.
8317         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
8318         Electric-buffer-menu-mode.
8319         (electric-buffer-update-highlight): Minor code cleanup.
8321 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
8323         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8324         (Bug#11447)
8326 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8328         Move define-obsolete-variable-alias before the var's definition.
8329         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8330         * tooltip.el (tooltip-hook):
8331         * textmodes/reftex-toc.el (reftex-toc-map):
8332         * textmodes/reftex-sel.el (reftex-select-label-map)
8333         (reftex-select-bib-map):
8334         * textmodes/reftex-index.el (reftex-index-map)
8335         (reftex-index-phrases-map):
8336         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8337         * progmodes/meta-mode.el (meta-mode-map):
8338         * novice.el (disabled-command-hook):
8339         * loadhist.el (unload-hook-features-list):
8340         * frame.el (blink-cursor):
8341         * files.el (find-file-not-found-hooks, write-file-hooks)
8342         (write-contents-hooks):
8343         * emulation/tpu-edt.el (GOLD-map):
8344         * emacs-lock.el (emacs-lock-from-exiting):
8345         * emacs-lisp/generic.el (generic-font-lock-defaults):
8346         * emacs-lisp/chart.el (chart-map):
8347         * dos-fns.el (register-name-alist):
8348         * dired-x.el (dired-omit-files-p):
8349         * desktop.el (desktop-enable):
8350         * cus-edit.el (custom-mode-hook):
8351         * buff-menu.el (buffer-menu-mode-hook):
8352         * bookmark.el (bookmark-read-annotation-text-func)
8353         (bookmark-exit-hooks):
8354         * allout.el (allout-mode-deactivate-hook)
8355         (allout-exposure-change-hook, allout-structure-added-hook)
8356         (allout-structure-deleted-hook, allout-structure-shifted-hook):
8357         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8358         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8359         comes before the corresponding variable's definition.
8361 2012-05-12  Chong Yidong  <cyd@gnu.org>
8363         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8364         (Buffer-menu-mouse-select): Restore function (Bug#11459).
8365         (Buffer-menu-mode-map): Bind it.
8366         (Buffer-menu--pretty-name): Add a mouse-face property.
8368 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8370         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
8371         (prolog-upper-case-string, prolog-lower-case-string)
8372         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8373         (prolog-use-smie, prolog-smie-grammar): New vars.
8374         (prolog-smie-forward-token, prolog-smie-backward-token)
8375         (prolog-smie-rules): New funs.
8376         (prolog-comment-indent): Remove.
8377         (prolog-mode-variables): Use default comment indentation instead.
8378         Setup SMIE.
8379         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8380         (prolog-mode): Don't call them any more.
8381         (prolog-electric-colon, prolog-electric-dash)
8382         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8384         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8386         * minibuffer.el (completion--twq-all): Again, allow case differences.
8388         * term.el: Move keymap initialization code to be more idiomatic.
8389         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8390         (term-terminal-menu): Move initialization into declaration.
8391         (term-escape-char): Let the user set it in her .emacs.
8393         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8394         Provide SMIE-based indentation (not enabled by default yet).
8395         (sh-mode-map): Don't bind electric keys.
8396         Use electric-pair-mode instead of skeleton-pair.
8397         (sh-assignment-regexp): Fit within 80 columns.
8398         (sh-indent-supported): Specify actual shell name instead of boolean.
8399         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8400         (sh-maybe-here-document): Use it.  Make obsolete.
8401         (sh-electric-here-document-mode) New minor mode.
8402         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
8403         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8404         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8405         (sh-smie-rc-grammar, sh-use-smie): New vars.
8406         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8407         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8408         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8409         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8410         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8411         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8412         (sh-set-shell): Use smie-setup if requested.
8414         * term.el (term-set-escape-char): Properly set term-escape-char.
8415         See http://stackoverflow.com/questions/10524656.
8417 2012-05-10  Chong Yidong  <cyd@gnu.org>
8419         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8420         Use url-generic-parse-url, and handle host names and Windows
8421         filenames properly.
8422         (ffap-url-unwrap-remote): Use url-generic-parse-url.
8423         (ffap-url-unwrap-remote): Accept list values, specifying a list of
8424         URL schemes to work on.
8425         (ffap--toggle-read-only): New function.
8426         (ffap-read-only, ffap-read-only-other-window)
8427         (ffap-read-only-other-frame): Use it.
8428         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8429         necessary for ffap-url-unwrap-remote.
8431 2012-05-10  Dave Abrahams  <dave@boostpro.com>
8433         * cus-start.el (create-lockfiles): Add it.
8435 2012-05-09  Chong Yidong  <cyd@gnu.org>
8437         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8438         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8440 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8442         * shell.el (shell-completion-vars): Fix last change (bug#11348).
8444 2012-05-09  Chong Yidong  <cyd@gnu.org>
8446         * ansi-color.el (ansi-color-process-output): Check for validity of
8447         comint-last-output-start before using it.  This avoids a bad
8448         interaction with gdb-mi's input/output buffer.
8450 2012-05-09  Glenn Morris  <rgm@gnu.org>
8452         * files.el (dir-locals-read-from-file):
8453         Mention dir-locals in any error message.
8455 2012-05-09  Chong Yidong  <cyd@gnu.org>
8457         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8458         package (Bug#11410).
8460         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8461         variables into description.
8463 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8465         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8466         shell-delimiter-argument-list (bug#11348).
8467         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8469 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
8471         * textmodes/rst.el: Silence byte-compiler warnings.
8472         (rst-re-alist, rst-reset-section-caches): Move around.
8473         (rst-re): Use `characterp', not `char-valid-p'.
8474         (font-lock-beg, font-lock-end): Declare.
8476         * progmodes/idlw-shell.el (specs): Remove reference to deleted
8477         variable `idlwave-shell-activate-alt-keybindings' and simplify.
8479         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8481 2012-05-08  Glenn Morris  <rgm@gnu.org>
8483         * files.el (auto-mode-alist): Treat ".make" like ".mk".
8485 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8487         * vc/log-edit.el: Add GNU coding standards highlighting.
8488         (log-edit-font-lock-gnu-style)
8489         (log-edit-font-lock-gnu-keywords): New vars.
8490         (log-edit-font-lock-keywords): New fun.
8491         (log-edit-mode): Don't fold case in font-lock.
8492         (log-edit-font-lock-keywords): Do not assume case-folding.
8494         * imenu.el: Misc cleanup.  Make docstrings out of comments.
8495         Use lexical-binding.
8496         (imenu--index-alist, imenu--last-menubar-index-alist)
8497         (imenu-menubar-modified-tick): Use defvar-local.
8498         (imenu--split-menu): Remove unused var.
8499         (imenu--cleanup-seen): Declare as global.
8500         (imenu--cleanup): Use dolist.
8502         * subr.el (defvar-local): Add debug spec and doc-string position.
8504 2012-05-08  Glenn Morris  <rgm@gnu.org>
8506         * language/burmese.el, language/cham.el, language/czech.el:
8507         * language/english.el, language/georgian.el, language/greek.el:
8508         * language/japanese.el, language/khmer.el, language/korean.el:
8509         * language/lao.el, language/misc-lang.el, language/romanian.el:
8510         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8511         * language/thai.el, language/utf-8-lang.el:
8512         Remove no-byte-compile setting.
8514         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
8516 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8518         * progmodes/make-mode.el (makefile-browse):
8519         Remove unnecessary interactive.  (Bug#11324)
8521 2012-05-07  Glenn Morris  <rgm@gnu.org>
8523         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8525         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8527 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8529         * loadup.el: Preload newcomment.el.
8530         * newcomment.el: Move autoload-only code to toplevel.
8532         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8533         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8534         Handle new :right-align column property.
8535         (tabulated-list-print-col): Idem, plus use `display' text-property to
8536         try and preserve alignment for variable pitch fonts.
8538 2012-05-07  Chong Yidong  <cyd@gnu.org>
8540         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8541         (tabulated-list-use-header-line): New var.
8542         (tabulated-list-init-header): Use it.
8543         (tabulated-list-print-fake-header): New function.
8544         (tabulated-list-print): Use it.
8545         (tabulated-list-sort-button-map): Add non-header-line commands.
8546         (tabulated-list-init-header): Add column name property to basic
8547         labels as well.
8548         (tabulated-list-col-sort): Handle non-header-line button case.
8549         (tabulated-list--sort-by-column-name): Fix a corner case.
8551         * buff-menu.el (list-buffers--refresh):
8552         Handle Buffer-menu-use-header-line.
8554 2012-05-06  Chong Yidong  <cyd@gnu.org>
8556         * buff-menu.el: Convert to Tabulated List mode.
8557         (Buffer-menu-buffer+size-width): Make obsolete.
8558         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8559         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8560         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
8561         documentation into docstring of buffer-menu.
8562         (Buffer-menu-toggle-files-only): Add an informative message.
8563         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8564         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8565         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8566         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8567         (Buffer-menu-execute, Buffer-menu-select)
8568         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8569         (Buffer-menu-bury): Use Tabulated List machinery.
8570         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8571         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8572         Delete.
8573         (list-buffers--refresh): New function.
8574         (list-buffers-noselect): Use it.
8575         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8576         (Buffer-menu--pretty-file-name): New helper functions.
8578         * loadup.el: Preload tabulated-list.
8580         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8581         tabulated-list-sort-column.
8582         (tabulated-list-init-header): Add the initial aligning space even
8583         if tabulated-list-padding is zero.
8585 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
8587         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8588         whose cdr is not a cons cell correctly (bug#11038).
8590 2012-05-06  Chong Yidong  <cyd@gnu.org>
8592         * emacs-lisp/tabulated-list.el (tabulated-list-format):
8593         Accept additional plist in column descriptors.
8594         (tabulated-list-init-header): Obey it.
8595         (tabulated-list-get-entry): New function.
8596         (tabulated-list-put-tag): Use it.  Use string-width instead of
8597         length.
8598         (tabulated-list--column-number): New function.
8599         (tabulated-list-print): Use it.
8600         (tabulated-list-print-col): New function.
8601         Set `tabulated-list-column-name' property on each column's text.
8602         (tabulated-list-print-entry): Use it.
8603         (tabulated-list-delete-entry, tabulated-list-set-col):
8604         New functions.
8605         (tabulated-list-sort-column): New command (Bug#11337).
8607         * buff-menu.el (list-buffers): Move C-x C-b binding from
8608         buff-menu.el to bindings.el.
8610         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8611         :advertised-binding feature.
8613 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
8615         * progmodes/compile.el (compilation-internal-error-properties):
8616         Calculate start position correctly when end-col is set but
8617         end-line is not (Bug#11382).
8619 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
8621         * man.el (Man-unindent): Use text-property-default-nonsticky to
8622         prevent untabify from inheriting face properties (Bug#11408).
8624 2012-05-05  Stefan Merten  <smerten@oekonux.de>
8626         * textmodes/rst.el: Major merge with upstream development up to
8627         Docutils SVN r7399 / rst.el V1.2.1.
8629         Clarify maintainership and authors.
8631         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8632         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8633         (rst-official-version, rst-official-cvs-rev, rst-version)
8634         (rst-package-emacs-version-alist): New functions and variables
8635         for version information.
8637         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8638         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8639         (rst-mode-syntax-table, rst-mode): New and corrected functions
8640         and variables representing reStructuredText features.
8642         (rst-re): New function for reStructuredText regexes.  Use in
8643         many places.
8645         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8646         (rst-mode-map): Rebind keys.
8648         (rst-mode-lazy, rst-font-lock-keywords)
8649         (rst-font-lock-extend-region)
8650         (rst-font-lock-extend-region-internal)
8651         (rst-font-lock-extend-region-extend)
8652         (rst-font-lock-find-unindented-line-limit)
8653         (rst-font-lock-find-unindented-line-match)
8654         (rst-adornment-level, rst-font-lock-adornment-level)
8655         (rst-font-lock-adornment-match)
8656         (rst-font-lock-handle-adornment-pre-match-form)
8657         (rst-font-lock-handle-adornment-matcher): Major revision of
8658         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
8660         (rst-preferred-adornments, rst-adjust-hook)
8661         (rst-new-adornment-down, rst-preferred-bullets)
8662         (rst-preferred-bullets, rst-indent, rst-indent-width)
8663         (rst-indent-field, rst-indent-literal-normal)
8664         (rst-indent-literal-minimized, rst-indent-comment): Change,
8665         extend and improve customization.
8667         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8668         (rst-normalize-cursor-position, rst-get-decoration)
8669         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8670         (rst-rstrip, rst-toc-insert-find-delete-contents)
8671         (rst-shift-fill-region, rst-compute-bullet-tabs)
8672         (rst-debug-print-tabs, rst-debug-mark-found)
8673         (rst-shift-region-guts, rst-shift-region-right)
8674         (rst-shift-region-left, rst-use-char-classes)
8675         (rst-font-lock-keywords-function)
8676         (rst-font-lock-indentation-point)
8677         (rst-font-lock-find-unindented-line-begin)
8678         (rst-font-lock-find-unindented-line-end)
8679         (rst-font-lock-find-unindented-line)
8680         (rst-font-lock-adornment-point, rst-font-lock-level)
8681         (rst-adornment-level-alist): Remove functions and variables.
8683         (rst-compare-adornments, rst-get-adornment-match)
8684         (rst-suggest-new-adornment, rst-get-adornments-around)
8685         (rst-adornment-complete-p, rst-get-next-adornment)
8686         (rst-adjust-adornment, rst-display-adornments-hierarchy)
8687         (rst-straighten-adornments): Standardize function names to
8688         use "adornment" instead of "decoration".  Correct callers.
8689         Similar standardizing in many places.
8691         (rst-update-section, rst-adjust, rst-promote-region)
8692         (rst-enumerate-region, rst-bullet-list-region)
8693         (rst-repeat-last-character): Correct use of `interactive'.
8695         (rst-classify-adornment, rst-find-all-adornments)
8696         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8697         (rst-find-leftmost-column, rst-repeat-last-character):
8698         Refactor functions.
8700         (rst-find-title-line, rst-reset-section-caches)
8701         (rst-get-adornments-around, rst-adjust-adornment-work)
8702         (rst-arabic-to-roman, rst-roman-to-arabic)
8703         (rst-insert-list-pos, rst-insert-list-new-item)
8704         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8705         New functions.
8707         (rst-all-sections, rst-section-hierarchy)
8708         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8709         New variables.
8711         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8712         configuration instead of only buffer.  Change where necessary.
8714         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8715         (rst-shift-region, rst-adaptive-fill): New functions for
8716         indentation and filling.
8718         (rst-comment-line-break, rst-comment-indent)
8719         (rst-comment-insert-comment, rst-comment-region)
8720         (rst-uncomment-region): New functions for handling comments.
8722         (rst-compile): Quote shell arguments.
8724         (rst-compile-pdf-preview, rst-compile-slides-preview):
8725         Delete temporary files after use.
8727 2012-05-05  Glenn Morris  <rgm@gnu.org>
8729         * calendar/cal-html.el: Optionally include holidays in the output.
8730         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8731         (cal-html-holidays): New option.
8732         (cal-html-css-default): Add holiday entry.
8733         (holiday-in-range): Autoload it.
8734         (cal-html-htmlify-entry): Add optional class argument.
8735         (cal-html-htmlify-list): Add optional holidays argument.
8736         (cal-html-insert-agenda-days): Include holidays in the output.
8737         (cal-html-one-month): Maybe include holidays.
8739         * calendar/holidays.el (holiday-in-range):
8740         Move here from cal-tex-list-holidays.
8741         * calendar/cal-tex.el (cal-tex-list-holidays):
8742         Make it an obsolete alias for holiday-in-range.  Update all callers.
8744 2012-05-05  Chong Yidong  <cyd@gnu.org>
8746         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8747         Nextstep.
8749 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
8751         * files.el (file-auto-mode-skip): New var.
8752         (set-auto-mode-1): Use it.
8754 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8756         * repeat.el: Use lexical-binding.
8757         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8758         (repeat-undo-count): Remove.
8759         (repeat):
8760         * progmodes/octave-mod.el (octave-abbrev-start):
8761         * progmodes/f90.el (f90-abbrev-start):
8762         * face-remap.el (text-scale-adjust):
8763         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8765         * emacs-lisp/pcase.el (pcase--let*): New function.
8766         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8767         a bit more.
8768         (pcase--split-pred): Be more clever about ruling out overlap between
8769         a predicate and some constant pattern.
8770         (pcase--q1): Use `null' instead of (eq foo nil).
8772         * subr.el (setq-local, defvar-local): New macros.
8773         (kbd): Redefine as an alias.
8774         (with-selected-window): Leave unrelated frames alone.
8775         (set-temporary-overlay-map): New function.
8777 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8779         * subr.el (user-error): New function.
8780         * window.el (switch-to-buffer):
8781         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8782         (smerge-match-conflict):
8783         * simple.el (previous-matching-history-element)
8784         (next-matching-history-element, goto-history-element, undo-more)
8785         (undo-start):
8786         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8787         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8788         (next-file, tags-loop-scan, list-tags, complete-tag):
8789         * progmodes/compile.el (compilation-loop):
8790         * mouse.el (mouse-minibuffer-check):
8791         * man.el (Man-bgproc-sentinel, Man-goto-page):
8792         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8793         (Info-history-forward, Info-follow-reference, Info-menu)
8794         (Info-extract-menu-item, Info-extract-menu-counting)
8795         (Info-forward-node, Info-backward-node, Info-next-menu-item)
8796         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8797         (Info-next-reference, Info-prev-reference, Info-index)
8798         (Info-index-next, Info-follow-nearest-node)
8799         (Info-copy-current-node-name):
8800         * imenu.el (imenu--make-index-alist)
8801         (imenu-default-create-index-function, imenu-add-to-menubar):
8802         * files.el (basic-save-buffer, recover-file):
8803         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8804         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8805         (checkdoc-message-text, checkdoc-defun):
8806         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8807         * cus-edit.el (customize-changed-options, customize-rogue)
8808         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8809         (custom-variable-mark-to-reset-standard)
8810         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8811         (custom-file):
8812         * completion.el (check-completion-length):
8813         * comint.el (comint-search-arg)
8814         (comint-previous-matching-input-string-position)
8815         (comint-previous-matching-input)
8816         (comint-replace-by-expanded-history-before-point, comint-send-input)
8817         (comint-copy-old-input, comint-backward-matching-input)
8818         (comint-goto-process-mark, comint-set-process-mark):
8819         * calendar/calendar.el (calendar-cursor-to-date): Use it.
8820         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8822 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8824         * dabbrev.el (dabbrev--ignore-case-p): New function.
8825         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8826         Use it.
8828         * files.el (automount-dir-prefix): Mark as obsolete.
8830 2012-05-04  Glenn Morris  <rgm@gnu.org>
8832         * patcomp.el, play/bruce.el: Move to obsolete/.
8834 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
8836         Fix minor Y10k bugs.
8837         * arc-mode.el (archive-unixdate):
8838         * autoinsert.el (auto-insert-alist):
8839         * calc/calc-forms.el (math-this-year):
8840         * emacs-lisp/copyright.el (copyright-current-year)
8841         (copyright-update-year, copyright):
8842         * tar-mode.el (tar-clip-time-string):
8843         * time.el (display-time-update):
8844         Don't assume years have 4 digits.
8846 2012-05-04  Chong Yidong  <cyd@gnu.org>
8848         * dos-w32.el (file-name-buffer-file-type-alist)
8849         (direct-print-region-use-command-dot-com):
8850         * ffap.el (ffap-menu-regexp):
8851         * find-file.el (ff-special-constructs):
8852         * follow.el (follow-debug):
8853         * forms.el (forms--debug):
8854         * iswitchb.el (iswitchb-all-frames):
8855         * ido.el (ido-all-frames):
8856         * emacs-lisp/timer.el (timer-max-repeats):
8857         * mail/feedmail.el (feedmail-mail-send-hook)
8858         (feedmail-mail-send-hook-queued):
8859         * mail/footnote.el (footnote-signature-separator):
8860         * mail/mailabbrev.el (mail-alias-separator-string)
8861         (mail-abbrev-mode-regexp):
8862         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8863         * progmodes/idlwave.el (idlwave-libinfo-file)
8864         (idlwave-default-completion-case-is-down)
8865         (idlwave-library-routines): Convert defvars to defcustoms.
8867         * mail/rmail.el (rmail-decode-mime-charset):
8868         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8869         (idlwave-shell-fix-inserted-breaks)
8870         (idlwave-shell-activate-alt-keybindings)
8871         (idlwave-shell-use-breakpoint-glyph):
8872         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8874 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8876         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8878 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
8880         * progmodes/verilog-mode.el (font-lock-keywords):
8881         Fix mis-highligting auto.  Reported by Craig Barner.
8882         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8883         defines from global name space.  Reported by Dan Dever.
8884         (verilog-auto-reset, verilog-auto-reset-widths)
8885         (verilog-auto-tieoff): Support using unbased numbers for
8886         AUTORESET and AUTOTIEOFF.
8887         (verilog-submit-bug-report): Update variable list.
8888         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8889         parenthesis from not matching.  Reported by Michael Rytting.
8890         (verilog-auto-template-lint): Fix hash error when linting modules
8891         with no used templates.
8892         (verilog-warn, verilog-warn-error)
8893         (verilog-warn-fatal): When non-interactive report multiple
8894         warnings before exiting.  Suggested by Brad Dobbie.
8895         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8896         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8897         to report unused template errors.  Reported by Brad Dobbie.
8898         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8899         nets, bug438.  Reported by Vns Blore.
8900         (verilog-auto-inout-module, verilog-auto-reg)
8901         (verilog-read-decls, verilog-read-sub-decls-sig)
8902         (verilog-signals-edit-wire-reg, verilog-signals-with):
8903         Fix passing of Verilog data types in ANSI input/output ports
8904         such as "output logic" into the AUTOs.  Special case "wire" and
8905         "reg" for backwards compatibility presuming Verilog 2001.
8906         (verilog-auto-ascii-enum): Add "auto enum" as alias.
8907         (verilog-preprocess): Fix replication of preprocess output.
8908         Reported by Brad Dobbie.
8909         (verilog-auto-inst-interfaced-ports):
8910         Create verilog-auto-inst-interfaced-ports, bug429.
8911         Reported by Julian Gorfajn.
8912         (verilog-after-save-font-hook)
8913         (verilog-before-save-font-hook): New variable.
8914         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8915         (verilog-save-font-mods): Wrap disabling fontification, reported
8916         by David Rogoff.
8917         (verilog-do-indent, verilog-pretty-declarations-auto)
8918         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8919         Reported by Pierre-David Pfister.
8920         (verilog-set-auto-endcomments): Fix endtask auto comments outside
8921         of class declarations, bug292.  Reported by Kevin Heilman.
8922         (verilog-read-decls): Fix 'parameter type' not appearing in
8923         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
8924         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8925         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
8926         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8927         Reported by David Kravitz.
8929 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
8931         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8932         assignment with tests in ifs and for loops.
8933         (verilog-extended-complete-re, verilog-complete-reg): Change so
8934         that DPI inport functions don't look like fuction declarations.
8935         (verilog-pretty-expr): Don't line up assignment
8936         operations to the test and increment in if and for loops
8937         (verilog-extended-complete-re, verilog-complete-reg): Change so
8938         that DPI inport functions don't look like fuction declarations.
8940 2012-05-03  Kenichi Handa  <handa@m17n.org>
8942         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8943         decoding, and show a warning message without signaling an error
8944         (Bug#11282).
8946 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8948         * emacs-lisp/bytecomp.el
8949         (byte-compile-file-form-custom-declare-variable): Compile all elements,
8950         since cconv.el might have introduced :fun-body, internal-make-closure,
8951         and friends for bytecomp to handle (bug#11391).
8952         * custom.el (defcustom): Avoid ((λ ..) ..).
8954 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8956         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8958 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
8960         * notifications.el (dbus-debug):
8961         * term/linux.el (gpm-mouse-enable):
8962         * term/screen.el (xterm-register-default-colors): Declare.
8964 2012-05-02  Chong Yidong  <cyd@gnu.org>
8966         * cus-start.el (gc-cons-percentage, exec-suffixes)
8967         (dos-display-scancodes, dos-hyper-key, dos-super-key)
8968         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8969         (make-cursor-line-fully-visible, void-text-area-pointer)
8970         (font-list-limit): Add customization data.
8972         * allout.el (allout-exposure-change-functions)
8973         (allout-structure-added-functions)
8974         (allout-structure-deleted-functions)
8975         (allout-structure-shifted-functions): Rename abnormal hooks from
8976         *-hook, and convert to defcustoms.
8977         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8978         Convert to defcustoms.
8979         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8981         * allout-widgets.el: Hook callers changed.
8983 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
8985         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8986         the yanked message in preference to the default value of
8987         buffer-file-coding-system.
8989 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
8991         * window.el (display-buffer--action-function-custom-type):
8992         Fix entry.
8994 2012-05-02  Alan Mackenzie  <acm@muc.de>
8996         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8998 2012-05-01  Glenn Morris  <rgm@gnu.org>
9000         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
9002         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
9004         * cus-edit.el (custom-variable-documentation): Simplify with format.
9006 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
9007             Stefan Monnier  <monnier@iro.umontreal.ca>
9009         * simple.el (suggest-key-bindings, execute-extended-command):
9010         Move from keyboard.c.
9012 2012-05-01  Chong Yidong  <cyd@gnu.org>
9014         * follow.el: Eliminate advice.
9015         (set-process-filter, process-filter, sit-for): Advice deleted.
9016         (follow-mode-off-hook): Obsolete hook removed.
9017         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
9018         Vars deleted.
9019         (follow-auto): Use a :set function.
9020         (follow-mode): Rewritten.  Don't advise process filters.
9021         (follow-switch-to-current-buffer-all, follow-scroll-up)
9022         (follow-scroll-down): Assume follow-mode is bound.
9023         (follow-comint-scroll-to-bottom)
9024         (follow-align-compilation-windows): New functions.
9025         (follow--window-sorter): New function.
9026         (follow-all-followers): Use it to explicitly sort windows by their
9027         positions; don't make assumptions about next-window order.
9028         (follow-windows-start-end, follow-delete-other-windows-and-split)
9029         (follow-calc-win-start): Doc fix.
9030         (follow-windows-aligned-p, follow-select-if-visible): Don't call
9031         vertical-motion unnecessarily.
9032         (follow-adjust-window): New function.
9033         (follow-post-command-hook): Use it.
9034         (follow-call-set-process-filter, follow-call-process-filter)
9035         (follow-intercept-process-output, follow-tidy-process-filter-alist)
9036         (follow-stop-intercept-process-output, follow-generic-filter):
9037         Functions deleted.
9038         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
9039         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
9040         New functions, replacing advice on scroll-bar-* commands.
9041         (follow-mwheel-scroll): New function (Bug#4112).
9043         * comint.el (comint-adjust-point): New function.
9044         (comint-postoutput-scroll-to-bottom): Use it.
9045         Call follow-comint-scroll-to-bottom for Follow mode buffers.
9047 2012-05-01  Glenn Morris  <rgm@gnu.org>
9049         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9050         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9051         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9052         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9053         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9054         Remove no-byte-compile setting.
9056 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9058         * minibuffer.el (completion-table-with-quoting): Fix compatibility
9059         all-completions code to not return a number in the last cdr.
9061 2012-04-30  Leo Liu  <sdl.web@gmail.com>
9063         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9064         read-only error.
9066 2012-04-29  Chong Yidong  <cyd@gnu.org>
9068         * follow.el (follow-calc-win-end): Rewrite to handle partial
9069         screen lines correctly (Bug#8390).
9070         (follow-avoid-tail-recenter): Minor cleanup.
9072 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9074         Avoid the obsolete `assoc' package.
9075         * speedbar.el (speedbar-refresh): Avoid adelete.
9076         (speedbar-file-lists): Simplify and avoid aput.
9077         * man.el (Man--sections, Man--refpages): New vars, replacing
9078         Man-sections-alist and Man-refpages-alist.
9079         (Man-build-section-alist, Man-build-references-alist):
9080         Use them; avoid aput.
9081         (Man--last-section, Man--last-refpage): New vars.
9082         (Man-follow-manual-reference): Use them.
9083         Use the `default' arg of completing-read.
9084         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
9086 2012-04-27  Chong Yidong  <cyd@gnu.org>
9088         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9090         * startup.el (x-apply-session-resources): New function.
9092         * term/ns-win.el (ns-initialize-window-system):
9093         * term/w32-win.el (w32-initialize-window-system):
9094         * term/x-win.el (x-initialize-window-system): Use it to properly
9095         set menu-bar-mode and other vars from X resources, even if the
9096         initial frame is not a window-system frame (Bug#2299).
9098         * subr.el (read-key): Avoid running filter function when setting
9099         up temporary tool bar entries (Bug#9922).
9101 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
9103         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9104         (Bug#11344)
9106 2012-04-27  Chong Yidong  <cyd@gnu.org>
9108         * select.el (xselect--encode-string): New function, split from
9109         xselect-convert-to-string.
9110         (xselect-convert-to-string): Use it.
9111         (xselect-convert-to-filename, xselect-convert-to-os)
9112         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9113         returned strings are properly encoded (Bug#11315).
9115 2012-04-27  Chong Yidong  <cyd@gnu.org>
9117         * simple.el (delete-active-region): Move to killing custom group.
9119 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
9121         * progmodes/which-func.el (which-func-current): Quote %
9122         characters for mode-line processing.
9124 2012-04-27  Chong Yidong  <cyd@gnu.org>
9126         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9127         reaching eob (Bug#11286).
9129 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
9131         * progmodes/gdb-mi.el (gdb-control-level): New variable.
9132         (gdb): Make it buffer-local and init to zero.
9133         (gdb-control-commands-regexp): New variable.
9134         (gdb-send): Don't wrap in "-interpreter-exec console" if
9135         gdb-control-level is positive.  Increment gdb-control-level
9136         whenever the command matches gdb-control-commands-regexp, and
9137         decrement it each time the command is "end".  (Bug#11279)
9139 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
9141         * window.el (adjust-window-trailing-edge, enlarge-window)
9142         (shrink-window, window-resize):
9143         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9144         windows (Bug#11276).
9146 2012-04-27  Chong Yidong  <cyd@gnu.org>
9148         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9149         fix "missing prefix" warning.  All callers changed.
9151 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9153         * emacs-lisp/assoc.el: Move to obsolete/.
9155 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9157         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9159         * term/ns-win.el (ns-define-service):
9160         * progmodes/pascal.el (pascal-goto-defun):
9161         * progmodes/js.el (js--read-tab):
9162         * progmodes/etags.el (tags-lazy-completion-table):
9163         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9164         * emacs-lisp/ewoc.el (ewoc--wrap):
9165         * emacs-lisp/assoc.el (aput, adelete, amake):
9166         * doc-view.el (doc-view-convert-current-doc):
9167         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9169 2012-04-26  Chong Yidong  <cyd@gnu.org>
9171         * image.el (image-type-from-buffer): Only return supported image
9172         type (Bug#9045).
9174         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9175         value, for symmetry with diff-end-of-hunk.
9176         (diff-split-hunk, diff-find-source-location)
9177         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9178         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9179         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9180         compute the relevant hunk or file properly (Bug#6005).
9181         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9183 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9185         * vc/vc-mtn.el:
9186         * vc/vc-hg.el:
9187         * vc/vc-git.el:
9188         * vc/vc-dir.el:
9189         * vc/vc-cvs.el:
9190         * vc/vc-bzr.el:
9191         * vc/vc-arch.el:
9192         * vc/vc.el: Replace lexical-let by lexical-binding.
9193         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9194         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9195         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9197 2012-04-26  Chong Yidong  <cyd@gnu.org>
9199         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9200         (diff-mode-shared-map): Bind it to / and [remap undo].
9202         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9203         (ediff-window-setup-function): Use it as the default, to set up
9204         windows based on whether the current frame is graphical (Bug#2138).
9205         (ediff-choose-window-setup-function-automatically): Make obsolete.
9207         * vc/ediff-init.el: Always define ediff-pixel-width/height.
9209 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9211         * ffap.el: Remove old code for obsolete package.
9212         (ffap-complete-as-file-p): Remove.
9214         Use completion-table-with-quoting for comint and pcomplete.
9215         * comint.el (comint--unquote&requote-argument)
9216         (comint--unquote-argument, comint--requote-argument): New functions.
9217         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9218         (comint-quote-filename): Use regexp-opt-charset.
9219         (comint--common-suffix, comint--common-quoted-suffix)
9220         (comint--table-subvert): Remove.
9221         (comint-unquote-function, comint-requote-function): New vars.
9222         (comint--complete-file-name-data): Use them with
9223         completion-table-with-quoting.
9224         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9225         * pcomplete.el (pcomplete-arg-quote-list)
9226         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9227         (pcomplete-unquote-argument-function): Default to non-nil.
9228         (pcomplete-unquote-argument): Simplify.
9229         (pcomplete--common-quoted-suffix): Remove.
9230         (pcomplete-requote-argument-function): New var.
9231         (pcomplete--common-suffix): New function.
9232         (pcomplete-completions-at-point): Use completion-table-with-quoting
9233         and completion-table-subvert.
9235         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9236         (minibuffer--double-dollars): Preserve properties.
9237         (completion--sifn-requote): New function.
9238         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9240         * minibuffer.el: Add support for completion of quoted/escaped data.
9241         (completion-table-with-quoting, completion-table-subvert): New funs.
9242         (completion--twq-try, completion--twq-all): New functions.
9243         (completion--nth-completion): New function.
9244         (completion-try-completion, completion-all-completions): Use it.
9246 2012-04-25  Leo Liu  <sdl.web@gmail.com>
9248         * progmodes/python.el (python-pdbtrack-get-source-buffer):
9249         Use compilation-message if available to find real filename.
9251 2012-04-25  Chong Yidong  <cyd@gnu.org>
9253         * vc/diff-mode.el (diff-setup-whitespace): New function.
9254         (diff-mode): Use it.
9256         * vc/diff.el (diff-sentinel):
9257         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9258         Whitespace mode variables based on diff style (Bug#8612).
9260 2012-04-25  Leo Liu  <sdl.web@gmail.com>
9262         * progmodes/python.el (python-send-region): Add suffix .py to the
9263         temp file.
9265         * files.el (auto-mode-alist): Use javascript-mode instead.
9267 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
9269         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
9271         * net/soap-client.el (soap-resolve-references-for-sequence-type)
9272         (soap-resolve-references-for-array-type): Hack to prevent self
9273         references, see Bug#9.
9274         (soap-parse-envelope): Report the contents of the 'detail' node
9275         when receiving a fault reply.
9276         (soap-parse-envelope): Report the contents of the entire 'detail' node.
9278         * net/soap-inspect.el (soap-sample-value-for-simple-type)
9279         (soap-inspect-simple-type): New function.
9281         * net/soap-client.el (soap-simple-type): New struct.
9282         (soap-default-xsd-types, soap-default-soapenc-types)
9283         (soap-decode-basic-type, soap-encode-basic-type):
9284         support unsignedInt and double basic types.
9285         (soap-resolve-references-for-simple-type)
9286         (soap-parse-simple-type, soap-encode-simple-type): New function.
9287         (soap-parse-schema): Parse xsd:simpleType declarations.
9289         * net/soap-client.el (soap-default-xsd-types)
9290         (soap-default-soapenc-types): Add integer, byte and anyURI types.
9291         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9292         the local name of "soapenc:Array".
9293         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9294         decoding integer, byte and anyURI xsd types.
9296 2012-04-25  Chong Yidong  <cyd@gnu.org>
9298         * cus-edit.el (custom-buffer-create-internal): Update header text.
9300 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
9302         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9303         settings on 'system-type', not on 'window-system'.  On MS-Windows,
9304         set interactive-mode on in GDB.
9306 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9308         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9309         (ruby-syntax-propertize-regexp): Remove.
9310         (ruby-syntax-propertize-function): Split regexp into chunks.
9311         Match following code directly.
9313 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
9315         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9316         (ruby-syntax-propertize-regexp): New function.
9317         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9318         by a special keyword.
9320         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9321         (ruby-syntax-general-delimiters-goto-beg)
9322         (ruby-syntax-propertize-general-delimiters): New functions.
9323         (ruby-syntax-propertize-function): Use them to handle GDL.
9324         (ruby-font-lock-keywords): Move old handling of GDL...
9325         (ruby-font-lock-syntactic-keywords): .. to here.
9326         (ruby-calculate-indent): Adjust indentation for GDL.
9328 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
9330         * notifications.el (top): Remove unneeded declarations.
9331         (notifications-specification-version): Change to "1.2".
9332         (notifications-interface, notifications-notify-method)
9333         (notifications-close-notification-method): Fix docstring.
9334         (notifications-get-capabilities-method): New defconst.
9335         (notifications-notify): Add :action-items, :resident and
9336         :transient hints.  Change "image_data" to "image-data" and
9337         "image_path" to "image-path".
9338         (notifications-get-capabilities): New defun.
9340 2012-04-24  Leo Liu  <sdl.web@gmail.com>
9342         * progmodes/python.el: Move hideshow setup to the end.
9344 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
9346         * window.el (handle-select-window): Clear echo area since this is
9347         no more done by read_char (Bug#11304).
9349 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9351         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9352         and `/ M' to filter-derived-mode.
9353         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9354         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9355         (ibuffer-mark-by-mode): Use default rather than initial-input.
9356         (ibuffer-filter-by-derived-mode): Autoload and require-match.
9358 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
9360         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9361         (ibuffer-filter-by-derived-mode): New filter.
9362         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9364 2012-04-23  Andreas Politz  <politza@fh-trier.de>
9366         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9368 2012-04-23  Chong Yidong  <cyd@gnu.org>
9370         * cus-edit.el (customize-apropos, customize-apropos-options):
9371         Disable matching of non-option variables (Bug#11176).
9372         (customize-option, customize-option-other-window)
9373         (customize-changed-options): Doc fix.
9374         (customize-apropos-options, customize-apropos-faces)
9375         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9377         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9378         Fix word list splitting (Bug#11132).
9379         (apropos-symbol, apropos-keybinding, apropos-label)
9380         (apropos-property, apropos-function-button)
9381         (apropos-variable-button, apropos-misc-button): New faces.
9382         (apropos-symbol-face, apropos-keybinding-face)
9383         (apropos-label-face, apropos-property-face, apropos-match-face):
9384         Variables removed (Bug#8396).
9385         (apropos-library-button, apropos-format-plist, apropos-print)
9386         (apropos-print-doc, apropos-describe-plist): Callers changed.
9388 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
9390         * net/xesam.el (xesam-mode-map): Use let-bound map in
9391         initialization.  (Bug#11292)
9393 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9395         Preserve ispell session localwords when switching back to
9396         original buffer.
9398         * textmodes/ispell.el (ispell-buffer-session-localwords):
9399         New buffer-local variable to hold buffer session localwords.
9400         (ispell-kill-ispell): Add option 'clear to delete session
9401         localwords.
9402         (ispell-command-loop, ispell-change-dictionary)
9403         (ispell-buffer-local-words): Preserve session localwords when
9404         needed.
9406         * textmodes/flyspell.el (flyspell-process-localwords)
9407         (flyspell-do-correct): Preserve session localwords when needed.
9409 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9411         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9412         using obsolete `translation-table-for-input'.
9413         (ispell-word, ispell-process-line, ispell-complete-word):
9414         Use plain `insert' instead of removed `ispell-insert-word'.
9416 2012-04-22  Chong Yidong  <cyd@gnu.org>
9418         * cus-edit.el (custom-variable-menu)
9419         (custom-variable-reset-saved, custom-face-menu)
9420         (custom-face-reset-saved): If there is no saved value, make the
9421         "reset-saved" operation bring back the default (Bug#9509).
9422         (custom-face-state): Properly detect themed faces.
9424         * faces.el (face-spec-set): Stop supporting deprecated form of
9425         third arg.
9427 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
9429         Move functions from C to Lisp.  Make non-blocking method calls
9430         the default.  Implement further D-Bus standard interfaces.
9432         * net/dbus.el (dbus-message-internal): Declare function.
9433         Remove unneeded function declarations.
9434         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9435         (dbus-message-type-method-return, dbus-message-type-error)
9436         (dbus-message-type-signal): Declare variables.  Remove local
9437         definitions.
9438         (dbus-interface-dbus, dbus-interface-peer)
9439         (dbus-interface-introspectable, dbus-interface-properties)
9440         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9441         Adapt docstring.
9442         (dbus-interface-objectmanager): New defconst.
9443         (dbus-call-method, dbus-call-method-asynchronously)
9444         (dbus-send-signal, dbus-method-return-internal)
9445         (dbus-method-error-internal, dbus-register-service)
9446         (dbus-register-signal, dbus-register-method): New defuns, moved
9447         from dbusbind.c
9448         (dbus-call-method-handler, dbus-setenv)
9449         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9450         New defuns.
9451         (dbus-call-method-non-blocking): Make it an obsolete function.
9452         (dbus-unregister-object, dbus-unregister-service)
9453         (dbus-handle-event, dbus-register-property)
9454         (dbus-property-handler): Obey the new structure of
9455         `bus-registered-objects'.
9456         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
9457         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9458         Use `dbus-call-method'.
9460 2012-04-22  Chong Yidong  <cyd@gnu.org>
9462         * cus-edit.el (custom-commands, custom-reset-menu)
9463         (Custom-reset-standard): Tweak labels.
9464         (custom-reset-button-menu): Change default to t.
9465         (custom-buffer-create-internal): For the custom-reset-button-menu
9466         case, put the revert button first.
9467         (custom-group-subtitle): New face.
9468         (custom-group-value-create): Align docstring to a specific column.
9470         * wid-edit.el (widget-documentation-link-add): Don't handle
9471         indentation in this function.
9472         (widget-documentation-string-indent-to): New function.
9473         (widget-documentation-string-value-create): Use it.
9475         * autorevert.el (auto-revert):
9476         * epg-config.el (epg):
9477         * ibuffer.el (ibuffer):
9478         * mpc.el (mpc):
9479         * ses.el (ses):
9480         * eshell/eshell.el (eshell):
9481         * net/ange-ftp.el (ange-ftp):
9482         * progmodes/ebnf2ps.el (postscript):
9483         * progmodes/flymake.el (flymake):
9484         * progmodes/prolog.el (prolog):
9485         * progmodes/verilog-mode.el (verilog-mode):
9486         * progmodes/which-func.el (which-func):
9487         * term/xterm.el (xterm):
9488         * textmodes/picture.el (picture):
9489         * textmodes/tildify.el (tildify):
9490         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9491         customization buffers.
9493 2012-04-22  Alan Mackenzie  <acm@muc.de>
9495         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9496         Adding a ) can hide the resulting (..) from searches.  Fix it.
9497         Bound the backward search to the position of the existing (.
9499 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
9501         * progmodes/verilog-mode.el (verilog-mode): Check whether
9502         which-func-modes is t before adding verilog-mode.
9503         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9505 2012-04-21  Leo Liu  <sdl.web@gmail.com>
9507         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9509 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
9511         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9512         filling of the last column of a table (Bug#5635).
9513         (woman-find-next-control-line): New arg, specifying an additional
9514         regexp component for the control line.
9515         (woman2-roff-buffer): Use it.
9516         (woman-break-table): New function.
9517         (woman2-TS): Use it.
9519 2012-04-21  Chong Yidong  <cyd@gnu.org>
9521         * woman.el (woman-set-buffer-display-table, woman-decode-region)
9522         (woman-horizontal-escapes, woman-negative-vertical-space)
9523         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9524         (WoMan-warn-ignored): Use ?\s instead of ?\ .
9526 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9528         * minibuffer.el (completion-file-name-table): Complete user names.
9530 2012-04-20  Leo Liu  <sdl.web@gmail.com>
9532         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9533         and pcase-let*.
9535 2012-04-20  Chong Yidong  <cyd@gnu.org>
9537         * server.el (server-execute): Respect initial-buffer-choice if it
9538         is a string and there are no files to open (Bug#2825).
9539         (server-create-window-system-frame, server-create-tty-frame):
9540         Don't switch buffers here.
9541         (server-process-filter): Only try to open a window system frame if
9542         compiled with graphical support (Bug#8314).
9544 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
9546         * battery.el (battery-echo-area-format): Display remaining time
9547         for sysfs backend too (Bug#11269).
9548         (battery-linux-sysfs): Fix conditional for the charge.
9550 2012-04-20  Chong Yidong  <cyd@gnu.org>
9552         * progmodes/gdb-mi.el (gdb): Revert previous change.
9553         (gdb-inferior-io--init-proc): New function.
9554         (gdb-init-1): Use it.
9555         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9556         responsible for allocating a new pty and hooking it to gdb when
9557         the old pty gets an EIO due to process exit.
9558         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
9559         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9560         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9562 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
9564         * window.el (window-min-size, window-sizable, window-min-delta)
9565         (window-max-delta, window--resizable, window-resizable)
9566         (window-total-size, window-full-height-p, window-full-width-p)
9567         (window-in-direction, window--resize-mini-window, window-resize)
9568         (window--resize-child-windows-normal)
9569         (window--resize-child-windows, window--resize-siblings)
9570         (window--resize-this-window, adjust-window-trailing-edge)
9571         (enlarge-window, shrink-window): Doc fixes.
9573 2012-04-20  Chong Yidong  <cyd@gnu.org>
9575         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9576         New function to call delete-process on the gdb-inferior buffer's pty.
9577         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9578         pty process (Bug#11273).
9579         (gdb-update): New arg to suppress talking to the gdb process.
9580         (gdb-done-or-error): Use it.
9581         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9582         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9583         sentinel not being called.
9585         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9587         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9589 2012-04-20  Glenn Morris  <rgm@gnu.org>
9591         * net/network-stream.el (open-network-stream): Doc fix.
9593 2012-04-20  Chong Yidong  <cyd@gnu.org>
9595         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9597 2012-04-20  Alan Mackenzie  <acm@muc.de>
9599         Ensure searching for keywords is case sensitive.
9601         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9602         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9603         (c-defun-name, c-mark-function, c-cpp-define-name)
9604         (c-comment-indent, c-scan-conditionals, c-indent-defun)
9605         (c-context-line-break): Bind case-fold-search to nil.
9607         * progmodes/cc-mode.el (c-font-lock-fontify-region):
9608         Bind case-fold-search to nil.
9610 2012-04-20  Chong Yidong  <cyd@gnu.org>
9612         * mail/sendmail.el (mail-bury): Call return action with the right
9613         Rmail buffer (Bug#11242).
9615         * server.el (server-process-filter): Handle corner case where both
9616         tty and nowait options are present (Bug#11102).
9618 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
9620         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9621         (top level): Put into the executable the ident-style '$Id:' tag on
9622         windows-nt as well.
9624 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9626         * electric.el (electric-indent-post-self-insert-function): Check that
9627         electric-indent-mode is enabled in current buffer.
9629 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
9631         * imenu.el (imenu-progress-message): Restore; it is "used" in
9632         erc/erc-imenu.el and net/snmp-mode.el.
9634 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
9636         * avoid.el (mouse-avoidance-mode): Mark unused arg.
9637         (mouse-avoidance-nudge-mouse): Remove unused binding.
9639         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9641         * descr-text.el (describe-char):
9642         * progmodes/python.el (python-describe-symbol):
9643         Don't call `toggle-read-only', set `buffer-read-only'.
9645         * imenu.el (imenu-default-goto-function): Mark unused args.
9646         (imenu-progress-message): Remove obsolete macro; all callers changed.
9648         * subr.el (keymap-canonicalize): Remove unused binding.
9649         (read-passwd): Mark unused arg.
9651         * tutorial.el (tutorial--display-changes): Remove unused binding.
9652         (tutorial--save-tutorial-to): Remove unused variable.
9654         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9655         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9656         (package-generate-autoloads, package-menu--generate)
9657         (package-menu--find-upgrades): Remove unused bindings.
9659         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9660         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
9661         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9662         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9663         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9664         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9665         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9666         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9667         (cua-delete-char-rectangle): Mark unused args.
9668         (cua-align-rectangle): Remove unused binding.
9670         * mail/rmail.el (compilation--message->loc)
9671         (epa--find-coding-system-for-mime-charset): Declare.
9673         * net/dbus.el (dbus-register-service): Declare.
9674         (dbus-name-owner-changed-handler): Remove unused binding.
9676         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9677         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9678         (nxml-scan-backward-within): Mark unused arg.
9679         (nxml-dynamic-markup-word): Remove unused binding.
9681         * mouse.el (mouse-menu-major-mode-map):
9682         * emacs-lisp/authors.el (authors-scan-change-log)
9683         (authors-add-to-author-list):
9684         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9685         * emacs-lisp/smie.el (smie-auto-fill):
9686         * mail/sendmail.el (mail-bury):
9687         * mail/unrmail.el (unrmail):
9688         * net/tls.el (open-tls-stream):
9689         * textmodes/picture.el (picture-mouse-set-point):
9690         Remove unused bindings.
9692 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
9694         * net/tramp.el (tramp-action-password): Let-bind
9695         `enable-recursive-minibuffers' to t.
9697 2012-04-18  Sam Steingold  <sds@gnu.org>
9699         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9700         instead of 'string to accommodate values like [f11].
9701         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9702         * progmodes/gdb-mi.el: Likewise.
9704 2012-04-18  Leo Liu  <sdl.web@gmail.com>
9706         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9707         current buffer.
9708         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9709         LOCAL is nil.
9711 2012-04-18  Chong Yidong  <cyd@gnu.org>
9713         * simple.el (line-move): Use forward-line if in batch mode
9714         (Bug#11053).
9716 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
9718         * files.el (after-find-file): Do not try to add a final newline if
9719         the buffer is read-only (Bug#11156).
9721 2012-04-17  Richard Stallman  <rms@gnu.org>
9723         * mail/rmail.el (rmail-start-mail):
9724         Pass (rmail-mail-return...) for the return-action.
9725         Pass (rmail-yank-current-message...) for the yank-action.
9726         (rmail-yank-current-message): New function.
9727         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9728         (rmail-reply): Likewise.
9729         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9731         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9732         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
9733         buffer, not newbuf.
9735 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
9737         * server.el (server-ensure-safe-dir): Simplify.
9739 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9741         * emacs-lisp/smie.el: Provide smarter auto-filling.
9742         (smie-auto-fill): New function.
9743         (smie-setup): Use it.
9745         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9747 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
9749         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9750         (comment-indent): Use it.
9752 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9754         * ses.el: The overall change is to add cell renaming, that is
9755         setting fancy names for cell symbols other than name matching
9756         "\\`[A-Z]+[0-9]+\\'" regexp .
9757         (ses-localvars): Add ses--renamed-cell-symb-list.
9758         (ses-create-cell-variable): New defun.
9759         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9760         (ses-relocate-formula): Relocate formulas only for cells the
9761         symbols of which are not renamed, i.e. symbols whose names do not
9762         match regexp "\\`[A-Z]+[0-9]+\\'".
9763         (ses-relocate-all): Relocate values only for cells the symbols of
9764         which are not renamed.
9765         (ses-load): Create cells variables as the (ses-cell ...) are read,
9766         in order to check row col consistency with cell symbol name only
9767         for cells that are not renamed.
9768         (ses-replace-name-in-formula): New defun.
9769         (ses-rename-cell): New defun.
9771 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
9773         * progmodes/perl-mode.el (perl-indent-parens-as-block):
9774         New option (bug#11118).
9775         (perl-calculate-indent): Respect it.
9777 2012-04-17  Glenn Morris  <rgm@gnu.org>
9779         * dired-aux.el (dired-mark-read-string): Doc fix.
9781 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
9783         * dired-aux.el (dired-mark-read-string): Offer optional completion.
9784         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
9786 2012-04-17  Glenn Morris  <rgm@gnu.org>
9788         * mouse.el (mouse-drag-track):
9789         * speedbar.el (speedbar-frame-mode):
9790         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9792 2012-04-16  Leo Liu  <sdl.web@gmail.com>
9794         * progmodes/python.el: Trivial cleanup.
9796 2012-04-16  Glenn Morris  <rgm@gnu.org>
9798         * vc/vc.el (vc-string-prefix-p):
9799         * vc/pcvs-util.el (cvs-string-prefix-p):
9800         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9801         * mpc.el (mpc-string-prefix-p):
9802         Make all of these into obsolete aliases for string-prefix-p.
9803         Update callers.
9804         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9806         * textmodes/two-column.el: Move custom options to the start.
9807         (frame-width): Remove compat definition.
9808         (2C-associate-buffer, 2C-dissociate):
9809         Use with-current-buffer rather than save-excursion.
9810         (2C-dissociate): Force a mode-line update.
9811         (2C-autoscroll): Use ignore-errors.
9813         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9814         Autoload trivia.
9816         * emacs-lisp/cl-extra.el (*random-state*):
9817         Remove unnecessary declaration.
9819         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9821         * play/cookie1.el (cookie-snarf):
9822         Give an explicit error if input file cannot be read.
9824         * play/yow.el (yow-file): Use expand-file-name rather than concat.
9826         * progmodes/perl-mode.el (c-macro-expand):
9827         Remove unnecessary autoload (it is in loaddefs.el).
9829         * textmodes/picture.el (picture-desired-column)
9830         (picture-update-desired-column): Convert comments to doc-strings.
9831         (picture-substitute): Remove function.
9832         (picture-mode-map): Initialize in the defvar.
9834         * woman.el: Remove eval-after-load for tar-mode.
9835         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9836         (woman-tar-extract-file): Autoload it.
9838         * frame.el (automatic-hscrolling): Make this alias obsolete.
9840 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9842         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9843         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9844         (ispell-dictionary-base-alist): Revert to original XEmacs
9845         friendly version for default.  [:alpha:] will be added in
9846         `ispell-set-spellchecker-params' if needed.
9848 2012-04-16  Chong Yidong  <cyd@gnu.org>
9850         * image.el (imagemagick--file-regexp): New variable.
9851         (imagemagick-register-types): Use it.
9852         (imagemagick-types-inhibit): Add :set function.  Allow new value
9853         of t to inhibit all types.
9855         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9856         so we can preload it.
9858         * loadup.el (fboundp): Preload regexp-opt, needed by
9859         imagemagick-register-types.
9861 2012-04-15  Chong Yidong  <cyd@gnu.org>
9863         * frame.el (scrolling): Remove nearly unused customization group.
9865         * scroll-all.el (scroll-all-mode): Move to windows group.
9867 2012-04-15  Chong Yidong  <cyd@gnu.org>
9869         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9871 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9873         Avoid the use of ((lambda ...) ...) in lexical-binding code.
9874         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9876 2012-04-15  Glenn Morris  <rgm@gnu.org>
9878         * simple.el (process-file-side-effects): Doc fix.
9880 2012-04-15  Glenn Morris  <rgm@gnu.org>
9882         * international/mule-cmds.el (set-language-environment): Doc fix.
9884 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
9886         * server.el (server-auth-key, server-generate-key): Doc fixes.
9887         (server-get-auth-key): Doc fix.  Use `string-match-p'.
9888         (server-start): Reflow docstring.
9890 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
9892         * server.el (server-generate-key): `called-interactively-p'
9893         requires a parameter.
9895 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
9897         * server.el (server-auth-key): New variable.
9898         (server-generate-key, server-get-auth-key): New function.
9899         (server-start): Use the new variable and functions to allow
9900         setting a permanent server key (bug#9423).
9902 2012-04-14  Leo Liu  <sdl.web@gmail.com>
9904         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9906 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
9908         Spelling fixes.
9909         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9910         Emacs uses American spelling.
9912 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
9914         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9915         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
9916         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9917         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
9919 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9921         * progmodes/which-func.el (which-func-modes): Change default.
9923 2012-04-14  Kim F. Storm  <storm@cua.dk>
9925         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9926         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9928 2012-04-14  Chong Yidong  <cyd@gnu.org>
9930         * custom.el (custom-theme-set-variables): Doc fix.
9932 2012-04-14  Glenn Morris  <rgm@gnu.org>
9934         * international/mule.el (set-auto-coding-for-load): Doc fix.
9936 2012-04-14  Alan Mackenzie  <acm@muc.de>
9938         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9939         imenu work again for Objective C Mode.  Correct the *-index values,
9940         these having been disturbed by a previous change in 2011-08.
9942         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9943         Correct two search limits.
9945 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9947         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9949 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
9951         * international/characters.el: Fix sorting.
9953 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
9955         * international/characters.el: Add more missing Latin case pairs.
9957 2012-04-14  Glenn Morris  <rgm@gnu.org>
9959         * files.el (dir-locals-set-class-variables): Doc fix.
9961 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
9963         * international/characters.el: Add set-case-syntax-pair call for
9964         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9965         counterpart.  (Bug#11209)
9967         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
9969 2012-04-14  Glenn Morris  <rgm@gnu.org>
9971         * calendar/holidays.el (calendar-check-holidays): Doc fix.
9973 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
9975         * textmodes/ispell.el (ispell-dictionary-base-alist):
9976         Add data for Hebrew.
9978 2012-04-14  Chong Yidong  <cyd@gnu.org>
9980         * net/rcirc.el (rcirc-cmd-quit):
9981         Revert 2012-03-18 change (Bug#11192).
9983 2012-04-14  Glenn Morris  <rgm@gnu.org>
9985         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9987 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
9989         * minibuffer.el (completion-in-region-mode-map):
9990         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
9992 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
9994         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9996 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
9998         * minibuffer.el (minibuffer-local-filename-syntax): New variable
9999         to allow `C-M-f' and `C-M-b' to move to the nearest path
10000         separator (bug#9511).
10002 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
10004         * avoid.el: Require cl when compiling.  And also move the
10005         `provide' to the end.
10007 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10009         * avoid.el (mouse-avoidance-banish-position): New variable.
10010         (mouse-avoidance-banish-destination): Use it (bug#10165).
10012 2012-04-13  Leo Liu  <sdl.web@gmail.com>
10014         * progmodes/which-func.el (which-func-modes): Add objc-mode.
10016 2012-04-13  Ken Brown  <kbrown@cornell.edu>
10018         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
10019         this is no longer needed now that cygstart understands file:// URLs.
10020         (browse-url-filename-alist): For the same reason, don't modify
10021         file:// URLs on Cygwin.
10023 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10025         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
10026         the region on shift if the binding is already shifted (bug#11221).
10028 2012-04-12  Glenn Morris  <rgm@gnu.org>
10030         * mail/mailpost.el: Move to obsolete/.
10032 2012-04-12  Drew Adams  <drew.adams@oracle.com>
10034         * imenu.el (imenu--generic-function): Ignore invisible definitions
10035         (bug#10123).
10037 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
10039         * hexl.el (hexl-bits): New variable.
10040         (hexl-options): Mention the variable in the doc string.
10041         (hexl-rulerise, hexl-line-displen): New functions.
10042         (hexl-mode): Mention the new variable.
10043         (hexl-mode, hexl-current-address, hexl-current-address):
10044         Use the displen.
10045         (hexl-ascii-start-column): New function.
10046         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10047         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10049 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10051         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10052         '("-i" ENCODING), in 2 separate command-line arguments, to specify
10053         the encoding, as expected by hunspell.
10055 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10057         * battery.el (battery--linux-sysfs-regexp): New const.
10058         (battery-status-function): Use it.  Remove yeeloong special case.
10059         (battery-yeeloong-sysfs): Remove.
10060         (battery-echo-area-format): Remove yeeloong special case.
10062 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10064         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10065         Reported by Noah Friedman.
10067         * subr.el (read-passwd): Use read-string.
10069 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10071         * vcursor.el (vcursor-move): Increase the priority of the overlay
10072         (bug#9663).
10074 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
10076         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10077         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10079 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
10081         * textmodes/artist.el (artist-mode): Convert artist-mode to use
10082         define-minor-mode (bug#10760).
10084 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
10086         * progmodes/grep.el (rgrep): Tweak the find command line so
10087         that directories matching `grep-find-ignored-files' won't be
10088         pruned (bug#10351).
10090 2012-04-11  Chong Yidong  <cyd@gnu.org>
10092         * startup.el (command-line): Remove support for long-obsolete
10093         variable font-lock-face-attributes.
10095 2012-04-11  Glenn Morris  <rgm@gnu.org>
10097         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10099 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10101         * window.el (window--state-get-1): Obey window-point-insertion-type.
10103 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
10105         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10106         to previous function when point is on the first character of a
10107         function.  Take care of that in `narrow-to-defun' (bug#6157).
10109 2012-04-11  Glenn Morris  <rgm@gnu.org>
10111         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10112         not just file-errors.
10114         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10115         (vc-bzr-sha1): Use internal sha1.
10117 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10119         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10121 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
10123         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10124         that start in the middle of the line (bug#10496).
10126 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
10128         * battery.el (battery-linux-proc-acpi): Only one battery is
10129         discharged at a time, but that seems to confuse battery.el when
10130         computing `rate-type' for the battery not being discharged
10131         (bug#10332).
10133 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10135         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10137         * international/quail.el: Use dolist and simplify.
10138         (quail-define-package, quail-update-keyboard-layout)
10139         (quail-define-rules): Use dolist.
10140         (quail-insert-kbd-layout, quail-get-translation): CSE.
10142         * tmm.el: Use dolist, remove left over hook.
10143         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10144         Use dolist.
10145         (calendar-load-hook): Don't mess with it.
10147         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10148         Use derived-mode-p.  Run the diff asynchronously.
10150 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10152         * obsolete/mouse-sel.el: Add an Obsolete-since header.
10154 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
10156         * misc.el: Display absolute path of loaded DLLs (bug#10424).
10157         (list-dynamic-libraries--loaded): New function.
10158         (list-dynamic-libraries--refresh): Use it.
10160 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
10162         * progmodes/python.el (python-fill-paragraph):
10163         Make python-fill-region in a multiline string work when font-lock is
10164         disabled (bug#7018).
10166 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
10168         * language/european.el (cp775): Add oem/legacy (en)coding on
10169         DOS/MS Windows for the Baltic languages.  There are still plenty
10170         of texts written in this encoding/codepage (bug#6519).
10172 2012-04-10  Glenn Morris  <rgm@gnu.org>
10174         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10175         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10177 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
10179         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10180         next-line "n" and previous-line "p" in order to make recentf more
10181         consistent with ibuffer, dired or org-mode (bug#9387).
10183 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10185         * image.el (put-image): Return the overlay created instead of the
10186         optional input string (bug#7834).  Note that this may break code
10187         that is (for some reason or other) depending on `put-image'
10188         returning the string.
10190         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10192         * simple.el (zap-to-char): Allow zapping using input methods
10193         (bug#1580).
10195         * textmodes/fill.el (fill-region): Leave point and mark where they
10196         were before filling (bug#5399).
10198 2012-04-09  Glenn Morris  <rgm@gnu.org>
10200         * version.el (emacs-bzr-get-version):
10201         Handle lightweight checkouts of local branches.
10203 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
10205         * international/characters.el: Recover lost case pairs.  (Bug#11209)
10207 2012-04-09  Chong Yidong  <cyd@gnu.org>
10209         * custom.el (custom-variable-p): Return nil for non-symbol
10210         arguments instead of signaling an error.
10211         (user-variable-p): Obsolete alias for custom-variable-p.
10213         * apropos.el (apropos-variable):
10214         * files-x.el (read-file-local-variable):
10215         * simple.el (set-variable):
10216         * woman.el (woman-mini-help):
10217         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10219 2012-04-09  Glenn Morris  <rgm@gnu.org>
10221         * startup.el (normal-top-level): Don't look for leim-list.el
10222         in places where it will not be found.  (Bug#910)
10224         * international/mule-cmds.el (set-default-coding-systems):
10225         * files.el (normal-mode):
10226         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
10227         This function was removed with ucs-tables.el in 2008.
10229 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
10231         * textmodes/ispell.el (ispell-check-version): For hunspell, set
10232         ispell-encoding8-command to "-i", without a trailing space.
10233         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10234         separate command-line arguments, to specify the encoding, since
10235         that's how hunspell expects it.
10237 2012-04-08  Glenn Morris  <rgm@gnu.org>
10239         * loadup.el: Load bindings before cus-start.
10240         This reduces somewhat the number of "rogue" settings in emacs -Q.
10242 2012-04-07  Glenn Morris  <rgm@gnu.org>
10244         * version.el (emacs-bzr-get-version): New function.
10245         (emacs-bzr-version): New variable.
10246         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
10247         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10249 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
10251         * international/uni-bidi.el, international/uni-category.el:
10252         * international/uni-combining.el, international/uni-decimal.el:
10253         * international/uni-decomposition.el, international/uni-digit.el:
10254         * international/uni-lowercase.el, international/uni-mirrored.el:
10255         * international/uni-name.el, international/uni-numeric.el:
10256         * international/uni-titlecase.el, international/uni-uppercase.el:
10257         Update for Unicode 6.1.
10259 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
10261         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10263 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10265         * window.el (shrink-window): Mention the `window-min-height'
10266         variable in the doc string.
10268 2012-04-05  Bastien Guerry  <bzg@altern.org>
10270         * color.el (color-lighten-name): Fix typo.
10272 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10274         * server.el (server--on-display-p): New function.
10275         (server--on-display-p): Use it.
10277 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
10279         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10280         (bug#11145).
10282 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10284         * comint.el (comint--common-quoted-suffix): Check string boundary
10285         before comparing (bug#11158).
10286         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10288 2012-04-04  Chong Yidong  <cyd@gnu.org>
10290         * minibuffer.el (completion-extra-properties): Doc fix.
10292         * subr.el (delayed-warnings-hook): Doc fix.
10294 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
10296         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10297         selection (Bug#11159).
10298         (epa-insert-keys): Inform that the default public key will be
10299         exported if no key is selected.
10301 2012-04-04  Richard Stallman  <rms@gnu.org>
10303         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10305 2012-04-03  Chong Yidong  <cyd@gnu.org>
10307         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10308         mail-insert-file, not its obsolete alias mail-attach-file.
10310 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
10312         * notifications.el (notifications-notify): Fix docstring.
10314 2012-04-02  Glenn Morris  <rgm@gnu.org>
10316         * emacs-lisp/authors.el (authors-aliases): Another addition.
10318 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
10320         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10321         `tramp-compat-call-process' instead of `tramp-local-call-process'.
10322         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10324 2012-04-01  Chong Yidong  <cyd@gnu.org>
10326         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10327         Handle root directory properly.
10328         (copy-directory): Caller changed.
10330         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10331         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10333 2012-03-31  Glenn Morris  <rgm@gnu.org>
10335         * term/xterm.el (xterm-extra-capabilities): Doc fix.
10337         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
10339         * calendar/calendar.el (calendar-window-list)
10340         (calendar-hide-window): Restore.  (Bug#11140)
10341         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10343         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10345 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10347         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10348         Check if file is a symlink (Bug#10489).
10350         * files.el (copy-directory): Likewise.
10352 2012-03-30  Chong Yidong  <cyd@gnu.org>
10354         * image.el (imagemagick-types-inhibit)
10355         (imagemagick-register-types): Doc fix.
10357 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10359         * textmodes/ispell.el (ispell-get-extended-character-mode):
10360         Disable extended-char-mode for hunspell.  hunspell does not support it
10361         and treats ~word as ordinary words in pipe mode.
10363 2012-03-30  Glenn Morris  <rgm@gnu.org>
10365         * tutorial.el (help-with-tutorial): Ensure local variables don't
10366         happen to make the buffer read-only.  (Bug#11127)
10368 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10370         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10371         (perl-calculate-indent): Return `noindent' in strings.
10373 2012-03-28  Sam Steingold  <sds@gnu.org>
10375         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10376         instead of the broken adhockery which does not prevent calendar
10377         buffers from being displayed at random after exit.
10378         (calendar-window-list, calendar-hide-window): Remove the broken
10379         adhockery.
10381 2012-03-28  Glenn Morris  <rgm@gnu.org>
10383         * replace.el (query-replace-map): Doc fix.
10385 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
10387         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10388         contents.  (Bug#11109)
10390 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10392         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10393         (bug#11077).
10394         (avl-tree--check, avl-tree--check-node): New funs.
10396 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
10398         * window.el (switch-to-visible-buffer): New option.
10399         (switch-to-prev-buffer, switch-to-next-buffer):
10400         Observe switch-to-visible-buffer.  Make sure that checking for a window
10401         showing a buffer already is done on the same frame.
10403 2012-03-27  Glenn Morris  <rgm@gnu.org>
10405         * startup.el (mail-host-address): Doc fix.
10407 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10409         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10410         than 197 variables.
10412 2012-03-26  Ami Fischman  <ami@fischman.org>
10414         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10416 2012-03-26  Glenn Morris  <rgm@gnu.org>
10418         * files.el (save-buffers-kill-emacs): Doc fix.
10420         * startup.el (normal-top-level, command-line, command-line-1):
10421         Give them doc strings.
10423 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
10425         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10426         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10428 2012-03-25  Chong Yidong  <cyd@gnu.org>
10430         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10431         theme if it was previously enabled before (Bug#11031).
10433         * cus-theme.el (custom-theme-write-faces): Retrieve current face
10434         spec with custom-face-get-current-spec if its :shown-value is not
10435         determined yet (Bug#9337).
10436         (customize-create-theme, custom-theme-revert): Doc fixes.
10438         * button.el (button-at): Minor addition to docstring.
10440 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
10442         * vc/vc.el (vc-merge): Fix a prompt.
10444 2012-03-24  Chong Yidong  <cyd@gnu.org>
10446         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10447         point (Bug#9623).
10449         * button.el (button-at): Minor addition to docstring.
10451 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10453         * newcomment.el (comment-choose-indent): No space after BOL.
10455 2012-03-22  Sam Steingold  <sds@gnu.org>
10457         * window.el (switch-to-prev-buffer): Revert last patch because the
10458         bug turned out to be an advertised feature (Elisp manual 28.14).
10460 2012-03-22  Glenn Morris  <rgm@gnu.org>
10462         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
10463         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10465 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10467         * net/network-stream.el (network-stream-open-starttls): Make error
10468         message under Windows be less misleading.
10470 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
10472         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10473         understands (bug#9942).
10475 2012-03-22  Chong Yidong  <cyd@gnu.org>
10477         * simple.el (end-of-visible-line): Handle return value of
10478         next-single-property-change properly (Bug#9371).
10480 2012-03-22  Kenichi Handa  <handa@m17n.org>
10482         * international/quail.el (quail-insert-kbd-layout): Fix previous
10483         change.  To avoid unwanted bidi reordering, use
10484         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10486 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
10488         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10489         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10490         (ruby-beginning-of-indent): Be more careful with the difference
10491         between word-boundary and symbol boundary.
10492         (ruby-mode-syntax-table): Make : a symbol constituent.
10494 2012-03-21  Andreas Politz  <politza@fh-trier.de>
10496         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10498 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10500         * progmodes/etags.el (tags-completion-at-point-function):
10501         Improve last fix.
10503         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10505 2012-03-21  Sam Steingold  <sds@gnu.org>
10507         * progmodes/etags.el (tags-completion-at-point-function):
10508         Avoid the error when point is inside the pattern.
10510 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
10512         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10513         line (Bug#10855).
10515 2012-03-21  Drew Adams  <drew.adams@oracle.com>
10517         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10519 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
10521         * ido.el (ido-set-current-directory, ido-read-internal)
10522         (ido-choose-completion-string, ido-completion-help): Handle nil
10523         value of ido-completion-buffer (Bug#11008).
10525 2012-03-21  Sam Steingold  <sds@gnu.org>
10527         * window.el (switch-to-prev-buffer): Do not switch to a visible
10528         window previous buffer, just like with the frame previous buffers.
10530 2012-03-21  Chong Yidong  <cyd@gnu.org>
10532         * faces.el (make-face, make-empty-face, copy-face):
10533         * face-remap.el (face-remap-add-relative, face-remap-set-base):
10534         Doc fixes.
10536 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10538         * wid-edit.el (widget-complete-field): Remove (bug#11051).
10539         (widget-complete): Remove broken use of it.
10541 2012-03-20  Chong Yidong  <cyd@gnu.org>
10543         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10544         Use string-width and truncate-string-width to handle arbitrary
10545         characters.
10547 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
10549         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10550         to draw rectangles, not squares.  (Regression introduced by revno
10551         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10553 2012-03-18  Chong Yidong  <cyd@gnu.org>
10555         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10556         it is not yet defined (for temacs).
10558 2012-03-18  Leo Liu  <sdl.web@gmail.com>
10560         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10561         prefix.
10563 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
10565         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10566         (ispell-choices-win-default-height, ispell-silently-savep)
10567         (ispell-dictionary-alist, ispell-encoding8-command)
10568         (ispell-check-version, ispell-aspell-find-dictionary)
10569         (ispell-valid-dictionary-list, ispell-words-keyword)
10570         (ispell-get-word, ispell-internal-change-dictionary)
10571         (ispell-region, ispell-skip-region-list)
10572         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10573         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10574         (ispell-message-text-end, ispell-message)
10575         (ispell-buffer-local-parsing): Doc fix.
10577 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
10579         * htmlfontify.el: Add support for code block fontification for ODT
10580         export (Bug #9914).
10581         (hfy-optimisations): Define new option
10582         `body-text-only'
10583         (hfy-fontify-buffer): Honor above setting.
10584         (hfy-begin-span, hfy-end-span): New routines factored out form
10585         `hfy-fontify-buffer'.
10586         (hfy-begin-span-handler, hfy-end-span-handler): New variables
10587         that permit insertion of custom tags.
10588         (hfy-fontify-buffer): Use above handlers.
10589         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10590         (hfy-face-to-css): Re-defined to be a variable.
10591         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
10592         over multiple runs.  This is made possible by having the caller let
10593         bind a special variable `hfy-user-sheet-assoc'.
10594         (htmlfontify-string): New defun.
10595         (hfy-compile-face-map): Make sure that the last char in the
10596         buffer is correctly fontified.
10597         (hfy-face-resolve-face): Whitespace only change.
10599 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
10601         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10602         message more clear.
10604 2012-03-16  Leo Liu  <sdl.web@gmail.com>
10606         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10608 2012-03-16  Alan Mackenzie  <acm@muc.de>
10610         Further optimise the handling of large macros.
10612         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10613         limit to a call of `c-literal-limits'.
10614         (c-determine-+ve-limit): New function.
10615         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10616         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10617         In CASE 5B, restrict a search limit to 500.
10618         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10620         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10621         Restrict macro bounds to +-500 from after-change's BEG END.
10623 2012-03-16  Leo Liu  <sdl.web@gmail.com>
10625         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10627 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
10629         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10630         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
10632 2012-03-16  Glenn Morris  <rgm@gnu.org>
10634         * view.el (view-buffer, view-buffer-other-window)
10635         (view-buffer-other-frame): Doc fixes re special mode-class.
10637         * subr.el (eval-after-load): If named feature is provided not from
10638         a file, run after-load forms.  (Bug#10946)
10640         * calendar/calendar.el (calendar-insert-at-column):
10641         Handle non-unit-width characters a bit better.  (Bug#10978)
10643 2012-03-15  Chong Yidong  <cyd@gnu.org>
10645         * emacs-lisp/ring.el (ring-extend): New function.
10646         (ring-insert+extend): Extend the ring correctly (Bug#11019).
10648         * comint.el (comint-read-input-ring)
10649         (comint-add-to-input-history): Grow comint-input-ring lazily.
10651 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10653         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10654         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10656         * imenu.el: Fix multiple inheritance breakage (bug#9199).
10657         (imenu-add-to-menubar): Don't add a redundant index.
10658         (imenu-update-menubar): Handle a dynamically composed keymap.
10660 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
10662         * mail/sendmail.el (mail-encode-header):
10663         Bind rfc2047-encode-encoded-words to nil.
10665 2012-03-13  Glenn Morris  <rgm@gnu.org>
10667         * calendar/calendar.el (calendar-string-spread):
10668         Handle non-unit-width characters a bit better.  (Bug#10978)
10670 2012-03-13  Leo Liu  <sdl.web@gmail.com>
10672         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10673         directory and file as argument (Bug#10822).
10675 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
10677         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10678         For dynamically generated code, follow $PC.
10679         (gdb-disassembly-handler-custom): Handle no function name case.
10681 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
10683         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10684         * emulation/ws-mode.el (ws-query-replace):
10685         * sort.el (sort-regexp-fields):
10686         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
10688 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10690         * dabbrev.el: Fix cycle completion order (bug#10963).
10691         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10692         (dabbrev-completion): Don't use an obarray; provide
10693         a cycle-sort-function.
10695 2012-03-12  Leo Liu  <sdl.web@gmail.com>
10697         * simple.el (kill-new): Use equal-including-properties for comparison.
10698         (kill-do-not-save-duplicates): Doc fix.
10700 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10702         * dabbrev.el: Fix cycle completion (bug#10963).
10703         Use lexical binding and wrap to 80 columns.
10704         (dabbrev-completion): Delay computing the list of completions.
10706 2012-03-12  Kenichi Handa  <handa@m17n.org>
10708         * international/quail.el (quail-insert-kbd-layout): Surround each
10709         row by LRO and PDF instead of inserting many LRMs.  Pad the left
10710         and right of each non-spacing marks.  Insert invisible space
10711         between lower and upper characters to prevent composition.
10713 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10715         * minibuffer.el (minibuffer-complete): Don't get confused when the
10716         function is run twice via different commands (bug#10958).
10717         (complete-with-action): Fix docstring.
10719 2012-03-12  Chong Yidong  <cyd@gnu.org>
10721         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10722         (nxml-completion-at-point-function): New function.
10723         (nxml-mode): Use it.
10724         (nxml-bind-meta-tab-to-complete-flag): Default to t.
10726         * emacs-lisp/package.el (package-unpack, package-unpack-single):
10727         Load generated autoloads file before byte compiling (Bug#10970).
10728         (package--make-autoloads-and-compile): New helper fun.
10730 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
10732         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10734 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
10736         * autorevert.el (auto-revert-handler): Ensure, that
10737         file-readable-p is applied only for local files or in
10738         auto-revert-tail-mode.
10740 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
10742         * server.el (server-eval-at): Handle non-tcp connections.
10743         Decode result string.
10745         * server.el (server-msg-size): New constant.
10746         (server-reply-print): New function.
10747         (server-eval-and-print): Use it.
10748         (server-eval-at): Use server-quote-arg and server-unquote-arg.
10749         Handle -print-nonl.
10751 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
10753         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10754         (Bug#10987).
10756 2012-03-11  Chong Yidong  <cyd@gnu.org>
10758         * simple.el (goto-line): Doc fix (Bug#9938).
10760         * subr.el (save-window-excursion): Doc fix (Bug#9979).
10762         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10763         when finished (Bug#10963).
10765 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
10767         * window.el (split-window-below): Fix bug in case where
10768         split-window-keep-point is nil (Bug#10971).
10770 2012-03-11  Juri Linkov  <juri@jurta.org>
10772         * replace.el (replace-highlight): Set isearch-word to nil
10773         unconditionally.  (Bug#10887)
10775 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
10777         * net/mairix.el (mairix-replace-invalid-chars): Rename from
10778         mairix-replace-illegal-chars; all callers changed.  Don't remove
10779         ^, ~, and = characters: they are meaningful in mairix search specs.
10780         (mairix-widget-create-query): Add usage information about mairix
10781         search forms: negating words, searching for substrings, etc.
10783 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
10785         * international/fontset.el (font-encoding-alist): Add an entry for
10786         ksx1001 (Bug#5667).
10788 2012-03-10  Richard Stallman  <rms@gnu.org>
10790         * mail/sendmail.el (mail-encode-header):
10791         Set rfc2047-encode-encoded-words.
10793         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10795         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10796         view buffer means not swapped.
10797         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10798         (rmail-write-region-annotate): Error if real text has disappeared.
10800         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10802 2012-03-10  Chong Yidong  <cyd@gnu.org>
10804         * emulation/cua-rect.el (cua--init-rectangles):
10805         * emulation/cua-base.el (cua--init-keymaps):
10806         Add delete-forward-char to remappings (Bug#9666).
10808 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
10810         * speedbar.el (speedbar-unhighlight-one-tag-line):
10811         Avoid unhighlighting due to frame switching (Bug#10275).
10813 2012-03-10  Chong Yidong  <cyd@gnu.org>
10815         * minibuffer.el (completion-in-region, completion-help-at-point):
10816         Give the completion field overlay a high priority (Bug#6830).
10818         * dired.el (dired-goto-file): Recognize absolute file name
10819         listings (Bug#7126).
10820         (dired-goto-file-1): New helper function.
10821         (dired-toggle-read-only): Inhibit warnings.
10823 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
10825         * net/dbus.el (dbus-property-handler): Return empty array if
10826         there are no properties.
10828 2012-03-09  Leo Liu  <sdl.web@gmail.com>
10830         * savehist.el (savehist-printable): Stricter check for string
10831         value (Bug#10937).
10833 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
10835         * mail/smtpmail.el (smtpmail-send-it):
10836         Bind coding-system-for-write to *-unix, so that FCC files are kept in
10837         valid mbox format.
10839 2012-03-09  Glenn Morris  <rgm@gnu.org>
10841         * files.el (dir-locals-find-file):
10842         Don't check result is regular, readable.
10843         (dir-locals-read-from-file): Demote errors.
10845 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
10847         * international/quail.el (quail-insert-kbd-layout):
10848         Insert invisible LRM characters before each character in a keyboard
10849         layout cell, to prevent their reordering by bidi display engine.
10850         For details, see the discussion in
10851         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10853 2012-03-08  Alan Mackenzie  <acm@muc.de>
10855         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10856         the starting position; make it extend the marked region when
10857         invoked repeatedly - all under appropriate circumstances.
10858         Fixes bugs #5525, #10906.
10860 2012-03-08  Glenn Morris  <rgm@gnu.org>
10862         * files.el (locate-dominating-file, dir-locals-find-file):
10863         Undo 2012-03-06 change.
10865 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
10867         * international/quail.el (quail-help):
10868         Force bidi-paragraph-direction be left-to-right.  See discussion in
10869         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10870         for the reason.
10872 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
10874         Avoid superfluous registering of signals.  (Bug#10807)
10876         * notifications.el (notifications-on-action-object)
10877         (notifications-on-close-object): New defvars.
10878         (notifications-on-action-signal, notifications-on-closed-signal):
10879         Unregister the signal if not needed any longer.
10880         (notifications-notify): Register `notifications-action-signal' or
10881         `notifications-closed-signal', if :on-action or :on-close has been
10882         passed as argument.
10884 2012-03-07  Chong Yidong  <cyd@gnu.org>
10886         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10887         non-X platforms.
10889 2012-03-06  Glenn Morris  <rgm@gnu.org>
10891         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10892         (x-disown-selection-internal, x-get-selection-internal):
10893         Doc fix (add arglist signatures).  (Bug#10783)
10895 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
10897         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10898         Handle breakpoints with no "type".
10900 2012-03-06  Glenn Morris  <rgm@gnu.org>
10902         * files.el (locate-dominating-file): Add optional predicate argument.
10903         (dir-locals-find-file): Make use of above change.
10905 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
10907         * info.el (Info-insert-dir): Also try "dir.gz".
10909 2012-03-06  Glenn Morris  <rgm@gnu.org>
10911         * files.el (dir-locals-find-file):
10912         Ignore non-readable or non-regular files.  (Bug#10928)
10914         * files.el (locate-dominating-file): Doc fix.
10916 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
10918         * calendar/calendar.el (calendar-set-mode-line):
10919         `getenv' returns a string.  (Bug#10951)
10921 2012-03-05  Leo Liu  <sdl.web@gmail.com>
10923         * simple.el (backward-delete-char-untabify): Constrain point to
10924         field (Bug#10939).
10926         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10928 2012-03-05  Chong Yidong  <cyd@gnu.org>
10930         * simple.el (count-words): If called from Lisp, return the word
10931         count, for symmetry with `count-lines'.  Arglist changed.
10932         (count-words--message): Args changed.  Consolidate counting code
10933         from count-words and count-words-region.
10934         (count-words-region): Caller changed.
10935         (count-lines-region): Make it an obsolete alias.
10937 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
10939         * saveplace.el (save-place-to-alist)
10940         (save-place-ignore-files-regexp): Allow value nil to disable this
10941         feature.
10943 2012-03-04  Chong Yidong  <cyd@gnu.org>
10945         * faces.el (face-spec-reset-face): For the default face, reset the
10946         attributes to default values (Bug#10748).
10948 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10950         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10951         previous patch: Check `message-send-mail-function', and not the
10952         default function (bug#10897).
10954 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
10956         * notifications.el (notifications-on-action-signal)
10957         (notifications-on-closed-signal): Check for unique service name of
10958         incoming event.  Fix error in removing entry.
10959         (top): Register for signals with wildcard service name.
10960         (notifications-notify): Use daemon unique service name for map entries.
10962 2012-03-04  Chong Yidong  <cyd@gnu.org>
10964         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10966 2012-03-04  Glenn Morris  <rgm@gnu.org>
10968         * abbrev.el (copy-abbrev-table, abbrev-table-p)
10969         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10970         (expand-abbrev, define-abbrev-table): Doc fixes.
10972 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10974         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10975         `message-default-send-mail-function' and not `send-mail-function'
10976         when doing the prompting for `sendmail-query-once' before sending
10977         in Message buffers (bug#10897).
10979         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10980         This is inconsistent with all the other stream functions, which leave
10981         the setting up to the higher levels (if so wanted) (bug#10931).
10983 2012-03-02  Alan Mackenzie  <acm@muc.de>
10985         Depessimize the handling of very large macros.
10987         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10988         (c-macro-cache-syntactic): New variables to implement a one
10989         element macro cache.
10990         (c-invalidate-macro-cache): New function.
10991         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10992         Adapt to use the new cache.
10993         (c-state-safe-place): Use better the cache of safe positions.
10994         (c-state-semi-nonlit-pos-cache)
10995         (c-state-semi-nonlit-pos-cache-limit):
10996         New variables for...
10997         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
10998         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10999         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
11000         Use c-state-semi-safe-place.
11002         * progmodes/cc-langs.el (c-get-state-before-change-functions):
11003         Add c-invalidate-macro-cache to the C, C++, Obj entries.
11005 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
11007         * jka-compr.el (jka-compr-call-process):
11008         Apply `file-accessible-directory-p' only when the default directory is
11009         not remote.
11011 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
11013         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
11014         access of FILE2, if FILE1 does not exist.
11016         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
11017         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
11019         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
11020         Add "PAGER=" to `process-environment'.
11022 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
11024         * progmodes/sql.el: Bug fix
11025         (sql-get-login-ext): Save login values in globals.
11026         (sql-get-login): Use new version of `sql-get-login-ext'.
11027         (sql-interactive-mode): Set global `sql-connection' to nil.
11028         (sql-connect): Set global values for connection.
11029         (sql-product-interactive): Save global values as buffer local.
11031 2012-02-29  Leo Liu  <sdl.web@gmail.com>
11033         * abbrev.el (define-abbrevs): Reset sys to nil.
11035 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11037         * files.el (file-equal-p): Rename from `files-equal-p'.
11038         Return nil when one or both files don't exist.
11039         (file-subdir-of-p): Now only top directory must exists,
11040         return nil if it doesn't.
11041         (copy-directory): No need to test with `file-subdir-of-p' after
11042         creating dir.
11043         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
11044         to `file-equal-p'.
11046 2012-02-28  Glenn Morris  <rgm@gnu.org>
11048         * shell.el (shell-mode):
11049         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11050         * play/landmark.el (landmark-font-lock-face-O):
11051         * play/handwrite.el (handwrite):
11052         * play/gomoku.el (gomoku-O):
11053         * net/browse-url.el (browse-url-browser-display):
11054         * international/mule.el (define-charset):
11055         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11056         * filesets.el (filesets-find-file-delay):
11057         * eshell/em-xtra.el (eshell-xtra):
11058         * eshell/em-unix.el (eshell-grep):
11059         * emulation/viper.el (viper-mode):
11060         * emacs-lisp/regexp-opt.el (regexp-opt-group):
11061         * emacs-lisp/easymenu.el (easy-menu-define):
11062         * calendar/timeclock.el (timeclock-use-display-time):
11063         * bs.el (bs-mode):
11064         * bookmark.el (bookmark-save-flag):
11065         Doc fix (standardize possessive apostrophe usage).
11067 2012-02-27  Chong Yidong  <cyd@gnu.org>
11069         * emulation/viper-cmd.el (viper-intercept-ESC-key):
11070         Fix key-binding lookup for ESC key (Bug#9146).
11072         * font-lock.el (font-lock-specified-p): Rename from
11073         font-lock-spec-present.  Callers changed.
11075 2012-02-27  Daniel Hackney  <dan@haxney.org>
11077         * emacs-lisp/package.el (package-compute-transaction):
11078         Handle holding a package version to t in package-load-list.
11080 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
11082         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11083         (tramp-get-inode, tramp-get-device): Use cached values.
11085 2012-02-26  Alan Mackenzie  <acm@muc.de>
11087         Check there is a font-lock specification before doing initial
11088         fontification.
11090         * font-core.el (font-lock-mode): Move the conditional from
11091         :after-hook to font-lock-initial-fontify.
11092         (font-lock-default-function): Move the check for a specification
11093         to font-lock-spec-present.
11095         * font-lock.el (font-lock-initial-fontify): Call ...
11096         (font-lock-spec-present): New function.
11098 2012-02-26  Jim Blandy  <jimb@red-bean.com>
11100         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11101         (gdb-send): Apply it to the operand of the '-interpreter-exec
11102         console' command, so that we can pass arguments with (say) quotes
11103         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
11105 2012-02-26  Chong Yidong  <cyd@gnu.org>
11107         * help-fns.el (describe-function-1): Clarify description of
11108         remapping (Bug#10844).
11110         * files.el (files-equal-p): Doc fix.
11111         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
11112         and quit the loop once a mismatch is found.
11114 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
11116         * bs.el (bs--show-with-configuration): Don't throw an error
11117         if the window cannot be split; otherwise, subsequent calls to
11118         bs-show fail, restoring a stale window config.  (Bug#10882)
11120 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
11122         * term/ns-win.el (global-map): Bind ns-drag-file to
11123         ns-find-file (Bug#5855, Bug#10050).
11125 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
11127         * calendar/parse-time.el (parse-time-string): Allow extractor to
11128         return nil.
11130 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
11132         * net/tramp.el (tramp-file-name-for-operation):
11133         Add `files-equal-p' and `file-subdir-of-p'.
11135         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11136         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11137         Add COPY-CONTENTS argument.
11139 2012-02-25  Chong Yidong  <cyd@gnu.org>
11141         Add custom groups for VC backends, for consistency with vc-bzr.
11143         * vc/vc-arch.el (vc-arch):
11144         * vc/vc-cvs.el (vc-cvs):
11145         * vc/vc-git.el (vc-git):
11146         * vc/vc-hg.el (vc-hg):
11147         * vc/vc-mtn.el (vc-mtn):
11148         * vc/vc-rcs.el (vc-rcs):
11149         * vc/vc-sccs.el (vc-sccs):
11150         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11151         All relevant defcustoms reassigned.
11153 2012-02-25  Chong Yidong  <cyd@gnu.org>
11155         * newcomment.el (comment-styles): Add autoload (Bug#10868).
11157         * term/x-win.el (x-initialize-window-system): Reduce default for
11158         x-selection-timeout to 5 seconds (Bug#8869).
11160 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11162         * files.el (files-equal-p, file-subdir-of-p): New functions.
11163         (copy-directory): Error when trying to copy a directory on itself.
11164         Add missing copy-contents arg to tramp handler.
11165         * dired-aux.el (dired-copy-file-recursive): Same.
11166         (dired-create-files): Modify destination when source is equal to
11167         dest when copying files.
11168         Return also when dest is a subdir of source.  (Bug#10489)
11170 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
11172         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11173         (Bug#10874)
11175 2012-02-23  Alan Mackenzie  <acm@muc.de>
11177         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11178         parameter "after-hook:" to allow the expansion to run code after
11179         the execution of the mode hooks.
11181         * font-lock.el (font-lock-initial-fontify): New function extracted
11182         from font-lock-mode-internal.
11184         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11185         :after-hook.
11187 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11189         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11190         (completion--cache-all-sorted-completions): New function.
11191         (completion-all-sorted-completions): Use it.
11192         (completion--do-completion, minibuffer-force-complete):
11193         Use it to re-instate the flush hook.
11195         * icomplete.el (icomplete-completions): Replace last fix with a better
11196         one (bug#10850).
11198 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
11200         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11201         when it might call us back infinitely (bug#10797).
11203 2012-02-23  Glenn Morris  <rgm@gnu.org>
11205         * minibuffer.el (completion-category-overrides): Doc fix.
11207 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11209         * minibuffer.el (completion-table-with-context): Fix inf-loop.
11210         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11212 2012-02-23  Glenn Morris  <rgm@gnu.org>
11214         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11215         (authors-obsolete-files-regexps, authors-ignored-files)
11216         (authors-ambiguous-files, authors-renamed-files-alist):
11217         Add more entries.
11219 2012-02-23  Juri Linkov  <juri@jurta.org>
11221         * isearch.el (isearch-occur): Sync interactive spec with occur's
11222         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
11224         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11226 2012-02-22  Juri Linkov  <juri@jurta.org>
11228         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11229         (ucs-insert): Doc fix.  Check for hex digits in the string.
11230         Don't display `nil' in the error message.  (Bug#10857)
11232 2012-02-22  Alan Mackenzie  <acm@muc.de>
11234         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11236 2012-02-22  Glenn Morris  <rgm@gnu.org>
11238         * ffap.el (ffap-c-path):
11239         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
11241 2012-02-22  Chong Yidong  <cyd@gnu.org>
11243         * custom.el (load-theme): Doc fix.
11245 2012-02-22  Glenn Morris  <rgm@gnu.org>
11247         * dired-x.el (dired-guess-shell-alist-default):
11248         Remove escape sequences from nroff output.  (Bug#172)
11250 2012-02-21  Glenn Morris  <rgm@gnu.org>
11252         * vc/emerge.el (emerge-defvar-local):
11253         Set `permanent-local' property rather than unused `preserved'.
11255         * textmodes/picture.el (picture-delete-char): New alias.
11256         (picture-mode-map): Use it.  (Bug#10860)
11257         (picture-mode): Doc fix.
11259 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
11261         * newcomment.el (uncomment-region-default): Remove unused binding.
11263 2012-02-21  Glenn Morris  <rgm@gnu.org>
11265         * textmodes/picture.el (picture-motion, picture-motion-reverse)
11266         (picture-self-insert, picture-tab-chars): Doc fix.
11267         (picture-mode-map): Fix C-a, C-e.
11269 2012-02-20  Glenn Morris  <rgm@gnu.org>
11271         * emacs-lisp/authors.el (authors-aliases): Add another entry.
11273 2012-02-20  Leo Liu  <sdl.web@gmail.com>
11275         * icomplete.el (icomplete-completions): Check FROM arg before
11276         passing to substring (Bug#10850).
11278 2012-02-19  Chong Yidong  <cyd@gnu.org>
11280         * comint.el: Require ansi-color.
11281         (comint-output-filter-functions): Add ansi-color-process-output.
11283         * ansi-color.el: Don't set comint-output-filter-functions; it is
11284         now in the initial value defined in comint.el.
11285         (ansi-color-apply-face-function): New variable.
11286         (ansi-color-apply-on-region): Use it.
11287         (ansi-color-apply-overlay-face): New function.
11289         * shell.el (shell): No need to require ansi-color.
11290         (shell-mode): Use ansi-color-apply-face-function to highlight
11291         color escapes using font-lock-face property (Bug#10835).
11293 2012-02-19  Chong Yidong  <cyd@gnu.org>
11295         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11296         mode-line formats (Bug#10839).
11298 2012-02-18  Glenn Morris  <rgm@gnu.org>
11300         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11302         * mail/undigest.el (unforward-rmail-message): Doc fix.
11304         * saveplace.el (save-place-ignore-files-regexp): Add :version.
11306 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
11308         * international/characters.el (script-list): Sync with the latest
11309         Unicode Character Database.
11311 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
11313         * international/titdic-cnv.el: Remove duplicate coding tag.
11314         * language/cham.el: Likewise.
11315         * language/tai-viet.el: Likewise.
11317 2012-02-18  Glenn Morris  <rgm@gnu.org>
11319         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11320         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11321         (calendar-bahai-all-holidays-flag, calendar-other-dates):
11322         * calendar/diary-lib.el (diary-abbreviated-year-flag):
11323         * calendar/holidays.el (holiday-bahai-holidays)
11324         (calendar-holidays, list-holidays):
11325         Use utf-8 Bahá'í in doc-strings, menus, etc.
11327 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
11329         * saveplace.el (save-place-ignore-files-regexp): New variable
11330         allowing for excluding files from saving their location of point.
11331         The default value matches the temporary commit message editing
11332         files from Git, SVN, Bazaar, and Mercurial.
11333         (save-place-to-alist): Use it.
11335 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
11336             Stefan Monnier  <monnier@iro.umontreal.ca>
11338         * newcomment.el (uncomment-region-default): Don't leave extra space
11339         when an arg is provided (bug#8150).
11341 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
11343         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11345 2012-02-17  Glenn Morris  <rgm@gnu.org>
11347         * net/socks.el: Require network-stream.  (Bug#10599)
11349 2012-02-17  Kenichi Handa  <handa@m17n.org>
11351         * international/charprop.el:
11352         * international/uni-name.el:
11353         * international/uni-old-name.el:
11354         * international/uni-comment.el: Regenerate.
11356 2012-02-16  Glenn Morris  <rgm@gnu.org>
11358         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11359         Interactively in calendar buffer, give an error if not on a date.
11361 2012-02-15  Glenn Morris  <rgm@gnu.org>
11363         * shell.el (shell-delimiter-argument-list):
11364         Revert 2011-02-17 change.  (Bug#8027)
11366 2012-02-15  Chong Yidong  <cyd@gnu.org>
11368         * minibuffer.el (completion-at-point-functions): Doc fix.
11370         * custom.el (defcustom): Doc fix; note use of defvar.
11372 2012-02-15  Glenn Morris  <rgm@gnu.org>
11374         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11375         Doc fixes.
11377 2012-02-14  Glenn Morris  <rgm@gnu.org>
11379         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11381 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
11383         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11384         way the ports list is computed.
11385         (smtpmail-query-smtp-server): Prompt the user for a port number if
11386         we can't connect to any of the standard ports (bug#10810).
11388 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
11390         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11392 2012-02-13  Glenn Morris  <rgm@gnu.org>
11394         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
11396 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
11398         * net/gnutls.el (gnutls-trustfiles): New variable.
11399         (gnutls-negotiate): Use it.
11401 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
11403         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11404         does its stuff if Gnus is running.
11406 2012-02-13  Alan Mackenzie  <acm@muc.de>
11408         Fix a loop in c-set-fl-decl-start.
11410         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11411         c-backward-syntactic-ws actually moves backwards.
11413 2012-02-13  Leo Liu  <sdl.web@gmail.com>
11415         * net/rcirc.el (rcirc-markup-attributes): Move point to the
11416         beginning so that all \C-o chars are removed.
11418 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
11420         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11422 2012-02-12  Alan Mackenzie  <acm@muc.de>
11424         Fix infinite loop with long macros.
11425         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11427 2012-02-12  Chong Yidong  <cyd@gnu.org>
11429         * window.el (display-buffer): Doc fix (Bug#10785).
11431 2012-02-12  Glenn Morris  <rgm@gnu.org>
11433         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11434         (x-disown-selection-internal, x-get-selection-internal):
11435         Sync docs with the xselect.c versions.
11437         * allout-widgets.el: Add missing license notice.
11439 2012-02-11  Glenn Morris  <rgm@gnu.org>
11441         * select.el (x-get-selection-internal, x-own-selection-internal)
11442         (x-disown-selection-internal):
11443         * x-dnd.el (x-get-selection-internal): Update declarations.
11445         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11447         * window.el (window-sides-slots):
11448         * tool-bar.el (tool-bar-position):
11449         * term/xterm.el (xterm-extra-capabilities):
11450         * ses.el (ses-self-reference-early-detection):
11451         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11452         (verilog-auto-wire-type)
11453         (verilog-auto-delete-trailing-whitespace)
11454         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11455         (verilog-auto-tieoff-declaration):
11456         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11457         (sql-oracle-statement-starters, sql-oracle-scan-on):
11458         * progmodes/prolog.el (prolog-align-comments-flag)
11459         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11460         (prolog-left-indent-regexp, prolog-paren-indent-p)
11461         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11462         (prolog-types, prolog-mode-specificators)
11463         (prolog-determinism-specificators, prolog-directives)
11464         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11465         (prolog-electric-dot-flag)
11466         (prolog-electric-dot-full-predicate-template)
11467         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11468         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11469         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11470         (prolog-program-switches, prolog-prompt-regexp)
11471         (prolog-debug-on-string, prolog-debug-off-string)
11472         (prolog-trace-on-string, prolog-trace-off-string)
11473         (prolog-zip-on-string, prolog-zip-off-string)
11474         (prolog-use-standard-consult-compile-method-flag)
11475         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11476         (prolog-imenu-max-lines, prolog-info-predicate-index)
11477         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11478         (prolog-char-quote-workaround):
11479         * progmodes/cc-vars.el (c-defun-tactic):
11480         * net/tramp.el (tramp-encoding-command-interactive)
11481         (tramp-local-end-of-line):
11482         * net/soap-client.el (soap-client):
11483         * net/netrc.el (netrc-file):
11484         * net/gnutls.el (gnutls):
11485         * minibuffer.el (completion-category-overrides)
11486         (completion-cycle-threshold)
11487         (completion-pcm-complete-word-inserts-delimiters):
11488         * man.el (Man-name-local-regexp):
11489         * mail/feedmail.el (feedmail-display-full-frame):
11490         * international/characters.el (glyphless-char-display-control):
11491         * eshell/em-ls.el (eshell-ls-date-format):
11492         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11493         (lisp-lambda-list-keyword-parameter-indentation)
11494         (lisp-lambda-list-keyword-parameter-alignment):
11495         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11496         * dired-x.el (dired-omit-verbose):
11497         * cus-theme.el (custom-theme-allow-multiple-selections):
11498         * calc/calc.el (calc-highlight-selections-with-faces)
11499         (calc-lu-field-reference, calc-lu-power-reference)
11500         (calc-note-threshold):
11501         * battery.el (battery-mode-line-limit):
11502         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11503         (archive-7z-update):
11504         * allout.el (allout-prefixed-keybindings)
11505         (allout-unprefixed-keybindings)
11506         (allout-inhibit-auto-fill-on-headline)
11507         (allout-flattened-numbering-abbreviation):
11508         * allout-widgets.el (allout-widgets-auto-activation)
11509         (allout-widgets-icons-dark-subdir)
11510         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11511         (allout-widgets-theme-dark-background)
11512         (allout-widgets-theme-light-background)
11513         (allout-widgets-item-image-properties-emacs)
11514         (allout-widgets-item-image-properties-xemacs)
11515         (allout-widgets-run-unit-tests-on-load)
11516         (allout-widgets-time-decoration-activity)
11517         (allout-widgets-hook-error-post-time)
11518         (allout-widgets-track-decoration):
11519         Add missing :version tags to new defcustoms and defgroups.
11521         * progmodes/sql.el (sql-ansi-statement-starters)
11522         (sql-oracle-statement-starters): Add custom type.
11524         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11525         (prolog-system-version): Give it a type.
11527 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
11529         * term/pc-win.el (x-select-text, x-selection-owner-p)
11530         (x-own-selection-internal, x-disown-selection-internal)
11531         (x-get-selection-internal): Sync doc strings and argument lists
11532         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
11534 2012-02-11  Leo Liu  <sdl.web@gmail.com>
11536         * progmodes/python.el (python-end-of-statement): Fix infinite
11537         loop.  (Bug#10788)
11539 2012-02-10  Glenn Morris  <rgm@gnu.org>
11541         * international/mule-cmds.el (unify-8859-on-encoding-mode)
11542         (unify-8859-on-decoding-mode): Properly mark as obsolete.
11544 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
11546         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11547         about SMTP before checking the From header.
11549         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11550         into own function for reuse by emacsbug.el.
11552 2012-02-10  Leo Liu  <sdl.web@gmail.com>
11554         * subr.el (condition-case-unless-debug): Rename from
11555         condition-case-no-debug.  All callers changed.
11556         (with-demoted-errors): Fix caller.
11558         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11559         * nxml/rng-valid.el (rng-do-some-validation):
11560         * emacs-lisp/package.el (package-refresh-contents)
11561         (package-menu-execute):
11562         * desktop.el (desktop-create-buffer):
11563         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11565 2012-02-10  Glenn Morris  <rgm@gnu.org>
11567         * textmodes/bibtex.el:
11568         Add missing :version tags for new/changed defcustoms.
11570         * files.el (remote-file-name-inhibit-cache): Doc fixes.
11572 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
11574         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11575         (smtpmail-via-smtp): Use it, or fall back on the From address.
11576         (smtpmail-send-it): Ditto.
11578 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11580         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11581         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
11582         (byte-compile-tmp-var): New const.
11583         (byte-compile-defvar): Use it to minimize .elc size.
11584         Just use `defvar' rather than simulate it (bug#10761).
11586 2012-02-09  Glenn Morris  <rgm@gnu.org>
11588         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
11590         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11591         Add :version tags.
11593         * progmodes/compile.el (compilation-error-screen-columns)
11594         (compilation-first-column, compilation-filter-start): Doc fixes.
11596         * vc/log-view.el (log-view-toggle-entry-display):
11597         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11599         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11600         (report-emacs-bug-can-use-xdg-email):
11601         (report-emacs-bug-insert-to-mailer): Doc fixes.
11602         (report-emacs-bug): Message fix.
11604         * net/browse-url.el (browse-url-can-use-xdg-open)
11605         (browse-url-xdg-open): Doc fixes.
11607         * electric.el (electric-indent-mode, electric-pair-mode)
11608         (electric-layout-rules, electric-layout-mode): Doc fixes.
11609         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11611 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
11613         * server.el (server-unselect-display): Don't inadvertently kill
11614         the current buffer.  (Bug#10729)
11616 2012-02-08  Glenn Morris  <rgm@gnu.org>
11618         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11619         (sql-list-table): Doc fixes.
11621         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11622         Comment out (does nothing).
11624         * completion.el (dynamic-completion-mode):
11625         * dirtrack.el (dirtrack-debug-mode):
11626         * electric.el (electric-layout-mode):
11627         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11628         * face-remap.el (text-scale-mode, buffer-face-mode):
11629         * iimage.el (iimage-mode):
11630         * image-mode.el (image-transform-mode):
11631         * minibuffer.el (completion-in-region-mode):
11632         * scroll-lock.el (scroll-lock-mode):
11633         * simple.el (next-error-follow-minor-mode):
11634         * tar-mode.el (tar-subfile-mode):
11635         * tooltip.el (tooltip-mode):
11636         * vcursor.el (vcursor-use-vcursor-map):
11637         * wid-browse.el (widget-minor-mode):
11638         * emulation/tpu-edt.el (tpu-edt-mode):
11639         * emulation/tpu-extras.el (tpu-cursor-free-mode):
11640         * international/iso-ascii.el (iso-ascii-mode):
11641         * language/thai-util.el (thai-word-mode):
11642         * mail/supercite.el (sc-minor-mode):
11643         * net/goto-addr.el (goto-address-mode):
11644         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11645         * progmodes/cwarn.el (cwarn-mode):
11646         * progmodes/flymake.el (flymake-mode):
11647         * progmodes/glasses.el (glasses-mode):
11648         * progmodes/hideshow.el (hs-minor-mode):
11649         * progmodes/pascal.el (pascal-outline-mode):
11650         * textmodes/enriched.el (enriched-mode):
11651         * vc/smerge-mode.el (smerge-mode):
11652         Doc fixes (minor mode argument).
11654 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
11656         * ls-lisp.el (ls-lisp-sanitize): New function.
11657         (ls-lisp-insert-directory): Use it to fix or remove any elements
11658         in file-alist with missing attributes.  (Bug#4673)
11660 2012-02-07  Alan Mackenzie  <acm@muc.de>
11662         Fix spurious recognition of c-in-knr-argdecl.
11664         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11665         putative K&R region.
11667 2012-02-07  Alan Mackenzie  <acm@muc.de>
11669         * progmodes/cc-engine.el (c-forward-objc-directive):
11670         Prevent looping in "#pragma mark @implementation".
11672 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
11674         * notifications.el (notifications-on-closed-signal): Make `reason'
11675         optional.  (Bug#10744)
11677 2012-02-07  Glenn Morris  <rgm@gnu.org>
11679         * emacs-lisp/easy-mmode.el (define-minor-mode):
11680         Doc fixes for the macro and the mode it defines.
11682         * image.el (imagemagick-types-inhibit): Doc fix.
11684         * cus-start.el (imagemagick-render-type): Add it.
11686 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
11688         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11689         Set the default at load time, too, so that `font-lock-fontify-buffer'
11690         can be called without setting up the entire mode first.  This fixes
11691         a bug in `mm-inline-text' with C MIME parts.
11693 2012-02-06  Chong Yidong  <cyd@gnu.org>
11695         * simple.el (list-processes--refresh): Delete exited processes
11696         (Bug#8094).
11698         * comint.el (comint-next-prompt): next-single-char-property-change
11699         and prev-single-char-property-change never return nil (Bug#8657).
11701         * custom.el (defcustom): Doc fix (Bug#9711).
11703 2012-02-05  Chong Yidong  <cyd@gnu.org>
11705         * cus-edit.el (custom-variable-reset-backup): Quote the value
11706         before storing it in the customized-value property (Bug#6712).
11707         (custom-display): Add a customization type tag.
11708         (custom-buffer-create-internal): Improve tooltip message.
11710         * wid-edit.el (widget-field-value-get): New optional arg to
11711         suppress trailing whitespace truncation.
11712         (character): Use it (Bug#2689).
11714 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
11716         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11717         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11719 2012-02-05  Chong Yidong  <cyd@gnu.org>
11721         * cus-edit.el (custom-variable-value-create): For mismatched
11722         types, show the current value (Bug#7600).
11724         * custom.el (defcustom): Doc fix.
11726 2012-02-05  Glenn Morris  <rgm@gnu.org>
11728         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11730 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
11732         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11733         (pp-buffer): Use `ignore-errors', `looking-at-p'.
11734         (pp-last-sexp): Use `looking-at-p'.
11736 2012-02-04  Glenn Morris  <rgm@gnu.org>
11738         * files.el (revert-buffer):
11739         Doc fix (mention revert-buffer-in-progress-p).
11741         * emacs-lisp/ert-x.el (ert-simulate-command):
11742         Check deferred-action-list (which is obsolete) is bound.
11744         * subr.el (with-wrapper-hook): Doc fixes.
11746         * simple.el (filter-buffer-substring-functions)
11747         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11749 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
11751         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11752         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
11754 2012-02-04  Leo Liu  <sdl.web@gmail.com>
11756         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11758 2012-02-04  Glenn Morris  <rgm@gnu.org>
11760         * image.el (image-extension-data): Add obsolete alias.
11762         * isearch.el (isearch-update): Doc fix.
11764         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11766         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11768 2012-02-03  Glenn Morris  <rgm@gnu.org>
11770         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
11771         (image-animate-timeout): Doc fix.
11773         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11775 2012-02-02  Glenn Morris  <rgm@gnu.org>
11777         * server.el (server-auth-dir): Doc fix.
11778         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
11780         * subr.el (run-mode-hooks): Doc fix.
11782 2012-02-02  Juri Linkov  <juri@jurta.org>
11784         * image-mode.el (image-toggle-display-image): Remove tautological
11785         `major-mode' from the `derived-mode-p' test.
11787 2012-02-02  Kenichi Handa  <handa@m17n.org>
11789         * composite.el (compose-region): Cancel previous change.
11791 2012-02-02  Kenichi Handa  <handa@m17n.org>
11793         * composite.el (compose-region, compose-string): Signal error for
11794         a null string component (Bug#6988).
11796 2012-02-01  Chong Yidong  <cyd@gnu.org>
11798         * view.el (view-buffer-other-window, view-buffer-other-frame):
11799         Handle special modes like view-buffer (Bug#10650).
11800         (view-buffer): Simplify.
11802         * frame.el (set-frame-font): Tweak meaning of third argument.
11804         * dynamic-setting.el (font-setting-change-default-font):
11805         Use set-frame-font (Bug#9982).
11807 2012-02-01  Glenn Morris  <rgm@gnu.org>
11809         * progmodes/compile.el (compilation-internal-error-properties):
11810         Respect compilation-first-column in the "*compilation*" buffer.
11812         * emacs-lisp/easy-mmode.el (define-minor-mode):
11813         Relax :variable's test for a named function.
11815 2012-01-31  Alan Mackenzie  <acm@muc.de>
11817         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11818         off by one error.
11820 2012-01-31  Chong Yidong  <cyd@gnu.org>
11822         * frame.el (set-frame-font): New arg ALL-FRAMES.
11824         * menu-bar.el (menu-set-font): Use set-frame-font.
11826         * faces.el (face-spec-reset-face): Don't apply unspecified
11827         attribute values to the default face.
11829 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
11831         * progmodes/cwarn.el (cwarn): Remove dead link.
11832         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11833         Remove * from defcustom docstrings.
11834         (turn-on-cwarn-mode): Make obsolete.
11835         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11836         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11838 2012-01-31  Glenn Morris  <rgm@gnu.org>
11840         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11841         Fix :variable handling of mode a symbol not equal to modefun.
11842         Allow named functions to be used as the cdr of :variable.
11844 2012-01-30  Glenn Morris  <rgm@gnu.org>
11846         * emacs-lisp/authors.el (authors-fixed-entries):
11847         Remove reference to deleted file rnewspost.el.
11849 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
11851         * window.el (window-with-parameter): Remove unused variable `windows'.
11852         (window--side-check): Remove unused variable `code'.
11853         (window--resize-siblings): Remove unused variable `first'.
11854         (adjust-window-trailing-edge): Remove unused variable `failed'.
11855         (window-deletable-p, window--delete): Remove unused variable `buffer'.
11856         Use `let', not `let*'.
11857         (balance-windows-2): Remove unused variable `found'.
11858         (window--state-put-2): Remove unused variable `splits'.
11859         (window-state-put): Remove unused variable `selected'.
11860         (same-window-p): Use `string-match-p'.
11861         (display-buffer-assq-regexp): Remove unused variable `value'.
11862         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11863         Mark argument ALIST as ignored.
11864         (pop-to-buffer): Remove unused variable `old-window'.
11866 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
11868         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11869         and .lzma compressed files.
11871 2012-01-29  Chong Yidong  <cyd@gnu.org>
11873         * frame.el (window-system-default-frame-alist): Doc fix.
11875         * dynamic-setting.el (font-setting-change-default-font): Don't
11876         change the default face if SET-FONT argument is non-nil (Bug#9982).
11878 2012-01-29  Samuel Bronson  <naesten@gmail.com>
11880         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11882 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
11884         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11885         breakpoints in files outside current directory (Bug#6098).
11887 2012-01-29  Chong Yidong  <cyd@gnu.org>
11889         * progmodes/python.el: Require ansi-color at top-level.
11891         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11892         Define and use in Emacs Lisp mode (Bug#9360).
11893         (lisp-mode-abbrev-table): Add doc.
11894         (lisp-mode-variables): Don't set local-abbrev-table.
11895         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11897 2012-01-28  Roland Winkler  <winkler@gnu.org>
11899         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11901 2012-01-28  Roland Winkler  <winkler@gnu.org>
11903         * textmodes/bibtex.el (bibtex-entry-alist): New function.
11904         (bibtex-set-dialect): Use it.  Either set global values of
11905         dialect-dependent variables or bind these variables buffer-locally
11906         (Bug#10254).
11907         (bibtex-mode): Call bibtex-set-dialect via
11908         hack-local-variables-hook.
11909         (bibtex-dialect): Update docstring.
11910         Add safe-local-variable predicate.
11911         (bibtex-entry-alist, bibtex-field-alist): Initialize via
11912         bibtex-set-dialect.
11913         (bibtex-mode-map): Define menu for each dialect.
11914         (bibtex-entry): Fix docstring.
11916 2012-01-28  Chong Yidong  <cyd@gnu.org>
11918         * eshell/esh-arg.el (eshell-quote-argument): New function.
11920         * eshell/esh-ext.el (eshell-invoke-batch-file):
11921         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11922         first arg to eshell-parse-command (Bug#10523).
11924 2012-01-28  Drew Adams  <drew.adams@oracle.com>
11926         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11927         `default-directory' is non-nil.
11929 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
11931         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11932         line that displays system-configuration-options.  (Bug#9924)
11934 2012-01-28  Drew Adams  <drew.adams@oracle.com>
11936         * descr-text.el (describe-char): Show information about POS, in
11937         addition to information about the character at POS.  Improve and
11938         update the doc string.  Change "code point" to "code point in
11939         charset", to avoid confusion with the character's Unicode code
11940         point shown above that.  (Bug#10129)
11942 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
11944         * descr-text.el (describe-char): Show the raw character, not only
11945         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
11946         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11947         for the reasons.
11949 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
11951         * emacs-lisp/package.el (package-install):
11952         Run package-refresh-contents if there is no archive yet (Bug#9798).
11954 2012-01-28  Chong Yidong  <cyd@gnu.org>
11956         * emacs-lisp/package.el (package-maybe-load-descriptor):
11957         New function, split from package-maybe-load-descriptor.
11958         (package-maybe-load-descriptor): Use it.
11959         (package-download-transaction): Fully load required packages
11960         inside the loop, so that `require' calls work (Bug#10593).
11961         (package-install): No need to call package-initialize now.
11963 2012-01-28  Chong Yidong  <cyd@gnu.org>
11965         * simple.el (deactivate-mark): Doc fix (Bug#8614).
11967         * tooltip.el (tooltip-mode): Doc fix.
11968         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11970         * frame.el (set-cursor-color): Doc fix (Bug#352).
11972         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11973         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11975         * cus-edit.el (custom-buffer-create-internal): Fix search button
11976         action (Bug#10542).
11977         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11979 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
11981         * dired.el (dired-mark-files-regexp):
11982         Include any subdirectory components.  (Bug#10445)
11984 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
11986         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11987         Handle [host]:port syntax.  (Bug#10533)
11989 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
11991         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11993 2012-01-26  Glenn Morris  <rgm@gnu.org>
11995         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11996         * term.el (term-raw-escape-map): Use Control-X-prefix.
11997         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
11999 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
12001         * window.el (window-state-get, window--state-get-1): Don't deal
12002         with fixed-sizeness of windows.  Simplify code.
12004 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
12006         * window.el (window--state-get-1, window--state-put-2):
12007         Don't save and restore the mark.
12009 2012-01-25  Chong Yidong  <cyd@gnu.org>
12011         * custom.el (custom-variable-p): Doc fix.
12013 2012-01-25  Glenn Morris  <rgm@gnu.org>
12015         * dired.el (dired-goto-file): Handle some of the more common
12016         characters that `ls -b' escapes.  (Bug#10596)
12018         * progmodes/compile.el (compilation-next-error-function):
12019         Respect compilation-first-column in the "*compilation*" buffer.
12020         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
12022         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
12024 2012-01-24  Glenn Morris  <rgm@gnu.org>
12026         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
12028 2012-01-24  Julien Danjou  <julien@danjou.info>
12030         * color.el (color-rgb-to-hsl): Fix value computing.
12031         (color-hue-to-rgb): New function.
12032         (color-hsl-to-rgb): New function.
12033         (color-clamp, color-saturate-hsl, color-saturate-name)
12034         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
12035         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
12037 2012-01-24  Glenn Morris  <rgm@gnu.org>
12039         * vc/vc-rcs.el (vc-rcs-create-tag):
12040         * vc/vc-sccs.el (vc-sccs-create-tag):
12041         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
12043 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
12045         * eshell/esh-util.el (eshell-read-hosts-file):
12046         Skip comment lines.  (Bug#10549)
12048         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
12050 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
12052         * subr.el (display-delayed-warnings): Doc fix.
12053         (collapse-delayed-warnings): New function to collapse identical
12054         adjacent warnings.
12055         (delayed-warnings-hook): Add it.
12057 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
12059         * net/tramp.el (tramp-action-login): Set connection property "login-as".
12061         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12062         (tramp-default-user-alist): Don't add "pscp".
12063         (tramp-do-copy-or-rename-file-out-of-band): Use connection
12064         property "login-as", if set.  (Bug#10530)
12066 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
12068         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12069         "plink1" and "psftp".  (Bug#10530)
12071 2012-01-21  Kenichi Handa  <handa@m17n.org>
12073         * international/mule-cmds.el (prefer-coding-system): Show a
12074         warning message if the default value of file-name-coding-system
12075         was not changed.
12077 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
12079         * windmove.el (windmove-reference-loc):
12080         Fix windmove-reference-loc miscalculation.
12082 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
12084         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12085         default unit.
12087 2012-01-21  Glenn Morris  <rgm@gnu.org>
12089         * international/mule.el (auto-coding-alist): Add .tbz.
12091         * files.el (local-enable-local-variables): Doc fix.
12092         (inhibit-local-variables-regexps): Rename from
12093         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
12094         Doc fix.  Add some extensions from auto-coding-alist.
12095         (inhibit-local-variables-suffixes):
12096         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
12097         (inhibit-local-variables-p):
12098         New function, extracted from set-auto-mode-1.
12099         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
12100         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
12101         (hack-local-variables): Doc fix.  Make the mode-only case
12102         respect enable-local-variables and friends.
12103         Respect inhibit-local-variables-regexps for file-locals, but
12104         not for directory-locals.
12105         (set-visited-file-name):
12106         Take account of inhibit-local-variables-regexps.
12107         Whether it applies may change as the file name is changed.
12108         * jka-cmpr-hook.el (jka-compr-install):
12109         * jka-compr.el (jka-compr-uninstall):
12110         Update for inhibit-first-line-modes-suffixes name change.
12112 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
12114         * help-macro.el (make-help-screen): Temporarily restore original
12115         binding for minor-mode-map-alist (Bug#10454).
12117 2012-01-19  Julien Danjou  <julien@danjou.info>
12119         * color.el (color-name-to-rgb): Use the white color to find the max
12120         color component value and return correctly computed values.
12121         (color-name-to-rgb): Add missing float conversion for max value.
12123 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
12125         * window.el (window--state-get-1, window-state-get): Do not use
12126         special state value for window-persistent-parameters.
12127         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
12128         (window--state-put-2): Reset all window parameters to nil before
12129         assigning values of persistent parameters.
12131 2012-01-18  Alan Mackenzie  <acm@muc.de>
12133         Eliminate sluggishness and hangs in fontification of "semicolon
12134         deserts".
12136         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12137         Change value 10000 -> 3000.
12138         (c-state-safe-place): Reformulate so it doesn't stack up an
12139         infinite number of wrong entries in c-state-nonlit-pos-cache.
12140         (c-determine-limit-get-base, c-determine-limit): New functions to
12141         determine backward search limits disregarding literals.
12142         (c-find-decl-spots): Amend commenting.
12143         (c-cheap-inside-bracelist-p): New function which detects "={".
12145         * progmodes/cc-fonts.el
12146         (c-make-font-lock-BO-decl-search-function): Give a limit to a
12147         backward search.
12148         (c-font-lock-declarations): Fix an occurrence of point being
12149         undefined.  Check additionally for point being in a bracelist or
12150         near a macro invocation without a semicolon so as to avoid a
12151         fruitless time consuming search for a declarator.  Give a more
12152         precise search limit for declarators using the new
12153         c-determine-limit.
12155 2012-01-18  Glenn Morris  <rgm@gnu.org>
12157         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12158         (set-auto-mode): Doc fixes.
12160 2012-01-17  Glenn Morris  <rgm@gnu.org>
12162         * isearch.el (search-nonincremental-instead): Fix doc typo.
12164         * dired.el (dired-insert-directory): Handle newlines in directory name.
12165         (dired-build-subdir-alist): Unescape newlines in directory name.
12167 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
12169         * net/tramp.el (tramp-local-end-of-line): New defcustom.
12170         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12171         (tramp-action-terminal): Use it.  (Bug#10530)
12173 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12175         * minibuffer.el (completion--replace): Strip properties (bug#10062).
12177 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
12179         * window.el (window-state-ignored-parameters): Remove variable.
12180         (window--state-get-1): Rename argument MARKERS to IGNORE.
12181         Handle persistent window parameters.  Make copy of clone-of
12182         parameter only if requested.  (Bug#10348)
12183         (window--state-put-2): Install a window parameter only if it has
12184         a non-nil value or an existing parameter shall be overwritten.
12186 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
12188         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12190 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
12192         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12193         don't pass the (nil) value of `upnode' to string-match.
12195 2012-01-14  Chong Yidong  <cyd@gnu.org>
12197         * startup.el (command-line): Fix X resource class for cursorColor.
12198         Fix values recognized by the cursorBlink resource.
12200 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
12202         * epg.el (epg--make-temp-file): Avoid permission race condition
12203         when running on old Emacs versions (bug#10403).
12205 2012-01-14  Glenn Morris  <rgm@gnu.org>
12207         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12209 2012-01-13  Alan Mackenzie  <acm@muc.de>
12211         Fix filling for when filladapt mode is enabled.
12213         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12214         c-mask-paragraph, pass in `fill-paragraph' rather than
12215         `fill-region-as-paragraph'.  (This is a reversion of a previous
12216         change.)
12217         * progmodes/cc-mode.el (c-basic-common-init):
12218         Make fill-paragraph-handle-comment buffer local and set it to nil.
12220 2012-01-13  Glenn Morris  <rgm@gnu.org>
12222         * dired.el (dired-switches-escape-p): New function.
12223         (dired-insert-directory): Use dired-switches-escape-p.
12224         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
12226         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
12228 2012-01-12  Glenn Morris  <rgm@gnu.org>
12230         * mail/sendmail.el (mail-mode): Update paragraph-separate for
12231         changes in adaptive-fill-regexp.  (Bug#10276)
12233 2012-01-11  Alan Mackenzie  <acm@muc.de>
12235         Fix Emacs bug #10463 - put `widen's around the critical spots.
12237         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12238         widen around each invocation of c-state-pp-to-literal.  Remove an
12239         unused let variable.
12241 2012-01-11  Glenn Morris  <rgm@gnu.org>
12243         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
12244         Doc fix.
12246 2012-01-10  Chong Yidong  <cyd@gnu.org>
12248         * net/network-stream.el (network-stream-open-starttls):
12249         Avoid emitting a confusing error message when the server gives a bad
12250         response to the capability command.
12252 2012-01-10  Glenn Morris  <rgm@gnu.org>
12254         * mail/unrmail.el (unrmail): Tweak previous change.
12256 2012-01-09  Chong Yidong  <cyd@gnu.org>
12258         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12260 2012-01-08  Alan Mackenzie  <acm@muc.de>
12262         Optimise font locking in long enum definitions.
12264         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12265         arm to a cond form to handle enums.
12266         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12267         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12269 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12271         * files.el (move-file-to-trash): Preserve default file modes on error.
12272         (Bug#10401)
12274 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12276         * faces.el (set-face-attribute): Clarify the meaning of the nil
12277         frame (bug#10294).
12279         * subr.el (with-selected-frame): Mention that the selected frame
12280         is restored (bug#9980).
12282         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12283         (bug#9759).
12285         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12286         (password-read): Don't autoload unused function.
12288 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
12290         * progmodes/which-func.el (which-func-mode): Turn into a
12291         non-interactive function and mark as obsolete (bug#10428).
12293 2012-01-06  Chong Yidong  <cyd@gnu.org>
12295         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12296         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12297         functions, along with 1 and -1.
12299 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
12301         * time.el (display-time-load-average)
12302         (display-time-default-load-average): Doc fixes.  See the thread
12303         starting at
12304         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12305         for the details.
12307 2012-01-06  Glenn Morris  <rgm@gnu.org>
12309         * mail/unrmail.el (unrmail): Give an explicit error if the input file
12310         has no messages.  (Bug#10377)
12312         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12313         than Info-edit.  (Bug#10385)
12315         * time.el (display-time-load-average, display-time-next-load-average):
12316         Doc fixes.
12318         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12319         local setting of buffer-read-only to the input buffer.  (Bug#10419)
12321         * calendar/calendar.el (calendar-mode):
12322         Locally set scroll-margin to 0.  (Bug#10379)
12324 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
12326         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
12328 2012-01-05  Glenn Morris  <rgm@gnu.org>
12330         * eshell/em-unix.el (diff-no-select): Autoload it.
12331         (eshell/diff): Use diff-no-select.  (Bug#10420)
12333 2012-01-05  Chong Yidong  <cyd@gnu.org>
12335         * shell.el (shell-dynamic-complete-functions): Revert last change.
12336         (shell-command-completion-function): New function.
12337         (shell-completion-vars): Use it to implement
12338         shell-completion-execonly (Bug#10417).
12340         * custom.el (enable-theme): Don't set custom-safe-themes.
12342         * cus-theme.el (custom-theme-merge-theme):
12343         Ignore custom-enabled-themes and custom-safe-themes.
12345 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
12347         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12348         first prompt in `sql-interacive-mode'.
12349         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12350         keywords.
12351         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12352         (sql-product-interactive): Bug fix: Set `sql-buffer' in
12353         context of original buffer.  Invoke `sql-login-hook'.
12355 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
12357         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12358         letters in cite-prefix.
12360 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12362         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12364 2012-01-03  Chong Yidong  <cyd@gnu.org>
12366         * shell.el (shell-dynamic-complete-functions):
12367         Put pcomplete-completions-at-point, so as to try
12368         comint-filename-completion first (Bug#10417).
12370 2012-01-02  Richard Stallman  <rms@gnu.org>
12372         * battery.el (battery-status-function):
12373         Detect when to use battery-yeeloong-sysfs.
12374         (battery-echo-area-format): Add string for Yeeloong.
12375         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12376         (battery-yeeloong-sysfs): New function.
12378 2012-01-02  Chong Yidong  <cyd@gnu.org>
12380         * dirtrack.el (dirtrack-list): Eliminate unused third element.
12381         (dirtrack): Merge code for handling relative filenames in prompt
12382         from shell-dir-cookie-watcher.
12383         (dirtrack-debug-message): New arg to avoid excess format calls.
12385         * shell.el (shell-dir-cookie-re): Variable deleted.
12386         (shell-dir-cookie-watcher): Function deleted.
12387         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12388         with dirtrack-mode.
12390 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
12392         * term/w32-win.el (dynamic-library-alist) <gnutls>:
12393         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12394         libgnutls-26.dll.
12396 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
12398         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12400 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
12402         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12403         headers of non-MIME messages, when rmail-enable-mime is non-nil.
12405 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
12407         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12408         also for alternative shells.
12409         (tramp-open-connection-setup-interactive-shell): Check, whether
12410         the shell is a busybox.
12411         (tramp-send-command): Don't suppress multiple prompts for
12412         busyboxes, it hurts.
12414 2011-12-28  Chong Yidong  <cyd@gnu.org>
12416         * progmodes/gdb-mi.el (gdb-get-source-file-list)
12417         (gdb-get-source-file): Move mode line update to
12418         gdb-get-source-file (Bug#10087).
12420 2011-12-25  Chong Yidong  <cyd@gnu.org>
12422         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12423         gud-gdb-marker-filter without taking it as an argument.
12424         (gud-gdb-run-command-fetch-lines): Caller changed.
12425         (gud-gdb-completion-function): New variable.
12426         (gud-gdb-completion-at-point): Use it.
12427         (gud-gdb-completions-1): Split from gud-gdb-completions.
12429         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12430         function as separate arguments.
12431         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12432         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12433         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12434         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12435         (gdb-stopped, def-gdb-auto-update-trigger)
12436         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12437         (gdb-get-changed-registers, gdb-get-main-selected-frame):
12438         Callers changed.
12439         (gud-gdbmi-completions): New function.
12440         (gdb): Use it for generating the completion table.
12442 2011-12-24  Alan Mackenzie  <acm@muc.de>
12444         Introduce a mechanism to widen the region used in context font
12445         locking.  Use this to protect declarations from losing their contexts.
12447         * progmodes/cc-langs.el (c-before-font-lock-functions):
12448         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12449         (c-before-context-fontification-functions): New defvar, a list of
12450         functions to be run just before context (etc.) font locking.
12452         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12453         New, functionality extracted from
12454         c-neutralize-syntax-in-and-mark-CPP.
12455         (c-in-after-change-fontification): New variable.
12456         (c-after-change): Set c-in-after-change-fontification.
12457         (c-set-fl-decl-start): Rejig its interface, so it can be called
12458         from both after-change and context fontifying.
12459         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12460         New functions.
12461         (c-standard-font-lock-fontify-region-function): New variable.
12462         (c-font-lock-fontify-region): New function.
12464 2011-12-24  Juri Linkov  <juri@jurta.org>
12466         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12467         (Bug#10348)
12469 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
12471         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12472         existence of source file.  (Bug#10325)
12474 2011-12-23  Alan Mackenzie  <acm@muc.de>
12476         Fix unstable fontification inside templates.
12478         * progmodes/cc-langs.el (c-before-font-lock-functions):
12479         Newly created from the singular version.  The (c c++ objc) entry now
12480         additionally has c-set-fl-decl-start.  The other languages (apart
12481         from AWK) have that as a single entry.
12483         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12484         The functionality for "local" declarations has been extracted to
12485         c-set-fl-decl-start.
12487         * progmodes/cc-mode.el (c-common-init, c-after-change):
12488         Changes due to pluralisation of c-before-font-lock-functions.
12489         (c-set-fl-decl-start): New function, extracted from
12490         c-font-lock-enclosing-decls and enhanced.
12492 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
12494         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12496 2011-12-22  Juri Linkov  <juri@jurta.org>
12498         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
12500 2011-12-22  Chong Yidong  <cyd@gnu.org>
12502         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12504 2011-12-21  Drew Adams  <drew.adams@oracle.com>
12506         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
12508 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
12510         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12512 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
12514         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
12515         highlighting and support.  Fix up comments for capitalization.
12516         (cfengine-mode-debug): New var.
12517         (cfengine3-mode): Change the modeline indicator to "CFE3".
12518         (cfengine3-font-lock-keywords): Improve defun highlighting.
12519         (cfengine2-actions): Rename from `cfengine-actions'.
12520         (cfengine2-font-lock-keywords): Rename from
12521         `cfengine-font-lock-keywords'.
12522         (cfengine2-imenu-expression): Rename from
12523         `cfengine-imenu-expression'.
12524         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12525         (cfengine2-beginning-of-defun): Rename from
12526         `cfengine-beginning-of-defun'.
12527         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12528         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12529         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
12530         modeline indicator to "CFE2".
12531         (cfengine-mode): Defalias to `cfengine-auto-mode'.
12532         (cfengine-mode-abbrevs): Mark obsolete.
12534 2011-12-21  Chong Yidong  <cyd@gnu.org>
12536         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12537         filename argument.
12539 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
12541         * window.el (window-normalize-buffer-to-display): Remove.
12542         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12544 2011-12-19  Chong Yidong  <cyd@gnu.org>
12546         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12547         Don't signal an error in a predicate function; return non-nil.
12548         (vc-dir-mark-file): Move the error here.
12549         (vc-dir-mark-unmark): If acting on the region, keep going if one
12550         of the entries cannot be marked/unmarked.
12551         (vc-dir-mark-all-files): If current entry is a directory, mark
12552         only child files, as documented.
12554 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12556         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12557         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12558         addition.
12560 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
12562         * term/ns-win.el (ns-get-selection-internal)
12563         (ns-store-selection-internal): Declare.
12564         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12565         Declare as obsolete.
12566         (ns-get-pasteboard, ns-paste-secondary):
12567         Use ns-get-selection-internal.
12568         (ns-set-pasteboard, ns-copy-including-secondary):
12569         Use ns-store-selection-internal.
12571 2011-12-17  Chong Yidong  <cyd@gnu.org>
12573         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12574         (vc-deduce-fileset): Doc fix.
12576 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
12578         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12580 2011-12-13  Sam Steingold  <sds@gnu.org>
12582         * man.el (Man-getpage-in-background): When running under a
12583         window-system, ignore $MANWIDTH and $COLUMNS.
12585 2011-12-15  Kenichi Handa  <handa@m17n.org>
12587         * language/ethio-util.el: Change coding tag to utf-8-emacs.
12588         (setup-ethiopic-environment-internal): Comment out key-binding for
12589         ethio-toggle-punctuation.
12591 2011-12-13  Alan Mackenzie  <acm@muc.de>
12593         Add the switch statement to AWK Mode.
12595         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12596         "default" to the keywords regexp.
12598         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12599         expression as the rest.
12600         (c-nonlabel-token-key): Allow string literals for AWK.
12601         Refactor for the other modes.
12603         Large brace-block initialisation makes CC Mode slow: Fix.
12604         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12605         routines.  Limit backward searching in c-font-lock-enclosing.decl.
12607         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12608         pp-state and literal type in addition to the limits.
12609         (c-state-safe-place): New defun, extracted from c-state-literal-at.
12610         (c-state-literal-at): Use the above new defun.
12611         (c-slow-in-literal, c-fast-in-literal): Remove.
12612         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12614         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12615         being in a literal.  Add a limit for backward searching.
12617         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12618         c-slow-in-literal.
12620 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12622         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12624 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
12626         * window.el (delete-other-windows): Use correct frame in call to
12627         window-with-parameter.
12629 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
12631         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12632         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12633         (makefile-gmake-statements, makefile-makepp-statements):
12634         Use it and add new makepp keywords.
12635         (makefile-makepp-font-lock-keywords): Add new patterns.
12636         (makefile-match-function-end): Match new [...] and [[...]].
12638 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
12640         * ses.el (ses-call-printer-return, ses-cell-property-get)
12641         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12642         (ses-create-cell-variable, ses-reset-header-string)
12643         (ses-cell-set-formula, ses-repair-cell-reference-all)
12644         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12645         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12646         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12647         (ses-aset-with-undo, ses-load, ses-truncate-cell)
12648         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12649         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12650         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12651         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12652         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12653         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12654         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12655         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12657 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12659         * ses.el: The overall change is to add cell renaming, that is
12660         setting fancy names for cell symbols other than name matching
12661         "\\`[A-Z]+[0-9]+\\'" regexp .
12662         (ses-create-cell-variable): New defun.
12663         (ses-relocate-formula): Relocate formulas only for cells the
12664         symbols of which are not renamed, i.e. symbols whose names do not
12665         match regexp "\\`[A-Z]+[0-9]+\\'".
12666         (ses-relocate-all): Relocate values only for cells the symbols of
12667         which are not renamed.
12668         (ses-load): Create cells variables as the (ses-cell ...) are read,
12669         in order to check row col consistency with cell symbol name only
12670         for cells that are not renamed.
12671         (ses-replace-name-in-formula): New defun.
12672         (ses-rename-cell): New defun.
12674 2011-12-11  Chong Yidong  <cyd@gnu.org>
12676         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12677         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12679 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
12681         * window.el (other-window): Fix docstring.
12683 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
12685         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12686         `from' or `to' address before taking its substring.
12687         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12688         encoded name is chopped in the middle of the encoded string, and
12689         thus displayed encoded.
12691 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
12693         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12695 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
12697         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
12698         to use texinfo-update-node and commands that call it if the
12699         Texinfo file uses @node lines without next/prev/up pointers.
12700         Correct outdated description about texinfo-master-menu.
12701         (texinfo-all-menus-update, texinfo-master-menu)
12702         (texinfo-update-node, texinfo-every-node-update)
12703         (texinfo-multiple-files-update): Doc fix.  Warn against updating
12704         all the @node lines.
12705         (texinfo-master-menu): Only call texinfo-update-node if the prefix
12706         argument is numeric.  Explain better in the doc string what the
12707         function really does.
12708         (texinfo-insert-master-menu-list): Improve the error message
12709         displayed if there's no menu in the Top node.
12710         (Bug#2975)  See also this thread:
12711         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12713 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
12715         * speedbar.el (speedbar-supported-extension-expressions):
12716         Add .adb and .ads, commonly used for Ada source code (bug#10256).
12718 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
12720         * printing.el (pr-mode-alist):
12721         * simple.el (filter-buffer-substring-functions)
12722         (completion-list-insert-choice-function):
12723         * window.el (window-with-parameter, window-atom-root)
12724         (window-sides-slots, window-size-fixed, window-min-delta)
12725         (window-max-delta, window--resize-mini-window)
12726         (window--resize-child-windows-normal, window-tree)
12727         (delete-other-windows, quit-window, split-window)
12728         (display-buffer-record-window, special-display-buffer-names)
12729         (special-display-regexps, special-display-popup-frame)
12730         (same-window-p, split-window-sensibly)
12731         (display-buffer-overriding-action, display-buffer-alist)
12732         (display-buffer-base-action, display-buffer, switch-to-buffer)
12733         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12734         (fit-window-to-buffer, recenter-positions)
12735         (mouse-autoselect-window-state, mouse-autoselect-window-select):
12736         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12737         and remove unneeded backslashes in docstrings.
12739 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12741         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12743         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12744         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12745         end in ".mk".
12746         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12747         when reading the makefile (bug#10116).
12749 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12751         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12752         (bug#10116).
12754 2011-12-06  Glenn Morris  <rgm@gnu.org>
12756         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12758 2011-12-06  Chong Yidong  <cyd@gnu.org>
12760         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12762 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
12764         * textmodes/table.el (table-shorten-cell): Fix typo.
12766 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
12768         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12770 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
12772         * descr-text.el (describe-char): Fix display of strong
12773         right-to-left characters and directional embeddings and overrides.
12775         * simple.el (what-cursor-position): Fix display of codepoints of
12776         strong right-to-left characters.
12778 2011-12-05  Chong Yidong  <cyd@gnu.org>
12780         * faces.el (read-color): Doc fix.
12782 2011-12-05  Glenn Morris  <rgm@gnu.org>
12784         * align.el (align--set-marker): Add doc-string.
12785         Don't try to move something that is not a marker.  (Bug#10216)
12787 2011-12-04  Glenn Morris  <rgm@gnu.org>
12789         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12790         overly zealous deletion of trailing whitespace.
12792 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
12794         * server.el (server-delete-client): On Windows, do not try to delete
12795         the only terminal.
12796         (server-process-filter): On Windows, treat requests for a tty frame as
12797         if they were for a GUI frame if the running server is in GUI mode.
12799 2011-12-03  Glenn Morris  <rgm@gnu.org>
12801         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
12803 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12805         * electric.el: Streamline electric-indent's hook.
12806         (electric-indent-chars): Revert to simple list.
12807         (electric-indent-functions): New var.
12808         (electric-indent-post-self-insert-function): Use it.
12810         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12811         there's no inferior buffer (bug#10196).
12812         (prolog-consult-compile): Don't use toggle-read-only.
12814 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
12816         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12817         interrupt.  (Bug#10187)
12819 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12821         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12822         (bug#9160).
12824         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12825         (bug#10191).
12827 2011-12-02  Juri Linkov  <juri@jurta.org>
12829         * info.el (Info-search): Display "end of manual" when Isearch
12830         reaches the end of single-file Info manual.  (Bug#9918)
12832 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
12834         * isearch.el (isearch-message-prefix): Run the input method part
12835         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
12837 2011-12-02  Juri Linkov  <juri@jurta.org>
12839         * isearch.el (isearch-occur): Use `word-search-regexp' for
12840         `isearch-word'.
12841         (isearch-search-and-update): Add condition for `isearch-word' and
12842         call `word-search-regexp'.  (Bug#10145)
12844 2011-12-01  Glenn Morris  <rgm@gnu.org>
12846         * eshell/em-hist.el (eshell-hist-initialize):
12847         Handle eshell-history-size nil and HISTSIZE set or unset.
12848         (eshell-history-file-name, eshell-history-size): Fix custom type.
12850 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12852         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12854 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
12856         * progmodes/verilog-mode.el (verilog-pretty-expr):
12857         Rework verilog-pretty-expr to handle new assignment operators in system
12858         verilog, such as += *= and the like.
12859         (verilog-assignment-operator-re): Regular expression to find the
12860         assigment operator in a verilog assignment.
12861         (verilog-assignment-operation-re): Regular expression to find an
12862         assignment statement for pretty-expr.
12863         (verilog-in-attribute-p): Query returns true if point is in an
12864         attribute context; used to skip these for expression line up from
12865         pretty-expr.
12866         (verilog-in-parameter-p): Query returns true if point is in an
12867         parameter definition context; used to skip these for expression
12868         line up from pretty-expr.
12869         (verilog-in-parenthesis-p): Query returns true if point is in a
12870         parenthetical expression, specifically ( ) but not [ ] or { };
12871         used by pretty-expr.
12872         (verilog-just-one-space): If there is no space, don't add one.
12873         (verilog-get-lineup-indent-2): Specifically skip just attribute
12874         contexts for expression lineup, rather than skipping all
12875         parenthetical expressions.
12876         (verilog-calculate-indent): Fix comment, and fix indent.
12877         (verilog-do-indent): Indent declarations in lists (suggested by
12878         Joachim Lechner).
12879         (verilog-mode-abbrev-table): Populate abbrev mode with the various
12880         skeleton items.
12881         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12882         by Alain Mellan).
12884 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
12886         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12887         parameters with embedded comments.  Reported by Ray Stevens.
12888         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12889         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12890         Reported by Tim Holt.
12891         (verilog-auto): Fix AUTOing a upper module then AUTOing module
12892         instantiated by upper module causing wrong expansion until AUTOed a
12893         second time.  Reported by K C Buckenmaier.
12894         (verilog-diff-auto): Fix showing .* as a difference when
12895         `verilog-auto-star-save' off.  Reported by Dan Dever.
12896         (verilog-auto-reset, verilog-read-always-signals)
12897         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12898         temporary signals in reset list if
12899         verilog-auto-reset-blocking-in-non is nil, and match assignment
12900         style to each signal's assignment type, bug381.
12901         Reported by Thomas Esposito.
12902         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12903         (verilog-uvm-statement-re): Support UVM indentation and
12904         highlighting, with old OVM keywords only.
12905         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12906         Support AUTOTIEOFF creating non-wire data types.
12907         Suggested by Jonathan Greenlaw.
12908         (verilog-auto-insert-lisp, verilog-delete-to-paren)
12909         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12910         (verilog-inject-sense, verilog-read-inst-pins)
12911         (verilog-read-sub-decls, verilog-read-sub-decls-line):
12912         Fix mismatching parenthesis inside commented out code when deleting
12913         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
12914         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12915         non-numeric vector width.  Reported by Alex Reed.
12916         (verilog-auto-ascii-enum): Add "onehot" option to work around not
12917         detecting signals with parameter widths.  Reported by Alex Reed.
12918         (verilog-auto-delete-trailing-whitespace):
12919         With `verilog-auto-delete-trailing-whitespace' remove trailing
12920         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
12921         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12922         Fix verilog-scan-cache corruption when running user AUTO expansion
12923         hooks that call indentation routines.
12924         (verilog-simplify-range-expression): Fix typo ignoring lower case
12925         identifiers.
12926         (verilog-delete-auto): Fix delete-autos to also remove user created
12927         automatics, as long as they start with AUTO.
12928         (verilog-batch-diff-auto, verilog-diff-auto)
12929         (verilog-diff-function): Add `verilog-diff-auto' and bind to
12930         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
12931         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12932         (verilog-in-paren-quick, verilog-re-search-backward-quick)
12933         (verilog-re-search-forward-quick, verilog-syntax-ppss):
12934         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12935         is disabled and its cache will get corrupt, causing AUTOS not to
12936         expand.  Instead use only -quick functions.
12937         (verilog-scan-region): Fix scanning over escaped quotes.
12938         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12939         (verilog-re-search-backward-quick)
12940         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12941         related functions now ignore strings, to fix misparsing of strings
12942         with magic comments embedded in them.
12943         (verilog-read-auto-template):
12944         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12945         Reported by Brad Dobbie.
12946         (verilog-read-auto-template):
12947         Fix 'verilog-auto-inst-template-numbers' with comments.
12948         Reported by Brad Dobbie.
12949         (verilog-auto-inst, verilog-auto-inst-param)
12950         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12951         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
12952         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12953         debugging templates without merge conflicts, bug357.
12954         Reported by Brad Dobbie.
12955         (verilog-read-auto-template):
12956         Fix verilog-auto-inst-template-numbers with multiple templates.
12957         Reported by Brad Dobbie.
12958         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12959         abbrevs so user won't be asked to save.
12960         (verilog-read-auto-lisp-present): Fix to start at beginning of
12961         buffer in case called outside of verilog-auto.
12962         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12963         to "X-2".  Reported by Matthew Myers.
12964         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12965         all inputs from module templates.  Reported by Leith Johnson.
12966         (verilog-module-inside-filename-p): Fix locating programs as with
12967         modules.
12968         (verilog-auto-inst-port): Fix vl-width expressions when using
12969         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
12970         (verilog-decls-get-regs, verilog-decls-get-signals,
12971         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12972         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12973         verilog-read-decls): Combine reg and wire structures into one var
12974         structure to represent SystemVerilog concepts.
12975         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12976         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12977         (verilog-auto-wire-type, verilog-insert-definition):
12978         Add verilog-auto-wire-type and AUTOLOGIC to support using
12979         SystemVerilog "logic" keyword instead of "wire"/"reg".
12980         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12981         to declares outputs that also have assignments (presumably in an
12982         ifdef or generate if so there's not a driver conflict).
12983         Reported by Matthew Myers.
12984         (verilog-auto-declare-nettype, verilog-insert-definition):
12985         Add verilog-auto-declare-nettype to fix declarations using
12986         `default_nettype none.  Reported by Julian Gorfajn.
12987         (verilog-read-always-signals-recurse, verilog-read-decls)
12988         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12989         malformed end statement, bug325.  Reported by Joshua Wise and
12990         Andrew Drake.
12991         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12992         (verilog-inst-comment-re): Fix not deleting Interfaced comment
12993         when expanding .* in interfaces, bug320.
12994         Reported by Pierre-David Pfister.
12995         (verilog-read-module-name): Fix import statements between module
12996         name and open parenthesis, bug317.
12997         Reported by Pierre-David Pfister.
12998         (verilog-simplify-range-expression): Fix simplification of
12999         multiplications inside AUTOWIRE connections, bug303.
13000         (verilog-auto-inst-port): Support parameter expansion in
13001         multidimensional arrays.
13002         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
13003         after "assert property".  Reported by Julian Gorfajn.
13004         (verilog-simplify-range-expression): Fix "couldn't merge" errors
13005         with multiplication, bug303.
13006         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
13007         Reported by Jan Frode Lonnum.
13009 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
13011         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
13012         (hfy-shell-file-name, hfy-shell):
13013         * international/fontset.el (x-decompose-font-name): Fix typos.
13015 2011-11-29  Ken Brown  <kbrown@cornell.edu>
13017         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
13018         (gdb-version): Remove defvar.
13019         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
13020         (gdb-gud-context-command, gdb-non-stop-handler)
13021         (gdb-current-context-command, gdb-stopped): Use it.
13022         (gdb-init-1): Enable pretty printing here.
13023         (gdb-non-stop-handler): Don't enable pretty-printing here.
13024         Check to see if the target supports non-stop mode; if not, turn off
13025         non-stop mode.  Use the following.
13026         (gdb-check-target-async): New defun.
13027         (gud-watch, gdb-stopped): Fix whitespace.
13028         (gdb-get-source-file): Don't try to display the source file if
13029         `gdb-main-file' is nil.
13031 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13033         * align.el: Try to generate fewer markers (bug#10047).
13034         (align--set-marker): New macro.
13035         (align-region): Use it.
13037 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
13039         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
13041 2011-11-29  Chong Yidong  <cyd@gnu.org>
13043         * indent.el (indent-for-tab-command, indent-according-to-mode):
13044         Doc fix.
13045         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
13047 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
13049         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13050         aware of remote file names.  (Bug#10124)
13052 2011-11-29  Chong Yidong  <cyd@gnu.org>
13054         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13056 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13058         * files.el (find-file): Don't use force-same-window (bug#10144).
13059         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13060         use pop-to-buffer if the selected window can't be used.
13061         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13063 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
13065         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13066         special-mode-map.
13068 2011-11-28  Chong Yidong  <cyd@gnu.org>
13070         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13072 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
13074         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13075           gdb-get-source-file-list on gdb-create-source-file-list.
13077 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
13079         * whitespace.el (whitespace-newline): Use a different foreground
13080         color for 16-color light-background displays.
13082 2011-11-24  Chong Yidong  <cyd@gnu.org>
13084         * window.el (display-buffer--special-action): Doc fix.
13086 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
13088         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13089         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13090         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13091         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13092         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13093         (avl-tree-stack-first):
13094         * emacs-lisp/cconv.el (cconv--analyse-use):
13095         * net/gnutls.el (gnutls-negotiate): Fix typos.
13097 2011-11-24  Glenn Morris  <rgm@gnu.org>
13099         * lpr.el (lpr-windows-system, lpr-lp-system):
13100         * mail/binhex.el (binhex-begin-line):
13101         * progmodes/grep.el (grep-history, grep-find-history):
13102         * textmodes/flyspell.el:
13103         * vc/pcvs-defs.el (cvs-global-menu):
13104         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13105         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13106         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13108         * net/tls.el: Fix case of "GnuTLS".
13110         * paths.el (rmail-file-name): Format doc-string for make-docfile.
13112         * version.el (emacs-build-system): Give it a doc-string.
13114 2011-11-24  Juri Linkov  <juri@jurta.org>
13116         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13118 2011-11-24  Glenn Morris  <rgm@gnu.org>
13120         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13121         if called on a non-mime message just toggle the headers.  (Bug#8006)
13123 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
13125         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13126         (allout-lead-with-comment-string, allout-structure-deleted-hook)
13127         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13128         (allout-rebullet-heading, allout-open-sibtopic)
13129         (allout-toggle-current-subtree-encryption)
13130         (allout-toggle-subtree-encryption, allout-encrypt-string)
13131         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13132         (allout-distinctive-bullets-string, allout-auto-activation):
13133         * window.el (window-normalize-buffer-to-display):
13134         * progmodes/verilog-mode.el (verilog-batch-indent):
13135         * textmodes/bibtex.el (bibtex-field-braces-opt)
13136         (bibtex-field-strings-opt):
13137         * vc/cvs-status.el (cvs-tree-merge):
13138         Fix typos.
13140 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
13142         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13143         `non-essential' to t, in order to avoid remote connections.
13145 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
13147         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13148         On MS-DOS and MS-Windows, compare with loaddefs.el
13149         case-insensitively.
13151 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
13153         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
13155 2011-11-23  Glenn Morris  <rgm@gnu.org>
13157         * paths.el (rmail-file-name): Reformat the doc-string so that it
13158         is picked up.
13160         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13161         (rmail-auto-file): Ignore case in the "special" field names,
13162         as mail-fetch-field does for all others.
13164         * mail/rmail.el (rmail-forward):
13165         * mail/rmailkwd.el (rmail-set-label):
13166         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13167         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
13169         * mail/rmail.el (rmail-current-message): Doc fix.
13171         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
13173 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13175         * server.el (server-eval-and-print): Allow C-g (bug#6585).
13177 2011-11-22  Glenn Morris  <rgm@gnu.org>
13179         * mail/rmailmm.el (test-rmail-mime-handler)
13180         (test-rmail-mime-bulk-handler)
13181         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13183 2011-11-21  Juri Linkov  <juri@jurta.org>
13185         * calc/calc.el (calc-read-key-sequence):
13186         Let-bind `input-method-function' to nil.  (Bug#10018)
13188 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13190         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13191         Tell the caller that the next line needs recomputation, even
13192         though it doesn't start a sexp (bug#10094).
13194 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13196         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13198 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13200         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13201         Use force-same-window.
13203 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
13205         * descr-text.el (describe-char-unicode-data):
13206         * json.el (json-string-escape):
13207         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13208         (Footnote-unicode, Footnote-style-p):
13209         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13211 2011-11-20  Chong Yidong  <cyd@gnu.org>
13213         * window.el (replace-buffer-in-windows): Restore interactive spec.
13215 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13217         * electric.el (electric-indent-mode): Fix last change (too optimistic).
13219         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13220         (byte-compile-global-not-obsolete-vars): New var.
13221         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13222         Use it.
13223         (byte-compile-warn-obsolete): Align text with the one in *Help*.
13225 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
13227         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13228         * progmodes/pascal.el (electric-pascal-equal):
13229         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13230         * xml.el (xml-substitute-special): Fix typos.
13232 2011-11-20  Glenn Morris  <rgm@gnu.org>
13234         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13235         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13236         Doc fixes.
13237         (rmail-decode-mime-charset): Mark as obsolete.
13239         * mail/rmailsum.el (rmail-message-regexp-p-1):
13240         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13241         Before using mime functions, check they are set.  (Bug#10077)
13243 2011-11-19  Juri Linkov  <juri@jurta.org>
13245         * info.el (Info-finder-find-node): Use `package--builtins' instead
13246         of `package-alist'.  Use node names formed by the pattern "Keyword "
13247         and the keyword name.
13249 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
13251         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13253 2011-11-19  Juri Linkov  <juri@jurta.org>
13255         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13256         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
13257         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13258         `old-history', `old-history-forward'.  Add let-binding
13259         `window-selected'.  Remove calls to `kill-buffer',
13260         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
13261         before calling `Info-find-node', so `Info-find-node-2' will reread
13262         the Info file.  Restore window positions only when `window-selected'
13263         is non-nil.
13265 2011-11-19  Juri Linkov  <juri@jurta.org>
13267         * isearch.el (isearch-lazy-highlight-new-loop):
13268         Remove condition `(not isearch-error)'.  (Bug#9918)
13270         * misearch.el (multi-isearch-search-fun): Add condition
13271         `(not bound)' to ignore lazy-highlighting search.
13272         Add the search-failed message "end of multi" when the end of
13273         multi-sequence is reached.  Uncapitalize the search-failed
13274         message "Repeat for next buffer".
13276         * info.el (Info-search): Add the search-failed message
13277         "end of the manual" when the end of the manual is reached
13278         in Isearch mode.
13280 2011-11-19  Juri Linkov  <juri@jurta.org>
13282         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13283         Use non-destructive `remove' instead of `delete' because
13284         `Info-history-list' stored to `Info-isearch-initial-history-list' in
13285         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13287 2011-11-19  Juri Linkov  <juri@jurta.org>
13289         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13290         to nil instead of binding `search-ring' and `regexp-search-ring'.
13291         (Bug#9185)
13293 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
13295         * simple.el (line-move): Force movement by logical lines for any
13296         hscrolled window, not only when auto-hscroll-mode is on.
13297         (line-move-visual): Update doc string to that effect.  (Bug#10076)
13299 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
13301         * language/european.el (macintosh): Define as alias for mac-roman.
13303 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
13305         * mail/rmailmm.el (rmail-mime-display-header)
13306         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13307         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13308         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13309         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13310         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13311         of a raw aref.
13312         (rmail-mime-entity-segment): To get past the tagline, move forward
13313         2 more lines, to account for the 2 empty lines that precede and
13314         follow the line with the buttons.
13315         (rmail-mime-update-tagline): Move one more line, to get past the
13316         empty line that follows the buttons in the tagline.  (Bug#9520)
13318 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
13320         * window.el (window-max-delta-1, window-min-delta-1)
13321         (window-min-size-1, window-state-get-1, window-state-put-1)
13322         (window-state-put-2): Use "window--" prefix.
13324 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13326         * emacs-lisp/smie.el: Improve warnings and conflict detection.
13327         (smie-warning-count): New var.
13328         (smie-set-prec2tab): Use it.
13329         (smie-bnf->prec2): Improve warnings.  Add docstring.
13330         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13331         (smie-bnf--set-class): New function.
13332         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
13333         corner case.
13335         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13336         (compilation-error-properties, compilation-move-to-column):
13337         Handle compilation-first-column while in the target buffer.
13339         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13340         Don't hardcode point-min==1.
13342         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13343         (eshell-rewrite-for-command): Remove workaround.
13344         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13345         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13346         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13348         * files-x.el (modify-file-local-variable): Obey commenting conventions.
13350 2011-11-17  Glenn Morris  <rgm@gnu.org>
13352         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13353         Ignore buffer-local generated-autoload-file if it is the same
13354         as the global value.  (Bug#10049)
13356 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
13358         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13359         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13360         (reftex-toc-previous-heading, reftex-toc-max-level)
13361         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13362         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13363         (reftex-toc-do-promote, reftex-toc-promote-prepare)
13364         (reftex-toc-promote-action, reftex-toc-extract-section-number)
13365         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13366         (reftex-toc-rename-label, reftex-toc-visit-location)
13367         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13368         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13369         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13370         leaving "*toc*" only for references to the buffer.
13372 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
13374         * window.el (window-resize, delete-window, split-window):
13375         Replace window-splits by window-combination-resize.
13376         * cus-start.el (window-splits): Replace by window-combination-resize.
13378 2011-11-17  Glenn Morris  <rgm@gnu.org>
13380         * progmodes/sh-script.el (sh-font-lock-keywords-var):
13381         Make bash entry derive from sh entry, not shell entry.
13383 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
13385         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13386         local file name.
13388 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
13390         * menu-bar.el (menu-bar-file-menu):
13391         * printing.el (pr-ps-utility):
13392         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13393         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13394         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13395         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13396         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13397         (icalendar--convert-cyclic-to-ical)
13398         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13399         (icalendar--convert-ical-to-diary)
13400         (icalendar--convert-recurring-to-diary)
13401         (icalendar--convert-non-recurring-all-day-to-diary)
13402         (icalendar-import-format-sample):
13403         * progmodes/idlw-shell.el (idlwave-shell-mode):
13404         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13405         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13406         (vhdl-ps-print-init): Fix typos.
13408 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
13410         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13411         FSF and collapse date sequence, obscure author/maintainer email address
13412         better, remove extra version line, track relocation of author's webpage.
13414         * progmodes/python.el (python-pdbtrack-input-prompt)
13415         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13416         regular python pdb prompts.  Adjustments shamelessly taken exactly as
13417         suggested in EmacsWiki page (tiny change):
13418         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13420 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
13422         * expand.el (expand-pos, expand-index, expand-point):
13423         Remove redundant info from docstring.
13424         (expand-add-abbrevs): Doc fix.
13425         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13426         (expand-sample-perl-mode-expand-list): Fix typos.
13428         * net/dbus.el (dbus-event-member-name):
13429         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13430         * term/pc-win.el (msdos-create-frame-with-faces):
13431         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13433 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
13435         * window.el (split-window, window-state-get-1)
13436         (window-state-put-1, window-state-put-2): Rename occurrences of
13437         window-nest to window-combination-limit.
13438         * cus-start.el (window-nest): Rename to window-combination-limit.
13440 2011-11-16  Chong Yidong  <cyd@gnu.org>
13442         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13443         regexp (Bug#10033).
13445 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13447         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13448         `completing-read' will remove *Completions* and will preserve
13449         current-buffer for us.
13450         (tmm-add-prompt): Users of *Completions* will always (re)set its
13451         major mode.
13452         (tmm-old-comp-map): Remove.
13454 2011-11-16  Glenn Morris  <rgm@gnu.org>
13456         * mail/rmailedit.el: Require rmailmm when compiling.
13457         (rmail-old-mime-state): New declaration.
13458         (rmail-edit-current-message): If editing a mime message,
13459         edit the "raw" message from the mbox buffer.
13460         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
13462 2011-11-15  Glenn Morris  <rgm@gnu.org>
13464         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13465         which wasn't being used.  Add optional arg to force given state.
13466         (rmail-mime): Add optional arg to force given state.
13468 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
13470         * allout.el (allout-encryption-plaintext-sanitization-regexps):
13471         * frame.el (display-mm-dimensions-alist):
13472         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13473         (outline-move-subtree-down):
13474         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13475         (newsticker--treeview-do-get-node):
13476         * net/quickurl.el (quickurl-list-buffer-name):
13477         * progmodes/dcl-mode.el (dcl-mode):
13478         * progmodes/gdb-mi.el (gdb-mapcar*):
13479         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13481 2011-11-15  Glenn Morris  <rgm@gnu.org>
13483         * mail/rmail.el (rmail-file-coding-system): It's only ever used
13484         in a boolean sense, so just make it a boolean, and fix the doc.
13485         (rmail-show-mime-function, rmail-mime-feature)
13486         (rmail-require-mime-maybe): Doc fixes.
13487         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13489         * mail/rmailmm.el (rmail-show-mime): Doc fix.
13491 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
13493         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13494         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13495         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13496         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13498 2011-11-15  Glenn Morris  <rgm@gnu.org>
13500         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13501         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13502         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13503         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13504         (rmail-mime, rmail-show-mime): Doc fixes.
13506         * term/ns-win.el (mode-line-frame-identification):
13507         Leave it alone.  (Bug#10051)
13509         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
13511         * mail/rmailout.el (rmail-output-to-rmail-buffer):
13512         Handle empty buffers.  (Bug#9978)
13514 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
13516         * international/mule.el (define-charset):
13517         * mail/rmailmm.el (rmail-mime-find-header-encoding):
13518         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13519         * progmodes/verilog-mode.el (verilog-backward-token):
13520         * textmodes/ispell.el (lookup-words):
13521         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13523 2011-11-14  Glenn Morris  <rgm@gnu.org>
13525         * progmodes/executable.el
13526         (executable-make-buffer-file-executable-if-script-p):
13527         Handle file-modes returning nil.
13529         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13530         message - not necessary, and causes problems.  (Bug#9831)
13532         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13534         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13536         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13537         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
13538         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13540 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
13542         * window.el (window-resize, delete-window): Use window-splits
13543         variable instead of function.
13544         (window-state-get-1, window-state-put-2, window-state-put):
13545         Don't deal with windows' splits status.
13547 2011-11-12  Glenn Morris  <rgm@gnu.org>
13549         * apropos.el (apropos-do-all, apropos-library, apropos-value)
13550         (apropos-documentation): Doc fixes.
13552 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
13554         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13555         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13557 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13559         * electric.el (electric-indent-post-self-insert-function): Make it
13560         possible for a char to only indent in some circumstances.
13561         (electric-indent-mode): Simplify.
13563 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
13565         * window.el (windows-with-parameter): Remove unused function.
13566         (windows-at-side): Rename to window-at-side-list.
13567         (window-check, window-atom-check, window-atom-check-1)
13568         (window-side-check, window-size-ignore, window-size-fixed-1)
13569         (window-in-direction-2): Prefix with "window--".
13570         (window-tree-1): Rename to window--subtree, fix doc-string.
13572 2011-11-11  Glenn Morris  <rgm@gnu.org>
13574         * subr.el (eval-after-load): If FILE is already loaded,
13575         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
13577 2011-11-10  Glenn Morris  <rgm@gnu.org>
13579         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13580         Call svn via vc-svn-command rather than vc-do-command.
13581         (vc-svn-command): Add --non-interactive.  (Bug#9993)
13582         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13584         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13585         Add toggle-read-only.  (Bug#7292)
13586         * files.el (toggle-read-only): Mention that it should only
13587         be used interactively.  (Bug#10006)
13589 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13591         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13592         Adjust regexp for OCaml warnings.
13594         * electric.el (electric-pair-post-self-insert-function): Let user
13595         turn it off buffer-locally (bug#9932).
13597         * progmodes/python.el (python-beginning-of-statement):
13598         Rewrite (bug#2703).
13600         * progmodes/compile.el: Better handle TABs (bug#9749).
13601         (compilation-internal-error-properties)
13602         (compilation-next-error-function): Obey the target buffer's
13603         compilation-error-screen-columns.
13605 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
13607         * progmodes/meta-mode.el: Remove obsolete comments.
13608         (meta-right-comment-regexp, meta-ignore-comment-regexp):
13609         Fix typos in docstrings.
13611 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
13613         * window.el (window-size-fixed-p): Rewrite doc-string.
13614         (window-resizable-p): Rename to window--resizable-p.  Update callers.
13615         (window--resizable): New function.  Make all callers of
13616         window-resizable call window--resizable instead.
13617         (window-resizable): Rewrite in terms of window--resizable.
13619 2011-11-08  Glenn Morris  <rgm@gnu.org>
13621         * progmodes/delphi.el (delphi-mode-syntax-table):
13622         Let define-derived-mode define a proper syntax table.  (Bug#9994)
13624 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13626         * window.el: Stay away from defsubst.
13627         (window-list-no-nils): Remove.
13628         (window-state-get-1, window-state-get): Use backquote instead.
13630 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13632         * emacs-lisp/find-func.el (find-function-read):
13633         Fix incorrect use of default argument in `completing-read'.
13635 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
13637         * window.el (display-buffer-function, special-display-function):
13638         Mention display-buffer-record-window but do not mention
13639         help-setup parameter in doc-strings.
13640         (window-min-delta): Fix doc-string typo.
13642 2011-11-08  Chong Yidong  <cyd@gnu.org>
13644         * window.el (window-total-height, window-total-width): Doc fix.
13645         (window-body-size): Move from C.
13646         (window-body-height, window-body-width): Move to C.
13648 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13650         * window.el: Make special-display like display-buffer-alist (bug#9532).
13651         (display-buffer--special-action): New function, morphed
13652         from display-buffer--special.
13653         (display-buffer): Use it to handle special-display-buffers at higher
13654         priority (just after display-buffer-alist).
13655         (display-buffer-fallback-action, display-buffer--other-frame-action)
13656         (pop-to-buffer-same-window): Remove display-buffer--special.
13658 2011-11-07  Glenn Morris  <rgm@gnu.org>
13660         * calendar/cal-menu.el (cal-menu-set-date-title):
13661         Do nothing if not in a calendar.  (Bug#9976)
13663 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13665         * files.el (find-file): Always use selected-window.
13667 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
13669         * window.el (window-combinations): Make WINDOW argument
13670         mandatory.  Rewrite doc-string.
13671         (walk-window-subtree, window-atom-check, window-min-delta)
13672         (window-max-delta, window--resize-this-window)
13673         (window--resize-root-window-vertically, window-tree)
13674         (balance-windows, window-state-put): Rewrite doc-strings as to
13675         not mention the term "subwindow".
13676         (window--resize-subwindows-skip-p): Rename to
13677         window--resize-child-windows-skip-p.
13678         (window--resize-subwindows-normal): Rename to
13679         window--resize-child-windows-normal.
13680         (window--resize-subwindows): Rename to
13681         window--resize-child-windows.
13682         (window-or-subwindow-p): Rename to window--in-subtree-p.
13684 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
13686         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13687         Ensure that mbox format messages end in two newlines (Bug#9974).
13689 2011-11-06  Chong Yidong  <cyd@gnu.org>
13691         * window.el (window-combination-p): Function deleted; its
13692         side-effect is not used in any existing code.
13693         (window-combinations, window-combined-p): Call window-*-child
13694         directly.
13696 2011-11-05  Chong Yidong  <cyd@gnu.org>
13698         * window.el (window-valid-p): Rename from window-any-p.
13699         (window-size-ignore, window-state-get): Callers changed.
13700         (window-normalize-window): Rename from window-normalize-any-window.
13701         New arg LIVE-ONLY, replacing window-normalize-live-window.
13702         (window-normalize-live-window): Delete.
13703         (window-combination-p, window-combined-p, window-combinations)
13704         (walk-window-subtree, window-atom-root, window-min-size)
13705         (window-sizable, window-sizable-p, window-size-fixed-p)
13706         (window-min-delta, window-max-delta, window-resizable)
13707         (window-resizable-p, window-full-height-p, window-full-width-p)
13708         (window-current-scroll-bars, window-point-1, set-window-point-1)
13709         (window-at-side-p, window-in-direction, window-resize)
13710         (adjust-window-trailing-edge, maximize-window, minimize-window)
13711         (window-deletable-p, delete-window, delete-other-windows)
13712         (record-window-buffer, unrecord-window-buffer)
13713         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13714         (quit-window, split-window, window-state-put)
13715         (set-window-text-height, fit-window-to-buffer)
13716         (shrink-window-if-larger-than-buffer): Callers changed.
13718 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
13720         * mail/rmail.el (rmail-simplified-subject): Decode subject with
13721         rfc2047-decode-string.
13722         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13723         warnings.
13725         * window.el (window-body-height, window-body-width): Mention in
13726         the doc string that the return values are in frame's canonical
13727         units.  (Bug#9949)
13729 2011-11-03  Alan Mackenzie  <acm@muc.de>
13731         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13732         change in cc-engine.el.
13734 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13736         * window.el (switch-to-buffer): Use `force-same-window' interactively.
13738 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
13740         * window.el (quit-window): Call unrecord-window-buffer after
13741         showing another buffer in the window.  (Bug#9937)
13742         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13744 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
13746         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13747         Accept status with more than 9 shelves.  (Bug#9935)
13748         Reported by Colin D Bennett <colin@gibibit.com>.
13750 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
13752         * help.el (with-help-window): Don't reference
13753         temp-buffer-show-specifiers in doc-string.
13755 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13757         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13758         menu-item.
13760 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13762         * whitespace.el: New version 13.2.2.
13763         (whitespace-newline-mode): Disable properly.  Reported by Sarah
13764         <EmacsWiki>.
13766 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
13768         * net/newst-treeview.el: Remove "Time-stamp".
13769         (newsticker--group-manage-orphan-feeds): Do not call
13770         newsticker--treeview-tree-update.
13771         (newsticker-treeview-update, newsticker-treeview):
13772         Call newsticker--treeview-tree-update if necessary.
13774 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
13776         * window.el (window-iso-combination-p, window-iso-combined-p)
13777         (window-iso-combinations): Remove "iso-" infix.
13778         Suggested by Chong Yidong.
13779         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13780         (window-max-delta-1, window-resize, window--resize-siblings)
13781         (window--resize-this-window, adjust-window-trailing-edge)
13782         (split-window, balance-windows-1)
13783         (shrink-window-if-larger-than-buffer):
13784         * calendar/calendar.el (calendar-generate-window):
13785         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13787 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13789         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13790         in place (bug#9907).
13791         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13792         (eshell-rewrite-if-command, eshell-rewrite-for-command)
13793         (eshell-structure-basic-command, eshell-rewrite-while-command)
13794         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13795         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13796         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13797         (eshell-do-pipelines-synchronously, eshell-eval-command):
13798         Use backquotes and prefer setq to set.
13799         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13800         (eshell-macrop): Use functionp.
13801         (eshell-do-eval): Handle multiple expressions in `while' body.
13803 2011-10-30  Chong Yidong  <cyd@gnu.org>
13805         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13806         instead of set-mark (Bug#9810).
13808 2011-10-30  Chong Yidong  <cyd@gnu.org>
13810         * window.el (split-window-below, split-window-right): Rename from
13811         split-window-above-each-other and split-window-side-by-side
13812         respectively.  All callers changed.
13813         (split-window-sensibly, split-window-sensibly): Use them.
13814         (split-window-keep-point): Doc fix.
13816         * isearch.el: Add isearch-scroll property to split-window-below
13817         and split-window-right.
13819         * follow.el (follow-mode):
13820         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13821         * progmodes/ada-xref.el (ada-gdb-application):
13822         * emulation/vip.el (vip-buffer-in-two-windows):
13823         * image-dired.el (image-dired-dired-with-window-configuration):
13824         * dired-x.el (dired-do-find-marked-files):
13825         * dired.el (dired-pop-to-buffer):
13826         * bs.el (bs--show-with-configuration):
13827         * vc/emerge.el (emerge-setup-windows):
13828         * textmodes/two-column.el (2C-two-columns):
13829         * textmodes/reftex-toc.el (reftex-toc):
13830         * progmodes/gdb-mi.el (gdb-setup-windows):
13831         * progmodes/fortran.el (fortran-window-create):
13832         * net/newst-treeview.el (newsticker--treeview-window-init):
13833         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13834         * emulation/tpu-edt.el (tpu-gold-map):
13835         * emulation/crisp.el (crisp-mode-map):
13836         * calendar/calendar.el (calendar-basic-setup): Callers changed.
13838 2011-10-29  Chong Yidong  <cyd@gnu.org>
13840         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13842         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13844         * textmodes/flyspell.el (flyspell-word): Fix char offset for
13845         forged Ispell output (Bug#7904).
13847         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13849 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13851         * doc-view.el: Avoid ugly errors about not finding nil.
13852         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13853         (doc-view-dvipdf-program, doc-view-unoconv-program)
13854         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13855         Avoid nil or absolute file name as default value.
13856         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13858 2011-10-28  Alan Mackenzie  <acm@muc.de>
13860         * progmodes/cc-defs.el (c-version): -> 5.32.2.
13862 2011-10-28  Alan Mackenzie  <acm@muc.de>
13864         Amend the handling of c-beginning/end-of-defun in nested declaration
13865         scopes.
13867         * progmodes/cc-vars.el (c-defun-tactic): Move here from
13868         cc-langs.el.  Change it to a defcustom.
13870         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13871         cc-vars.el.
13873         * progmodes/cc-engine.el (c-beginning-of-statement-1):
13874         Prevent "class foo : bar" being spuriously recognized as a label.
13876         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13877         Add parameter `inclusive' (to include enclosing braces in the region).
13878         (c-widen-to-enclosing-decl-scope): New function.
13879         (c-while-widening-to-decl-block): New macro.
13880         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13881         outward for defun boundaries, and correspondingly change symbol
13882         `respect-enclosure' to `go-outward'.
13883         (c-declaration-limits): Change algorithm to report only the "innermost"
13884         defun's boundaries.
13886 2011-10-28  Deniz Dogan  <deniz@dogan.se>
13888         * net/rcirc.el (rcirc-mode): Use hard newlines.
13890 2011-10-28  Alan Mackenzie  <acm@muc.de>
13892         Amend to indent and fontify macros "which include their own semicolon"
13893         correctly, using the "virtual semicolon" mechanism.
13895         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13897         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13898         Recode to scan one line at a time rather than having \n and \r
13899         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13900         (c-forward-label): Amend for virtual semicolons.
13901         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13903         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13904         of the new C macros.
13906         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13907         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13908         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13909         (c-opt-cpp-macro-define): Make into a full language variable.
13910         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13911         AWK Mode (including \n, \r) removed, no longer needed.
13913         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13914         Invoke c-make-macro-with-semi-re.
13916         * progmodes/cc-vars.el (c-macro-with-semi-re):
13917         (c-macro-names-with-semicolon): New variables.
13918         (c-make-macro-with-semi-re): New function.
13920 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13922         * vc/log-edit.el: Fill empty field rather than adding new one.
13923         (log-edit-add-field): New function.
13924         (log-edit-insert-changelog): Use it.
13926 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
13928         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13930 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13932         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13933         (gdb--check-interpreter): New function.
13934         (gdb): Use it.
13936 2011-10-27  Glenn Morris  <rgm@gnu.org>
13938         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13939         (least-positive-float, least-negative-float)
13940         (least-positive-normalized-float, least-negative-normalized-float)
13941         (float-epsilon, float-negative-epsilon):
13942         Remove unnecessary declarations.
13944         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13945         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13946         (least-positive-float, least-negative-float)
13947         (least-positive-normalized-float, least-negative-normalized-float)
13948         (float-epsilon, float-negative-epsilon): Add doc-strings,
13949         based on those in cl.texi.
13951         * files.el (set-visited-file-name): If the major-mode changed,
13952         reload the local variables.  (Bug#9796)
13954 2011-10-27  Chong Yidong  <cyd@gnu.org>
13956         * subr.el (change-major-mode-after-body-hook): New hook.
13957         (run-mode-hooks): Run it.
13959         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13960         Use change-major-mode-before-body-hook.
13962         * simple.el (fundamental-mode):
13963         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13964         change introducing fundamental-mode-hook.
13966 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
13968         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13970 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
13972         * ido.el (ido-file-name-all-completions-1): Do not require
13973         tramp.el explicitly.  (Bug#7583)
13975 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13977         * progmodes/octave-mod.el:
13978         * progmodes/octave-inf.el: Update maintainer.
13980 2011-10-26  Chong Yidong  <cyd@gnu.org>
13982         * subr.el (with-wrapper-hook): Rewrite doc.
13984 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
13986         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13987         filenames "/method:foo:".  (Bug#9793)
13989 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13991         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13992         (bug#9865).
13994 2011-10-24  Glenn Morris  <rgm@gnu.org>
13996         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
13998 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
14000         * notifications.el: Add the requirement of a running D-Bus session
14001         bus to the Commentary.
14003 2011-10-24  Juri Linkov  <juri@jurta.org>
14005         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14006         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
14007         (Bug#9364)
14009 2011-10-24  Juri Linkov  <juri@jurta.org>
14011         * info.el (Info-following-node-name-re): Add newline to the list
14012         of allowed characters for leading space.  (Bug#9824)
14014 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14016         * progmodes/octave-inf.el (inferior-octave-mode-map):
14017         Fix C-c C-h binding.
14018         * progmodes/octave-mod.el (octave-help): Remove.
14020 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
14022         Sync with Tramp 2.2.3.
14024         * net/tramp-cache.el (top): Pacify byte-compiler using
14025         `init-file-user' and `site-run-file'.
14027         * net/trampver.el: Update release number.
14029 2011-10-23  Chong Yidong  <cyd@gnu.org>
14031         * files.el (toggle-read-only): Remove obsolete comment about
14032         version control.
14034         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
14035         for toggle-read-only.  Note that this hasn't called vc-next-action
14036         since 2008-05-02, though it wasn't documented at the time.
14038         * vc/ediff-init.el (ediff-toggle-read-only-function):
14039         Use toggle-read-only.
14041 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
14043         Fix bug #9560, sporadic wrong indentation; improve instrumentation
14044         of c-parse-state.
14046         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14047         correct faulty logical expression.
14048         (c-parse-state-state, c-record-parse-state-state):
14049         (c-replay-parse-state-state): New defvar/defuns.
14050         (c-debug-parse-state): Use new functions.
14052 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
14054         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14055         last fix.  Use window-in-direction correctly.
14057 2011-10-21  Chong Yidong  <cyd@gnu.org>
14059         * progmodes/idlwave.el (idlwave-mode):
14060         * progmodes/vera-mode.el (vera-mode): No need to set
14061         require-final-newline; that's done in prog-mode.
14062         Suggested by Stefan Monnier.
14064 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
14066         * mouse.el (mouse-drag-window-above)
14067         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14068         (mouse-drag-mode-line-1, mouse-drag-header-line)
14069         (mouse-drag-vertical-line-rightward-window): Remove.
14070         (mouse-drag-line): New function.
14071         (mouse-drag-mode-line, mouse-drag-header-line)
14072         (mouse-drag-vertical-line): Call mouse-drag-line.
14073         * window.el (window-at-side-p, windows-at-side): New functions.
14075 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
14077         * tar-mode.el (tar-grind-file-mode):
14078         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
14080 2011-10-21  Chong Yidong  <cyd@gnu.org>
14082         * progmodes/idlwave.el (idlwave-mode):
14083         * progmodes/vera-mode.el (vera-mode):
14084         Use mode-require-final-newline.
14086 2011-10-20  Glenn Morris  <rgm@gnu.org>
14088         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
14090 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
14092         * emulation/cua-base.el (cua-set-mark): Fix case of string.
14094 2011-10-20  Chong Yidong  <cyd@gnu.org>
14096         * emulation/cua-base.el (cua-mode):
14097         * mail/footnote.el (footnote-mode):
14098         * mail/mailabbrev.el (mail-abbrevs-mode):
14099         * net/xesam.el (xesam-minor-mode):
14100         * progmodes/bug-reference.el (bug-reference-mode):
14101         * progmodes/cap-words.el (capitalized-words-mode):
14102         * progmodes/compile.el (compilation-minor-mode)
14103         (compilation-shell-minor-mode):
14104         * progmodes/gud.el (gud-tooltip-mode):
14105         * progmodes/hideif.el (hide-ifdef-mode):
14106         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14107         * progmodes/subword.el (subword-mode):
14108         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14109         * progmodes/which-func.el (which-function-mode):
14110         * term/tvi970.el (tvi970-set-keypad-mode):
14111         * term/vt100.el (vt100-wide-mode):
14112         * textmodes/flyspell.el (flyspell-mode):
14113         * textmodes/ispell.el (ispell-minor-mode):
14114         * textmodes/nroff-mode.el (nroff-electric-mode):
14115         * textmodes/paragraphs.el (use-hard-newlines):
14116         * textmodes/refill.el (refill-mode):
14117         * textmodes/reftex.el (reftex-mode):
14118         * textmodes/rst.el (rst-minor-mode):
14119         * textmodes/sgml-mode.el (html-autoview-mode)
14120         (sgml-electric-tag-pair-mode):
14121         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14122         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14123         * emulation/crisp.el (crisp-mode):
14124         * emacs-lisp/eldoc.el (eldoc-mode):
14125         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14126         minor mode behavior.
14128 2011-10-19  Juri Linkov  <juri@jurta.org>
14130         * descr-text.el (describe-char): Add #x2010 and #x2011 to
14131         the list of hard-coded chars with escape-glyph face.
14133 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14135         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14137 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
14139         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14140         running process.
14142 2011-10-19  Glenn Morris  <rgm@gnu.org>
14144         * vc/vc-bzr.el (vc-bzr-after-dir-status):
14145         Ignore ignored files.  (Bug#9726)
14147 2011-10-19  Chong Yidong  <cyd@gnu.org>
14149         Doc fix for minor modes, stating that an omitted argument enables
14150         the mode unconditionally when called from Lisp.
14152         * abbrev.el (abbrev-mode):
14153         * allout.el (allout-mode):
14154         * autoinsert.el (auto-insert-mode):
14155         * autoarg.el (autoarg-mode, autoarg-kp-mode):
14156         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14157         (global-auto-revert-mode):
14158         * battery.el (display-battery-mode):
14159         * composite.el (global-auto-composition-mode)
14160         (auto-composition-mode):
14161         * delsel.el (delete-selection-mode):
14162         * desktop.el (desktop-save-mode):
14163         * dired-x.el (dired-omit-mode):
14164         * dirtrack.el (dirtrack-mode):
14165         * doc-view.el (doc-view-minor-mode):
14166         * double.el (double-mode):
14167         * electric.el (electric-indent-mode, electric-pair-mode):
14168         * emacs-lock.el (emacs-lock-mode):
14169         * epa-hook.el (auto-encryption-mode):
14170         * follow.el (follow-mode):
14171         * font-core.el (font-lock-mode):
14172         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14173         * help.el (temp-buffer-resize-mode):
14174         * hilit-chg.el (highlight-changes-mode)
14175         (highlight-changes-visible-mode):
14176         * hi-lock.el (hi-lock-mode):
14177         * hl-line.el (hl-line-mode, global-hl-line-mode):
14178         * icomplete.el (icomplete-mode):
14179         * ido.el (ido-everywhere):
14180         * image-file.el (auto-image-file-mode):
14181         * image-mode.el (image-minor-mode):
14182         * iswitchb.el (iswitchb-mode):
14183         * jka-cmpr-hook.el (auto-compression-mode):
14184         * linum.el (linum-mode):
14185         * longlines.el (longlines-mode):
14186         * master.el (master-mode):
14187         * mb-depth.el (minibuffer-depth-indicate-mode):
14188         * menu-bar.el (menu-bar-mode):
14189         * minibuf-eldef.el (minibuffer-electric-default-mode):
14190         * mouse-sel.el (mouse-sel-mode):
14191         * msb.el (msb-mode):
14192         * mwheel.el (mouse-wheel-mode):
14193         * outline.el (outline-minor-mode):
14194         * paren.el (show-paren-mode):
14195         * recentf.el (recentf-mode):
14196         * reveal.el (reveal-mode, global-reveal-mode):
14197         * rfn-eshadow.el (file-name-shadow-mode):
14198         * ruler-mode.el (ruler-mode):
14199         * savehist.el (savehist-mode):
14200         * scroll-all.el (scroll-all-mode):
14201         * scroll-bar.el (scroll-bar-mode):
14202         * server.el (server-mode):
14203         * shell.el (shell-dirtrack-mode):
14204         * simple.el (auto-fill-mode, transient-mark-mode)
14205         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14206         (line-number-mode, column-number-mode, size-indication-mode)
14207         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14208         * strokes.el (strokes-mode):
14209         * time.el (display-time-mode):
14210         * t-mouse.el (gpm-mouse-mode):
14211         * tool-bar.el (tool-bar-mode):
14212         * tooltip.el (tooltip-mode):
14213         * type-break.el (type-break-mode-line-message-mode)
14214         (type-break-query-mode):
14215         * view.el (view-mode):
14216         * whitespace.el (whitespace-mode, whitespace-newline-mode)
14217         (global-whitespace-mode, global-whitespace-newline-mode):
14218         * xt-mouse.el (xterm-mouse-mode): Doc fix.
14220         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14221         Fix autogenerated docstring.
14223 2011-10-19  Juri Linkov  <juri@jurta.org>
14225         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14226         by checking environment variables "DESKTOP_SESSION" and
14227         "XDG_CURRENT_DESKTOP".  (Bug#9779)
14229 2011-10-19  Juri Linkov  <juri@jurta.org>
14231         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14232         (browse-url-chromium-program, browse-url-chromium-arguments):
14233         New defcustoms.
14234         (browse-url-default-browser): Check for `browse-url-chromium' and
14235         call `browse-url-chromium-program'.
14236         (browse-url-chromium): New command.  (Bug#9779)
14238 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
14240         * facemenu.el (list-colors-duplicates): On Windows, detect more
14241         duplicates by assuming that only colors matching "^System" are
14242         special "system colors".  (Bug#9722)
14244 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14246         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14247         to distinguish the author from the committer.
14249 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
14251         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14253 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
14255         * international/mule.el (sgml-html-meta-auto-coding-function):
14256         Add support for detecting encoding in HTML5 specified only as
14257         <meta charset="UTF-8">.  Implementation just makes http-equiv and
14258         content-type parts from HTML4 encoding string optional.  (Bug#9716)
14260 2011-10-18  Glenn Morris  <rgm@gnu.org>
14262         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
14264 2011-10-18  Chong Yidong  <cyd@gnu.org>
14266         * faces.el (cursor): Doc fix.
14268 2011-10-17  Chong Yidong  <cyd@gnu.org>
14270         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14272 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
14274         * dirtrack.el (dirtrack): Support shell buffers with path
14275         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
14277 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
14279         * json.el: Bump version to 1.3 and note change in History.
14280         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14282 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14284         * comint.el (comint-insert-input, comint-send-input)
14285         (comint-get-old-input-default, comint-backward-matching-input)
14286         (comint-next-prompt): Use nil instead of `input' for field property of
14287         past user input (bug#114).
14289         * minibuffer.el (completion--replace): Inherit surrounding properties
14290         (bug#114).
14291         (minibuffer-complete-and-exit): Use it.
14293         * comint.el (comint--table-subvert): Quote the all-completions output
14294         (bug#9160).
14296 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
14298         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14300         * menu-bar.el (menu-bar-file-menu): Add entry for making new
14301         window on right of selected.  (Bug#9350) Reword other window
14302         entries and separate them from frame entries.
14304 2011-10-15  Glenn Morris  <rgm@gnu.org>
14306         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14307         Doc fixes.
14309 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
14311         * net/network-stream.el (network-stream-open-starttls):
14312         Improve detection of failure due to lack of TLS support.
14314         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14315         putting the input text in front and in bold.
14317 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14319         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14321         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14322         empty buffer.
14324         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14325         unread-command-events rather than pushing yet-another event.
14327 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
14329         * mail/sendmail.el (sendmail-query-once): Improve the wording of
14330         the explanation of the possible choices.  Make the options passed
14331         to completing-read shorter.
14333 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
14335         * textmodes/flyspell.el (flyspell-large-region): Make sure
14336         extended character mode is used if defined (Bug#1339).
14338 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
14340         * simple.el (what-cursor-position): Fix the display of the
14341         character info for LRE, LRO, RLE, and RLO characters by appending
14342         an invisible PDF.
14344 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14346         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14347         even in case of error; add debug spec; simplify data flow.
14348         (with-timeout-handler): Remove.
14350 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
14352         Fix Bug#6019, Bug#9315.
14354         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14355         complete `buffer-file-name', the local file name part could look
14356         remotely (for example on VMS).
14358         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14359         `tramp-run-real-handler'.
14360         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14361         already quoted by '"'.
14363         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14364         Let `file-name-handler-alist' be nil, the local file name part
14365         could look remotely (for example on VMS).
14367 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14369         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14370         from here...
14371         (flyspell-post-command-hook): ...to here.
14373 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14375         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14376         if not needed.
14377         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
14378         using completion.  Protect against "slow" callers.
14379         Remove the "message hack".
14381 2011-10-11  Juri Linkov  <juri@jurta.org>
14383         * isearch.el (isearch-lazy-highlight-word): New variable.
14384         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14385         Use it.  (Bug#9727)
14387 2011-10-11  Glenn Morris  <rgm@gnu.org>
14389         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14390         like f90-previous-statement does.
14392 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14394         * eshell/eshell.el (eshell-command): History should be saved
14395         only in interactive use, to avoid error.
14397 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14399         * minibuffer.el (completion-file-name-table): Fix last change,
14400         i.e. ignore normal errors but not the other ones.
14402 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
14404         * window.el (special-display-buffer-names)
14405         (special-display-regexps): Remove some remnants of earlier
14406         changes from doc-strings.
14407         (quit-windows-on): New function.
14409         * vc/vc.el (vc-revert, vc-rollback):
14410         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14411         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
14412         (Bug#6183) (Bug#7074) (Bug#7447)
14414 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
14416         * window.el (frame-auto-hide-function): Add version tag.
14417         (Bug#9699)
14419 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
14421         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14422         condition.
14424 2011-10-09  Leo Liu  <sdl.web@gmail.com>
14426         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14427         (Bug#9701)
14429 2011-10-08  Glenn Morris  <rgm@gnu.org>
14431         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14432         before the first code statement zero indent.  (Bug#9690)
14434 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
14436         * simple.el (count-words-region): Always count in the region.
14437         Report the number of lines and characters too.
14438         (count-words): New command, which counts in the buffer if the
14439         region is inactive, as count-words-region used to.
14440         (count-words--message): New function.  Handle plurals.
14441         (count-lines-region): Make it an alias for count-words-region.
14443         * bindings.el (esc-map): Replace count-lines-region with
14444         count-words-region.
14446 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
14448         * window.el (window--delete): Delete dedicated frame
14449         unconditionally when argument KILL is non-nil.  (Bug#9699)
14450         (switch-to-buffer): Fix doc-string typo.
14452 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14454         * eshell/eshell.el (eshell-command): Avoid using hooks.
14456 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
14458         * bindings.el ([M-left],[M-right]): Bind to left-word and
14459         right-word respectively.
14461 2011-10-07  Glenn Morris  <rgm@gnu.org>
14463         * cus-start.el (debug-on-quit): Fix custom type.
14465 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14467         * subr.el (define-key-after): Clarify that the function is not
14468         useful for non-menu keymaps.
14470         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14472 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14474         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14475         in current minibuffer (Fix bug with recursive minibuffers).
14477 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
14479         * progmodes/gdb-mi.el (gdb): Doc fix.
14481 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
14483         * window.el (frame-auto-hide-function): New option replacing
14484         frame-auto-delete.  Suggested by Stefan Monnier.
14485         (window--delete): Call frame-auto-hide-function instead of
14486         investigating frame-auto-delete.
14487         (window-point-1, set-window-point-1): New functions.
14488         (window-in-direction, record-window-buffer, window-state-get-1)
14489         (display-buffer-record-window): Use window-point-1 instead of
14490         window-point.
14491         (set-window-buffer-start-and-point): Use set-window-point-1.
14493 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14495         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14497 2011-10-05  Glenn Morris  <rgm@gnu.org>
14499         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14500         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
14502 2011-10-05  Leo Liu  <sdl.web@gmail.com>
14504         * subr.el (read-char-choice): Fix argument to buffer-live-p which
14505         works with buffer object.
14507 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14509         * mpc.el (mpc-tool-bar-map): Add labels.
14511 2011-10-04  Glenn Morris  <rgm@gnu.org>
14513         * calendar/holidays.el (calendar-check-holidays): Doc fix.
14515 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
14517         * window.el (window--delete): New function.
14518         (frame-auto-delete): Resuscitate option.
14519         (bury-buffer, replace-buffer-in-windows)
14520         (quit-window): Rewrite using window--delete.
14521         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14522         Pass display-buffer-mark-dedicated to window--display-buffer-2
14523         (Bug#9639).
14525 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14527         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14528         returns a list (bug#9554).  Add remote file name completion.
14529         * comint.el (comint--table-subvert): Curry and get quote&unquote
14530         functions as arguments.
14531         (comint--complete-file-name-data): Adjust call accordingly.
14532         * pcomplete.el (pcomplete--table-subvert): Remove.
14533         (pcomplete-completions-at-point): Use comint--table-subvert instead.
14535         * minibuffer.el (completion-table-case-fold): Use currying.
14536         (completion--styles-type, completion--cycling-threshold-type):
14537         New constants.
14538         (completion-styles, completion-category-overrides)
14539         (completion-cycle-threshold): Use them.
14540         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14541         completion-table-case-fold.
14543 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
14545         * minibuffer.el (completion-category-overrides): Fix type of styles
14546         and add more user friendly tags (bug#9660).
14548 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14550         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14551         (mule-input-method-string): New widget.
14552         (default-input-method, language-info-custom-alist): Use it.
14554 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14556         * pcomplete.el: Require comint.
14557         (pcomplete--common-suffix): Remove.
14558         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14559         (pcomplete--table-subvert): Sync with comint--table-subvert.
14560         (pcomplete--entries): Use comint-completion-file-name-table.
14561         * comint.el (comint-unquote-filename): Simplify.
14562         (comint-completion-file-name-table): New function (bug#9616).
14563         (comint--complete-file-name-data): Use it.
14565         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14566         (pcmpl-gnu-tar-buffer): Remove.
14567         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14568         around.  Make sure pcomplete-suffix-list is only changed temporarily.
14569         Don't look inside the tar's file if it's too large.
14571 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
14573         * cus-edit.el (custom-mode-map):
14574         * epa.el (epa-key-list-mode-map):
14575         * man.el (Man-mode-map):
14576         * startup.el (splash-screen-keymap):
14577         * simple.el (special-mode-map): Use scroll-up-command and
14578         scroll-down-command.
14580         * progmodes/idlw-help.el (idlwave-help-mode-map):
14581         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14582         * net/newst-plainview.el (newsticker-mode-map):
14583         * emulation/ws-mode.el (wordstar-mode-map):
14584         * emulation/vi.el (vi-com-map):
14585         * calc/calc-graph.el (calc-graph-show-dumb):
14586         * term/sun.el (terminal-init-sun):
14587         * term/ns-win.el (global-map):
14588         * progmodes/grep.el (grep-mode-map):
14589         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14590         * mail/rmail.el (rmail-mode-map):
14591         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14593         * custom.el (custom-safe-themes, load-theme): Treat value of t for
14594         custom-safe-themes as special.
14596 2011-10-01  Julien Danjou  <julien@danjou.info>
14598         * notifications.el (notifications-notify): Fix docstring.
14600 2011-10-01  Per Starbäck  <per@starback.se>
14602         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
14604 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
14606         * startup.el (command-line-1): Fix last fix by inserting
14607         initial-scratch-message into *scratch* before displaying it.
14608         (Bug#9605) and (Bug#9636)
14610 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
14612         * simple.el (line-move): If auto-hscroll-mode is disabled and the
14613         window is hscrolled, move by logical lines.  (Bug#9607)
14614         (line-move-visual): Update the doc string to the above effect.
14616 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
14618         * window.el (display-buffer-record-window): When WINDOW is the
14619         selected window use `point' instead of `window-point'.  (Bug#9626)
14621         * startup.el (command-line-1): Use insert-before-markers when
14622         inserting initial-scratch-message.  (Bug#9605)
14624         * help.el (help-window): Remove variable.
14626 2011-09-29  Glenn Morris  <rgm@gnu.org>
14628         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14630 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
14632         * descr-text.el (describe-char-categories): Accept category
14633         descriptions more than one line long.
14635 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14637         * simple.el (delete-trailing-whitespace): Fix last change.
14639         * progmodes/perl-mode.el (perl-syntax-propertize-function):
14640         Don't confuse "y => 3" as the beginning of a `y' operation.
14642         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14643         object has more than 4 slots (bug#9613).
14645 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
14647         * subr.el (with-output-to-temp-buffer):
14648         * net/quickurl.el (quickurl, quickurl-browse-url):
14649         Fix typos in docstrings.
14651 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
14653         * minibuffer.el (completion-styles)
14654         (completion-category-overrides): Cross reference each other in doc
14655         strings.
14657 2011-09-27  Glenn Morris  <rgm@gnu.org>
14659         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14660         to split-string.  (Bug#9606)
14662 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14664         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14665         (bug#9615).
14667 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
14669         * emacs-lisp/package.el (list-packages): Fix echo area message.
14671 2011-09-27  Leo Liu  <sdl.web@gmail.com>
14673         * ido.el (ido-read-internal): Accept cons cell HIST arg.
14675 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
14677         * net/dbus.el (dbus-unregister-object): Don't release services for
14678         registered signals.  (Bug#9581)
14680 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
14682         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14683         function that picks between cfengine 2 and 3 support
14684         automatically.  Update docs accordingly.
14686 2011-09-22  Kenichi Handa  <handa@m17n.org>
14688         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14689         ZERO.
14690         (indian-itrans-v5-table-for-tamil): New variable.
14691         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14693 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
14695         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14696         that's true if the current command involved collapsing of text.
14697         It's reset to false at the beginning of the next command.
14698         (allout-post-command-business): Move the cursor to the beginning
14699         of entry if the cursor is hidden and collapsing activity just
14700         happened.
14702 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
14704         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14705         tracking (Bug#9541).
14707 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
14709         * net/newst-reader.el (newsticker-html-renderer)
14710         (newsticker-show-news): Automatically load html rendering package
14711         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
14712         because w3m-fill-column is let-bound" and the error "Symbol's value
14713         as variable is void: w3m-fill-column".
14715 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
14717         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14718         Release services only if they are defined.  (Bug#9581)
14720 2011-09-23  Richard Stallman  <rms@gnu.org>
14722         * textmodes/paragraphs.el (forward-sentence): For backwards case,
14723         distinguish start of paragraph from start of its text.
14725         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14727         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14728         (rmail-generate-viewer-buffer): Put that hook on view buffer.
14729         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14731 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
14733         * international/mule-diag.el (mule-diag): Insert a newline after
14734         each fontset description.
14736 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14738         * simple.el (delete-trailing-whitespace):
14739         Document last change; simplify.
14741 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
14743         * simple.el (delete-trailing-whitespace): Also delete
14744         extra newlines at the end of the buffer.
14746         * textmodes/picture.el: Make motion commands obey shift-select-mode.
14747         (picture-newline): Use forward-line so as to ignore fields.
14749 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14751         * subr.el (with-wrapper-hook): Fix edebug spec.
14753 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14755         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14756         (bug#4538).
14758 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
14760         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14761         Fix nasty bug using wrong cached values.
14763 2011-09-23  Alan Mackenzie  <acm@muc.de>
14765         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14767 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
14769         * window.el (pop-to-buffer): Ensure right window is selected if we
14770         chose another frame.
14772 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
14774         * simple.el (what-cursor-position): Use get-char-property-change
14775         and next-single-char-property-change, to be able to show display
14776         properties that come from overlays as well as text properties.
14778 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
14780         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14782         * cmuscheme.el (run-scheme, switch-to-scheme):
14783         * cus-edit.el (customize-group, custom-buffer-create)
14784         (customize-browse):
14785         * info.el (info):
14786         * shell.el (shell):
14787         * mail/sendmail.el (mail):
14788         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14790 2011-09-22  Richard Stallman  <rms@gnu.org>
14792         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14793         move back only to line beg, don't move back over blank lines.
14795 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
14797         * files.el (copy-directory): Set directory attributes only in case
14798         they could be retrieved from the source directory.  (Bug#9565)
14800 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
14802         * progmodes/hideshow.el (hs-looking-at-block-start-p)
14803         (hs-find-block-beginning, hs-hide-level-recursive):
14804         Ignore strings as well as comments.  (Bug#9502)
14806 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
14808         * progmodes/sql.el (sql-comint-postgres):
14809         Convert port number to a string.  (Bug#9566)
14811 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
14813         * window.el (quit-window): Undedicate window when switching to
14814         previous buffer.  Reported by Thierry Volpiatto
14815         <thierry.volpiatto@gmail.com>.
14816         (special-display-popup-frame): When popping up a new frame reset
14817         its previous buffers to nil.  Simplify code.
14819 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
14821         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14822         and process filter, as done also in `shell-command'.
14824 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
14826         * window.el (set-window-buffer-start-and-point):
14827         Call set-window-start with NOFORCE argument t.
14828         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14829         (quit-window): Reword doc-string.  Handle new format of
14830         quit-restore parameter.  Don't delete window if it has a
14831         previous buffer we can show instead of the present one.
14832         (display-buffer-record-window): Rewrite using a new format for
14833         the quit-restore window parameter
14834         (special-display-popup-frame, display-buffer-same-window)
14835         (display-buffer-reuse-window, display-buffer-pop-up-frame)
14836         (display-buffer-pop-up-window, display-buffer-use-some-window):
14837         Adapt symbol passed to display-buffer-record-window.
14838         * help.el (help-window-setup): Handle new format of quit-restore
14839         parameter.
14841 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14843         * faces.el (face-list): Fix docstring (bug#9564).
14845         * window.el (display-buffer--action-function-custom-type):
14846         Don't include internal functions in the Custom interface.
14848 2011-09-20  Juri Linkov  <juri@jurta.org>
14850         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14851         (Info-forward-node, Info-backward-node, Info-next-preorder)
14852         (Info-last-preorder): Use it.  (Bug#9528)
14854 2011-09-20  Juri Linkov  <juri@jurta.org>
14856         * info.el (Info-last-preorder): Visit last menu item only when
14857         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14859 2011-09-20  Julien Danjou  <julien@danjou.info>
14861         * password-cache.el (password-cache-remove): Remove entries even if the
14862         value is nil, so that password with a nil value (negative caching) is
14863         possible to invalidate.
14865 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
14867         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14868         all whitespace around breakpoint.  (Bug#9553)
14869         (f90-find-breakpoint): Only break at whitespace inside a comment.
14871 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14873         * minibuffer.el (completion-file-name-table): Keep track of errors.
14874         (completion-table-with-predicate): Handle the case where pred1 is nil.
14875         * pcomplete.el (pcomplete-completions-at-point): Simplify.
14877 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14879         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14880         (debugger-return-value): Signal an error if the debugging context does
14881         not await any return value.
14883         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14884         * image-mode.el (image-toggle-display-text)
14885         (image-toggle-display-image): Stay away from evil `intangible'.
14887 2011-09-19  Leo Liu  <sdl.web@gmail.com>
14889         * replace.el (occur-revert-arguments): Make it permanent-local.
14890         (occur-mode): Don't call font-lock-defontify.
14892 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
14894         * net/ldap.el (ldap-search-internal): Don't push empty search
14895         result (Bug#9508).
14897 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14899         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14901 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
14903         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14904         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14906 2011-09-18  Juri Linkov  <juri@jurta.org>
14908         * buff-menu.el (Buffer-menu-mode-map):
14909         * dired.el (dired-mode-map):
14910         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14911         (lisp-interaction-mode-map):
14912         * emacs-lisp/package.el (package-menu-mode-map):
14913         * epa.el (epa-key-list-mode-map):
14914         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14915         (menu-bar-options-menu):
14916         * outline.el (outline-mode-menu-bar-map):
14917         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14918         * vc/vc-dir.el (vc-dir-menu-map):
14919         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14920         Capitalize non-function content words in menu item strings.
14922         * dired.el (dired-mode-map): Add menu item for
14923         `image-dired-dired-toggle-marked-thumbs'.
14925 2011-09-18  Juri Linkov  <juri@jurta.org>
14927         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14928         to `isearch-case-fold-search' and restore its original value
14929         after the `isearch-mode' call.
14931 2011-09-18  Juri Linkov  <juri@jurta.org>
14933         * progmodes/grep.el (grep-process-setup): Don't check code for 1
14934         because `zgrep' returns 1 for successful matches (bug#9226).
14936 2011-09-18  Juri Linkov  <juri@jurta.org>
14938         * info.el (Info-extract-menu-node-name): Check the second match
14939         for empty string (second test-case of bug#9528).
14940         (Info-last-preorder): Let-bind `Info-history' to nil to not add
14941         intermediate nodes to the history (first test-case of bug#9528).
14943 2011-09-18  Juri Linkov  <juri@jurta.org>
14945         * info.el (Info-mode-syntax-table): New variable.
14946         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14948 2011-09-18  Juri Linkov  <juri@jurta.org>
14950         * info.el (Info-file-supports-index-cookies):
14951         Increment line-beginning-position's arg from 3 to 4 because makeinfo
14952         outputs one more line for long file names (bug#4142).
14954 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
14956         * newcomment.el (comment-normalize-vars): If prompting for
14957         comment-start, set comment-start-skip too (Bug#8424).
14959 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
14961         * icomplete.el: Fix previous fix of Bug#5849.
14962         (icomplete-mode): Don't set completion-show-inline-help.
14963         (icomplete-minibuffer-setup): Set completion-show-inline-help
14964         locally during icompletion.
14966 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
14968         * woman.el (woman2-process-escapes): Don't delete unrecognized
14969         escapes (Bug#7843).
14971         * files.el (inhibit-first-line-modes-regexps): Add image files.
14972         (hack-local-variables-prop-line): Return nil for malformed
14973         prop-lines (Bug#9044).
14975 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
14977         * net/tramp.el (top): Don't require 'shell.
14978         (tramp-methods): Fix docstring.
14979         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14980         Return complete remote file name.  Handle "smb" case.
14981         Use `tramp-tmpdir', if defined for the respective method.
14982         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14984         * net/tramp-compat.el (top): Require 'shell.
14986         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14987         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14988         `tramp-current-host'.
14989         (tramp-get-remote-tmpdir): Remove.
14991         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14992         `tramp-tmpdir' entries.
14993         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14994         (tramp-smb-handle-file-attributes): Ignore errors.
14995         (tramp-smb-wait-for-output): Check also for process end.
14997 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14999         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
15000         when sending QUIT (bug#9312).
15002 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
15004         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
15005         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
15006         occur-mode-display-occurrence.
15007         (occur-edit-mode): Add usage message.
15008         (occur-cease-edit): New command.
15009         (occur-after-change-function): Use text properties to find the
15010         position of the prefix text.
15011         (occur-engine): Set stickiness of prefix text properties.
15013 2011-09-17  Glenn Morris  <rgm@gnu.org>
15015         * progmodes/etags.el (complete-tag):
15016         Fix call to completion-in-region.  (Bug#9526)
15018 2011-09-17  Juri Linkov  <juri@jurta.org>
15020         * textmodes/ispell.el (ispell-word): Add to the error message
15021         the word, ispell program name and current dictionary (bug#9121).
15022         (ispell-tex-arg-end): Capitalize "error" in the error message.
15024 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
15026         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
15027         check.  (Bug#4251)
15029 2011-09-17  Juri Linkov  <juri@jurta.org>
15031         * window.el (window-safe-min-height, window-safe-min-width):
15032         Fix typos (followup to bug#9522).
15034 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
15036         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
15038 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
15040         * simple.el (line-move): If goal-column is set, move by logical
15041         lines, not by display lines.  (Bug#971)
15042         (next-line, previous-line, goal-column, line-move-visual): Doc fix
15043         to reflect the above change.
15045 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15047         * image.el (imagemagick-register-types): Use regexp-opt.
15049 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
15051         * window.el (display-buffer-base-action): Rename from
15052         display-buffer-default-action.  Make default value empty.
15053         (display-buffer-overriding-action): Convert to defvar.
15054         (display-buffer-fallback-action): New var.
15056 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
15058         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15059         declaration.
15060         (package--add-to-archive-contents): If there is a duplicate entry
15061         with an older version, remove it.
15062         (package-menu-mark-delete, package-menu-mark-install)
15063         (package-menu-mark-unmark): Make unused args optional.
15064         (package-menu-mark-obsolete-for-deletion):
15065         Use package-menu-get-status instead of a regexp search.
15066         (package-menu-get-status): Use tabulated-list-entry.
15067         (package-menu-mark-upgrades): New command.
15068         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
15069         (package-menu-execute): Do installation before deletion.
15070         (package-menu-refresh, package-menu-execute): Use derived-mode-p
15071         instead of checking major-mode.
15072         (package-menu--find-upgrades): New function.
15074 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15076         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15077         passwords in the log buffer.
15078         (smtpmail-process-filter): Update the process marker so that the
15079         "broken by peer" status message is inserted in the right place.
15081 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15083         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15084         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15085         bibtex-completion-at-point-function.
15086         (bibtex-completion-at-point-function): Use them.
15088         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15090         * mpc.el (mpc-constraints-tag-lookup): New function.
15091         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15092         also to browser "album|playlist".
15094 2011-09-14  Juri Linkov  <juri@jurta.org>
15096         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
15097         (isearch-edit-string): Use length of `isearch-string' when
15098         `isearch-fail-pos' returns nil.
15099         (isearch-message): Remove duplicate code and call
15100         `isearch-fail-pos' with arg `t'.
15102 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
15104         * replace.el (occur-mode-goto-occurrence): Don't force using other
15105         window (Bug#9499).
15107         * dired-aux.el (dired-do-chmod): Don't provide initial input.
15109 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
15111         * window.el (display-buffer-window): Remove.
15112         (display-buffer-record-window): Use help-setup window parameter
15113         instead of variable display-buffer-window.
15114         (display-buffer-function, special-display-buffer-names)
15115         (special-display-function): Mention help-setup parameter instead
15116         of display-buffer-window in doc-string.
15117         * help.el (help-window-setup): New argument help-window.
15118         Use help-window-setup parameter instead of display-buffer-window.
15119         Reword some messages.
15120         (with-help-window): Pass window used for displaying the buffer
15121         to help-window-setup.  Don't set display-buffer-window.
15123 2011-09-13  Glenn Morris  <rgm@gnu.org>
15125         * emacs-lisp/debug.el (debugger-make-xrefs):
15126         Preserve point.  (Bug#9462)
15128 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
15130         * window.el (window-deletable-p): Use next-frame.
15132 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
15134         * window.el (window-auto-delete): Remove.
15135         (window-deletable-p): Remove argument FORCE.  Don't deal with
15136         dedication and previous buffers.
15137         (switch-to-prev-buffer): Don't delete window.
15138         (delete-windows-on): Delete a window's frame if and only if the
15139         window is dedicated.
15140         (replace-buffer-in-windows): Delete buffer's window or frame if
15141         and only if window is dedicated.
15142         (quit-window): Handle quit-restore as before last change.
15143         (bury-buffer): Delete window only if window-deletable-p returns t.
15145 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
15147         * window.el (window-deletable-p): Never delete the last frame on a
15148         given terminal.
15150 2011-09-13  Glenn Morris  <rgm@gnu.org>
15152         * help.el (describe-key-briefly): Copy previous standard-output change.
15154 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
15156         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
15158 2011-09-13  Glenn Morris  <rgm@gnu.org>
15160         * emacs-lisp/lisp-mode.el (lisp-indent-function):
15161         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15163 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
15165         * dired-aux.el (dired-mark-read-string): Don't return default
15166         value on empty input (Bug#9361).
15167         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15168         Omit initial minibuffer contents.
15169         (dired-do-chmod): Signal an error on empty input.
15170         (dired-mark-read-string): Don't return default on empty input.
15172         * files.el (file-modes-symbolic-to-number): Doc fix.
15174 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15176         * international/mule-cmds.el (ucs-completions): Remove.
15177         (read-char-by-name): Use complete-with-action instead; add metadata.
15179 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
15181         * window.el (display-buffer--action-function-custom-type)
15182         (display-buffer--action-custom-type): New vars.
15183         (display-buffer-alist, display-buffer-default-action)
15184         (display-buffer-overriding-action): Add defcustom types.
15186         * frame.el (delete-other-frames): Doc fix (Bug#276).
15188 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15190         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15192 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
15194         Change modes that used same-window-* vars to use switch-to-buffer.
15196         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15197         Use switch-to-buffer.
15199         * cus-edit.el (customize-group, custom-buffer-create)
15200         (customize-browse, custom-buffer-create-other-window):
15201         Use switch-to-buffer or switch-to-buffer-other-window.
15203         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15204         (Info-prev, Info-up, Info-speedbar-goto-node)
15205         (info-display-manual): Use switch-to-buffer.
15206         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15208         * mail/sendmail.el (mail): Use switch-to-buffer.
15209         (mail-recover): Use switch-to-buffer-other-window.
15211         * cmuscheme.el (run-scheme, switch-to-scheme):
15212         * ielm.el (ielm):
15213         * shell.el (shell):
15214         * net/rlogin.el (rlogin):
15215         * net/telnet.el (telnet, rsh):
15216         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15218 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
15220         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15222 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15224         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15225         so don't mention it (bug#9301).
15226         (dired-sort-toggle-or-edit): Clarify string further.
15228         * faces.el (face-spec-set-match-display): Make `(type graphic)'
15229         match `x', `w32' and `ns', like the manual says (bug#9029).
15231         * subr.el (eval-after-load): Doc string clarification (bug#9125).
15232         (process-kill-buffer-query-function): Mention the buffer name in
15233         the query.
15235         * image-mode.el (image-next-line): The line parameter is mandatory
15236         (bug#9258).
15238         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15239         which can be useful (bug#9301).
15241         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15243         * subr.el (match-string): Mention that the current buffer should
15244         be the same as the search was done in (bug#9282).
15246         * facemenu.el: Disable the remove-* commands if the mark isn't
15247         active (bug#9162).
15249 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
15251         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15252         of display-buffer.
15253         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15255         * replace.el (occur-mode-goto-occurrence)
15256         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15257         and display-buffer.
15259         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15260         display-buffer.
15262         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15263         special-display and same-window variables.
15264         (mail-other-window): Use switch-to-buffer-other-window.
15265         (mail-other-frame): USe switch-to-buffer-other-frame.
15267         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15268         Use display-buffer-other-frame.
15269         (gdb-display-gdb-buffer): Use pop-to-buffer.
15271         * progmodes/gud.el (gud-goto-info): Use info-other-window.
15273         * progmodes/python.el: Don't set same-window-buffer-names.
15275         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15277         * window.el (display-buffer-alist): Add *Python*.
15279 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
15281         * window.el (display-buffer-alist): Add entry for buffers
15282         previously handled same-window-*.
15283         (display-buffer-alist, display-buffer-default-action)
15284         (display-buffer-overriding-action): Mark as risky.
15285         (display-buffer-alist): Document action function changes.
15286         (display-buffer--same-window-action)
15287         (display-buffer--other-frame-action): New variables.
15288         (switch-to-buffer, display-buffer-other-frame): Use them.
15289         (display-buffer): Rename reuse-frame entry to reusable-frames.
15290         (display-buffer-reuse-selected-window): Function deleted.
15291         (display-buffer-reuse-window): Handle reusable-frames alist entry.
15292         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15293         (display-buffer-special): New function.
15294         (display-buffer--maybe-pop-up-frame-or-window): Rename from
15295         display-buffer-reuse-or-pop-window.  Split off special-display
15296         part into display-buffer-special.
15297         (display-buffer-use-some-window): Don't perform any special
15298         pop-up-frames handling.
15299         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15300         (display-buffer--maybe-same-window): Rename from
15301         display-buffer-maybe-same-window.
15303         * info.el: Don't set same-window-regexps.
15304         (info-setup): New function.
15305         (info-other-window, info): Call it.
15307         * cus-edit.el: Don't set same-window-regexps.
15308         (customize-group): New argument.
15309         (customize-group-other-window): Use it.
15310         (customize-face, customize-face-other-window): Likewise.
15311         (custom-buffer-create-other-window): Use pop-to-buffer directly.
15313         * net/rlogin.el:
15314         * net/telnet.el:
15315         * progmodes/gud.el: Don't set same-window-regexps.
15317         * cmuscheme.el:
15318         * ielm.el:
15319         * shell.el:
15320         * mail/sendmail.el:
15321         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15323 2011-09-10  Juri Linkov  <juri@jurta.org>
15325         * isearch.el (isearch-edit-string): Remove obsolete mention of
15326         `C-w' (`isearch-yank-word-or-char') from docstring.
15327         (isearch-query-replace): Fix typo in docstring (bug#9466).
15329 2011-09-10  Juri Linkov  <juri@jurta.org>
15331         * paren.el (show-paren-function): Don't show escaped parens.
15332         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
15334 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
15336         * mail/sendmail.el (mml-to-mime, mml-attach-file)
15337         (mm-default-file-encoding): Remove autoload forms, they are
15338         replaced with autoload cookies in mml.el and mm-encode.el.
15339         (mail-add-attachment): New command.
15340         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15341         (mail-mode): Mention mail-insert-file and mail-add-attachment in
15342         the doc string.
15343         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15345 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
15347         * simple.el (count-words-region): Use buffer if there's no region
15348         (bug#9429).
15350 2011-09-09  Juri Linkov  <juri@jurta.org>
15352         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15353         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15354         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
15356 2011-09-09  Alan Mackenzie  <acm@muc.de>
15358         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15359         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
15361 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
15363         Fix for Savannah bug#9392.
15364         * simple.el (mail-encode-mml): New defvar.
15366         * mail/rmail.el (mail-encode-mml): Add a defvar.
15367         (rmail-enable-mime-composing): Default to t.
15368         (rmail-forward): Use MIME method of forwarding only if both
15369         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15370         Set mail-encode-mml non-nil if the MIME method was used.
15372         * mail/sendmail.el (mml-to-mime): Add autoload form.
15373         (mail-encode-mml): Add a defvar.
15374         (mail-mode): Make mail-encode-mml buffer-local and initialize it
15375         to nil.
15376         (mail-send): If mail-encode-mml is non-nil, run the outgoing
15377         message through mml-to-mime, and reset mail-encode-mml to nil.
15379 2011-09-09  Glenn Morris  <rgm@gnu.org>
15381         * woman.el (woman-if-body): When processing an .el block,
15382         do not delete the next .el block as well.  (Bug#9447)
15383         (woman-special-characters): Add oq, cq, and hy characters.
15385 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
15387         * window.el (window-deletable-p): Make sure window is live before
15388         invoking window-prev-buffers.
15390 2011-09-08  Leo Liu  <sdl.web@gmail.com>
15392         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
15394 2011-09-08  Juri Linkov  <juri@jurta.org>
15396         * progmodes/compile.el (compilation-environment): Make it
15397         a defcustom (bug#8340).
15399 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
15401         * window.el (frame-auto-delete): Rename to window-auto-delete.
15402         Make it control auto-deletion of windows and/or frames.
15403         (window-deletable-p): New argument FORCE.  Rewrite conditions
15404         for deleting window/frame.  (Bug#9419)
15405         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15406         Rewrite handling of case when window/frame can be deleted.
15407         (delete-windows-on): Call window-deletable-p with new FORCE
15408         argument t.  (Bug#9456)
15410 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
15412         * help-mode.el (help-mode): Restore autoload.
15414 2011-09-07  Juri Linkov  <juri@jurta.org>
15416         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15417         `compilation-environment'.  Set buffer-local
15418         `compilation-environment' to `thisenv' later after (funcall mode).
15419         (Bug#8340)
15421         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
15422         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15423         instead of replacing its value.  (Bug#8340)
15425 2011-09-07  Juri Linkov  <juri@jurta.org>
15427         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15428         based on text properties put by `grep-filter' instead of matching
15429         escape sequences.
15430         (grep-mode): Set buffer-local `compilation-error-screen-columns'
15431         to the value of `grep-error-screen-columns' (bug#9438).
15433 2011-09-07  Juri Linkov  <juri@jurta.org>
15435         * simple.el (next-error-highlight, next-error-highlight-no-select):
15436         Doc fix (bug#9432).
15438 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
15440         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15441         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
15443 2011-09-07  Leo Liu  <sdl.web@gmail.com>
15445         * net/rcirc.el (rcirc-mode): Conditionally initialize
15446         rcirc-input-ring.
15448 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15450         * emacs-lisp/find-func.el (find-function-C-source): Only set
15451         find-function-C-source-directory after checking that we found a source
15452         file there (bug#9440).
15454 2011-09-06  Alan Mackenzie  <acm@muc.de>
15456         * isearch.el (isearch-other-meta-char): Wherever a key list is
15457         unread, "unread" the prefix arg, too.  This fixes bug #8901.
15459 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
15461         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15463 2011-09-05  Juri Linkov  <juri@jurta.org>
15465         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15467 2011-09-05  Juri Linkov  <juri@jurta.org>
15469         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15470         keeping point where processing of grep matches begins, and
15471         continue to delete remaining escape sequences from the same point.
15472         (grep-filter): Make leading zero optional in "0?1;31m" because
15473         git-grep emits "\033[1;31m" escape sequences unlike expected
15474         "\033[01;31m" as GNU Grep does (bug#9408).
15475         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15477 2011-09-05  Juri Linkov  <juri@jurta.org>
15479         * subr.el (y-or-n-p): Capitalize "yes".
15481 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
15483         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
15484         `tramp-cache-unload-hook' where appropriate.
15485         (tramp-methods): Rename `tramp-remote-sh' to
15486         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
15487         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15489         * net/tramp-sh.el (top): Don't require 'shell.
15490         (tramp-methods): Add `tramp-remote-shell' and
15491         `tramp-remote-shell-args' entries.
15492         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15493         (tramp-sh-handle-shell-command): Remove.
15494         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15495         Use `tramp-remote-shell'.
15497 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
15499         * mail/sendmail.el (sendmail-query-once-function): Delete.
15500         (sendmail-query-once): Save directly to send-mail-function.
15501         Update message-send-mail-function too.
15503         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15505 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
15507         * progmodes/python.el (python-mode-map): Use correct function to
15508         start python interpreter from menu-bar (as reported by Geert
15509         Kloosterman).
15510         (inferior-python-mode-map): Fix typo.
15511         (python-shell-map): Remove.
15513 2011-09-03  Deniz Dogan  <deniz@dogan.se>
15515         * net/rcirc.el (rcirc-print): Simplify code for
15516         rcirc-scroll-show-maximum-output.  There is no need to walk
15517         through all windows to find the right one.
15519 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
15521         * help.el (help-return-method): Doc fix.
15523 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
15525         * window.el (window-deletable-p): Don't return a non-nil value
15526         when there's a buffer that was shown in the window before.
15527         (Bug#9419)
15528         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15529         Set window's previous buffers to nil.
15531 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
15533         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15534         newline before and after the tag line, so it doesn't interfere
15535         with determining the paragraph direction of bidirectional text.
15537 2011-09-03  Leo Liu  <sdl.web@gmail.com>
15539         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
15541 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
15543         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15544         (pop-to-buffer): Change interactive spec.  Pass second argument
15545         directly to display-buffer.
15546         (display-buffer): Fix interactive spec.  Use functionp to
15547         distinguish between a function and a list of functions.
15549         * abbrev.el (edit-abbrevs):
15550         * arc-mode.el (archive-extract):
15551         * autoinsert.el (auto-insert):
15552         * bookmark.el (bookmark-bmenu-list):
15553         * files.el (find-file):
15554         * view.el (view-buffer):
15555         * progmodes/compile.el (compilation-goto-locus):
15556         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15558 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
15560         * window.el (display-buffer-alist): Doc fix.
15561         (display-buffer): Add docstring.  Don't treat
15562         display-buffer-default specially.
15563         (display-buffer-reuse-selected-window)
15564         (display-buffer-same-window, display-buffer-maybe-same-window)
15565         (display-buffer-reuse-window, display-buffer-pop-up-frame)
15566         (display-buffer-pop-up-window)
15567         (display-buffer-reuse-or-pop-window)
15568         (display-buffer-use-some-window): New functions.
15569         (display-buffer-default-action): Use them.
15570         (display-buffer-default): Delete.
15571         (pop-to-buffer-1): Fix choice of actions.
15573 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15575         * minibuffer.el (completion--insert-strings): Don't get confused by
15576         completion entries that end with an LF char.
15578 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
15580         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15582 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
15584         * window.el (display-buffer): Restore interactive spec.
15585         (display-buffer-same-window, display-buffer-other-window):
15586         New functions.
15587         (pop-to-buffer-1): New function.  Use the above.
15588         (pop-to-buffer, pop-to-buffer-same-window): Use it.
15589         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15591         * view.el (view-buffer-other-window, view-buffer-other-frame):
15592         Just use pop-to-buffer.
15594 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15596         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
15598 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
15600         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
15602 2011-08-31  Richard Stallman  <rms@gnu.org>
15604         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15605         of the separation of rmail-view-buffer from rmail-buffer.
15606         If you say no to "replace original", the decrypt is in the
15607         view buffer.  If you say yes, the decrypt goes into the
15608         rmail buffer also.
15610 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
15612         * window.el (display-buffer-window): Rewrite doc-string.
15613         (display-buffer-record-window): New function.
15614         (display-buffer-macro-specifiers)
15615         (display-buffer-even-window-sizes, display-buffer-set-height)
15616         (display-buffer-set-width, display-buffer-in-window)
15617         (display-buffer-reuse-window, display-buffer-split-specifiers)
15618         (display-buffer-side-specifiers, display-buffer-split-window-1)
15619         (display-buffer-split-window, display-buffer-split-atom-window)
15620         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15621         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15622         (display-buffer-other-window-means-other-frame)
15623         (display-buffer-normalize-special)
15624         (display-buffer-normalize-default)
15625         (display-buffer-normalize-argument)
15626         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15627         (display-buffer-normalize-specifiers, display-buffer-frame)
15628         (display-buffer-same-window, display-buffer-same-frame)
15629         (display-buffer-other-window)
15630         (display-buffer-same-frame-other-window)
15631         (display-buffer-other-frame, pop-to-buffer-same-window)
15632         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15633         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15634         (switch-to-buffer-same-frame)
15635         (switch-to-buffer-other-window-same-frame)
15636         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15637         (display-buffer-alist-set-1, display-buffer-alist-set-2)
15638         (display-buffer-alist-set): Remove.
15639         (display-buffer-function, special-display-buffer-names)
15640         (special-display-regexps, special-display-function):
15641         In doc-string refer to display-buffer-window and quit-restore
15642         parameter.
15643         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15644         (special-display-frame-alist, special-display-popup-frame)
15645         (same-window-buffer-names, same-window-regexps, same-window-p)
15646         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15647         (split-window-preferred-function, split-height-threshold)
15648         (split-width-threshold, window-splittable-p)
15649         (split-window-sensibly, window--try-to-split-window)
15650         (window--frame-usable-p, even-window-heights)
15651         (window--even-window-heights, window--display-buffer-1)
15652         (window--display-buffer-2, display-buffer-other-frame):
15653         Restore old Emacs 23 code, order and doc-strings where applicable.
15654         (display-buffer-default, display-buffer-assq-regexp): New functions.
15655         (display-buffer-alist): Rewrite doc-string.
15656         (display-buffer-default-action)
15657         (display-buffer-overriding-action): New variables.
15658         (display-buffer, switch-to-buffer): Rewrite.
15659         (pop-to-buffer): Restore Emacs 23 behavior but use
15660         window-normalize-buffer-to-display.
15661         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15662         Restore Emacs 23 behavior but use
15663         window-normalize-buffer-to-switch-to.
15664         (pop-to-buffer-same-window): Rewrite.
15665         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15666         Rewrite using Emacs 23 options.
15668 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
15670         * net/tramp.el (tramp-root-regexp): Remove.
15671         (tramp-completion-file-name-regexp-unified)
15672         (tramp-completion-file-name-regexp-separate)
15673         (tramp-completion-file-name-regexp-url): Don't use leading volume
15674         letter on w32 systems.  (Bug#5303, Bug#9311)
15675         (tramp-drop-volume-letter): Simplify definition.
15676         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15678 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15680         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15681         (bug#9356).
15683 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
15685         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15687 2011-08-29  Juri Linkov  <juri@jurta.org>
15689         * isearch.el (isearch-done): Don't display message "Mark saved"
15690         when arg `edit' is non-nil to prevent its flicker in the echo area.
15692 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
15694         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15695         obsolete packages for deletion.
15697 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
15699         * help-mode.el (help-mode-map): Add special-mode-map to parent.
15700         (help-mode): Derive help-mode from special-mode.  Don't invoke
15701         view-mode from help-mode.
15702         (help-xref-override-view-map): Remove.
15703         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15704         view-mode is not used anymore.
15706 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
15708         * server.el (server-port): Doc fix.
15710         * cus-theme.el (custom-theme-choose-mode): Inherit from
15711         special-mode (Bug#9124).
15712         (custom-theme-choose-mode-map): Add special-mode to parent.
15714 2011-08-28  Alan Mackenzie  <acm@muc.de>
15716         * progmodes/cc-fonts.el
15717         (c-make-font-lock-BO-decl-search-function): New function.
15718         (c-basic-matchers-after - "Fontify the clauses after various
15719         keywords"): Extract the three keyword lists for the 3 erroneous
15720         constructs from the list of four, and use the new function above
15721         in place of an old one.
15723 2011-08-28  Deniz Dogan  <deniz@dogan.se>
15725         * net/rcirc.el (rcirc-insert-prev-input)
15726         (rcirc-insert-next-input): Remove unused argument.
15728 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15730         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15732 2011-08-27  Alan Mackenzie  <acm@muc.de>
15734         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15735         handle function pointer parameters properly.
15737 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
15739         * window.el (display-buffer-reuse-window): Fix case where
15740         selected window was reused with non-nil OTHER-WINDOW argument.
15741         (Bug#9381)
15743 2011-08-27  Deniz Dogan  <deniz@dogan.se>
15745         * net/rcirc.el (rcirc-check-auth-status): Adding support for
15746         oftc's NickServ messages.
15748 2011-08-27  Glenn Morris  <rgm@gnu.org>
15750         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
15752 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
15754         * emacs-lisp/package.el (package-install): Call package-initialize
15755         if called interactively.
15757 2011-08-26  Leo Liu  <sdl.web@gmail.com>
15759         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
15761 2011-08-25  Juri Linkov  <juri@jurta.org>
15763         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15764         `search-whitespace-regexp' (bug#9364).
15766 2011-08-25  Juri Linkov  <juri@jurta.org>
15768         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15769         `regexp-search-ring' to their global values to protect from
15770         updating by `read-from-minibuffer' (bug#9185).
15772 2011-08-25  Juri Linkov  <juri@jurta.org>
15774         * textmodes/ispell.el (ispell-command-loop): Add newline
15775         at the end of the "Use option `i'..." line.
15777 2011-08-25  Juri Linkov  <juri@jurta.org>
15779         * battery.el (display-battery-mode): If `battery-status-function'
15780         or `battery-mode-line-format' is nil, display the message and set
15781         `display-battery-mode' to nil (bug#9363).
15783 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
15785         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15786         bidi-string-mark-left-to-right; they are unnecessary now.
15788 2011-08-25  Deniz Dogan  <deniz@dogan.se>
15790         * net/quickurl.el: Documentation typo fixes.
15792 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
15794         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15796 2011-08-25  Glenn Morris  <rgm@gnu.org>
15798         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15800         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15801         (smtpmail-via-smtp): Handle nil response from smtp.
15803 2011-08-24  Juri Linkov  <juri@jurta.org>
15805         * proced.el (proced-marked): Inherit from `error' instead of
15806         `font-lock-warning-face'.
15808         * ibuffer.el (ibuffer-marked-face): Change default face from
15809         `font-lock-warning-face' to `warning'.
15810         (ibuffer-deletion-face): Change default face from
15811         `font-lock-type-face' to `error'.
15813         * battery.el (battery-update): Use the face `error' instead of
15814         `font-lock-warning-face' (bug#6117).
15816 2011-08-24  Juri Linkov  <juri@jurta.org>
15818         * faces.el (success): Change face color from "Green3" to
15819         "ForestGreen" on light background (bug#9353).
15821 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
15823         * window.el (quit-window): Rename from quit-restore-window.
15824         Use same arglist as old quit-window.
15825         (frame-auto-delete): Doc fix.
15827         * view.el (view-mode-exit): Use quit-window.
15829 2011-08-24  Juri Linkov  <juri@jurta.org>
15831         * isearch.el (isearch-ring-adjust1): Start visiting previous
15832         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15833         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15834         for empty search string (when the last search string is reused
15835         automatically) to adjust the isearch ring to the last element and
15836         prepare the correct index for further M-p commands (bug#9185).
15838 2011-08-24  Kenichi Handa  <handa@m17n.org>
15840         * international/ucs-normalize.el: If decomposition property of
15841         CHAR is the default one (i.e. a list of CHAR itself), treat it as
15842         nil.
15843         (nfd, nfkd): Likewise.
15845 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15847         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15848         from process filters aren't reliably transmitted to the surrounding
15849         accept-process-output.
15850         (mpc-proc-check): New function.
15851         (mpc-proc-sync): Use it (bug#8293)
15853 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15855         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15856         Add compatibility functions (bug#9313).
15858 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
15860         * cus-start.el (all): Add entry for bidi-paragraph-direction.
15862         * international/uni-bidi.el: Regenerate.
15864 2011-08-23  Kenichi Handa  <handa@m17n.org>
15866         * international/charprop.el:
15867         * international/uni-bidi.el:
15868         * international/uni-category.el:
15869         * international/uni-combining.el:
15870         * international/uni-comment.el:
15871         * international/uni-decimal.el:
15872         * international/uni-decomposition.el:
15873         * international/uni-digit.el:
15874         * international/uni-lowercase.el:
15875         * international/uni-mirrored.el:
15876         * international/uni-name.el:
15877         * international/uni-numeric.el:
15878         * international/uni-old-name.el:
15879         * international/uni-titlecase.el:
15880         * international/uni-uppercase.el: Regenerate.
15882 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
15884         * help.el (help-window-setup): Fix message displayed when other
15885         window is reused.  (Bug#9341)
15887 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15889         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15890         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15892         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15893         Mark obsolete.
15894         * shell.el (shell-parse-pcomplete-arguments): New function.
15895         (shell-completion-vars): Use it instead (bug#9160).
15897 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15899         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15900         strings and comments (bug#9333).
15902         * emacs-lisp/debug.el (debug-arglist): New function.
15903         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
15904         (debug-on-entry-1): Handle interpreted closures (bug#9120).
15906 2011-08-22  Juri Linkov  <juri@jurta.org>
15908         * progmodes/compile.el (compilation-mode-font-lock-keywords):
15909         Revert regexp that highlights output switches to its old
15910         pre-2010-10-28 value and remove one `?' from it (bug#9319).
15912         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15913         to check for empty output (bug#9226).
15915 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
15917         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15918         symbol-constituent as the default, as that stops font-lock from
15919         working properly (Bug#8843).
15921 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15923         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15924         `coding-system-for-*' around the process open call to avoid
15925         auth-source side effects.
15926         (smtpmail-try-auth-methods): Expand the secret password.
15927         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15928         probe hangs.
15930 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
15932         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15934         * emacs-lisp/find-func.el (find-function-noselect): New arg
15935         lisp-only.
15937         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15938         signal an error for built-in functions (Bug#6664).
15940 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15942         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15943         (smtpmail-try-auth-methods): Use it.
15945 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
15947         * font-lock.el (font-lock-fontify-region)
15948         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15949         (font-lock-default-unfontify-buffer)
15950         (font-lock-default-fontify-region)
15951         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15953         * progmodes/compile.el (compilation-error-properties):
15954         Fix confusion between file struct and message struct (Bug#9319).
15955         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15956         `ant' regexp.
15958         * net/browse-url.el (browse-url-firefox): Don't call
15959         browse-url-firefox-sentinel unless using -remote (Bug#9328).
15961 2011-08-20  Glenn Morris  <rgm@gnu.org>
15963         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15965         * tutorial.el (tutorial--default-keys): Update some default bindings.
15967         * files.el (hack-local-variables): Fully ignore case for "mode:".
15969 2011-08-20  Alan Mackenzie  <acm@muc.de>
15971         Resolve invalid use of a regexp in regexp-opt.
15973         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15974         detection for a java annotation.
15976         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15977         detection for a java annotation.
15979         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15980         handling for java.
15981         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15983 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
15985         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15986         (Bug#9274).
15988 2011-08-20  Alan Mackenzie  <acm@muc.de>
15990         Fontify CPP expressions correctly when starting in the middle of
15991         such a construct.  Mainly for when jit-lock etc. starts a chunk
15992         here.
15994         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15995         variable.
15996         (c-make-font-lock-search-form): New function, extracted from
15997         c-make-font-lock-search-function.
15998         (c-make-font-lock-search-function): Use the above function.
15999         (c-make-font-lock-context-search-function): New function.
16000         (c-cpp-matchers): Enhance the preprocessor expression case with
16001         the above function
16002         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
16003         which takes an expression.
16005         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
16007 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
16009         * window.el (display-buffer-reuse-window)
16010         (display-buffer-pop-up-window): Don't reuse or split a side
16011         window.
16013 2011-08-19  Glenn Morris  <rgm@gnu.org>
16015         * files.el (hack-local-variables-prop-line, hack-local-variables):
16016         Downcase "Mode:".  (Bug#9331)
16018 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
16020         * international/characters.el: Add L and R categories.
16022         * subr.el (bidi-string-mark-left-to-right): Rename from
16023         string-mark-left-to-right.  Use category search.
16025         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
16027 2011-08-18  Juri Linkov  <juri@jurta.org>
16029         * faces.el (error, warning, success): New faces with definitions
16030         copied from old default values of `font-lock-warning-face',
16031         `compilation-warning', `compilation-info' (bug#6117).
16033         * font-lock.el (font-lock-warning-face): Inherit from `error'.
16035         * progmodes/compile.el (compilation-error): Inherit from `error'.
16036         (compilation-warning): Inherit from `warning'.
16037         (compilation-info): Inherit from `success'.
16039         * dired.el (dired-marked): Inherit from `warning'.
16040         (dired-flagged): Inherit from `error'.
16042 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16044         * mail/smtpmail.el (auth-source): Require to avoid problems with
16045         binding variables (bug#9298).  Also clean up some unused
16046         autoloads.
16048         * net/network-stream.el (network-stream-open-starttls):
16049         Support using starttls.el without using gnutls-cli.
16051 2011-08-17  Juri Linkov  <juri@jurta.org>
16053         * progmodes/grep.el (rgrep): Handle the case when
16054         `grep-find-command' is a cons cell (bug#9278).
16056 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
16058         * window.el (display-buffer-pop-up-frame): Run frame creation
16059         function with BUFFER current (as special-display-popup-frame
16060         does).  Reported by Drew Adams.
16062 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
16064         * epa-mail.el: Simplify GnuPG group expansion using
16065         epg-expand-group.
16066         (epa-mail-group-alist, epa-mail-group-modtime)
16067         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16068         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16069         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16070         Remove.
16072 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
16074         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16076 2011-08-16  Alan Mackenzie  <acm@muc.de>
16078         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16079         Correct, to avoid the inside of macros.
16081 2011-08-16  Richard Stallman  <rms@gnu.org>
16083         * epa-mail.el: Handle GnuPG group definitions.
16084         (epa-mail-group-alist, epa-mail-group-modtime)
16085         (epa-mail-gnupg-conf-file): New variables.
16086         (epa-mail-parse-groups, epa-mail-sync-groups)
16087         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16088         (epa-mail-expand-recipients): New functions.
16089         (epa-mail-encrypt): Call epa-mail-expand-recipients.
16091         * mail/rmail.el (rmail-epa-decrypt): New command.
16093         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16094         Don't bind buffer-read-only, just inhibit-read-only.
16095         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16096         (epa-decrypt-armor-in-region): Make error message clearer.
16098 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16100         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16101         and "a2b" to "ab" for `prefix'.
16103 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
16105         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16106         filter groups.
16107         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
16108         Fourquet (Bug#8804).
16110 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
16112         * startup.el (argi): Declare as global variable (bug#9275).
16114 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
16116         * subr.el (string-mark-left-to-right): Search the entire string
16117         for RTL script, not just the terminating character.  Doc fix.
16119 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16121         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16122         New function.
16123         (js--regexp-literal, js-syntax-propertize-function): Remove.
16124         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16125         (js-mode-map): Don't rebind electric keys.
16126         (js-insert-and-indent): Remove.
16127         (js-mode): Setup electric-layout and electric-indent instead.
16129         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16131 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
16133         * epa.el (epa-progress-callback-function): Fix the logic of
16134         displaying progress.
16135         * epa-file.el (epa-file-insert-file-contents): Make progress
16136         display more user-friendly.
16137         (epa-file-write-region): Ditto.
16139 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
16141         * subr.el (string-mark-left-to-right): New function.
16143         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16144         Use string-mark-left-to-right.
16145         (list-buffers-noselect): Caller changed.
16147         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16148         Use string-mark-left-to-right.
16149         (tabulated-list-print): Recenter after moving point.
16151 2011-08-10  Juri Linkov  <juri@jurta.org>
16153         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16154         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16155         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16157 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
16159         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16160         (Bug#7554).
16162 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16164         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16165         character.  (Bug#6594)
16167 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
16169         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16170         (image-dired--with-db-file): New macro.
16171         (image-dired-write-tags, image-dired-remove-tag)
16172         (image-dired-create-gallery-lists, image-dired-write-comments)
16173         (image-dired-get-comment, image-dired-mark-tagged-files)
16174         (image-dired-list-tags, image-dired-gallery-generate): Use it.
16175         (image-dired-gallery-generate): Use insert-file-contents.
16177         * time.el (display-time-world-list, display-time-world-display):
16178         * time-stamp.el (time-stamp-string):
16179         * vc/add-log.el (add-change-log-entry): Use setenv instead of
16180         set-time-zone-rule (Bug#7337).
16182 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
16184         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16185         (epg-error-to-string, epg-errors-to-string): New function.
16186         (epg-wait-for-completion): Reverse errors list.
16187         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16188         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16189         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16190         (epg-sign-keys, epg-generate-key-from-file)
16191         (epg-generate-key-from-string): Format errors by using
16192         epg-errors-to-string (bug#9255).
16193         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16195 2011-08-07  Juri Linkov  <juri@jurta.org>
16197         * faces.el (list-faces-display): Remove extra angle bracket
16198         from `help-mode-map'.
16200         * info.el (Info-history-toc-nodes): Doc fix.
16202         * longlines.el (longlines-mode): Doc fix.
16204 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16206         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16207         of statements and in a few more cases (bug#9183).
16209         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16210         New functions.
16211         (cl-transform-lambda): Use them (bug#9239).
16213 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
16215         * window.el (display-buffer-same-window)
16216         (display-buffer-same-frame, display-buffer-other-window)
16217         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16218         (pop-to-buffer-other-window)
16219         (pop-to-buffer-same-frame-other-window)
16220         (pop-to-buffer-other-frame): Make them defuns.
16221         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16223 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16225         * subr.el (make-composed-keymap): Move from C.  Change calling
16226         convention, and improve docstring to bring attention to a subtle point.
16227         * minibuffer.el (completing-read-default): Adjust accordingly.
16229 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
16231         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16232         (tramp-open-shell): Use `tramp-shell-quote-argument'.
16234         * net/trampver.el: Update release number.
16236 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16238         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16239         "in" (bug#9190).
16241 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16243         * mail/sendmail.el (sendmail-query-once): Restore the current
16244         buffer after querying (bug#9074).
16246         * dired.el (dired-flagged): Use different faces for marked and
16247         flagged files (bug#6117).
16249         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16250         (bug#4433).
16252         * ido.el (ido-mode): Switch off the message if called
16253         non-interactively.
16255         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16256         before 587, since it appears that that's more likely to work for
16257         more people.
16259         * cus-edit.el (custom-file): When running under emacs -q, always
16260         refuse to save the customizations, even if the .emacs file doesn't
16261         exist.
16263         * info.el: Remove the `Info-beginning-of-buffer' function
16264         (bug#8325).
16266         * net/network-stream.el (network-stream-open-starttls):
16267         Use `starttls-available-p' to see whether starttls.el can be used.
16269 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
16271         * window.el (display-buffer-in-window): Don't set dedicated status
16272         of window here (Bug#9215).
16273         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16274         (display-buffer-pop-up-side-window)
16275         (display-buffer-in-side-window): Set dedicated status of window here.
16277 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16279         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16280         before binding generated-autoload-file.
16282 2011-08-01  Deniz Dogan  <deniz@dogan.se>
16284         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16286 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
16288         Sync with Tramp 2.2.2.
16290         * net/trampver.el: Update release number.
16292 2011-07-30  Juri Linkov  <juri@jurta.org>
16294         * dired-aux.el (dired-touch-initial): Remove function.
16295         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16296         current time, and `default' to the last modification time of the
16297         current marked file (bug#6887).
16299 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
16301         * simple.el (goto-line): Use string-to-number to provide a
16302         numeric argument to read-number (bug#9163).
16304 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
16306         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16307         connection process, it could be nil.
16309 2011-07-27  Leo Liu  <sdl.web@gmail.com>
16311         Simplify url handling in rcirc-mode.
16313         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16314         (rcirc-browse-url-at-mouse): Remove.
16315         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16317 2011-07-26  Alan Mackenzie  <acm@muc.de>
16319         Fontify bitfield declarations properly.
16321         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16322         (c-symbol-chars): Now exported as a lang variable.
16323         (c-not-primitive-type-keywords): New lang variable.
16325         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16326         QT keyword "more" to prevent "more slots: ...." being spuriously
16327         parsed as a bitfield declaration.
16329         * progmodes/cc-engine.el (c-beginning-of-statement-1):
16330         Refactor and enhance to handle bitfield declarations.
16331         (c-punctuation-in): New function.
16332         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16333         declarations properly.
16335 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
16337         * calendar/icalendar.el (icalendar--all-events): Take care of
16338         multiple vcalendars in a single file.
16339         (icalendar--convert-float-to-ical): Checkdoc fixes.
16341 2011-07-25  Deniz Dogan  <deniz@dogan.se>
16343         * image.el (insert-image): Clarifying docstring.
16345 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
16347         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16348         `tramp-send-command-and-check' if there is no error.
16349         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16351 2011-07-22  Alan Mackenzie  <acm@muc.de>
16353         Prevent cc-langs.elc being loaded at run time.
16355         * progmodes/cc-mode.el: Remove two autoload forms which loaded
16356         cc-langs.
16358         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16359         "(require 'cc-langs)".  Quote a form so it will evaluate at
16360         (cc-mode's) compilation time.
16362 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
16364         * net/tramp.el (tramp-file-name-handler): Avoid recursive
16365         loading.  (Bug#9114)
16367 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
16369         * window.el (display-buffer-pop-up-window)
16370         (display-buffer-pop-up-side-window)
16371         (display-buffer-in-side-window): Call display-buffer-set-height
16372         and display-buffer-set-width after setting the new window's
16373         buffer so `fit-window-to-buffer' and friends work on the right buffer.
16375 2011-07-20  Sam Steingold  <sds@gnu.org>
16377         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16378         (etags-tags-included-tables): Call `convert-standard-filename' on
16379         the file names contained in TAGS so that windows Emacs can handle
16380         TAGS files created by cygwin ctags.
16382 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16384         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16385         which apparently didn't work.
16387 2011-07-19  Roland Winkler  <winkler@gnu.org>
16389         * proced.el (proced-send-signal): For *Marked Processes* buffer
16390         put point at beginning of buffer.
16392 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
16394         * proced.el (proced-format): Make header lines align with the text
16395         (bug#1779).
16397 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16399         * view.el (view-buffer): Allow running in `special' modes if we're
16400         visiting a file (bug#8615).
16402 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
16404         * window.el (display-buffer-alist-of-strings-p)
16405         (display-buffer-alist-set-1, display-buffer-alist-set-2):
16406         New functions.
16407         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16408         more accurately.
16410 2011-07-18  Alan Mackenzie  <acm@muc.de>
16412         Fontify declarators properly when, e.g., a jit-lock chunk begins
16413         inside a declaration.
16415         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16417         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16418         New function.
16419         (c-complex-decl-matchers): Insert reference to
16420         c-font-lock-enclosing-decls.
16422         * progmodes/cc-engine.el (c-backward-single-comment):
16423         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16424         to nil around calls to (forward-comment -1).
16426 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16428         * image.el (put-image): Doc typo fix.
16430         * progmodes/etags.el (tags-search): Doc typo fix.
16432         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16433         password if we get errors 550 to 554.
16435 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16437         * net/gnutls.el (gnutls-log-level): Remove.
16439         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16440         indentation character (bug#6380).
16442         * files.el (buffer-offer-save): Made permanently local (bug#6241).
16444         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16445         to clarify what the problem is (bug#4291).
16447         * simple.el (current-kill): Clarify what
16448         `interprogram-paste-function' does (bug#7500).
16449         (auto-fill-mode): Document `auto-fill-function' in relation to
16450         `auto-fill-mode' (bug#2470).
16452 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
16454         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16455         method if slot is read-only (bug#9035).
16457 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
16459         * frame.el (select-frame-set-input-focus): New argument NORECORD.
16460         * window.el (pop-to-buffer): Select window used even if it was
16461         selected before, see discussion of (Bug#8615), (Bug#6954).
16462         Pass argument NORECORD on to select-frame-set-input-focus.
16464 2011-07-15  Glenn Morris  <rgm@gnu.org>
16466         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
16467         Respect help-form.
16469 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
16471         * net/gnutls.el (gnutls-min-prime-bits): New variable.
16472         (gnutls-negotiate): Use it.
16474 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16476         * net/gnutls.el (gnutls-negotiate):
16477         Upcase `gnutls-algorithm-priority'.
16479 2011-07-15  Glenn Morris  <rgm@gnu.org>
16481         * jka-compr.el (jka-compr-verbose): Move from here...
16482         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
16483         Add missing :version tag.
16484         * info.el: No need to require jka-compr when compiling.
16486 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16488         * net/gnutls.el (gnutls-algorithm-priority): New variable.
16489         (gnutls-negotiate): Use it.
16491         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16493         * info.el (Info-beginning-of-buffer): New command.
16494         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16495         announcing `b' as the key (bug#8325).
16496         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16498         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16500         * international/mule-cmds.el
16501         (describe-specified-language-support): Make the error message
16502         clearer (bug#8905).
16504         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16506         * isearch.el (isearch-barrier): Add a doc string, since it's
16507         mentioned in a function doc string (bug#8678).
16509 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
16511         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16512         buffer argument (Bug#9083) and self-identifying label argument.
16514 2011-07-15  Glenn Morris  <rgm@gnu.org>
16516         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
16518 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16520         * man.el (Man-fontify-manpage): Fix message when formatting the
16521         man page (bug#7929).
16523 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
16525         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16526         argument LRM; if non-nil, append an invisible LRM character to the
16527         buffer name.
16528         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16529         last argument non-nil, when formatting buffer names.
16530         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16531         paragraph direction.
16533 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16535         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16536         the man page name (bug#7929).
16538         * image.el (put-image): Mention the `put-image' overlay property
16539         (bug#7834).
16541         * scroll-bar.el (set-scroll-bar-mode): Mention that
16542         `scroll-bar-mode' lists the values (bug#7772).
16544         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16545         command (bug#7729).
16547         * rect.el (apply-on-rectangle): Return the point after the last
16548         operation.
16549         (string-rectangle): Go to the point after the last operation
16550         (bug#7522).
16552         * printing.el (pr-toggle-region): Clarify the documentation
16553         slightly (bug#7493).
16555         * time.el (display-time-update):
16556         Allow `display-time-mail-function' to return nil (bug#7158).
16557         Fix suggested by Detlev Zundel.
16559         * vc/diff.el (diff): Clarify the order the file names are read
16560         (bug#7111).
16562         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16563         the doc string (bug#7015).
16565         * font-lock.el (font-lock-maximum-decoration): Mention what
16566         numeric levels mean (bug#6935).
16568         * startup.el (initial-buffer-choice): Don't mention the `none'
16569         selection, which is against policy.
16571 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
16573         * window.el (display-buffer-normalize-special):
16574         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16576 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
16578         * subr.el (version<, version<=, version=): Mention "-CVS" and
16579         "-12345" alpha version numbers.
16581 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
16583         * bindings.el: Add advertised binding for set-mark-command
16584         (Bug#5772).
16586 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
16588         * bindings.el (mode-line-other-buffer):
16589         * bookmark.el (bookmark-bmenu-2-window):
16590         * bs.el (bs-cycle-next, bs-cycle-previous):
16591         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16592         switch-to-buffer.
16594         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16595         Delete.
16597 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
16599         * follow.el (follow-debug-message, follow-redisplay):
16600         * jka-cmpr-hook.el (with-auto-compression-mode):
16601         Fix typos in docstrings.
16603 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16605         * subr.el (with-silent-modifications): Clarify somewhat what the
16606         macro inhibits (bug#6525).
16608         * simple.el (eval-expression): Note what it does if called
16609         interactively (bug#6495).
16611 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
16613         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16614         Use pop-to-buffer buffer-or-name if it is nil.
16616         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16617         Remove switch-to-buffer.
16619 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16621         * files.el (make-directory): Clarify that an error will be raised
16622         if there's an error (bug#6397).
16624         * startup.el (initial-buffer-choice): Add `none' as a choice
16625         (bug#6234).
16627         * subr.el (add-hook): Clarify section about buffer-local hooks
16628         (bug#6218).
16630         * dired.el (dired-flagged): Clarify doc string (bug#6117).
16632 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
16634         * tabify.el (untabify): Preserve the current column so that point
16635         doesn't move (bug#6032).
16637 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16639         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16640         Rewrite to avoid awkward possessive "s" (bug#5986).
16642 2011-07-13  Glenn Morris  <rgm@gnu.org>
16644         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
16645         (dired-insert-directory): Give a message the first time
16646         if ls is found not to support --dired.
16648 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16650         * simple.el (toggle-truncate-lines): Clarify what is toggled
16651         (bug#5580).  Text by Drew Adams.
16653 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
16655         * simple.el (blink-matching-open): Make the error message from the
16656         last change less verbose.
16658 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
16660         * font-lock.el (font-lock-comment-face): Use the high contrast
16661         "yellow" color for font-lock-comment-face on low color terminals
16662         using a dark background color (bug#4221).
16664 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16666         * dired.el (dired-insert-set-properties): Make the doc string
16667         reflect what it does now (bug#5325).
16669         * simple.el (blink-matching-open): Say that we were unable to find
16670         the match within the limit, if we're limited (bug#5122).
16672         * international/mule-cmds.el (prefer-coding-system): Add an
16673         example (bug#4869).
16675         * progmodes/etags.el (tags-search): Document `file-list-form'
16676         (bug#4731).
16678 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
16680         * net/browse-url.el (browse-url-default-browser)
16681         (browse-url-browser-function): Make the default browser choice a
16682         bit more logical (bug#4300).  Also clean up the doc string.
16684 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
16686         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16687         binary endings (bug#4440).
16689 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16691         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16692         which can be pretty annoying (bug#8971).
16694         * jka-compr.el (jka-compr-verbose): New variable, and use
16695         throughout (bug#8971).
16697         * info.el (Info-find-file): Fall back on the installation
16698         directory if we can't find the info node anywhere else.
16700 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
16702         * vc/vc.el (vc-revert-file):
16703         Don't set file time-stamp in the past.  (Bug#5181)
16705 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16707         * files.el (after-find-file): Give a better error message when
16708         trying to find a symlink that points to a file that doesn't exist
16709         (bug#4398).
16711         * progmodes/cc-vars.el: Remove (probably) misleading comment
16712         (bug#4396).
16714 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
16716         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16718 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
16720         * mouse-sel.el: Hack restoring functionality, while keeping
16721         compatibility with 2010-07-03 changes to mouse selection.
16722         (mouse-sel-primary-overlay): New var.
16723         (mouse-sel-selection-alist): Use it.
16724         (mouse-sel-mode): Doc fix; remove points that are default features
16725         of mouse.el.
16727 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
16729         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16730         Fix previous fix (bug#2490).
16732 2011-07-12  Roland Winkler  <winkler@gnu.org>
16734         * textmodes/bibtex.el (bibtex-initialize):
16735         Use pop-to-buffer-same-window.
16736         (bibtex-search-entries): Fix interactive call.
16738 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16740         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16741         Fontise bytecomp Error lines more correctly (bug#2490).
16742         Fix suggested by Johan Bockgård.
16744         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16746         * dired-x.el (dired-guess-default): Use `delete-dups'.
16748 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
16750         * dired.el (dired-mark-prompt):
16751         * dired-aux.el (dired-read-shell-command): Doc fix.
16753 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16755         * mail/sendmail.el (sendmail-query-once):
16756         Use `customize-save-variable' unconditionally, now that it works under
16757         emacs -Q.
16759         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16761         * cus-edit.el (custom-file): Take an optional no-error variable.
16762         (customize-save-variable): Set the variable, and give a warning if
16763         running under "emacs -q".
16765 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
16767         * loadhist.el (unload-feature-special-hooks):
16768         Add `auto-coding-functions', `fill-nobreak-predicate' and
16769         `find-directory-functions' (bug#5327).
16771 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16773         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16775         * cus-edit.el (custom-guess-name-alist): -alist variables should
16776         use the `alist' type (bug#3120).  Suggested by Drew Adams.
16778         * printing.el: Add documentation to all the `pr-toggle-' commands.
16780 2011-07-11  Leo Liu  <sdl.web@gmail.com>
16782         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16783         backends where it makes sense (bug#2623).
16785 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16787         * dired-x.el (dired-guess-default): Remove duplicate shell command
16788         entries (bug#2028).
16789         (dired-guess-default): Fix grammar in doc string (bug#2028).
16790         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16792         * subr.el (remove-duplicates): New conveniency function.
16794 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16796         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16797         (bug#1526).
16799 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
16801         * window.el (display-buffer-normalize-default): Don't invert
16802         meaning of even-window-heights.  Reported by Eli Zaretskii
16803         <eliz@gnu.org>.
16805 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
16807         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16809 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
16811         * window.el (display-buffer): Fix arguments to
16812         display-buffer-reuse-window in last change.
16814         * faces.el (link): Use a less saturated blue on light backgrounds.
16816         * startup.el (fancy-startup-text, fancy-about-text)
16817         (fancy-startup-tail): Use font-lock faces, for background safety.
16819 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
16821         * emulation/viper-cmd.el (viper-change-state-to-vi):
16822         Limit triggering of abbrev expansion (Bug#9038).
16824 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
16826         * window.el (display-buffer-default-specifiers): Remove.
16827         (display-buffer-macro-specifiers): Remove default specifiers.
16828         (display-buffer-alist): Default to nil.
16829         (display-buffer-reuse-window): New optional argument other-window.
16830         (display-buffer-pop-up-window): Allow splitting internal
16831         windows.  Check whether a live window was created.
16832         (display-buffer-other-window-means-other-frame)
16833         (display-buffer-normalize-arguments): Rename to
16834         display-buffer-normalize-argument and rewrite.  Set the
16835         other-window specifier.
16836         (display-buffer-normalize-special): New function.
16837         (display-buffer-normalize-options): Rename to
16838         display-buffer-normalize-default and rewrite.
16839         (display-buffer-normalize-options-inhibit): Remove.
16840         (display-buffer-normalize-specifiers): Rewrite.
16841         (display-buffer): Process other-window specifier and call
16842         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
16843         more faithfully.
16844         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16845         (display-buffer-alist-set): Don't handle 'unset default values.
16846         (display-buffer-in-window, display-buffer-alist-set):
16847         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
16848         <tassilo@member.fsf.org>.
16850 2011-07-09  Leo Liu  <sdl.web@gmail.com>
16852         * register.el (insert-register): Restore accidental change on
16853         2011-06-26.  (Bug#9028)
16855 2011-07-09  Glenn Morris  <rgm@gnu.org>
16857         * subr.el (remq): Handle the empty list.  (Bug#9024)
16859 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
16861         * mail/sendmail.el (send-mail-function): No longer delay custom
16862         initialization.
16863         * custom.el (custom-initialize-delay): Doc fix.
16865 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16867         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16869 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
16871         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16872         human-friendly prompt.
16874 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16876         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16877         provided by a particular plugin.
16879 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16881         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16882         save customizations (with "emacs -Q"), just set the variable
16883         instead of erroring out.
16885         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16887 2011-07-08  Juri Linkov  <juri@jurta.org>
16889         * arc-mode.el (archive-zip-expunge, archive-zip-update)
16890         (archive-zip-update-case): Use 7z if found by `executable-find'.
16891         The order of searching the available programs is the same as in
16892         `archive-zip-extract' (bug#8968).
16894 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
16896         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16897         (menu-bar-options-menu): Tweak descriptions.
16899 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16901         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16902         menu items into verb phrases (bug#1421).  Also refill to fit under
16903         80 columns.
16905 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
16907         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16908         (Info-read-node-name): Doc fix (Bug#1084).
16910         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16911         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16912         (end-of-sexp, beginning-of-sexp)
16913         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16914         (forward-symbol, forward-same-syntax, word-at-point)
16915         (sentence-at-point): Doc fix (Bug#1144).
16917 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16919         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16920         should cover it (bug#1281).
16922         * cus-edit.el (custom-show): Mark as obsolete.
16924         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16925         negotiation fails, then possibly try again with a non-encrypted
16926         connection (bug#9017).
16928         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16929         be used.
16931 2011-07-07  Richard Stallman  <rms@gnu.org>
16933         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16934         property, and handle its changed format.
16935         Look for the correct line number.
16936         Use file's line contents (but not past first =) to find
16937         correct line in message.
16939 2011-07-07  Kenichi Handa  <handa@m17n.org>
16941         * international/characters.el (build-unicode-category-table):
16942         Delete it.
16943         (unicode-category-table): Set it by unicode-property-table-internal.
16945         * international/mule-cmds.el (char-code-property-alist): Move to
16946         to src/chartab.c.
16947         (get-char-code-property): Call unicode-property-table-internal to
16948         load a file.  Call get-unicode-property-internal where necessary.
16949         (put-char-code-property): Call unicode-property-table-internal to
16950         load a file.  Call put-unicode-property-internal where necessary.
16951         put-unicode-property-internal where necessary.
16952         (char-code-property-description):
16953         Call unicode-property-table-internal to load a file.
16955         * international/charprop.el:
16956         * international/uni-bidi.el:
16957         * international/uni-category.el:
16958         * international/uni-combining.el:
16959         * international/uni-comment.el:
16960         * international/uni-decimal.el:
16961         * international/uni-decomposition.el:
16962         * international/uni-digit.el:
16963         * international/uni-lowercase.el:
16964         * international/uni-mirrored.el:
16965         * international/uni-name.el:
16966         * international/uni-numeric.el:
16967         * international/uni-old-name.el:
16968         * international/uni-titlecase.el:
16969         * international/uni-uppercase.el: Regenerate.
16971         * loadup.el: Load international/charprop.el before
16972         international/characters.
16974 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
16976         * window.el (next-buffer, previous-buffer): Signal an error if
16977         called from a minibuffer window.
16979         * bindings.el: Revert 2011-07-04 change.
16981 2011-07-06  Richard Stallman  <rms@gnu.org>
16983         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16984         (rmail-mime-insert-bulk, rmail-mime-insert-text):
16985         Treat markers like ints.
16986         (rmail-mime-entity): Doc fix.
16988 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16990         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16991         defcustom again for backwards compatibility.
16993         * simple.el (shell-command-on-region): Fill.
16995         * dired-aux.el (dired-kill-line): Add a doc string.
16997         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16998         to "\\sw\\|\\s_" (bug#358).
17000         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
17001         (dired-unmark-backward): Ditto.
17002         (dired-flag-backup-files): Ditto.
17004         * dired-x.el (dired-mark-sexp): Ditto.
17006 2011-07-06  Richard Stallman  <rms@gnu.org>
17008         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
17009         (rmail-mime-entity): New arg TRUNCATED.
17010         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
17011         New functions.
17012         (rmail-mime-save): Warn if entity is truncated.
17013         (rmail-mime-toggle-hidden): Likewise, for showing.
17014         (rmail-mime-process-multipart): Record when an entity is truncated.
17016         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
17017         if ENTITY is a string.
17019 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17021         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
17022         of faces when `M-C-x'-ing their definitions (bug#8378).
17023         Also clean up the code slightly.
17025         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
17026         because that makes the colors go away.
17028         * mail/sendmail.el (send-mail-function): Change the default to
17029         `sendmail-query-once'.
17030         (sendmail-query-once): Add an autoload cookie.
17032         * net/network-stream.el (network-stream-open-starttls): Try using
17033         a plain connection even if the server offered STARTTLS, and we
17034         kinda wanted to use it, if Emacs doesn't have any STARTTLS
17035         capability.  This should make smtpmail.el work in slightly more
17036         configurations.
17038 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
17040         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
17041         New defun.
17042         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
17044 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
17046         * progmodes/sql.el: Version 3.0
17047         (sql-product-alist): Add product :completion-object,
17048         :completion-column, and :statement attributes.
17049         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17050         (sql-mode-syntax-table): Mark all punctuation.
17051         (sql-font-lock-keywords-builder): Temporarily remove fallback on
17052         ansi keywords.
17053         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17054         (sql-mode-oracle-font-lock-keywords): Improve.
17055         (sql-oracle-show-reserved-words): New function for development.
17056         (sql-product-font-lock): Simplify for source code buffers.
17057         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17058         New functions.
17059         (sql-highlight-product): Set product specific syntax table.
17060         (sql-mode-map): Add statement movement functions.
17061         (sql-ansi-statement-starters, sql-oracle-statement-starters):
17062         New variable.
17063         (sql-statement-regexp, sql-beginning-of-statement)
17064         (sql-end-of-statement, sql-signum): New functions.
17065         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17066         (sql-show-sqli-buffer): Bug fix.
17067         (sql-interactive-mode): Store connection data as buffer local.
17068         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
17069         with sql-interactive-mode.
17070         (sql-save-connection): Save buffer local settings.
17071         (sql-connection-menu-filter): Change menu entry name.
17072         (sql-product-interactive): Bug fix.
17073         (sql-preoutput-hold): New variable.
17074         (sql-interactive-remove-continuation-prompt): Bug fixes.
17075         (sql-debug-redirect): New variable.
17076         (sql-str-literal): New function.
17077         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17078         Redesign.
17079         (sql-oracle-save-settings, sql-oracle-restore-settings)
17080         (sql-oracle-list-all, sql-oracle-list-table): New functions.
17081         (sql-completion-object, sql-completion-column)
17082         (sql-completion-sqlbuf): New variables.
17083         (sql-build-completions-1, sql-build-completions)
17084         (sql-try-completion): New functions.
17085         (sql-read-table-name): Use them.
17086         (sql-contains-names): New buffer local variable.
17087         (sql-list-all, sql-list-table): Use it.
17088         (sql-oracle-completion-types): New variable.
17089         (sql-oracle-completion-object, sql-sqlite-completion-object)
17090         (sql-postgres-completion-object): New functions.
17092 2011-07-06  Glenn Morris  <rgm@gnu.org>
17094         * window.el (pop-to-buffer): Doc fix.
17096 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
17098         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17100 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
17102         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17104         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17106 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
17108         * button.el (button): Inherit from link face.  Suggested by Dan
17109         Nicolaescu.
17111 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17113         * progmodes/gdb-mi.el: Fit in 80 columns.
17114         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17115         switch-to-buffer.
17117         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17118         if imenu is simply not configured (bug#8941).
17120 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
17122         * allout.el (allout-post-undo-hook): New allout outline-change
17123         event hook to signal undo activity.
17124         (allout-post-command-business): Run allout-post-undo-hook if an
17125         undo just occurred.
17126         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17127         * allout-widgets.el (allout-widgets-after-undo-function):
17128         Ensure the integrity of the current item's decoration after it has been
17129         in the vicinity of an undo.
17130         (allout-widgets-mode): Include allout-widgets-after-undo-function
17131         on the new allout-post-undo-hook.
17133 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17135         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17136         Let define-derived-mode define it.
17137         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17138         cycles of abbrev-table inheritance (bug#8998).
17140 2011-07-05  Roland Winkler  <winkler@gnu.org>
17142         * textmodes/bibtex.el: Add support for biblatex.
17143         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17144         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17145         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17146         (bibtex-entry-alist, bibtex-field-alist): New variables.
17147         (bibtex-entry-field-alist): Obsolete alias for
17148         bibtex-BibTeX-entry-alist.
17149         (bibtex-entry-alist, bibtex-field-alist): New widgets.
17150         (bibtex-set-dialect): New command.
17151         (bibtex-entry-type, bibtex-entry-head)
17152         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17153         Bind via bibtex-set-dialect.
17154         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17155         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17156         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17157         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17158         Define via bibtex-set-dialect.
17159         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17160         Obey bibtex-no-opt-remove-re.
17161         (bibtex-vec-push, bibtex-vec-incr): New functions.
17162         (bibtex-format-entry, bibtex-field-list)
17163         (bibtex-print-help-message, bibtex-validate)
17164         (bibtex-search-entries): Use new format of bibtex-entry-alist.
17166 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17168         * progmodes/compile.el (compilation-goto-locus):
17169         * net/tramp-cmds.el (tramp-append-tramp-buffers):
17170         * bs.el (bs-cycle-next, bs-cycle-previous):
17171         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17172         * bindings.el (mode-line-other-buffer):
17173         * autoinsert.el (auto-insert):
17174         * arc-mode.el (archive-extract):
17175         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17177 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17179         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17180         Fix check of `emacs-lock-unlockable-modes'.
17181         Coerce true values of `emacs-lock--try-unlocking' to t.
17183 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17185         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17186         * emacs-lock.el: New file.
17188 2011-07-05  Julien Danjou  <julien@danjou.info>
17190         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17191         than `boundp' to check if face is set.
17193 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17195         * register.el (registerv-make):
17196         * window.el (window-min-height): Fix typos in docstrings.
17198 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
17200         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17201         Update doc string.
17203 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
17205         * server.el (server-execute): Catch quit and call
17206         `server-return-error' to pass the error back to emacsclient and
17207         close the connection (bug#8942).
17209 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
17211         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17212         insecure exception for current topic.  Also note that auto-saves
17213         are handled differently.
17215         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17216         State variables for tracking auto-save inhibition situation.
17218         (allout-write-contents-hook-handler): Rename from
17219         'allout-write-file-hook-handler', and describe how it depends on
17220         write-contents-functions sensitivity to non-nil value to prevent
17221         file write.
17223         (allout-auto-save-hook-handler): Remove.  auto-save does not check
17224         this in individual buffers, only in the starting buffer, so this
17225         is not the right way for us to inhibit auto-save in a buffer
17226         according to its condition.
17228         (allout-mode): Use new allout-write-contents-hook-handler, and
17229         only with write-contents-functions.  Remove auto-save provisions -
17230         they're implemented elsewhere.
17232         (allout-before-change-handler): If undo is in progress, note that
17233         for attention of allout-post-command-business.
17235         (allout-post-command-business): If the command we're following was
17236         an undo, check for change in the status of encrypted items and
17237         adjust auto-save inhibitions accordingly.
17239         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17240         according to whether there are or aren't any plain-text topics
17241         pending encryption.
17243         (allout-inhibit-auto-save-info-for-decryption):
17244         Adjust buffer-saved-size and some allout state to inhibit auto-saves
17245         if there are plain-text topics pending encryption.
17247         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17248         buffer-saved-size and some allout state to not inhibit auto-saves
17249         if there are no longer any plain-text topics pending encryption.
17251         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17252         No longer provide for exemption of the current topic.
17254 2011-07-04  Juri Linkov  <juri@jurta.org>
17256         Add 7z operations to delete and save changed members (bug#8968).
17257         * arc-mode.el (archive-7z-expunge, archive-7z-update):
17258         New defcustoms.
17259         (archive-7z-write-file-member): New function.
17260         (archive-7z-summarize): Fix the number of dashes in the
17261         listing output.
17263 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17265         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17266         (bug#8958).
17268 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
17270         * bindings.el: Ignore next-buffer and previous-buffer in
17271         minibuffer-local-map.
17273         * font-lock.el (font-lock-builtin-face): Change light background
17274         color to dark slate blue (Bug#6693).
17276 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
17278         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17280 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17282         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17283         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17284         Add switch-to-buffer.
17286 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17288         * isearch.el (isearch-search-fun-function): Clarify further the
17289         meaning of the function returned.
17291 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
17293         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17295         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17296         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17297         Use it.
17298         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
17299         `tramp-default-remote-path' does not exist.
17300         (tramp-send-command-and-read): New optional argument NOERROR.
17301         (tramp-open-connection-setup-interactive-shell)
17302         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17303         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17304         (tramp-process-sentinel): Flush also process' connection property.
17305         (tramp-sh-handle-start-file-process): Do not set process
17306         sentinel.  It is done now ...
17307         (tramp-maybe-open-connection): ... here.  (Bug#8929)
17309 2011-07-04  MON KEY  <monkey@sandpframing.com>
17311         * play/animate.el (animate-string): Doc fixes and allow changing
17312         the buffer name (bug#5417).
17314 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17316         * play/animate.el (animation-buffer-name): Rename from *animate*.
17318 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
17320         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17321         This is simpler and helps future-proof the code.
17322         (timer-until): Use time-subtract and float-time.
17323         (timer--time-less-p): Use time-less-p.
17325 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
17327         * type-break.el (timep): Use the value of `float-time' to avoid a
17328         byte-compiler warning.
17330         * server.el (server-eval-and-print): Return any result, even nil.
17332 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
17334         * type-break.el: Accept time formats that the builtins accept.
17335         (timep, type-break-time-difference): Accept any format that
17336         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17337         This is simpler and helps future-proof the code.
17338         (type-break-time-difference): Round rather than ignoring
17339         subseconds components.
17341 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17343         * info.el (Info-apropos-matches): Make non-interactive, since it
17344         doesn't seem to do anything useful as a command (bug#8829).
17346 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
17348         * frame.el (frame-background-mode, frame-set-background-mode):
17349         Move from faces.el.
17350         (frame-default-terminal-background): New function.
17352         * custom.el (custom-push-theme): Don't record faces in `changed'
17353         theme; this doesn't work correctly for per-frame face settings.
17354         (disable-theme): Use face-set-after-frame-default to reset faces.
17355         (custom--frame-color-default): New function.
17357 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17359         * dired.el (dired-flagging-regexp): Remove unused variable
17360         (bug#8769).
17362 2011-03-29  Kevin Ryde  <user42@zip.com.au>
17364         * progmodes/compile.el (compilation-error-regexp-alist-alist):
17365         `perl-Test2' extend to match possible "fail #N" rep count
17366         (bug#8377).
17368 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17370         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17371         `smtpmail-via-smtp' now returns the error instead of nil.
17373         * isearch.el (isearch-search-fun-function): Clarify the doc string
17374         (bug#8101).
17376 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
17378         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17379         unnecessary spaces (bug#8987).
17381 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17383         * net/network-stream.el (open-network-stream): Use the
17384         :end-of-capability command thoughout.
17386 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
17388         * net/network-stream.el (open-network-stream): Add the
17389         :end-of-capability command parameter, used by pop3.el.
17391 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17393         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17395         * fringe.el (fringe-query-style): Remove redundant text " (type ?
17396         for list)" (bug#6475).
17398         * files.el (file-expand-wildcards): Ignore non-readable
17399         sub-directories while trying to find matches instead of signaling
17400         an error (bug#6297).
17402         * man.el (Man-reference-regexp): Allow matching possible
17403         word-wrapped references (bug#6289).
17405         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17406         for consistency with the other vc buffers (bug#6197).
17407         (vc-checkin): Ditto.
17409         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17411         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17413 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17415         * custom.el (defcustom): Clarify that :set is only used in the
17416         Customize user interface (bug#6089).
17418         * progmodes/flymake.el (flymake-mode): If the buffer isn't
17419         associated with a file, refuse to run instead of erroring out
17420         (bug#6084).
17422         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17423         the doc string, since it appears that using `fill-column' always
17424         controls the width (bug#7845).
17426         * simple.el (shell-command-on-region): Say where the error output
17427         went if `shell-command-default-error-buffer' is set (bug#6857).
17429 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
17431         * allout.el (allout-yank-processing): Adjust cursor position for
17432         backwards-deleted space.
17434         (allout-rebullet-heading): Register changes with
17435         allout-exposure-changed-hook, so the modified topic is properly
17436         decorated.
17438 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17440         * minibuffer.el (completion-in-region): Document PREDICATE
17441         (bug#7136).
17443         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17444         of keyword/argument pairs (bug#6904).
17446         * replace.el (multi-occur):
17447         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17449 2011-07-02  Drew Adams  <drew.adams@oracle.com>
17451         * dired.el (dired-mark-if): Make the message about whether it's
17452         marking or unmarking clearer (bug#8523).
17454 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17456         * disp-table.el (display-table-print-array): New function.
17457         (describe-display-table): Use it to print the vectors more pretty
17458         (Bug#8859).
17460 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
17462         * window.el (window-state-get-1): Don't assign clone numbers.
17463         Add clone-of item to list of window parameters.
17464         (window-state-put-2): Don't process clone numbers.
17465         (display-buffer-alist): Fix doc-string.
17467 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17469         * subr.el (remq): Don't allocate if it's not needed.
17470         (keymap--menu-item-binding, keymap--menu-item-with-binding)
17471         (keymap--merge-bindings): New functions.
17472         (keymap-canonicalize): Use them to refine the canonicalization.
17473         * minibuffer.el (minibuffer-local-completion-map)
17474         (minibuffer-local-must-match-map): Move initialization from C.
17475         (minibuffer-local-filename-completion-map): Move initialization from C;
17476         don't inherit from anything here.
17477         (minibuffer-local-filename-must-match-map): Make obsolete.
17478         (completing-read-default): Use make-composed-keymap to combine
17479         minibuffer-local-filename-completion-map with either
17480         minibuffer-local-must-match-map or
17481         minibuffer-local-filename-completion-map.
17483 2011-07-01  Glenn Morris  <rgm@gnu.org>
17485         * type-break.el (type-break-time-sum): Use dolist.
17487         * textmodes/flyspell.el (flyspell-word-search-backward):
17488         Replace CL function.
17490 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17492         * mouse.el (mouse--strip-first-event): New function.
17493         (function-key-map): Use it to map fringe clicks to normal clicks
17494         by default.
17496         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17497         (vc-bzr-revision-completion-table): Add support for annotate and date.
17499         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17500         inherit from parent.
17502 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17504         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17505         (dired-show-file-type): Doc fixup (bug#8818).
17507         * dired.el (dired-mode): Fix up the doc string as suggested by
17508         Drew Adams (bug#8817).
17510         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17511         cookie, since the manual says that it should be possible to add
17512         this function to `find-file-hook' (bug#8709).
17514 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
17516         * progmodes/cfengine.el: Moved all cfengine3.el functionality
17517         here.  Noted Ted Zlatanov as the maintainer.
17518         (cfengine-common-settings, cfengine-common-syntax): New functions
17519         to set up common things between `cfengine-mode' and
17520         `cfengine3-mode'.
17521         (cfengine3-mode): New mode.
17522         (cfengine3-defuns cfengine3-defuns-regex
17523         (cfengine3-class-selector-regex cfengine3-category-regex)
17524         (cfengine3-vartypes cfengine3-font-lock-keywords)
17525         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17526         (cfengine3-indent-line): Add from cfengine3.el.
17528 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
17530         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17532         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17534 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
17536         * window.el (same-window-buffer-names, same-window-regexps)
17537         (same-window-p, special-display-frame-alist)
17538         (special-display-popup-frame, special-display-function)
17539         (special-display-buffer-names, special-display-regexps)
17540         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17541         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17542         (split-window-preferred-function, split-height-threshold)
17543         (split-width-threshold, even-window-heights)
17544         (display-buffer-mark-dedicated, window-splittable-p)
17545         (split-window-sensibly, window-safely-shrinkable-p):
17546         Un-obsolete.
17547         (display-buffer): Don't spread args with function specifier
17548         because special-display-popup-frame won't like it.
17550 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
17552         Time-stamp simplifications and fixes.
17553         These improve accuracy slightly, and future-proof the code
17554         against some potential changes to current-time format.
17556         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17557         by using time-since and float-time.
17559         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17560         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
17561         + NNN microseconds".
17563         * type-break.el (type-break-time-sum): Rewrite using time-add.
17565         * play/hanoi.el (hanoi-current-time-float): Remove.
17566         All uses replaced by float-time.
17568         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17569         This yields a more-accurate answer.
17570         (rng-time-to-float): Remove; no longer needed.
17572         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17574         * calendar/timeclock.el (timeclock-seconds-to-time):
17575         Defalias to seconds-to-time, since they're the same thing.
17577         * emacs-lisp/elp.el (elp-elapsed-time):
17578         * emacs-lisp/benchmark.el (benchmark-elapse):
17579         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17581 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17583         * window.el (bury-buffer): Don't iconify the only frame.
17584         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17585         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
17587 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
17589         * eshell/em-smart.el (eshell-smart-display-navigate-list):
17590         Add mouse-yank-primary.
17592 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
17594         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17596 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17598         * emacs-lisp/find-func.el (find-library--load-name): New fun.
17599         (find-library-name): Use it to find relative load names when provided
17600         absolute file name (bug#8803).
17602 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17604         * textmodes/flyspell.el (flyspell-word): Consider words that
17605         differ only in case as potential doublons (bug#5687).
17607         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17608         Remove two rather uninteresting debugging-like messages to make
17609         debbugs.el more silent.
17611         * comint.el (comint-password-prompt-regexp): Accept "Response" as
17612         a password-like phrase.
17614 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
17616         * progmodes/cc-guess.el: New file.
17618         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17620         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17621         derived from `c-basic-common-init'.
17623         * progmodes/cc-mode.el (top-level): Require cc-guess.
17624         (c-basic-common-init): Use `cc-choose-style-for-mode'.
17626 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
17628         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17630 2011-06-30  Alan Mackenzie  <acm@muc.de>
17632         * progmodes/cc-engine.el (c-guess-continued-construct):
17633         Correct the handling of template-args-cont, particularly for when font
17634         lock is disabled.  Name this case as "CASE G".
17636 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
17638         * allout.el (allout-yank-processing): Fix injection of extra space
17639         between bullet and non-whitespace character in first topic when
17640         pasting, ensuring that the actual spacing in the pasted topic
17641         following the bullet char is preserved.  This extra space was
17642         causing pasted encrypted topics to get a decrypted status even
17643         when the content was actually still encrypted.  Now the decryption
17644         status from before the paste is preserved.
17646         (allout-flag-region): Set all allout overlays so they evaporate
17647         when reduced to zero length (evanescent), to prevent overlay
17648         leakage.
17650 2011-06-30  Glenn Morris  <rgm@gnu.org>
17652         * w32-fns.el (w32-charset-info-alist): Declare.
17654         * find-dired.el (find-grep-options): Simplify.
17656         * term/ns-win.el (ns-set-resource): Declare.
17658         * ses.el (row, col): Declare dynamic variables honestly.
17660         * textmodes/reftex-parse.el (index-tags): Declare.
17662 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
17664         * cus-edit.el (customize-push-and-save): New function.
17666         * files.el (hack-local-variables-confirm): Use it.
17668         * custom.el (load-theme): New arg NO-CONFIRM.
17669         Use customize-push-and-save (Bug#8720).
17670         (custom-enabled-themes): Doc fix.
17672         * cus-theme.el (customize-create-theme)
17673         (custom-theme-merge-theme): Callers to load-theme changed.
17675 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17677         * thingatpt.el (thing-at-point-short-url-regexp): Require that
17678         short URLs have at least one dot in them (bug #7614).
17680         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17681         nil, because using a pty is apparently too slow (bug #895).
17683 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17685         * mail/sendmail.el (sendmail-query-once): New function.
17686         (sendmail-query-once-function): New variable.
17688 2011-06-29  Glenn Morris  <rgm@gnu.org>
17690         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17692         * ses.el (top-level): Require cl when compiling.
17693         (ses-set-localvars): Fix error statement.
17694         Call it at compile time to silence a storm of warnings.
17696 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
17698         * window.el (normalize-live-buffer): Rename to
17699         window-normalize-buffer.
17700         (normalize-live-frame): Rename to window-normalize-frame.
17701         (normalize-any-window): Rename to window-normalize-any-window.
17702         (normalize-live-window): Rename to window-normalize-live-window.
17703         (make-window-atom): Rename to window-make-atom.
17704         (window-resize-reset): Rename to window--resize-reset.
17705         (window-resize-reset-1): Rename to window--resize-reset-1.
17706         (resize-mini-window): Rename to window--resize-mini-window.
17707         (resize-subwindows-skip-p): Rename to
17708         window--resize-subwindows-skip-p.
17709         (resize-subwindows-normal): Rename to
17710         window--resize-subwindows-normal.
17711         (resize-subwindows): Rename to window--resize-subwindows.
17712         (resize-other-windows): Rename to window--resize-siblings.
17713         (resize-this-window): Rename to window--resize-this-window.
17714         (resize-root-window): Rename to window--resize-root-window.
17715         (resize-root-window-vertically): Rename to
17716         window--resize-root-window-vertically.
17717         (normalize-buffer-to-display): Rename to
17718         window-normalize-buffer-to-display.
17719         (normalize-buffer-to-switch-to): Rename to
17720         window-normalize-buffer-to-switch-to.
17721         Correspondingly update all callers of the functions listed
17722         above.
17723         (display-buffer-alist, display-buffer-normalize-arguments)
17724         (display-buffer-normalize-options, display-buffer)
17725         (display-buffer-alist-set): Use "function" instead of
17726         "fun-with-args".
17728 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
17730         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17731         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
17732         debbugs.gnu.org.  Mention acknowledgment email.
17734 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17736         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17737         buffer multibyteness, since it shouldn't matter.
17739 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
17741         * window.el (display-buffer-in-side-window): Handle dedicated
17742         windows as in display-buffer-reuse-window.
17743         (display-buffer-normalize-alist): Use value of override
17744         specifier.
17745         (display-buffer-normalize-specifiers): Use value of
17746         other-window-means-other-frame specifier.
17747         (display-buffer-alist): Rewrite some texts in widgets.
17748         (display-buffer): Spread arguments when calling function
17749         specified by fun-with-args.
17751 2011-06-28  Deniz Dogan  <deniz@dogan.se>
17753         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17754         Unnest `let'.
17756         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17757         selectors (Bug#5732).
17758         (css-proprietary-nmstart-re): Use `regexp-opt'.
17760 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
17762         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17763         (eshell-ls-date-format): New defcustom.
17764         (eshell-ls-file): Use it.
17766 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17768         * help-fns.el (describe-variable): Fix message for terminal-local vars.
17770 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
17772         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17773         (ange-ftp-make-tmp-name): New arg.
17774         (ange-ftp-file-local-copy): Use it.
17776 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
17778         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17779         no-conversion (Bug#8870).
17781 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
17783         * window.el (window-right, window-left, window-child)
17784         (window-child-count, window-last-child)
17785         (window-iso-combination-p, walk-window-tree-1)
17786         (window-atom-check-1, window-tree-1, delete-window)
17787         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17788         new naming conventions - window-vchild, window-hchild,
17789         window-next and window-prev are now called window-top-child,
17790         window-left-child, window-next-sibling and window-prev-sibling
17791         respectively.
17792         (resize-window-reset): Rename to window-resize-reset.
17793         (resize-window-reset-1): Rename to window-resize-reset-1.
17794         (resize-window): Rename to window-resize.
17795         (window-min-height, window-min-width)
17796         (resize-mini-window, resize-this-window, resize-root-window)
17797         (resize-root-window-vertically, adjust-window-trailing-edge)
17798         (enlarge-window, shrink-window, maximize-window)
17799         (minimize-window, delete-window, quit-restore-window)
17800         (split-window, balance-windows, balance-windows-area-adjust)
17801         (balance-windows-area, window-state-put-2)
17802         (display-buffer-even-window-sizes, display-buffer-set-height)
17803         (display-buffer-set-width, set-window-text-height)
17804         (fit-window-to-buffer): Rename all "resize-window" prefixed
17805         calls to use the "window-resize" prefix convention.
17806         (display-buffer-alist): Fix symbol for label specifier.
17807         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17808         corresponding specifier.
17809         Reported by Juanma Barranquero <lekktu@gmail.com>.
17811 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17813         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17814         convention.
17815         (ses-call-printer): Does not pass an empty string to formatter when the
17816         cell is empty to keep from barking printer Calc math-format-value.
17818 2011-06-27  Richard Stallman  <rms@gnu.org>
17820         * battery.el (battery-mode-line-limit): New variable.
17821         (battery-update): Handle it.
17823         * mail/rmailmm.el (rmail-mime-process-multipart):
17824         Handle truncated messages.
17826 2011-06-27  Glenn Morris  <rgm@gnu.org>
17828         * progmodes/flymake.el (flymake-err-line-patterns):
17829         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
17831 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17833         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17834         (ses--clean-!, ses--clean-_): New functions.
17835         (ses-range): Add configurability of readout order, and conversion
17836         to Calc vector.
17838         * ses.el (ses-repair-cell-reference-all): New function.
17839         (ses-cell-symbol): Set macro as safe, so that it can be used in
17840         formulas.
17842         * ses.el: Update cycle detection algorithm.
17843         (ses-localvars): Add ses--Dijkstra-attempt-nb and
17844         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17845         (ses-set-localvars): New function.
17846         (ses-make-cell): Add property-list as a cell element.
17847         (ses-cell-property-get-fun, ses-cell-property-get)
17848         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17849         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17850         New functions.
17851         (ses-cell-property-set, ses-cell-property-pop)
17852         (ses-cell-property-get-handle): New macro.
17853         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17854         New aliases, used for code readability.
17855         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17856         cycle detection.
17857         (ses-self-reference-early-detection): New defcustom.
17858         (ses-formula-references): Robustify against self-referring cells.
17859         (ses-mode): Use ses-set-localvars.
17860         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17861         before lauching the update processing.
17862         (ses-initialize-Dijkstra-attempt): New function.
17863         (ses-recalculate-cell): Update for cycle detection based on
17864         Dijkstra algorithm.
17866         * ses.el: Fix commenting and indenting convention.
17868 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17870         * bs.el (bs-cycle-next): Complete last change.
17872 2011-06-27  Drew Adams  <drew.adams@oracle.com>
17874         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17876 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17878         * net/network-stream.el (network-stream-open-starttls):
17879         Don't re-get capabilities unless we've reestablished connection.
17880         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17882         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17883         to binary to possibly avoid line encoding issues on Windows (among
17884         other things).
17886 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17888         * net/network-stream.el (open-network-stream): Return an :error
17889         saying what the problem was, if possible.
17891         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17892         server.
17894         * net/network-stream.el (network-stream-open-starttls): If we
17895         wanted to use STARTTLS, and the server offered it, but we weren't
17896         able to because we had no STARTTLS support, then close the connection.
17897         (open-network-stream): Return an :error element, if present.
17899 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
17901         * hl-line.el (hl-line-sticky-flag): Doc fix.
17902         (global-hl-line-sticky-flag): New option (Bug#8323).
17903         (global-hl-line-highlight): Obey it.
17905         * vc/vc.el (vc-revert-show-diff): Default to t.
17907 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
17909         * allout-widgets.el (allout-widgets-post-command-business):
17910         Stop decorating intermediate isearch matches.  They're not being
17911         undecorated when an isearch is continued past, and isearch
17912         automatically collapses them.  This leads to "widget leaks", where
17913         decorated items accumulate in collapsed areas.  Lines with lots of
17914         hidden widgets can slow down cursor travel, substantially.
17915         Too much complicated machinery would be needed to ensure undecoration,
17916         so we're doing without this nicety.
17918         (allout-widgets-tally-string): Don't try to do a hash-table-count
17919         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
17920         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17921         *Messages* when allout-widgets-maintain-tally is t.
17923 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
17925         * window.el (display-buffer-normalize-argument): Rename to
17926         display-buffer-normalize-arguments.  Handle special meaning of
17927         LABEL argument.  Respect special-display-function when popping up
17928         a new frame.  Fix code searching for a window showing the buffer
17929         on another frame.
17930         (display-buffer-normalize-specifiers):
17931         Call display-buffer-normalize-arguments.
17932         (display-buffer-in-window): Don't undedicate the window if its
17933         buffer remains the same.
17934         Reported by Drew Adams <drew.adams@oracle.com>.
17935         (display-buffer-alist): Add choice for same-window macro
17936         specfier.
17937         (display-buffer): Mention special meaning of LABEL argument in
17938         doc-string.  Fix quoting.  Don't pop up a new frame even as
17939         fallback.
17941 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
17943         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17944         avoid deleting the current window in some cases (bug#8911).
17946 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
17948         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17949         (Bug#8934)
17951 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17953         * net/network-stream.el (network-stream-open-starttls):
17954         Use built-in TLS support if `gnutls-available-p' is true.
17955         (network-stream-open-tls): Ditto.
17957 2011-06-26  Leo Liu  <sdl.web@gmail.com>
17959         * register.el (registerv): New struct.
17960         (registerv-make): New function.
17961         (jump-to-register, describe-register-1, insert-register):
17962         Support the jump-func, print-func and insert-func slot of a registerv
17963         struct.  (Bug#8415)
17965 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
17967         * vc/vc.el (vc-revert-show-diff): New defcustom.
17968         (vc-diff-internal): New arg specifying diff buffer.
17969         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
17970         reuse an existing *vc-diff* buffer (Bug#8927).
17972         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17974 2011-06-26  Glenn Morris  <rgm@gnu.org>
17976         * progmodes/f90.el (f90-critical-indent): New option.
17977         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17978         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17979         (f90-mode): Doc fix.
17980         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17981         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17982         (f90-beginning-of-block, f90-next-block, f90-indent-region)
17983         (f90-match-end): Handle block, critical.
17985 2011-06-25  Glenn Morris  <rgm@gnu.org>
17987         * calendar/diary-lib.el (diary-included-files): Doc fix.
17988         (diary-include-files): New function, extracted from
17989         diary-include-other-diary-files and diary-mark-included-diary-files.
17990         (diary-include-other-diary-files, diary-mark-included-diary-files):
17991         Just call diary-include-files.
17992         (diary-mark-entries): Reset diary-included-files on first call.
17994         * calendar/diary-lib.el (diary-mark-entries)
17995         (diary-mark-included-diary-files):
17996         Visit included diary-files in temp buffers.
17998         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17999         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
18000         (f90-start-block-re, f90-imenu-generic-expression)
18001         (f90-looking-at-program-block-start, f90-no-block-limit):
18002         Add support for submodules.
18004         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
18005         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
18007 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
18009         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
18010         buffer-file-type before setting its value, to avoid disastrous
18011         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
18013 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
18015         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
18017         * ses.el (ses-unload-function):
18018         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
18020         * proced.el (proced-unload-function):
18021         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
18023 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
18025         * server.el (server-create-window-system-frame): Add parameters arg.
18026         (server-process-filter): Doc fix.  Handle frame-parameters.
18028 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
18030         Fix bug#8730, bug#8781.
18032         * loadhist.el (unload--set-major-mode): New function.
18033         (unload-feature): Use it.
18035         * progmodes/python.el (python-after-info-look): Add autoload cookie.
18036         (python-unload-function): New function.
18038 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18040         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
18042 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
18044         * net/browse-url.el (browse-url-firefox-program): Add icecat to
18045         the candidates list.
18047 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
18049         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18051 2011-06-23  Richard Stallman  <rms@gnu.org>
18053         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18054         (rmail-variables): Set next-error-move-function.
18055         (rmail-what-message): Take argument POS.
18056         (rmail-next-error-move): New function.
18058 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18060         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18061         messages for adjacent non-terminals.
18063 2011-06-23  Richard Stallman  <rms@gnu.org>
18065         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18066         (rmail-show-message-1): Preserve buffer modified flag.
18067         (rmail-start-mail): Don't specify use of rmail-mail-return;
18068         that's done by mail-bury now.
18069         (rmail-mail-return): Handle arg NEWBUF.
18071 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
18073         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18074         SIZE is a number.
18076 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
18078         * window.el (get-lru-window, get-mru-window)
18079         (get-largest-window): Never return a minibuffer window.
18080         (display-buffer-pop-up-window): Fix a bug that could lead to
18081         reusing the minibuffer window.
18082         (display-buffer): Pass original specifier argument to
18083         display-buffer-function instead of the normalized one.
18084         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18086 2011-06-22  Leo Liu  <sdl.web@gmail.com>
18088         * minibuffer.el (completing-read-function)
18089         (completing-read-default): Move from minibuf.c.
18091 2011-06-22  Richard Stallman  <rms@gnu.org>
18093         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18094         to Rmail even if not started by a special Rmail command.
18096         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18097         Copy the buffer currently showing just one message.
18099 2011-06-22  Roland Winkler  <winkler@gnu.org>
18101         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18102         (bibtex-clean-entry): First delete the old key so that a
18103         customized algorithm for generating the new key does not get
18104         confused by the old key.
18105         (bibtex-url): Obey regexp of first step.
18106         (bibtex-search-entries): Do not use add-to-list with local
18107         list-var.
18109 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18111         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18112         stored a user name, then query for the password first, instead of
18113         waiting for SMTP to give an error message and the trying again.
18115 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
18117         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18118         BUFFER in call-process.
18120 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18122         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18123         QUIT twice.
18124         (smtpmail-try-auth-methods): Require user name and password from
18125         auth-source.
18127 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
18129         * window.el (display-buffer-default-specifiers)
18130         (display-buffer-alist): Remove entries for pop-up-frame-alist.
18131         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18132         (split-window): Normalize SIDE argument (Bug#8916).
18134         * frame.el (pop-up-frame-alist, pop-up-frame-function)
18135         (special-display-frame-alist, special-display-popup-frame):
18136         Remove duplicate declarations.  These are now in window.el.
18138 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18140         * mail/smtpmail.el (smtpmail-via-smtp):
18141         Set :use-starttls-if-possible so that we always use STARTTLS if the
18142         server supports it.  SMTP servers that support STARTTLS commonly
18143         require it.
18145         * net/network-stream.el (network-stream-open-starttls): Support
18146         upgrading to STARTTLS always, even if we don't have built-in support.
18147         (open-network-stream): Add the :always-query-capabilities keyword.
18149         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18150         upgrades with `open-network-stream', and rely solely on
18151         auth-source for all credentials.  Big changes throughout the file,
18152         but in particular:
18153         (smtpmail-auth-credentials): Remove.
18154         (smtpmail-starttls-credentials): Remove.
18155         (smtpmail-via-smtp): Check for servers saying they want AUTH after
18156         MAIL FROM, too.
18158         * net/network-stream.el (network-stream-open-starttls):
18159         Provide support for client certificates both for external and built-in
18160         STARTTLS.
18161         (auth-source): Require.
18162         (open-network-stream): Document the :client-certificate keyword.
18163         (network-stream-certificate): Change cert-cert to cert and
18164         cert-key to key.
18166 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
18168         * net/tramp-cache.el (top): Don't load the persistency file when
18169         "emacs -Q" has been called.
18171 2011-06-21  Tim Harper  <timcharper@gmail.com>
18173         * term/ns-win.el (ns-initialize-window-system):
18174         Set application-specific `ApplePressAndHoldEnabled' system
18175         resource to NO as it is not yet supported by the NS port.
18177 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
18179         * misc.el (list-dynamic-libraries--refresh): Compute header here...
18180         (list-dynamic-libraries): ...not here.
18182 2011-06-21  Leo Liu  <sdl.web@gmail.com>
18184         * subr.el (sha1): Implement sha1 using secure-hash.
18186 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
18188         * window.el (display-buffer-alist): In default value do not
18189         enforce searching a window on any but the selected frame.
18190         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18191         (display-buffer-select-window): Remove function.
18192         (display-buffer-in-window): When a window on another frame gets
18193         reused, do not select it any more but just raise its frame if
18194         necessary (Bug#8851) and (Bug#8856).
18195         (display-buffer-normalize-options): Handle pop-up-frames related
18196         options more faithfully.
18197         (pop-to-buffer): Don't rely on `display-buffer' selecting the
18198         window if it is on another frame.
18199         (display-buffer-alist, display-buffer-default-specifiers):
18200         Don't make new frame unsplittable by default.
18201         (display-buffer-normalize-argument): Fix doc-string typo and use
18202         'same-frame-other-window instead of 'other-window when associating
18203         with display-buffer-macro-specifiers.
18205 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
18207         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18208         New functions.
18209         (5x5-mode-map, 5x5-mode-menu): Bind them.
18210         (5x5-draw-grid): Tweak the solver's rendering.
18212 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18214         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18215         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18217 2011-06-21  Drew Adams  <drew.adams@oracle.com>
18219         * menu-bar.el: Use function variable instead of switch-to-buffer.
18220         (menu-bar-select-buffer-function): New variable.
18221         (menu-bar-update-buffers): Use it (bug#8876).
18223 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18225         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18226         variable's status.
18228 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
18230         * x-dnd.el (x-dnd-version-from-flags)
18231         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18232         and long as number (Bug#8899).
18233         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18235 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18237         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18238         (completion-try-completion, completion-all-completions): Compute the
18239         metadata argument if it's missing; make it optional (bug#8795).
18241         * wid-edit.el: Use lex-bind and move towards completion-at-point.
18242         (widget-complete): Use new :completion-function property.
18243         (widget-completions-at-point): New function.
18244         (default): Use :completion-function instead of :complete.
18245         (widget-default-completions): Rename from widget-default-complete;
18246         Rewrite.
18247         (widget-string-complete, widget-file-complete, widget-color-complete):
18248         Remove functions.
18249         (file, symbol, function, variable, coding-system, color):
18250         * international/mule-cmds.el (default-input-method, charset)
18251         (language-info-custom-alist):
18252         * cus-edit.el (face): Use new property :completions.
18254         * progmodes/pascal.el (pascal-completions-at-point): New function.
18255         (pascal-mode): Use it.
18256         (pascal-mode-map): Use completion-at-point.
18257         (pascal-toggle-completions): Make obsolete.
18258         (pascal-complete-word, pascal-show-completions):
18259         * progmodes/octave-mod.el (octave-complete-symbol):
18260         Redefine as obsolete alias.
18261         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18262         Signal absence of completion info for old Octave,
18263         (inferior-octave-complete): Redefine as obsolete alias.
18264         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18265         (meta-completions-at-point): Rename from meta-complete-symbol and
18266         adapt it for use on completion-at-point-functions.
18267         (meta-common-mode): Use it.
18268         (meta-looking-at-backward, meta-match-buffer): Remove.
18269         (meta-complete-symbol): Redefine as obsolete alias.
18270         (meta-common-mode-map): Use completion-at-point.
18271         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18272         (makefile-mode-map): Use completion-at-point.
18273         (makefile-completions-at-point): Rename from makefile-complete and
18274         adapt it for use on completion-at-point-functions.
18275         (makefile-mode): Use it.
18276         (makefile-complete): Redefine as obsolete alias.
18278 2011-06-20  Deniz Dogan  <deniz@dogan.se>
18280         * net/rcirc.el: Delete trailing whitespaces once and for all.
18282 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
18284         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18286 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
18288         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18290         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18292 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
18294         * window.el (display-buffer-other-window-means-other-frame):
18295         Call display-buffer-normalize-alist.
18296         (display-buffer-normalize-specifiers-1): Rename to
18297         display-buffer-normalize-argument.  New argument other-frame.
18298         Rewrite.
18299         (display-buffer-normalize-specifiers-2): Rename to
18300         display-buffer-normalize-options.
18301         (display-buffer-normalize-alist-1): New function.
18302         (display-buffer-normalize-specifiers-3): Rename to
18303         display-buffer-normalize-alist.
18304         Call display-buffer-normalize-alist-1.
18305         (display-buffer-normalize-options-inhibit): New variable.
18306         (display-buffer-normalize-specifiers): Rewrite calling
18307         display-buffer-normalize-alist,
18308         display-buffer-normalize-argument, and
18309         display-buffer-normalize-options.  Don't call the latter if
18310         display-buffer-normalize-options-inhibit is non-nil.
18311         (frame-auto-delete): New option.
18312         (window-deletable-p): Use frame-auto-delete.
18313         (window-list-no-nils, window-state-ignored-parameters)
18314         (window-state-get-1, window-state-get, window-state-put-list)
18315         (window-state-put-1, window-state-put-2, window-state-put):
18316         New functions.
18317         (display-buffer-normalize-options): Move special-display-p group
18318         after pop-up-frame group (Bug#8851) and (Bug#8856).
18320 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
18322         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18323         groups (Bug#8776).
18324         (rx-submatch-n): New function.
18325         (rx): Document it.
18327         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18328         (Bug#8768).
18330         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18332         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18334         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18335         anytime existing face settings are present (Bug#8889).
18337         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18338         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18339         Remove unused argument.
18341 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
18343         * window.el (display-buffer-default-specifiers):
18344         Remove pop-up-frame.  Add pop-up-window-min-height,
18345         pop-up-window-min-width, and another reuse-window specifier
18346         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
18347         (display-buffer-normalize-specifiers-2):
18348         Handle split-height-threshold and split-width-threshold also when
18349         pop-up-windows is unset.  Add a reuse-window specifier for the
18350         case popping up a new window fails.
18351         (special-display-popup-frame): Remove double quoting.
18352         (display-buffer-normalize-specifiers-1): Fix thinko.
18354 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18356         * shell.el (shell-completion-vars): Set pcomplete-termination-string
18357         according to comint-completion-addsuffix.
18359         * pcomplete.el: Convert to lexical binding and fix bug#8819.
18360         (pcomplete-suffix-list): Mark as obsolete.
18361         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18362         pcomplete-seen in the closure.
18363         (pcomplete-comint-setup): Setup completion-at-point as well.
18364         (pcomplete--entries): New function.
18365         (pcomplete--env-regexp): New var.
18366         (pcomplete-entries): Rewrite to work with partial-completion and
18367         without relying on pcomplete-suffix-list.
18368         (pcomplete-pare-list): Remove, unused.
18370 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
18372         * window.el (display-buffer-alist): Set pop-up-window-min-height
18373         and pop-up-window-min-width in default value.  Reported by
18374         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
18375         other-window-means-other-frame.
18376         (display-buffer-macro-specifiers): Comment out entry for
18377         other-window specifier.
18378         (display-buffer-other-window-means-other-frame): New function.
18379         (display-buffer-normalize-specifiers-1): New arguments
18380         buffer-name and label.  Treat other-window case specially.
18381         (display-buffer-normalize-specifiers-2): Treat other-window case
18382         specially.
18383         (display-buffer-normalize-specifiers-3): New function.
18384         (display-buffer-normalize-specifiers):
18385         Call display-buffer-normalize-specifiers-3.
18387 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
18389         * window.el (same-window-p): Fix two typos introduced when
18390         adding with-no-warnings.
18391         (display-buffer-normalize-specifiers-1): Don't check
18392         pop-up-frames for 'unset initialization.
18393         (display-buffer-normalize-specifiers-2): Major rewrite using
18394         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18395         (pop-up-frames, display-buffer-reuse-frames)
18396         (display-buffer-mark-dedicated): Don't initialize to 'unset.
18397         Suggested by David Engster <deng@randomsample.de>.
18398         (even-window-heights): Initialize to 'unset.
18399         (display-buffer-alist-set): Handle new 'unset initializations.
18400         (display-buffer-macro-specifiers): Don't pop up a new frame in the
18401         other window case.
18403 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
18405         * window.el (display-buffer-normalize-specifiers-1):
18406         Respect current value of pop-up-frames for most reasonable values of
18407         second argument of display-buffer (Bug#8865).
18408         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18409         (switch-to-buffer-other-window-same-frame)
18410         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
18411         Adams (Bug#8875).
18412         (display-buffer): Don't check noninteractive when calling
18413         display-buffer-pop-up-frame.
18414         (display-buffer-pop-up-frame): Never pop up a frame in
18415         noninteractive mode (Bug#8857).
18416         (enlarge-window, shrink-window): Don't report an error when the
18417         window can't be resized as requested (Bug#8862).
18419 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18421         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18423         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18425         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18427 2011-06-15  Alan Mackenzie  <acm@muc.de>
18429         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18430         for declarators, disable knr checking to speed up for normal files.
18431         2: Refactor, replacing a sequence of nested if forms by a cond form.
18433 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18435         * net/network-stream.el (open-network-stream): Add the keyword
18436         :always-query-capabilities for the case where you want to force a
18437         `plain' network connection, but the protocol still requires the
18438         capabilitiy command (i.e., SMTP and EHLO).
18440         * subr.el (process-live-p): Rename from `process-alive-p' for
18441         consistency with other `-live-p' functions.
18443 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18445         * window.el (same-window-buffer-names, same-window-regexps)
18446         (special-display-frame-alist, special-display-popup-frame)
18447         (special-display-function, special-display-buffer-names)
18448         (special-display-regexps, pop-up-frame-alist)
18449         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18450         (pop-up-windows, split-window-preferred-function)
18451         (split-height-threshold, split-width-threshold, even-window-heights)
18452         (display-buffer-mark-dedicated): Don't encourage the use of
18453         display-buffer-alist from Elisp code.
18455 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
18457         * progmodes/python.el (python-mode): Derive from prog-mode.
18458         * progmodes/ps-mode.el (ps-mode):
18459         * progmodes/mixal-mode.el (mixal-mode):
18460         * progmodes/cfengine.el (cfengine-mode):
18461         * progmodes/ld-script.el (ld-script-mode): Likewise.
18463 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
18465         * window.el (display-buffer-alist): Trim default value to avoid
18466         popping up a new frame (Bug#8857) or reusing an arbitrary window
18467         on another frame.
18468         (display-buffer): Do not fall back on popping up a new frame in
18469         batch mode (Bug#8857).
18471 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
18473         * cus-theme.el (describe-theme-1): Use custom-theme-p.
18474         (custom-theme-summary): New function.
18475         (customize-themes): Use it.
18477 2011-06-13  Glenn Morris  <rgm@gnu.org>
18479         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18481 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
18483         * help.el (help-window): Remove variable.
18484         (help-window-point-marker, temp-buffer-max-height)
18485         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18486         (help-print-return-message): Don't set help-window.
18487         (resize-temp-buffer-window): Rewrite cod eand doc-string.
18488         (help-window-setup-finish): Remove.
18489         (help-window-display-message, help-window-setup)
18490         (with-help-window): Major rewrite based on new
18491         display-buffer-window variable.
18493         * help-mode.el (help-mode-finish): Remove help-window related
18494         code.
18496         * view.el (view-exits-all-viewing-windows): Remove reference to
18497         view-return-to-alist in doc-string.
18498         (view-return-to-alist): Make obsolete.
18499         (view-buffer): Call pop-to-buffer-same-window and remove
18500         undo-window code.
18501         (view-buffer-other-window): Call pop-to-buffer-other-window and
18502         simplify code.  Ignore second argument.
18503         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18504         simplify code.  Ignore second argument.
18505         (view-return-to-alist-update): Make obsolete.
18506         (view-mode-enter): Rename second argument to QUIT-RESTORE.
18507         Rewrite using quit-restore window parameters.
18508         (view-mode-exit): Rename second argument to EXIT-ONLY.
18509         Rewrite using quit-restore-window.
18510         (View-exit, View-exit-and-edit, View-leave, View-quit)
18511         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18512         appropriate arguments.
18513         (view-end-message): Use quit-restore window parameter.
18515         * window.el (display-buffer-function): Rewrite doc-string.
18516         (display-buffer-window, display-buffer-alist): New variables.
18517         (display-buffer-split-specifiers)
18518         (display-buffer-side-specifiers)
18519         (display-buffer-macro-specifiers): New constants.
18520         (display-buffer-even-window-sizes, display-buffer-set-height)
18521         (display-buffer-set-width, display-buffer-select-window)
18522         (display-buffer-in-window, display-buffer-reuse-window)
18523         (display-buffer-split-window-1, display-buffer-split-window)
18524         (display-buffer-split-atom-window, display-buffer-pop-up-window)
18525         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18526         (display-buffer-in-side-window, normalize-buffer-to-display)
18527         (display-buffer-normalize-specifiers-1)
18528         (display-buffer-normalize-specifiers-2)
18529         (display-buffer-normalize-specifiers, display-buffer-frame):
18530         New functions.
18531         (display-buffer): Major rewrite.
18532         (display-buffer-other-window, display-buffer-other-frame)
18533         (pop-to-buffer, switch-to-buffer-other-window)
18534         (switch-to-buffer-other-frame): Rewrite.
18535         (display-buffer-same-window, display-buffer-same-frame)
18536         (display-buffer-same-frame-other-window)
18537         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18538         (pop-to-buffer-other-window)
18539         (pop-to-buffer-same-frame-other-window)
18540         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18541         (switch-to-buffer-other-window-same-frame): New functions.
18542         (same-window-p, special-display-p): Rewrite disabling warnings.
18543         Make obsolete.
18544         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18545         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18546         Make obsolete
18547         (same-window-buffer-names, same-window-regexps)
18548         (special-display-frame-alist, special-display-popup-frame)
18549         (special-display-function, special-display-buffer-names)
18550         (special-display-regexps, pop-up-frame-alist)
18551         (pop-up-frame-function, split-window-preferred-function)
18552         (split-height-threshold, split-width-threshold)
18553         (even-window-heights): Make obsolete.
18555 2011-06-12  Glenn Morris  <rgm@gnu.org>
18557         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
18558         Misc simplifications.
18560 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
18562         * window.el (window-safely-shrinkable-p): Restore function which
18563         was inadvertently removed in change from 2011-06-11.  Declare as
18564         obsolete.
18566         * calendar/calendar.el (calendar-generate-window):
18567         Use window-iso-combined-p instead of combination of one-window-p and
18568         window-safely-shrinkable-p.
18570 2011-06-12  Glenn Morris  <rgm@gnu.org>
18572         * progmodes/fortran.el (fortran-mode-syntax-table):
18573         * progmodes/f90.el (f90-mode-syntax-table):
18574         Set % to punctuation.  (Bug#8820)
18575         (f90-find-tag-default): Remove, no longer needed.
18577 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
18579         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18581 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
18583         * image.el (image-animated-p): Return animation delay in seconds.
18584         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18585         (image-animate-timeout): Remove DELAY argument.  Don't assume
18586         every subimage has the same delay; get it from image-animated-p.
18587         (image-animate): Caller changed.
18589 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
18591         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18592         to ignored backtrace functions.
18594 2011-06-11  Glenn Morris  <rgm@gnu.org>
18596         * calendar/appt.el (appt-disp-window-function): Doc fix.
18597         (appt-check): Handle overlapping appointments.  (Bug#8337)
18599 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
18601         * window.el (window-tree-1, window-tree): New functions, moving
18602         the latter to window.el.
18603         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18604         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18605         (bw-refresh-edges): Remove.
18606         (balance-windows-1, balance-windows-2): New functions.
18607         (balance-windows): Rewrite in terms of window tree functions,
18608         balance-windows-1 and balance-windows-2.
18609         (bw-adjust-window): Remove.
18610         (balance-windows-area-adjust): New function with functionality of
18611         bw-adjust-window but using resize-window.
18612         (set-window-text-height): Rewrite doc-string.
18613         Use normalize-live-window and resize-window.
18614         (enlarge-window-horizontally, shrink-window-horizontally):
18615         Rename argument to DELTA.
18616         (window-buffer-height): New function.
18617         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18618         Rewrite using new window resize routines.
18619         (kill-buffer-and-window, mouse-autoselect-window-select):
18620         Use ignore-errors instead of condition-case.
18621         (quit-window): Call delete-frame instead of delete-windows-on
18622         for the only buffer on frame.
18624 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
18626         * loadup.el (top-level): Load window before files for the sake
18627         of replace-buffer-in-windows.
18629         * files.el (read-buffer-to-switch)
18630         (switch-to-buffer-other-window)
18631         (switch-to-buffer-other-frame, display-buffer-other-frame):
18632         Move to window.el.
18634         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18635         (previous-buffer): Move to window.el.
18637         * bindings.el (unbury-buffer): Move to window.el.
18639         * window.el (delete-other-windows-vertically): Move after
18640         definition of delete-other-windows.
18641         (other-window, delete-windows-on, replace-buffer-in-windows):
18642         Move here from window.c.
18643         (record-window-buffer, unrecord-window-buffer)
18644         (set-window-buffer-start-and-point, switch-to-prev-buffer)
18645         (switch-to-next-buffer): New functions.
18646         (get-next-valid-buffer, last-buffer, next-buffer): Move here
18647         from simple.el.  Call switch-to-next-buffer.
18648         (previous-buffer): Move here from simple.el.
18649         Call switch-to-prev-buffer.
18650         (bury-buffer): Move here from buffer.c.  Switch to previous
18651         buffer when window cannot be deleted.
18652         (unbury-buffer): Move here from bindings.el.
18653         (ctl-x-map): Move binding for other-window from window.c to
18654         here.
18655         (read-buffer-to-switch, switch-to-buffer-other-window)
18656         (switch-to-buffer-other-frame): Move here from files.el.
18657         (normalize-buffer-to-switch-to): New functions.
18658         (switch-to-buffer): Move here from buffer.c.
18659         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18661 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
18663         * window.el (window-min-height, window-min-width): Move here
18664         from window.c.  Add defcustoms and rewrite doc-strings.
18665         (resize-mini-window, resize-window): New functions.
18666         (adjust-window-trailing-edge, enlarge-window, shrink-window):
18667         Move here from window.c.
18668         (maximize-window, minimize-window): New functions.
18669         (delete-window, delete-other-windows, split-window): Move here
18670         from window.c.
18671         (window-split-min-size): New function.
18672         (split-window-keep-point): Mention split-window-above-each-other
18673         instead of split-window-vertically.
18674         (split-window-above-each-other, split-window-vertically):
18675         Rename split-window-vertically to split-window-above-each-other
18676         and provide defalias for old definition.
18677         (split-window-side-by-side, split-window-horizontally):
18678         Rename split-window-horizontally to split-window-side-by-side
18679         and provide defalias for the old definition.
18680         (ctl-x-map): Move bindings for delete-window,
18681         delete-other-windows and enlarge-window here from window.c.
18682         Replace bindings for split-window-vertically and
18683         split-window-horizontally by bindings for
18684         split-window-above-each-other and split-window-side-by-side.
18686         * cus-start.el (all): Remove entries for window-min-height and
18687         window-min-width.  Add entries for window-splits and
18688         window-nest.
18690 2011-06-09  Glenn Morris  <rgm@gnu.org>
18692         * calendar/appt.el (appt-mode-line): New function.
18693         (appt-check, appt-disp-window): Use it.
18695         * files.el (hack-one-local-variable-eval-safep):
18696         Allow minor-modes with explicit +/-1 arguments.
18698 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
18700         * term/xterm.el (xterm): Add defgroup.
18701         (xterm-extra-capabilities): Add defcustom to supply known xterm
18702         capabilities, skip querying them, or query them (default).
18703         (terminal-init-xterm): Use it.
18704         (terminal-init-xterm-modify-other-keys): New function to set up
18705         modifyOtherKeys support to simplify `terminal-init-xterm'.
18707 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
18709         * window.el (resize-window-reset, resize-window-reset-1)
18710         (resize-subwindows-skip-p, resize-subwindows-normal)
18711         (resize-subwindows, resize-other-windows, resize-this-window)
18712         (resize-root-window, resize-root-window-vertically)
18713         (window-deletable-p, window-or-subwindow-p)
18714         (frame-root-window-p): New functions.
18716 2011-06-09  Glenn Morris  <rgm@gnu.org>
18718         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18719         (ange-ftp-get-files): Use it.
18721 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
18723         * mail/sendmail.el (mail-recover-1, mail-recover):
18724         * files.el (recover-file, recover-session):
18725         Handle dired-listing-switches not being just a single short option.
18727 2011-06-09  Glenn Morris  <rgm@gnu.org>
18729         * calendar/appt.el (appt-display-message, appt-disp-window):
18730         Handle lists of appointments.
18732 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
18734         * window.el (one-window-p): Move down in code.
18735         Rewrite doc-string.
18736         (window-current-scroll-bars): Rewrite doc-string.
18737         Normalize live window argument.
18738         (walk-windows, get-window-with-predicate, count-windows):
18739         Rewrite doc-string.  Use window-list-1.
18740         (window-in-direction-2, window-in-direction, get-mru-window):
18741         New functions.
18743 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
18745         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18746         Doc fix (Bug#8713).
18748 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
18750         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18752 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
18754         * loadhist.el (unload-feature-special-hooks):
18755         Add `comint-output-filter-functions'.
18757 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
18759         * calendar/appt.el (appt-check): Move some initializations into the let.
18761 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
18763         * window.el (window-height): Defalias to window-total-height.
18764         (window-width): Defalias to window-body-width.
18766 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
18768         * image-mode.el (image-toggle-animation): New command.
18769         (image-mode-map): Bind it to RET.
18770         (image-mode): Update message.
18771         (image-toggle-display-image): Avoid a spurious cache flush.
18772         (image-transform-rotation): Doc fix.
18773         (image-transform-properties): Return quickly in the normal case.
18774         (image-animate-loop): Rename from image-animate-max-time.
18776         * image.el (image-animate-max-time): Move to image-mode.el.
18777         (create-animated-image): Remove unnecessary function.
18778         (image-animate): Rename from image-animate-start.  New arg.
18779         (image-animate-stop): Remove; just use image-animate-timer.
18780         (image-animate-timer): Use car-safe.
18781         (image-animate-timeout): Rename argument.
18783 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
18785         * window.el (get-lru-window, get-largest-window): Move here from
18786         window.c.  Rename first argument to ALL-FRAMES.
18787         Rephrase doc-strings.
18788         (get-buffer-window-list): Rewrite using window-list-1.
18789         Rephrase doc-string.
18790         (window-safe-min-height, window-safe-min-width): New constants.
18791         (window-size-ignore, window-min-size, window-min-size-1)
18792         (window-sizable, window-sizable-p, window-size-fixed-1)
18793         (window-size-fixed-p, window-min-delta-1, window-min-delta)
18794         (window-max-delta-1, window-max-delta, window-resizable)
18795         (window-resizable-p, window-total-height, window-total-width)
18796         (window-body-width): New functions.
18797         (window-full-height-p, window-full-width-p): Rewrite using
18798         window-total-size.
18799         (window-body-height): Rewrite using window-body-size.
18801 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
18803         * window.el (window-right, window-left, window-child)
18804         (window-child-count, window-last-child, window-any-p)
18805         (normalize-live-buffer, normalize-live-frame)
18806         (normalize-any-window, normalize-live-window)
18807         (window-iso-combination-p, window-iso-combined-p)
18808         (window-iso-combinations)
18809         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18810         (windows-with-parameter, window-with-parameter)
18811         (window-atom-root, make-window-atom, window-atom-check-1)
18812         (window-atom-check, window-side-check, window-check):
18813         New functions.
18814         (ignore-window-parameters, window-sides, window-sides-vertical)
18815         (window-sides-slots): New variables.
18816         (window-size-fixed): Move down in code.  Minor doc-string fix.
18818 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
18820         * comint.el (comint-dynamic-complete-as-filename)
18821         (comint-dynamic-complete-filename): Correctly call
18822         completion-in-region.
18824 2011-06-05  Deniz Dogan  <deniz@dogan.se>
18826         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18827         in last change.
18829 2011-06-05  Deniz Dogan  <deniz@dogan.se>
18831         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18832         (rcirc): Use it to prompt for encryption.
18834 2011-06-05  Roland Winkler  <winkler@gnu.org>
18836         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18837         (bibtex-search-entries): New command bound to C-c C-a.
18838         (bibtex-display-entries): New function.
18840 2011-06-05  Roland Winkler  <winkler@gnu.org>
18842         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18843         (bibtex-insert-kill): After yanking insert newline if necessary.
18844         (bibtex-initialize): Call bibtex-string-files-init only once.
18845         (bibtex-mode): Do not call easy-menu-add.
18846         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18847         (bibtex-yank): Set arg properly if nil.
18849 2011-06-05  Roland Winkler  <winkler@gnu.org>
18851         * textmodes/bibtex.el (bibtex-search-entry-globally):
18852         New variable.
18853         (bibtex-search-entry): Use it.
18855 2011-06-05  Roland Winkler  <winkler@gnu.org>
18857         * textmodes/bibtex.el (bibtex-entry-format): New option
18858         sort-fields.
18859         (bibtex-format-entry, bibtex-reformat): Honor this option.
18860         (bibtex-parse-entry): Return fields in proper order.
18862 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
18864         * doc-view.el (doc-view-remove-if): Move computation of result out
18865         of `dolist' to silence misleading lexical-binding warning.
18867 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
18869         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18870         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18872 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
18874         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18875         "SunOS 5.10".
18877 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
18879         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18880         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18881         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18882         (tramp-parse-putty):
18883         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18884         (tramp-completion-function-alist-ssh)
18885         (tramp-completion-function-alist-telnet)
18886         (tramp-completion-function-alist-su)
18887         (tramp-completion-function-alist-putty): Set `tramp-autoload'
18888         cookie.
18890         * net/tramp-ftp.el:
18891         * net/tramp-sh.el:
18892         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18893         load "tramp.el" `tramp-set-completion-function'.
18895 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18897         * shell.el: Require and use pcomplete.
18898         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18899         (shell-completion-vars): Set pcomplete-default-completion-function.
18901 2011-06-04  Deniz Dogan  <deniz@dogan.se>
18903         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18904         `memq' (Bug#8799).
18906 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18908         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18910 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
18912         * bs.el (bs--mark-unmark, bs--nth-wrapper):
18913         * mpc.el (mpc-select-extend, mpc-songpointer-context):
18914         * vc/log-view.el (log-view-beginning-of-defun):
18915         * vc/smerge-mode.el (smerge-apply-resolution-patch)
18916         (smerge-refine-forward, smerge-refine-chopup-region):
18917         Silence warning for unused `dotimes' counter variables.
18919 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18921         * net/tramp.el (tramp-with-progress-reporter): Rename from
18922         with-progress-reporter.  Use `declare'.
18923         * net/tramp-smb.el:
18924         * net/tramp-sh.el:
18925         * net/tramp-gvfs.el: Update all uses.
18927 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
18929         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18930         buffer isn't killed before making it current.
18932 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18934         Silence various byte-compiler warnings.
18935         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18936         `access-type' and new obsolescence format.
18937         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18938         new format.
18939         (byte-compile-check-variable): New `access-type' argument.
18940         Only warn if the access-type is obsolete.
18941         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18942         (byte-compile-variable-set): Adjust callers.
18943         * help-fns.el (describe-variable): Adjust to new obsolescence format.
18944         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18945         setting it as obsolete.
18946         * simple.el (minibuffer-completing-symbol):
18947         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18948         access as obsolete.
18949         * minibuffer.el (minibuffer-completing-file-name): Don't make it
18950         obsolete yet.
18951         * international/quail.el (quail-mouse-choose-completion): Remove unused
18952         code referring to obsolete var.
18953         (quail-choose-completion-string): Remove.
18954         * server.el (server-clients-with, server-kill-buffer-query-function)
18955         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18956         * proced.el (proced-send-signal):
18957         * emacs-lisp/lisp.el (lisp-complete-symbol):
18958         Replace completion-annotate-function with completion-extra-properties.
18960 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18962         * simple.el (goto-line): Use read-number.
18963         (overriding-map-is-bound): Remove.
18964         (saved-overriding-map): Change default.
18965         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18966         Take the map as argument.
18967         (universal-argument, negative-argument, digit-argument): Use it.
18968         (restore-overriding-map): Adjust.
18969         (do-auto-fill): Use fill-forward-paragraph.
18970         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18972         * minibuffer.el (minibuffer-inactive-mode-map): New var.
18973         (minibuffer-inactive-mode): New major mode.
18974         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18975         the *Messages* buffer" hack.
18976         (mouse-popup-menubar): Don't burp if the event is a normal key.
18978         Miscellaneous tweaks.
18979         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18980         lexical scoping as in subr.el's dolist and dotimes.
18981         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18982         Silence compiler warning.
18983         * thingatpt.el (forward-whitespace): Trivial coding style fix.
18984         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18985         * international/ccl.el (ccl-compile): Trivial simplification.
18986         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18987         * emacs-lisp/testcover.el (testcover-end): Remove spurious
18988         `printflag' argument.
18989         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18990         Purecopy the whole obsolescence data.
18992 2011-06-01  Leo Liu  <sdl.web@gmail.com>
18994         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18995         improve doc-string as suggested by Marco Pessotto
18996         <melmothx@gmail.com>.
18997         (rcirc-print): Fix last change.
18999 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19001         * minibuffer.el (complete-with-action): Return nil for the metadata and
19002         boundaries of non-functional tables.
19003         (completion-table-dynamic): Return nil for the metadata.
19004         (completion-table-with-terminator): Add default case, using
19005         complete-with-action.
19006         (completion--metadata): New function.
19007         (completion-all-sorted-completions, minibuffer-completion-help): Use it
19008         to try and avoid pathological performance problems.
19009         (completion--embedded-envvar-table): Return `category' metadata.
19011 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19013         * subr.el (process-alive-p): New tiny convenience function.
19015 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19017         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
19018         content but also its previous major mode.
19020 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
19022         * emacs-lisp/debug.el (debug): Restore the previous content of the
19023         *Backtrace* buffer when we exit with C-M-c.
19025 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19027         * minibuffer.el: Add metadata method to completion tables.
19028         (completion-category-overrides): New defcustom.
19029         (completion-metadata, completion--field-metadata)
19030         (completion-metadata-get, completion--styles)
19031         (completion--cycle-threshold): New functions.
19032         (completion-try-completion, completion-all-completions):
19033         Add `metadata' argument to choose completion-styles.
19034         (completion--do-completion): Use metadata to choose cycling.
19035         (completion-all-sorted-completions): Use metadata for sorting.
19036         Remove :completion-cycle-penalty which is not needed any more.
19037         (completion--try-word-completion): Add `metadata' argument.
19038         (minibuffer-completion-help): Check metadata for annotation function
19039         and sorting.
19040         (completion-file-name-table): Return `category' metadata.
19041         (minibuffer-completing-file-name): Make obsolete.
19042         * simple.el (minibuffer-completing-symbol): Make obsolete.
19043         * icomplete.el (icomplete-completions): Pass new `metadata' param to
19044         completion-try-completion.
19046 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19048         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19050 2011-05-30  Leo Liu  <sdl.web@gmail.com>
19052         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19053         (rcirc-print): Decode all incoming messages (bug#8744).
19054         (rcirc-decode-coding-system): Allow value nil for automatic coding
19055         system detection.
19057 2011-06-01  Glenn Morris  <rgm@gnu.org>
19059         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19061 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19063         * image.el (image-animate-max-time): Allow nil and t values.
19064         Default to nil.
19065         (create-animated-image): Doc fix.
19066         (image-animate-start): Remove second arg; just use
19067         image-animate-max-time.
19068         (image-animate-timeout): Doc fix.  Args changed.
19070         * image-mode.el (image-toggle-display-image): Ensure that the
19071         image spec passed to the animate timer is the same object as in
19072         the buffer's display property (Bug#6981).
19073         (image-transform-properties): Doc fix.
19075         * image.el (image-animate-max-time): Default to nil.
19077 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
19079         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19080         entire buffer list (Bug#8184).
19082 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19084         * image.el (imagemagick-types-inhibit)
19085         (imagemagick-register-types): Doc fix.
19087 2011-05-29  Deniz Dogan  <deniz@dogan.se>
19089         * net/rcirc.el (rcirc): Use the user's stored encryption method by
19090         default.
19092 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19094         * select.el: Don't perform clipboard-manager saving in hooks;
19095         leave the hooks empty.
19097 2011-05-28  Leo Liu  <sdl.web@gmail.com>
19099         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19100         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
19101         (occur-edit-mode): New major mode (Bug#8463).
19102         (occur-after-change-function): New function.
19103         (occur-engine): Give Occur tags a read-only property.
19105 2011-05-28  Kevin Ryde  <user42@zip.com.au>
19107         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19109 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19111         * bindings.el (help-echo): Make the initial non-indicator dash
19112         empty on graphical terminals (Bug#7295).
19114         * files.el (auto-mode-alist): Move config rule after the
19115         in-stripping one (Bug#8547).
19117         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19119         * startup.el (normal-splash-screen): Remove gratuitous mode-line
19120         setting (Bug#8740).
19122 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
19124         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19125         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19126         (Bug#8539).
19128 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19130         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19132 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
19134         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19135         (hs-hide-block-at-point, hs-find-block-beginning)
19136         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19137         (Bug#8279).
19139 2011-05-28  Glenn Morris  <rgm@gnu.org>
19141         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
19143 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19145         * help-fns.el (describe-function-1): If the function is a derived
19146         major mode, print the parent mode.
19148         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19149         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19151 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19153         * minibuffer.el (completion--capf-wrapper): Check applicability before
19154         returning non-nil for non-exclusive completion data.
19155         * progmodes/etags.el (tags-completion-at-point-function):
19156         * info-look.el (info-lookup-completions-at-point): Mark as
19157         non-exclusive.
19158         (info-complete): Adjust accordingly.
19160         * info-look.el: Convert to lexical-binding and completion-at-point.
19161         (info-lookup-completions-at-point): New function.
19162         (info-complete): Use it and completion-in-region.
19164 2011-05-28  Drew Adams  <drew.adams@oracle.com>
19166         * isearch.el: Let M-e start with point at the first mismatched char.
19167         (isearch-fail-pos): New function.
19168         (isearch-edit-string): Use it.
19170 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
19172         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19174 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
19176         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
19177         traversal functions for avl-trees.
19178         (avl-tree--stack): New struct.
19179         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19180         (avl-tree-enter): Add optional `updatefun' arg.
19181         (avl-tree--do-enter): Add optional `updatefun' arg.
19182         Change return value.
19183         (avl-tree-delete): Add optional `test' and `nilflag' args.
19184         (avl-tree--do-delete): Add `test' and `nilflag' args.
19185         Change return value.
19186         (avl-tree-member): Add optional `nilflag'
19187         (avl-tree-member-p): New function.
19188         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19189         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19190         (avl-tree-stack-empty-p): New functions.
19192         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19193         avl-tree--del-balance1 and make it work both ways.
19194         (avl-tree--del-balance2): Remove.
19195         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19196         make it work both ways.
19197         (avl-tree--enter-balance2): Remove.
19198         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19199         New macros.
19200         (avl-tree--mapc, avl-tree-map): Add direction argument.
19202 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
19204         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19206 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
19208         * select.el: Support clipboard managers with built-in function
19209         x-clipboard-manager-save, via delete-frame-functions and
19210         kill-emacs-hook.
19211         (xselect-convert-to-targets): Add MULTIPLE target to list.
19212         (xselect-convert-to-save-targets): New function.
19214 2011-05-27  Kenichi Handa  <handa@m17n.org>
19216         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19217         let-binding rfc2047-encode-encoded-words to nil.
19219 2011-05-27  Glenn Morris  <rgm@gnu.org>
19221         * mail/emacsbug.el: Don't require url-util.
19223         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
19225         * files.el (set-auto-mode):
19226         Also respect mode: entries at the end of the file.  (Bug#8586)
19228 2011-05-26  Glenn Morris  <rgm@gnu.org>
19230         * files.el (hack-local-variables-prop-line, hack-local-variables):
19231         Downcase mode names, as seems to be traditional.
19232         (hack-local-variables, hack-local-variables-apply): Doc fixes.
19234         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19235         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
19237 2011-05-25  Julien Danjou  <julien@danjou.info>
19239         * textmodes/rst.el (rst-define-level-faces): Do not define face
19240         symbol if it is already defined.
19242 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
19244         * play/5x5.el (5x5-new-game, 5x5-randomize):
19245         Reset 5x5-solver-output to nil when a new grid is cast.
19246         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19247         these debugging traces, as defmacro breaks the compiled code.
19249 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
19251         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19253 2011-05-24  Leo Liu  <sdl.web@gmail.com>
19255         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19256         (vc-bzr-sha1): Adapt.
19258         * sha1.el: Remove.  Function `sha1' is now builtin.
19260         * bindings.el: Provide sha1 feature.
19262 2011-05-24  Kenichi Handa  <handa@m17n.org>
19264         * mail/sendmail.el: Require `rfc2047'.
19265         (mail-insert-from-field): Do not perform RFC2047 encoding.
19266         (mail-encode-header): New function.
19267         (sendmail-send-it): Set buffer-file-coding-system of the work
19268         buffer to the return value of select-message-coding-system.
19269         Call mail-encode-header.
19271         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19273 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
19275         * mail/supercite.el (sc-default-cite-frame):
19276         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19278 2011-05-24  Glenn Morris  <rgm@gnu.org>
19280         * progmodes/python.el (brm-menu): Declare.
19282         * emulation/viper.el (viper-set-hooks): Declare.
19284         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19285         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19286         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19287         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19288         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19289         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19291 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19293         Add an :exit-function for completion-at-point.
19295         * minibuffer.el (completion--done): New fun.
19296         (completion--do-completion): Use it.  New arg `expect-exact'.
19297         (minibuffer-complete, minibuffer-complete-word): Don't output message,
19298         since completion--do-completion does it for us now.
19299         (minibuffer-force-complete): Use completion--done and
19300         completion--replace.  Handle sole-completion case with more care.
19301         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19302         (completion-extra-properties): New var.
19303         (completion-annotate-function): Make obsolete.
19304         (minibuffer-completion-help): Adjust accordingly.
19305         Use completion-list-insert-choice-function.
19306         (completion-at-point, completion-help-at-point):
19307         Bind completion-extra-properties.
19308         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19309         * simple.el (completion-list-insert-choice-function): New var.
19310         (completion-setup-function): Preserve it.
19311         (choose-completion): Pay attention to it, shuffle the code a bit.
19312         (choose-completion-string): New arg `insert-function'.
19314         * textmodes/bibtex.el: Convert to lexical binding.
19315         (bibtex-mode-map): Use completion-at-point.
19316         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19317         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19318         (bibtex-complete): Define as obsolete alias.
19319         (bibtex-complete-internal): Remove.
19320         (bibtex-format-entry): Remove unused sub-group in regexp.
19321         * shell.el (shell--command-completion-data)
19322         (shell-environment-variable-completion):
19323         * pcomplete.el (pcomplete-completions-at-point):
19324         * comint.el (comint--complete-file-name-data): Use :exit-function
19325         instead of completion-table-with-terminator so it also works for
19326         choose-completion.
19328 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19330         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19332         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19333         (bug#8710).
19335         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19337 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
19339         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19340         customization variable and implement: If non-nil, auto-fill will
19341         be inhibited while on topic's header line.
19343 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
19345         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19346         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
19347         always have a solution in grid size = 5 cases.
19348         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19349         (5x5-solver-output, 5x5-log-buffer): New vars.
19350         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19351         Make these variables buffer local to achieve 5x5 multi-session-ness.
19352         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19353         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19354         (5x5-solve-suggest): New funs.
19355         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19356         randomize a grid so that we ensure that there is always a solution.
19357         (5x5-make-random-grid): Allow other movement than flipping.
19359 2011-05-23  Kevin Ryde  <user42@zip.com.au>
19361         * emacs-lisp/advice.el (ad-read-advised-function):
19362         Use `function-called-at-point' as the default, if it has
19363         advice and passes PREDICATE.
19365 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19367         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19368         byte-compile-lambda if it's actually a lambda.
19370         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19371         Fix function quoting.  Use backquote better.
19373 2011-05-22  Yuanle Song  <sylecn@gmail.com>
19375         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19376         matching (Bug#8516).
19378 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
19380         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19381         different face (Bug#8178).
19383 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
19385         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19386         defface (Bug#8144).
19388 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19390         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19391         funcall as well (bug#8712).  Warn when performing those conversions.
19392         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19394         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19396 2011-05-22  Glenn Morris  <rgm@gnu.org>
19398         * files.el (hack-local-variables-prop-line): Small simplifications.
19399         (hack-local-variables, hack-local-variables-prop-line):
19400         If MODE-ONLY, return the mode, rather than just `t'.
19402 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19404         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19406 2011-05-21  Glenn Morris  <rgm@gnu.org>
19408         * files.el (hack-local-variables-prop-line, hack-local-variables):
19409         If only interested in the mode, don't bother doing the other stuff.
19411         * image-mode.el (image-after-revert-hook):
19412         Redraw all frames on which the image is visible.  (Bug#8567)
19414         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
19416         * wid-edit.el (widget-checklist-match-inline):
19417         Fix 2011-04-19 change.  (Bug#8649)
19419 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19421         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19422         Also allow singlespace after single-letter capitals followed by a dot.
19424         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19425         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19427 2011-05-20  Nix  <nix@esperi.org.uk>
19429         * files.el (basic-save-buffer-2):
19430         Fix handling of break-hardlink-on-save with non-existent files.
19432 2011-05-19  Deniz Dogan  <deniz@dogan.se>
19434         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19435         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19437 2011-05-19  Glenn Morris  <rgm@gnu.org>
19439         * progmodes/f90.el (f90-type-def-re):
19440         Handle "type, bind(c)".  (Bug#8691)
19442         * emacs-lisp/autoload.el (batch-update-autoloads):
19443         Set autoload-excludes by parsing loadup.el rather than Makefiles.
19445 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
19447         * net/tramp.el (tramp-process-actions): Set "first-password-request"
19448         property for the correct connection in case of multihops.
19450 2011-05-18  Glenn Morris  <rgm@gnu.org>
19452         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19453         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19455         Rationalize calendar handling of day and month abbrev-arrays.
19456         * calendar/calendar.el (calendar-customized-p): New function.
19457         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19458         (calendar-day-name-array, calendar-month-name-array): Doc fix.
19459         Add :set function.
19460         (calendar-abbrev-length, calendar-day-abbrev-array)
19461         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19462         (calendar-day-abbrev-array, calendar-month-abbrev-array):
19463         Elements may no longer be nil.
19464         (calendar-day-name, calendar-month-name):
19465         Update for changed nature of abbrev arrays.
19466         * calendar/diary-lib.el (diary-name-pattern):
19467         Update for changed nature of abbrev arrays.
19468         (diary-mark-entries-1): Update calendar-make-alist calls.
19469         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19470         * calendar/cal-html.el (cal-html-day-abbrev-array):
19471         Simply inherit from calendar-day-abbrev-array.
19473 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19475         * progmodes/grep.el (grep-mode): Disable default
19476         compilation-directory-matcher setting (bug#8684).
19478 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
19480         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19481         instead of "head" and "tail".  There were problems with SunOS 5.9,
19482         and it performs better.
19484 2011-05-17  Glenn Morris  <rgm@gnu.org>
19486         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19488         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19489         Replace obsolete function.
19491         * shell.el (pcomplete-parse-arguments-function): Declare.
19493         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19494         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19495         (appt-check): Doc fixes.
19496         (appt-disp-window-function, appt-delete-window-function):
19497         Remove needless special case in custom :type.
19498         (appt-display-count): Default to 0, not nil.
19499         (appt-check): Reset appt-display-count to 0, not nil.
19501 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
19503         * progmodes/python.el (python-font-lock-keywords):
19504         Add the Python 3.X keyword "nonlocal" (bug#8639).
19506 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19508         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19510 2011-05-16  Kevin Ryde  <user42@zip.com.au>
19512         * info-look.el (makefile-automake-mode): New setups, looking in
19513         automake manual, then makefile-mode.
19514         (makefile-mode): Remove automake manual, have it just in
19515         makefile-automake-mode since there's various things different or
19516         not relevant to plain make.
19517         (makefile-mode): Remove "other-modes" non-existent automake-mode,
19518         believe a hypothetical automake-mode would go to makefile-mode,
19519         not the other way around.
19521 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
19523         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19524         hunk-end tags (Bug#8672).
19526         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19527         vc-annotate-show-diff-revision-at-line (Bug#8671).
19529 2011-05-14  Glenn Morris  <rgm@gnu.org>
19531         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19532         in the middle of an existing one with multiple authors.  (Bug#8645)
19533         (change-log-font-lock-keywords): Also handle multiple author lines
19534         with leading tabs.  (Bug#8644)
19536         * calendar/appt.el (appt-check): Rename some local variables.
19537         Some simplification/reordering.
19539         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19540         (feedmail-sendmail-f-doesnt-sell-me-out)
19541         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19542         (feedmail-debug-sit-for, feedmail-queue-express-hook)
19543         (feedmail-queue-runner-message-sender): Set :version.
19544         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19545         (bbdb-dwim-net-address, vm-mail): Declare.
19546         (feedmail-binmail-gnulinuxish-template):
19547         Rename from feedmail-binmail-linuxish-template.
19548         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19549         Use insert-buffer-substring.
19551 2011-05-14  Bill Carpenter  <bill@carpenter.org>
19553         * mail/feedmail.el (feedmail-patch-level): Increase.
19554         (feedmail-debug): New custom group.
19555         (feedmail-confirm-outgoing-timeout)
19556         (feedmail-sendmail-f-doesnt-sell-me-out)
19557         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19558         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19559         (feedmail-sender-line, feedmail-from-line)
19560         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19561         (feedmail-spray-this-address)
19562         (feedmail-spray-address-fiddle-plex-list)
19563         (feedmail-queue-use-send-time-for-date)
19564         (feedmail-queue-use-send-time-for-message-id)
19565         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19566         (feedmail-buffer-eating-function):
19567         Doc fixes.
19568         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19569         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19570         (feedmail-message-action-scroll-down): New functions.
19571         (feedmail-queue-directory, feedmail-queue-draft-directory):
19572         Use expand-file-name.
19573         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19574         Remove C-v help entry.
19575         (feedmail-queue-buffer-file-name): New variable.
19576         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19577         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19578         (feedmail-message-action-send-strong, feedmail-message-action-edit)
19579         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19580         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19581         (feedmail-message-action-toggle-spray)
19582         (feedmail-run-the-queue-no-prompts)
19583         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19584         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19585         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19586         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19587         (feedmail-envelope-deducer, feedmail-fiddle-from)
19588         (feedmail-fiddle-sender, feedmail-default-date-generator)
19589         (feedmail-fiddle-date, feedmail-fiddle-message-id)
19590         (feedmail-fiddle-spray-address)
19591         (feedmail-fiddle-list-of-spray-fiddle-plexes)
19592         (feedmail-fiddle-list-of-fiddle-plexes)
19593         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19594         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19595         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19596         Change default.  Doc fix.
19597         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19598         (feedmail-binmail-linuxish-template): New constant.
19599         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
19600         Respect feedmail-sendmail-f-doesnt-sell-me-out.
19601         (feedmail-send-it): Add debug call.
19602         Use feedmail-queue-buffer-file-name, and
19603         feedmail-send-it-immediately-wrapper.
19604         (feedmail-message-action-send): Add debug call.
19605         Use feedmail-send-it-immediately-wrapper.
19606         (feedmail-queue-express-to-queue): Add debug call.
19607         Run feedmail-queue-express-hook.
19608         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
19609         (feedmail-message-action-help-blat):
19610         Rename from feedmail-queue-send-edit-prompt-help-first.
19611         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
19612         Check line-endings.  Handle errors better.
19613         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19614         Doc fix.  Add debug call.
19615         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
19616         Use feedmail-queue-send-edit-prompt-inner.
19617         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19618         (feedmail-queue-send-edit-prompt-inner): New function, extracted
19619         from feedmail-queue-send-edit-prompt.
19620         (feedmail-queue-send-edit-prompt-help)
19621         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19622         (feedmail-tidy-up-slug): Add debug call.
19623         Respect feedmail-queue-slug-suspect-regexp.
19624         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19625         (feedmail-dump-message-to-queue): Add debug call.
19626         Expand queue-directory.
19627         (feedmail-dump-message-to-queue): Change message slightly.
19628         Use feedmail-say-chatter.
19629         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
19630         (feedmail-send-it-immediately-wrapper): New function.
19631         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
19632         Insert empty string rather than newline.  Handle full-frame case.
19633         Use catch/throw.  Use feedmail-say-chatter.
19634         (feedmail-fiddle-from): Try mail-host-address.
19635         (feedmail-default-message-id-generator): Doc fix.
19636         Bind system-time-locale.  Handle missing end.
19637         (feedmail-fiddle-x-mailer): Add debug call.
19638         Handle feedmail-x-mailer-line being nil.
19639         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19640         Add debug call.  Use buffer-substring-no-properties.
19641         (feedmail-say-debug, feedmail-say-chatter): New functions.
19642         (feedmail-find-eoh): Give an explicit error.
19644 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
19646         * net/newst-treeview.el (newsticker-treeview-face): Change default
19647         family from helvetica to sans.
19648         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19649         etc/images/newsticker.
19651         * net/newst-reader.el (newsticker-feed-face): Change default
19652         family from helvetica to sans.
19654         * net/newst-plainview.el (newsticker-new-item-face)
19655         (newsticker-old-item-face, newsticker-immortal-item-face)
19656         (newsticker-obsolete-item-face, newsticker-date-face)
19657         (newsticker-statistics-face): Change default family from
19658         helvetica to sans.
19659         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19660         etc/images/newsticker.
19662         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19663         (newsticker--process-auto-mark-filter-match): Tell user about
19664         auto-marking.
19666 2011-05-13  Didier Verna  <didier@xemacs.org>
19668         Common Lisp indentation improvements on defmethod and lambda-lists.
19669         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19670         TODO entries.
19671         (lisp-lambda-list-keyword-parameter-indentation)
19672         (lisp-lambda-list-keyword-parameter-alignment)
19673         (lisp-lambda-list-keyword-alignment): New customizable user options.
19674         (lisp-indent-defun-method): Improve docstring.
19675         (extended-loop-p): Fix comment.
19676         (lisp-indent-lambda-list-keywords-regexp): New variable.
19677         (lisp-indent-lambda-list): New function.
19678         (lisp-indent-259): Use it.
19679         (lisp-indent-defmethod): Support for more than one
19680         method qualifier and properly indent methods lambda-lists.
19681         (defgeneric): Provide a missing common-lisp-indent-function property.
19683 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19685         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19686         bounds for the empty string (bug#8667).
19688 2011-05-13  Glenn Morris  <rgm@gnu.org>
19690         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19692         * mail/sendmail.el (sendmail-program): Try executable-find first.
19693         (sendmail-send-it): `sendmail-program' cannot be unbound.
19695         * calendar/appt.el (appt-make-list): Simplify.
19696         (appt-time-msg-list): Doc fix.
19697         (appt-check): Change mode-line message at the time of the appointment.
19699 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
19701         * progmodes/ld-script.el (ld-script-keywords)
19702         (ld-script-builtins): Update keywords list.
19704 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19706         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19708         * shell.el (shell-completion-vars): New function.
19709         (shell-mode):
19710         * simple.el (read-shell-command): Use it.
19711         (blink-matching-open): No need for " [...]" in minibuffer-message.
19713 2011-05-12  Glenn Morris  <rgm@gnu.org>
19715         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19716         (appt-check): Simplify.
19718 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
19720         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19721         literal "/dev/null".
19723 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19725         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19726         Fix typo.
19728 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
19730         * progmodes/which-func.el (which-function):
19731         Use add-log-current-defun instead of add-log-current-defun-function,
19732         which might not be defined (Bug#8260).
19734 2011-05-12  Glenn Morris  <rgm@gnu.org>
19736         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19737         Let byte-compile-initial-macro-environment always take precedence.
19739 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19741         * net/rcirc.el: Add support for SSL/TLS connections.
19742         (rcirc-server-alist): New field `encryption'.
19743         (rcirc): Check `encryption' settings.
19744         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
19745         Merge make-local-variable into `set'.
19746         (rcirc--connection-open-p): New function.
19747         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19748         the process is not a network process (e.g. running gnutls-cli).
19749         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19750         Make rcirc-(en|de)code-coding-system local here.
19751         (rcirc-mode): Merge make-local-variable into `set'.
19752         (rcirc-parent-buffer): Make permanent buffer-local.
19753         (rcirc-multiline-minor-mode): Don't do it here.
19754         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19755         there's no server buffer.
19757 2011-05-11  Glenn Morris  <rgm@gnu.org>
19759         * newcomment.el (comment-kill): Prefix "unused" local.
19761         * term/w32console.el (get-screen-color): Declare.
19763         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19764         Handle symbol elements of byte-compile-initial-macro-environment.
19766 2011-05-10  Leo Liu  <sdl.web@gmail.com>
19768         * bookmark.el (bookmark-bmenu-mode-map):
19769         Bind bookmark-bmenu-search to `/'.
19771         * mail/footnote.el: Convert to utf-8 encoding.
19772         (footnote-unicode-string, footnote-unicode-regexp): New variable.
19773         (Footnote-unicode): New function.
19774         (footnote-style-alist): Add unicode style to the list.
19775         (footnote-style): Doc fix.
19777 2011-05-10  Jim Meyering  <meyering@redhat.com>
19779         Fix doubled-word typos.
19780         * international/quail.el (quail-insert-kbd-layout): and and -> and
19781         * kermit.el: and and -> and
19782         * net/ldap.el (ldap-search-internal): to to -> to
19783         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19784         * progmodes/js.el (js-mode): and and -> and
19785         * textmodes/artist.el (artist-move-to-xy): at at -> at
19786         (artist-draw-region-trim-line-endings): if if -> if
19787         And Safetyc -> Safety.
19788         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19790 2011-05-10  Glenn Morris  <rgm@gnu.org>
19791             Stefan Monnier  <monnier@iro.umontreal.ca>
19793         * files.el (hack-one-local-variable-eval-safep):
19794         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
19796 2011-05-10  Glenn Morris  <rgm@gnu.org>
19798         * calendar/diary-lib.el (diary-list-entries-hook)
19799         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19800         (diary-nongregorian-marking-hook, diary-list-entries)
19801         (diary-include-other-diary-files, diary-mark-entries)
19802         (diary-mark-included-diary-files): Doc fixes.
19804 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
19806         * misc.el: Require tabulated-list.el during compilation.
19808 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
19810         * progmodes/compile.el (compilation-start):
19811         Run compilation-filter-hook for the async case too.
19812         (compilation-filter-hook): Doc fix.
19814 2011-05-09  Deniz Dogan  <deniz@dogan.se>
19816         * wdired.el: Remove outdated installation comment.  Fix usage
19817         comment.
19819 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
19821         * misc.el: Implement new command `list-dynamic-libraries'.
19822         (list-dynamic-libraries--loaded-only-p): New variable.
19823         (list-dynamic-libraries--refresh): New function.
19824         (list-dynamic-libraries): New command.
19826 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
19828         * progmodes/compile.el (compilation-error-regexp-alist-alist):
19829         Fix the ant regexp to handle end-line and end-column info from jikes.
19830         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
19831         higher priority to avoid clobbering by gnu.
19833 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
19835         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19836         if the face has existing theme settings (Bug#8454).
19838 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
19840         * progmodes/perl-mode.el (perl-imenu-generic-expression):
19841         Only match variables declared via `my' or `our' (Bug#8261).
19843         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19844         special file names `.' and `..' (Bug#8259).
19846 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
19848         * progmodes/grep.el (grep-mode-font-lock-keywords):
19849         Remove buffer-changing entries.
19850         (grep-filter): New function.
19851         (grep-mode): Add it to compilation-filter-hook.
19853         * progmodes/compile.el (compilation-filter-hook)
19854         (compilation-filter-start): New defvars.
19855         (compilation-filter): Call compilation-filter-hook prior to
19856         updating the process mark.
19858 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19860         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19862 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
19864         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19865         mailclient-send-it even if window-system is nil.  (Bug#8595)
19867         * term/w32console.el (terminal-init-w32console):
19868         Call get-screen-color and use its output to set the frame
19869         background-mode.  (Bug#8597)
19871 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
19873         Make bytecomp.el understand that defmethod defines funs (bug#8631).
19874         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19875         New functions.
19876         (defgeneric, eieio--defmethod): Use them.
19877         (eieio-defgeneric): Remove.
19878         (defmethod): Call defgeneric in a way visible to the byte-compiler.
19880 2011-05-07  Glenn Morris  <rgm@gnu.org>
19882         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19883         Use let rather than let*.
19884         (timeclock-find-discrep): Remove unused local.
19886         * calendar/diary-lib.el (diary-comment-start): Doc fix.
19888         * calendar/appt.el (appt-time-msg-list): Doc fix.
19890 2011-05-06  Noah Friedman  <friedman@splode.com>
19892         * apropos.el (apropos-print-doc): Only use
19893         emacs-lisp-docstring-fill-column when it is bound to an integer,
19894         per that variable's documentation.
19896 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
19898         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19899         and warnings are not silently discarded (e.g. use -d instead of -P).
19901 2011-05-06  Glenn Morris  <rgm@gnu.org>
19903         * calendar/appt.el (appt-message-warning-time): Doc fix.
19904         (appt-warning-time-regexp): New option.
19905         (appt-make-list): Respect appt-message-warning-time.
19907         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19908         New options.
19909         (diary-add-to-list): Strip comments from the displayed string.
19910         (diary-mode): Set comment-start and comment-end.
19912         * vc/diff-mode.el (smerge-refine-subst): Declare.
19913         (diff-refine-hunk): Don't require smerge-mode when compiling.
19915 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
19917         * simple.el (list-processes): Return nil as the docstring says.
19919 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
19921         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19922         to "".
19923         (ange-ftp-write-region, ange-ftp-insert-file-contents)
19924         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19925         determining of binary transfer.  (Bug#7383)
19927 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
19929         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19930         Fix port computation bug.  (Bug#8618)
19932 2011-05-05  Glenn Morris  <rgm@gnu.org>
19934         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19936         * simple.el (shell-dynamic-complete-functions)
19937         (comint-dynamic-complete-functions): Declare.
19939         * net/network-stream.el (gnutls-negotiate):
19940         * simple.el (tabulated-list-print): Fix declarations.
19942         * progmodes/gud.el (syntax-symbol, syntax-point):
19943         Remove unnecessary and incorrect declarations.
19945         * emacs-lisp/check-declare.el (check-declare-scan):
19946         Handle byte-compile-initial-macro-environment in bytecomp.el.
19948 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19950         Fix earlier half-done eieio-defmethod change (bug#8338).
19951         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19952         Streamline and change calling convention.
19953         (defmethod): Adjust accordingly and simplify.
19954         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19955         new eieio--defmethod.
19956         (slot-boundp): Minor CSE simplification.
19958 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
19960         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19961         (glasses-make-readable): Use glasses-separate-capital-groups.
19963 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
19965         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19966         (warning-series): Doc fix.
19967         (display-warning): Don't try to create the buffer if we just found it.
19969 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
19971         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19972         (autoload-find-generated-file): New function.
19973         (generate-file-autoloads): Bind generated-autoload-file to
19974         buffer-file-name.
19975         (update-file-autoloads, update-directory-autoloads):
19976         Use autoload-find-generated-file.  If called interactively, prompt for
19977         output file (Bug#7989).
19978         (batch-update-autoloads): Doc fix.
19980 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
19982         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19984 2011-05-04  Glenn Morris  <rgm@gnu.org>
19986         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19987         function, so it follows changes in calendar-date-style.
19988         (diary-fancy-date-matcher): New function.
19989         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19990         (diary-fancy-font-lock-fontify-region-function):
19991         Use diary-fancy-date-pattern as a function.
19993         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19994         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
19996 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
19998         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19999         instead of positional arguments.  Allow :keylist and :crlfiles
20000         arguments.
20001         (open-gnutls-stream): Call it.
20003         * net/network-stream.el (network-stream-open-starttls): Adjust to
20004         call `gnutls-negotiate' with :process and :hostname arguments.
20006 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
20008         * minibuffer.el (completion--message): New function.
20009         (completion--do-completion, minibuffer-complete)
20010         (minibuffer-force-complete, minibuffer-complete-word): Use it.
20011         (completion--do-completion): Don't ignore completion-auto-help when in
20012         icomplete-mode.
20014         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
20015         internal encoding (e.g. tibetan zero is not whitespace).
20016         (global-whitespace-mode): Prefer save-current-buffer.
20017         (whitespace-trailing-regexp): Remove useless save-match-data.
20018         (whitespace-empty-at-bob-regexp): Minor simplification.
20020 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
20022         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
20024 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
20026         * textmodes/ispell.el (ispell-add-per-file-word-list):
20027         Use `concat' to create string for insertion.
20029 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20031         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
20032         Avoid open-line which runs post-self-insert-hook.
20033         (bibtex-fill-entry): Remove unused `end' var.
20035 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
20037         * textmodes/ispell.el (ispell-add-per-file-word-list):
20038         Protect against `nil' value of `comment-start' (Bug#8579).
20040 2011-05-03  Leo Liu  <sdl.web@gmail.com>
20042         * isearch.el (isearch-yank-pop): New command.
20043         (isearch-mode-map): Bind it to `M-y'.
20044         (isearch-forward): Mention it.
20046 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20048         * simple.el (minibuffer-complete-shell-command): Remove.
20049         (minibuffer-local-shell-command-map): Use completion-at-point.
20050         (read-shell-command): Setup completion vars here instead.
20051         (read-expression-map): Bind TAB to symbol completion.
20053         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20054         error directly rather via storing it into `results'.
20056 2011-05-02  Leo Liu  <sdl.web@gmail.com>
20058         * vc/diff.el: Fix description.
20060 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20062         * server.el (server-eval-at): New function.
20064 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20066         * net/network-stream.el (open-network-stream): Take a :nowait
20067         parameter and pass it on to `make-network-process'.
20068         (network-stream-open-plain): Ditto.
20070 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
20072         * faces.el (face-spec-set-match-display): Don't match toolkit
20073         options on terminal frames.
20075 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20077         * progmodes/pascal.el: Use lexical binding.
20078         (pascal-mode-map): Remove author preferences.
20080         * pcomplete.el (pcomplete-std-complete): Don't abuse
20081         completion-at-point.
20083 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
20085         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20086         removing code that has been dead since 1991 or so.
20088         * startup.el (command-line): When warning about "_emacs", use a
20089         delayed warning to allow the user to filter it out.
20091 2011-04-28  Deniz Dogan  <deniz@dogan.se>
20093         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20094         user has not joined.
20096 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20098         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20099         aren't any completions at point.
20101 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
20103         * subr.el (display-delayed-warnings): New function.
20104         (delayed-warnings-hook): New variable.
20106 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20108         * minibuffer.el (completion-at-point, completion-help-at-point):
20109         Don't presume that a given completion-at-point-function will always
20110         use the same calling convention.
20112         * pcomplete.el (pcomplete-completions-at-point):
20113         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
20114         pcomplete-seen is non-nil.
20115         (pcomplete-comint-setup): Also recognize the new comint/shell
20116         completion functions.
20117         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20118         pcomplete-seen is non-nil.
20120 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
20122         * calendar/icalendar.el (diary-lib): Add require statement.
20123         (icalendar--create-uid): Read out a uid from a text-property on
20124         the first character in the entry.  This allows for code to add its
20125         own uid to the entry.
20126         (icalendar--convert-float-to-ical): Add export of
20127         `diary-float'-entries save for those with the optional DAY
20128         argument.
20130 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
20132         * subr.el (shell-quote-argument): Use alternate escaping strategy
20133         when we spot a variable reference in a string.
20135 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
20137         * cus-start.el (all): Define customization for debug-on-event.
20139 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
20141         * subr.el (shell-quote-argument): Escape correctly under Windows.
20143 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20145         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20147 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
20149         * net/tramp.el (tramp-process-actions): Add POS argument.
20150         Delete region between POS and (pos).
20152         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20153         Use `nil' position in `tramp-process-actions' call.
20154         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20156         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20157         position in `tramp-process-actions' call.
20159         * net/trampver.el: Update release number.
20161 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20163         * custom.el (defcustom): Obey lexical-binding.
20165         Fix octave-inf completion problems reported by Alexander Klimov.
20166         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20167         Inherit from octave-mode-syntax-table.
20168         (inferior-octave-mode): Set info-lookup-mode.
20169         (inferior-octave-completion-at-point): New function.
20170         (inferior-octave-complete): Use it and completion-in-region.
20171         (inferior-octave-dynamic-complete-functions): Use it as well, and use
20172         comint-filename-completion.
20173         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20174         symbol elements which shouldn't be word elements.
20175         (octave-font-lock-keywords, octave-beginning-of-defun)
20176         (octave-function-header-regexp): Adjust regexps accordingly.
20177         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20179 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
20181         * net/gnutls.el (gnutls-errorp): Declare before first use.
20183 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
20185         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20186         verify-error, and verify-hostname-error parameters.  Check whether
20187         default trustfile exists before going to use it.  Add missing
20188         argument to gnutls-message-maybe call.  Return value.
20189         Reported by Claudio Bley <claudio.bley@gmail.com>.
20190         (open-gnutls-stream): Add usage example.
20192         * net/network-stream.el (network-stream-open-starttls): Give host
20193         parameter to `gnutls-negotiate'.
20194         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20195         * subr.el (shell-quote-argument): Escape correctly under Windows.
20197 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
20199         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20200         Use correct match group (bug#8438).
20202 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
20204         * emacs-lisp/package.el (package-built-in-p): Fix typo.
20205         (package-menu--generate): New arg specifying packages to show.
20206         (package-menu-refresh, package-menu-execute, list-packages):
20207         Callers changed.
20208         (package-show-package-list): New function, replacing deleted
20209         package--list-packages (renamed because it is non-internal).
20211         * finder.el (finder-list-matches): Use package-show-package-list
20212         instead of deleted package--list-packages.
20214         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20215         Based on a previous implementation by Juanma Barranquero (Bug#8366).
20216         (vc-annotate-mode-map): Bind it to RET.
20218 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
20220         * progmodes/etags.el (next-file): Don't use set-buffer to change
20221         buffers (Bug#8478).
20223 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
20225         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20227         * apropos.el (apropos-label-face): Avoid variable-pitch face.
20228         (apropos-accumulator): Doc fix.
20229         (apropos-function, apropos-macro, apropos-command)
20230         (apropos-variable, apropos-face, apropos-group, apropos-widget)
20231         (apropos-plist): Add face property.
20232         (apropos-symbols-internal): Fix indentation.
20233         (apropos-print): Simplify help, and recognize apropos-multi-type.
20234         (apropos-print-doc): Use button-type-get to extract the button's
20235         face property.  Fill docstring (Bug#8352).
20237 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
20239         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20241         * play/mpuz.el (mpuz-silent): Doc fix.
20242         (mpuz-mode-map): Use mapc.
20243         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20244         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20245         Fix typos in docstrings.
20247         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20248         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20250         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20252 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
20254         * minibuffer.el (completion--do-completion): Avoid the "Next char
20255         not unique" prompt if icomplete-mode is enabled (Bug#5849).
20257         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20258         mouse-2 into unread-command-events, it is interpreted correctly.
20260         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20261         (image-toggle-display): Doc fix.
20263 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
20265         * textmodes/page.el (what-page): Use line-number-at-pos to
20266         calculate line number (Bug#6825).
20268 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
20270         * eshell/esh-mode.el (find-tag-interactive): Declare function.
20271         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20272         Pass argument NO-DEFAULT to `find-tag-interactive'.
20274 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
20276         Lexical-binding cleanup.
20278         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20279         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20280         * progmodes/ada-prj.el (ada-prj-initialize-values)
20281         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20282         (ada-prj-show-value):
20283         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20284         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20285         (antlr-invalidate-context-cache, antlr-options-menu-filter)
20286         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20287         * progmodes/bug-reference.el (bug-reference-push-button):
20288         * progmodes/fortran.el (fortran-line-length):
20289         * progmodes/glasses.el (glasses-change):
20290         * progmodes/octave-mod.el (octave-fill-paragraph):
20291         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20292         (python-pdbtrack-grub-for-buffer, python-sentinel):
20293         * progmodes/sql.el (sql-save-connection):
20294         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20295         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20296         Mark unused parameters.
20298         * progmodes/compile.el (compilation--flush-directory-cache)
20299         (compilation--flush-parse, compile-internal): Mark unused parameters.
20300         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20301         (compilation-next-error-function): Remove unused variable `timestamp'.
20303         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20304         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20306         * progmodes/dcl-mode.el (dcl-end-of-command):
20307         Remove unused variable `start'.
20308         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20309         (dcl-option-value-basic, dcl-option-value-offset)
20310         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20311         Mark unused parameters.
20312         (dcl-save-local-variable): Remove unused variable `val'.
20313         (mode): Declare.
20315         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20316         Mark unused parameters.
20317         (delphi-ignore-changes): Move before first use.
20318         (delphi-charset-token-at): Remove unused variable `start'.
20319         (delphi-else-start): Remove unused variable `if-count'.
20320         (delphi-comment-block-start, delphi-comment-block-end):
20321         Remove unused variable `kind'.
20322         (delphi-indent-line): Remove unused variable `new-point'.
20324         * progmodes/ebrowse.el (ebrowse-files-list)
20325         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20326         Mark unused parameters.  Don't quote `lambda'.
20327         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20328         Don't quote `lambda'.
20329         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20330         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20331         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20332         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20333         Use `ignore-errors'.
20334         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20335         (ebrowse-view/find-file-and-search-pattern)
20336         (ebrowse-view/find-member-declaration/definition):
20337         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20338         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20339         Rename parameter PREFIX-ARG to PREFIX.
20340         (ebrowse-tags-read-name): Remove unused variables `start' and
20341         `member-info'.
20342         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20343         to `tags-file'.
20345         * progmodes/etags.el (local-find-tag-hook): Declare.
20346         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20347         Mark unused parameters.
20349         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20350         (executable-interpret): Mark unused parameter.
20352         * progmodes/flymake.el (flymake-process-sentinel)
20353         (flymake-after-change-function)
20354         (flymake-create-temp-with-folder-structure)
20355         (flymake-get-include-dirs-dot): Mark unused parameters.
20356         (flymake-safe-delete-directory): Remove unused variable `err'.
20358         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20359         (speedbar-timer-fn, speedbar-line-text)
20360         (speedbar-change-expand-button-char, speedbar-delete-subblock)
20361         (speedbar-center-buffer-smartly): Declare functions.
20362         (gdb-find-watch-expression): Remove unused variable `array'.
20363         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20364         (gdb-starting): Mark unused parameters.
20365         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20366         (gdb-table-string): Remove unused variable `res'.
20367         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20368         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20369         (gdb-display-buffer): Remove unused variable `cur-size'.
20371         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20372         allow lexical-binding compilation.
20373         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20374         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20375         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20376         Mark unused parameters.
20377         (gud-gdb-marker-filter): Remove unused variable `match'.
20378         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20379         lambda expressions and funcall them, instead of using `fset'.
20381         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20382         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20384         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20385         variable `header-beg'; use `let'.
20387         * progmodes/icon.el (indent-icon-exp): Remove unused variables
20388         `restart', `last-sexp' and `at-do'.
20390         * progmodes/js.el (js--debug): Mark unused parameter.
20391         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20392         (js--splice-into-items): Remove unused variable `item'.
20393         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20395         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20396         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20397         (makefile-complete): Remove unused variable `try'.
20398         (makefile-fill-paragraph, makefile-match-function-end):
20399         Mark unused parameters.
20401         * progmodes/octave-inf.el (inferior-octave-complete):
20402         Remove unused variable `proc'.
20403         (inferior-octave-output-digest): Mark unused parameter.
20405         * progmodes/perl-mode.el (perl-calculate-indent):
20406         Remove unused variable `err'.
20408         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20409         (prolog-indent-line): Mark unused parameters.
20410         (prolog-indent-line): Remove unused variable `beg'.
20412         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20413         (reporter-dont-compact-list): Declare.
20415         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20416         Remove unused variable `char'.
20417         (sh-debug): Mark unused parameter.
20418         (sh-get-indent-info): Remove unused variable `start'.
20419         (sh-calculate-indent): Remove unused variable `var'.
20421         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20422         (simula-electric-keyword): Remove unused variable `null'.
20423         (simula-search-backward, simula-search-forward): Remove unused
20424         variables `begin' and `end'.
20426         * progmodes/vera-mode.el (vera-guess-basic-syntax):
20427         Remove unused variable `pos'.
20428         (vera-electric-tab, vera-comment-uncomment-region):
20429         Mark unused parameters.
20430         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20432 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
20434         * emacs-lisp/package.el (package--builtins, package-alist)
20435         (package-load-descriptor, package-built-in-p, package-activate)
20436         (define-package, package-installed-p)
20437         (package-compute-transaction, package-buffer-info)
20438         (package--push): Doc fix.  Distinguish more clearly between
20439         version strings and version lists.
20441 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
20443         Lexical-binding cleanup.
20445         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20446         (5x5-make-mutate-best):
20447         * play/fortune.el (fortune-in-buffer):
20448         * play/gomoku.el (gomoku-init-display):
20449         * play/solitaire.el (solitaire, solitaire-do-check):
20450         * play/tetris.el (tetris-default-update-speed-function):
20451         Mark unused parameters.
20453         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20454         (bubbles--shift): Remove unused variable `char-org'.
20455         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
20456         (bubbles--show-images): Remove unused variable `char'.
20458         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20459         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20460         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20461         (decipher-analyze-buffer): Use ?\s.
20462         (decipher-make-checkpoint): Remove unused variable `mapping'.
20464         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20466         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20467         Remove unused variable `result'; use `let'.
20469         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20470         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20471         (gametree-children-shown-p, gametree-compute-reduced-score):
20472         Use `ignore-errors'.
20474         * play/handwrite.el (ps-lpr-switches): Declare.
20475         (handwrite): Remove unused variables `pmin' and `lastp'.
20477         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20479         * play/landmark.el (landmark-init-display)
20480         (landmark-update-naught-weights): Mark unused parameters.
20481         (landmark-y): Remove unused variable `noise'.  Simplify.
20482         (landmark-human-plays): Remove unused variable `score'.
20484         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20485         (mpuz-try-proposal): Remove unused variable `game'.
20487         * play/zone.el (life-patterns): Declare.
20489 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
20491         * vc/vc.el (ediff-vc-internal): Declare function.
20493 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20495         * shell.el: Use lexical-binding and std completion UI.
20496         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20497         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20498         comint-preoutput-filter-functions rather than on
20499         comint-output-filter-functions.
20500         (shell-command-completion, shell--command-completion-data)
20501         (shell-filename-completion, shell-environment-variable-completion)
20502         (shell-c-a-p-replace-by-expanded-directory): New functions.
20503         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20504         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20505         (shell-dynamic-complete-environment-variable): Use them.
20506         (shell-dynamic-complete-as-environment-variable)
20507         (shell-dynamic-complete-as-command): Remove.
20508         (shell-match-partial-variable): Match past point.
20509         * comint.el: Clean up use of completion-at-point-functions.
20510         (comint-completion-at-point): New function.
20511         (comint-mode): Use it completion-at-point-functions.
20512         (comint-dynamic-complete): Make it obsolete.
20513         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20514         (comint-c-a-p-replace-by-expanded-history): New function.
20515         (comint-dynamic-complete-functions)
20516         (comint-replace-by-expanded-history): Use it.
20517         * minibuffer.el (completion-table-with-terminator): Allow dynamic
20518         termination strings.  Try harder to avoid second try-completion.
20519         (completion-in-region-mode-map): Disable bindings that don't work yet.
20521         * comint.el: Use lexical-binding.  Require CL.
20522         (comint-dynamic-complete-functions): Use comint-filename-completion.
20523         (comint-completion-addsuffix): Tweak custom type.
20524         (comint-filename-completion, comint--common-suffix)
20525         (comint--common-quoted-suffix, comint--table-subvert)
20526         (comint--complete-file-name-data): New functions.
20527         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20528         (comint-dynamic-list-filename-completions): Use them.
20529         (comint-dynamic-simple-complete): Make obsolete.
20531         * minibuffer.el (completion-in-region-mode):
20532         Keep completion-in-region-mode--predicate global.
20533         (completion-in-region--postch):
20534         Assume completion-in-region-mode--predicate is not null.
20536         * progmodes/flymake.el (flymake-start-syntax-check-process):
20537         Obey `dir'.  Simplify.
20539         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20540         we're in VC after all.
20542 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
20544         * vc/vc.el (vc-diff-build-argument-list-internal)
20545         (vc-version-ediff, vc-ediff): New commands.
20546         (vc-version-diff): Use vc-diff-build-argument-list-internal.
20548 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20550         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20551         add sanity check.
20553         * obsolete/erc-hecomplete.el: Make obsolete.
20554         * obsolete/: Standardize obsolescence info in the header.
20556 2011-04-20  Glenn Morris  <rgm@gnu.org>
20558         * calendar/solar.el (solar-horizontal-coordinates):
20559         Use the longitude argument rather than `calendar-longitude'.
20560         (solar-date-next-longitude): Remove unused locals.
20562 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
20564         * whitespace.el: New version 13.2.1.
20566 2011-04-20  felix  <EmacsWiki>  (tiny change)
20568         * whitespace.el (global-whitespace-mode): Keep highlight when
20569         switching between major modes on a file.
20571 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20573         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20574         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20575         multi-line comments as well.
20577 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
20579         Lexical-binding cleanup.
20581         * arc-mode.el (archive-mode-revert):
20582         * cmuscheme.el (scheme-interactively-start-process):
20583         * custom.el (custom-initialize-delay):
20584         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20585         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20586         * emacs-lock.el (emacs-lock-clear-sentinel):
20587         * ezimage.el (defezimage):
20588         * follow.el (follow-avoid-tail-recenter):
20589         * fringe.el (set-fringe-mode-1):
20590         * generic-x.el (bat-generic-mode-compile):
20591         * help-mode.el (help-info-variable, help-do-xref)
20592         (help-mode-revert-buffer):
20593         * help.el (view-emacs-todo):
20594         * iswitchb.el (iswitchb-completion-help):
20595         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20596         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20597         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20598         * locate.el (locate-update):
20599         * longlines.el (longlines-encode-region)
20600         (longlines-after-change-function):
20601         * outline.el (outline-isearch-open-invisible):
20602         * ps-def.el (declare-function, charset-dimension, char-width)
20603         (encode-char):
20604         * ps-mule.el (ps-mule-plot-string):
20605         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20606         (recentf-edit-list-select, recentf-edit-list-validate)
20607         (recentf-open-files-action):
20608         * rect.el (delete-whitespace-rectangle-line)
20609         (rectangle-number-line-callback):
20610         * register.el (window-configuration-to-register)
20611         (frame-configuration-to-register):
20612         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20613         * select.el (xselect-convert-to-string, xselect-convert-to-length)
20614         (xselect-convert-to-targets, xselect-convert-to-delete)
20615         (xselect-convert-to-filename, xselect-convert-to-charpos)
20616         (xselect-convert-to-lineno, xselect-convert-to-colno)
20617         (xselect-convert-to-os, xselect-convert-to-host)
20618         (xselect-convert-to-user, xselect-convert-to-class)
20619         (xselect-convert-to-name, xselect-convert-to-integer)
20620         (xselect-convert-to-atom, xselect-convert-to-identity):
20621         * subr.el (declare, ignore, process-kill-without-query)
20622         (text-clone-maintain):
20623         * terminal.el (te-get-char, te-tic-sentinel):
20624         * tool-bar.el (tool-bar-make-keymap):
20625         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20626         * type-break.el (type-break-mode, type-break-noninteractive-query):
20627         * view.el (View-back-to-mark):
20628         * wid-browse.el (widget-browse-action, widget-browse-widget)
20629         (widget-browse-widgets, widget-browse-sexp):
20630         * widget.el (define-widget-keywords):
20631         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20632         Mark unused parameters.
20634         * align.el (align-adjust-col-for-rule): Mark unused parameter.
20635         (align-areas): Remove unused variable `look'.
20636         (align-region): Remove unused variables `real-end' and `pos-list'.
20638         * apropos.el (apropos-score-doc): Remove unused variable `i'.
20640         * bindings.el (mode-line-modified, mode-line-remote):
20641         Mark unused parameters.
20642         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20644         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20645         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20647         * comint.el (comint-history-isearch-pop-state)
20648         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20649         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20650         (comint-substitute-in-file-name): Doc fix.
20652         * completion.el (cmpl-statistics-block): Mark unused parameter.
20653         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20654         (save-completions-to-file, load-completions-from-file):
20655         Remove unused local variable `e'.
20657         * composite.el (compose-chars): Remove unused variable `len'.
20658         (lgstring-insert-glyph): Remove unused variable `g'.
20659         (compose-glyph-string): Remove unused variables `ascent',
20660         `descent', `lbearing' and `rbearing'.
20661         (compose-glyph-string-relative): Remove unused variables
20662         `lbearing', `rbearing' and `wadjust'.
20663         (compose-gstring-for-graphic): Remove unused variables `header',
20664         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
20665         (compose-gstring-for-terminal): Remove unused variables `header'
20666         and `nchars'.  Use `let', not `let*'.
20668         * cus-edit.el (Custom-set, Custom-save, custom-reset)
20669         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20670         (Custom-buffer-done, custom-buffer-create-internal)
20671         (custom-browse-visibility-action, custom-browse-group-tag-action)
20672         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20673         (widget-magic-mouse-down-action, custom-toggle-parent)
20674         (custom-add-parent-links, custom-toggle-hide-variable)
20675         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20676         (custom-toggle-hide-face, face, hook, custom-group-link-action)
20677         (custom-face-menu-create, custom-variable-menu-create, get)
20678         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20679         (custom-reset-standard-save-and-update): Remove unused variable `value'.
20680         (customize-apropos): Remove unused variable `tests'.
20681         (custom-group-value-create): Remove unused variable `hidden-p'.
20682         (sort-fold-case): Declare.
20684         * cus-theme.el (custom-reset-standard-faces-list)
20685         (custom-reset-standard-variables-list): Declare.
20686         (customize-create-theme, custom-theme-revert, custom-theme-write)
20687         (custom-theme-choose-mode, customize-themes, custom-theme-save):
20688         Mark unused parameters.
20690         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20692         * delim-col.el (delimit-columns-max): Move defvar before first use.
20694         * descr-text.el (describe-char-categories): Don't quote `lambda'.
20695         (describe-char): Don't quote `lambda'.  Mark unused parameter.
20697         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20698         (auto-insert): Declare.
20699         (desktop-restore-file-buffer): Rename desktop-* parameters;
20700         mark unused ones.
20701         (desktop-create-buffer): Rename desktop-* parameters and bind them.
20702         (desktop-buffer): Rename desktop-* parameters.
20704         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20705         (dframe-reposition-frame-xemacs, dframe-help-echo)
20706         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20707         Mark unused parameters.
20709         * dired-aux.el (backup-extract-version-start, overwrite-query)
20710         (overwrite-backup-query, rename-regexp-query)
20711         (rename-non-directory-query): Declare.
20712         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20713         (dired-add-entry): Remove unused variable `orig-file-name'.
20714         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20715         Use parameter PRESERVE-TIME instead of accessing dynamic variable
20716         `dired-copy-preserve-time' directly.
20717         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20718         (dired-insert-subdir-newpos): Rename unused variable `pos'.
20720         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20721         (dired-virtual-revert, dired-make-relative-symlink):
20722         Mark unused parameters.
20723         (manual-program): Declare.
20724         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20725         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20726         wrapped in `with-no-warnings' to avoid replacing one warning by another.
20728         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20730         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20732         * echistory.el (electric-history-in-progress, Helper-return-blurb):
20733         Declare.
20735         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20737         * electric.el (Electric-command-loop): Rename parameter
20738         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20740         * expand.el (expand-in-literal): Remove unused variable `here'.
20742         * facemenu.el (facemenu-add-new-color):
20743         Remove unused variable `docstring'.
20745         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20746         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20747         (face-attr-construct): Mark unused parameter.  Doc fix.
20748         (read-color): Remove unused variable `hex-string'.
20750         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20751         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20752         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20753         (display-buffer-other-frame): Remove unused variable `old-window'.
20754         (kill-buffer-hook): Declare.
20755         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20756         Mark unused parameters.
20757         (after-find-file): Pass 1 to `auto-save-mode', not t.
20759         * files-x.el (auto-insert): Declare.
20760         (modify-file-local-variable-prop-line): Remove unused variable `val'.
20762         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20763         variable `buf'.  Mark unused parameter.
20764         (find-lisp-insert-directory): Mark unused parameter.
20766         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20767         (format-encode-region): Remove unused variables `cur-buf' and `result'.
20768         (format-common-tail): Remove, unused.
20769         (format-deannotate-region): Remove unused variable `loc'.
20770         (format-annotate-region): Remove unused variable `p'.
20771         (format-annotate-single-property-change): Remove unused variables
20772         `default' and `tail'.
20774         * forms.el (read-file-filter): Declare.
20775         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20777         * frame.el (frame-creation-function-alist): Mark unused parameter.
20778         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20780         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20781         Remove unused parameters.
20782         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20783         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20785         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20786         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20787         (hfy-prepare-tag-map): Mark unused parameters.
20788         (htmlfontify-buffer): Use `called-interactively-p'.
20790         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20791         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20792         (ibuffer-do-occur): Mark unused parameters.
20793         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20794         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20796         * ibuffer.el: Don't quote `lambda'.
20797         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20798         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20799         Mark unused parameters.
20801         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20802         (ido-completing-read): Mark unused parameters.
20803         (ido-copy-current-word): Mark unused parameters;
20804         remove unused variable `name'.
20805         (ido-sort-merged-list): Remove unused parameter `dirs'.
20807         * ielm.el (ielm-input-sender): Mark unused parameter.
20808         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20809         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20810         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20811         `ielm-string' as a dynamic variable accessible from the IELM prompt.
20812         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
20814         * image-dired.el (image-dired-display-thumbs): Remove unused
20815         variables `curr-file' and `count'.
20816         (image-dired-remove-tag): Remove unused variable `start'.
20817         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20818         variable `curr-file'
20819         (image-dired-rotate-original): Remove unused variable `temp-file'.
20820         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20821         Remove unused variable `file'.
20822         (image-dired-gallery-generate): Remove unused variable `curr'.
20823         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20825         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20827         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20829         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20831         * isearch.el (minibuffer-history-symbol): Declare.
20832         (isearch-edit-string): Remove unused variable `err'.
20833         (isearch-message-prefix, isearch-message-suffix):
20834         Mark unused parameters.
20836         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20838         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20840         * makesum.el (double-column): Remove unused variable `cnt'.
20842         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20843         (ido-ignore-item-temp-list): Declare.
20845         * mouse-drag.el (mouse-drag-throw): Remove unused variables
20846         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20847         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20848         (mouse-drag-drag): Remove unused variables `mouse-delta' and
20849         `mouse-col-delta'.
20851         * mouse-sel.el (mouse-extend-internal):
20852         Remove unused variable `orig-window-frame'.
20854         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20855         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20856         Move declarations before first use.
20857         (pcomplete-opt): Mark unused parameters; doc fix.
20859         * proced.el (proced-revert): Mark unused parameter.
20860         (proced-send-signal): Remove unused variable `err'.
20862         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20863         Rename parameter PREFIX-ARG to ARG.
20864         (ps-basic-plot-string, ps-basic-plot-whitespace):
20865         Mark unused parameters.
20867         * replace.el (replace-count): Define.
20868         (occur-revert-function): Mark unused parameters.
20869         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20870         (isearch-case-fold-search, isearch-string): Declare.
20871         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20872         bind `case-fold-search'.  Remove unused variables `beg' and `end',
20873         and simplify.
20874         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20875         COUNT and bind `replace-count'.
20876         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20877         to COUNT.
20879         * savehist.el (print-readably, print-string-length): Declare.
20881         * shadowfile.el (shadow-expand-cluster-in-file-name):
20882         Remove unused variable `cluster'.
20883         (shadow-copy-file): Remove unused variable `i'.
20884         (shadow-noquery, shadow-clusters, shadow-site-cluster)
20885         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20886         (shadow-define-literal-group, shadow-define-regexp-group)
20887         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20889         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20890         (shell): Use `called-interactively-p'.
20891         (shell-directory-tracker): Remove unused variable `chdir-failure'.
20893         * simple.el (compilation-context-lines, comint-file-name-quote-list)
20894         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20895         (delete-backward-char): Remove unused variable `ocol'.
20896         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20897         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20898         (event-apply-hyper-modifier, event-apply-shift-modifier)
20899         (event-apply-control-modifier, event-apply-meta-modifier):
20900         Mark unused parameters.
20901         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20902         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20904         * speedbar.el (speedbar-ignored-directory-expressions)
20905         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20906         (speedbar-find-file, speedbar-dir-follow)
20907         (speedbar-directory-buttons-follow, speedbar-tag-find)
20908         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20909         (speedbar-buffers-line-directory, speedbar-buffer-click):
20910         Mark unused parameters.
20911         (speedbar-tag-file): Remove unused variable `mode'.
20912         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20914         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20916         * talk.el (talk): Remove unused variable `display'.
20918         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20919         (tar-write-region-annotate): Mark unused parameter.
20921         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20922         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20923         Declare them, wrapped in `with-no-warnings' to avoid replacing one
20924         warning by another.
20926         * time-stamp.el (time-stamp-string-preprocess):
20927         Remove unused variable `require-padding'.
20929         * tree-widget.el (widget-glyph-enable): Declare.
20930         (tree-widget-action): Mark unused parameter.
20932         * w32-fns.el (x-get-selection): Mark unused parameter.
20933         (autoload-make-program, generated-autoload-file): Declare.
20935         * wdired.el (wdired-revert): Mark unused parameters.
20936         (wdired-xcase-word): Remove unused variable `err'.
20938         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20939         (whitespace-help-scroll): Remove unused variable `data-help'.
20941         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20942         (widget-image-insert, widget-after-change, default)
20943         (widget-default-format-handler, widget-default-notify)
20944         (widget-default-prompt-value, widget-info-link-action)
20945         (widget-url-link-action, widget-function-link-action)
20946         (widget-variable-link-action, widget-file-link-action)
20947         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20948         (widget-field-prompt-internal, widget-field-action, widget-field-match)
20949         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20950         (widget-insert-button-action, widget-delete-button-action, visibility)
20951         (widget-documentation-link-action, widget-documentation-string-action)
20952         (widget-const-prompt-value, widget-regexp-match, symbol)
20953         (widget-coding-system-prompt-value)
20954         (widget-key-sequence-value-to-external, sexp)
20955         (widget-sexp-value-to-internal, character, vector, cons)
20956         (widget-choice-prompt-value, widget-boolean-prompt-value)
20957         (widget-color--choose-action): Mark unused parameters.
20958         (widget-item-match-inline, widget-choice-match-inline)
20959         (widget-checklist-match, widget-checklist-match-inline)
20960         (widget-group-match): Rename parameter VALUES to VALS.
20961         (widget-field-value-set): Remove unused variable `size'.
20962         (widget-color-action): Remove unused variables `value' and `start'.
20964         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20965         variable `dir'.  Doc fix.
20966         (windmove-find-other-window): Don't pass it.
20968         * window.el (count-windows): Mark unused parameter.
20969         (bw-adjust-window): Remove unused variable `err'.
20971         * woman.el (woman-file-name): Remove unused variable `default'.
20972         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20973         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20974         (global-font-lock-mode): Declare.
20975         (woman-decode-region): Mark unused parameter.
20976         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20978         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20979         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20980         (x-dnd-handle-moz-url): Remove unused variable `title'.
20981         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20983         * xml.el (xml-parse-tag, xml-parse-attlist):
20984         Remove unused variable `pos'.
20986 2011-04-19  Glenn Morris  <rgm@gnu.org>
20988         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20989         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20990         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20991         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20992         * calendar/cal-html.el (cal-html-insert-minical):
20993         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20994         (calendar-mark-date-pattern):
20995         Prefix "unused" locals.
20997         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20998         optional argument `style'.
21000         * calendar/appt.el (appt-make-list):
21001         * calendar/cal-china.el (calendar-chinese-date-string):
21002         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
21003         (diary-hebrew-yahrzeit):
21004         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
21005         * calendar/calendar.el (calendar-generate-window):
21006         * calendar/time-date.el (time-to-days):
21007         Remove unused local variables.
21009 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
21011         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
21012         glyphless-char-display table.
21013         (tabulated-list-glyphless-char-display): New var.
21015 2011-04-18  Sam Steingold  <sds@gnu.org>
21017         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
21018         to acknowledgments.
21020 2011-04-17  Glenn Morris  <rgm@gnu.org>
21022         * calendar/diary-lib.el (diary-sexp-entry):
21023         * calendar/holidays.el (holiday-sexp):
21024         Set debug-on-error rather than the removed stack-trace-on-error.
21026 2011-04-16  Glenn Morris  <rgm@gnu.org>
21028         * progmodes/f90.el: Use lexical-binding.
21029         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
21031 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21033         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
21034         (mail-mode): Setup mailalias completion here instead.
21035         * mail/mailalias.el: Use lexical-binding.
21036         (pattern, mailalias-done): Declare dynamic.
21037         (mail-completion-at-point-function): New function, from mail-complete.
21038         (mail-complete): Use it.
21039         (mail-completion-expand): New function.
21040         (mail-get-names): Use it.
21041         (mail-directory, mail-directory-process, mail-directory-stream):
21042         Don't use `pattern' for lexically bound arg.
21044         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21046         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21047         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21048         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21050         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21051         (byte-save-window-excursion, byte-temp-output-buffer-setup)
21052         (byte-interactive-p): Define them again, for use when inlining
21053         old code.
21055 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
21057         * loadup.el: Use `string-to-number', not `string-to-int'.
21059 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21061         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21062         gud-gdb-complete-command.
21063         (gud-gdb-completions): New function, from gud-gdb-complete-command.
21064         (gud-gdb-completion-at-point): New function.
21065         (gud-gdb-completions): Remove.
21067 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
21069         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21070         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
21071         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21072         whether `executable-find' is bound.
21074         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21076 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21078         * minibuffer.el (completion-in-region-mode-predicate)
21079         (completion-in-region-mode--predicate): New vars.
21080         (completion-in-region, completion-in-region--postch)
21081         (completion-in-region-mode): Use them.
21082         (completion--capf-wrapper): Also return the hook function.
21083         (completion-at-point, completion-help-at-point):
21084         Adjust and provide a predicate.
21086         Preserve arg names for advice of subr and lexical functions (bug#8457).
21087         * help-fns.el (help-function-arglist): Consolidate the subr and
21088         new-byte-code cases.  Add argument `preserve-names' to extract names
21089         from the docstring when needed.
21090         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21091         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21092         (ad-arglist): Use help-function-arglist's new arg.
21093         (ad-definition-type): Use cond.
21095 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
21097         * autorevert.el (auto-revert-handler):
21098         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21099         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21100         Don't quote lambda.
21102         * image-mode.el (image-transform-set-scale):
21103         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21105 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21107         * net/network-stream.el (network-stream-open-starttls): Only do
21108         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21109         Upgrades via gnutls-cli are too slow to be done opportunistically.
21111 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
21113         * dframe.el (dframe-current-frame): Remove spurious quote.
21115 2011-04-12  Glenn Morris  <rgm@gnu.org>
21117         * calendar/cal-tex.el (cal-tex-end-document):
21118         Try to automatically use latin1 input if needed.
21120         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21121         Don't try to cons a mark onto an empty element.
21123 2011-04-11  Leo Liu  <sdl.web@gmail.com>
21125         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21126         buffers.
21127         (ido-kill-buffer-at-head): Support killing virtual buffers.
21129 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
21131         * minibuffer.el (completion-show-inline-help): New var.
21132         (completion--do-completion, minibuffer-complete)
21133         (minibuffer-force-complete, minibuffer-complete-word):
21134         Inhibit minibuffer messages if completion-show-inline-help is nil.
21136         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21137         to avoid interference from inline help (Bug#5849).
21139 2011-04-10  Leo Liu  <sdl.web@gmail.com>
21141         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21142         Fix typo.
21144 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
21146         * image-mode.el (image-toggle-display-image): Signal an error if
21147         not in Image mode.
21148         (image-transform-mode, image-transform-resize)
21149         (image-transform-set-rotation): Doc fix.
21150         (image-transform-set-resize): Delete.
21151         (image-transform-set-scale, image-transform-fit-to-height)
21152         (image-transform-fit-to-width): Handle image-toggle-display-image
21153         and image-transform-resize directly.
21155 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
21157         * doc-view.el (doc-view-fit-width-to-window)
21158         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21159         New functions for fitting the shown image to the Emacs window size.
21160         (doc-view-mode-map): Add bindings for the new functions.
21162 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
21164         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21165         Fix typo in docstring.
21167 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
21169         * files.el (file-size-human-readable): Produce one digit after
21170         decimal, like "ls -lh" does.
21172         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21173         the file size representation.
21175         * simple.el (list-processes): If async subprocesses are not
21176         available, error out with a clear error message.
21178 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
21180         * help.el (help-form-show): New function, to be called from C.
21181         Put help-form output in a buffer named differently than *Help*.
21183 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
21185         * files.el (file-size-human-readable): New function.
21187         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21188         computing the representation inline.  Don't require `cl'.
21190 2011-04-08  Glenn Morris  <rgm@gnu.org>
21192         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21194         * net/browse-url.el (browse-url-firefox):
21195         Test system-type, not system-configuration.
21197         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21198         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21199         Use log-edit-empty-buffer-p.  (Bug#7598)
21201         * net/rlogin.el (rlogin-process-connection-type): Simplify.
21202         (rlogin-mode-map): Initialize in the defvar.
21203         (rlogin): Use ignore-errors.
21205         * replace.el (occur-mode-map): Some fixes for menu items.
21207 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
21209         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
21211 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
21213         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21214         issuing unused warnings.
21216         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21217         macro directly.
21219         * simple.el: Lisp reimplement of list-processes.  Based on an
21220         earlier reimplementation by Leo Liu, but using tabulated-list.el.
21221         (process-menu-mode): New major mode.
21222         (list-processes--refresh, list-processes):
21223         (process-menu-visit-buffer): New functions.
21225         * files.el (save-buffers-kill-emacs): Don't assume any return
21226         value of list-processes, which is undocumented anyway.
21228 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
21230         * emacs-lisp/tabulated-list.el: New file.
21232         * emacs-lisp/package.el: Use Tabulated List mode.
21233         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21234         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
21235         table format using Tabulated List mode variables.
21236         (package--push): New macro, replacing package-list-maybe-add.
21237         (package-menu--generate): Use package--push.  Renamed from
21238         package--generate-package-list.
21239         (package-menu-refresh, list-packages): Use it.
21240         (package-menu--print-info): Rename from package-print-package.
21241         Return insertion data instead of inserting it directly.
21242         (package-menu-describe-package, package-menu-execute):
21243         Use tabulated-list-get-id.
21244         (package-menu-mark-delete, package-menu-mark-install)
21245         (package-menu-mark-unmark, package-menu-backup-unmark)
21246         (package-menu-mark-obsolete-for-deletion):
21247         Use tabulated-list-put-tag.
21248         (package--list-packages, package-menu-revert)
21249         (package-menu-get-package, package-menu-get-version)
21250         (package-menu-sort-by-column): Functions deleted.
21251         (package-menu-package-list, package-menu-sort-key): Vars deleted.
21252         (package-menu--status-predicate, package-menu--version-predicate)
21253         (package-menu--name-predicate)
21254         (package-menu--description-predicate): Handle arguments in the
21255         Tabulated List format.
21256         (package-list-packages-no-fetch): Call list-packages.
21258 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
21260         * files.el (after-find-file-from-revert-buffer): Remove variable.
21261         (after-find-file): Don't bind it.
21262         (revert-buffer-in-progress-p): New variable.
21263         (revert-buffer): Bind it.
21264         Pass nil for `after-find-file-from-revert-buffer'.
21266         * saveplace.el (save-place-find-file-hook): Use new variable
21267         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21269 2011-04-06  Glenn Morris  <rgm@gnu.org>
21271         * Makefile.in (AUTOGEN_VCS): New variable.
21272         (autoloads): Use $AUTOGEN_VCS.
21274         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21275         * calendar/calendar.el (calendar-mode-map):
21276         Check for toolkit scroll bars.  (Bug#8305)
21278 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
21280         * minibuffer.el (completion-in-region--postch)
21281         (completion-in-region-mode): Remove unnecessary messages.
21283 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
21285         * font-lock.el (font-lock-refresh-defaults):
21286         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21287         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21289         * info.el (Info-directory-list, Info-read-node-name-2)
21290         (Info-split-parameter-string): Doc fixes.
21291         (Info-virtual-nodes): Reflow docstring.
21292         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21293         (Info-apropos-toc-nodes, info-finder, Info-get-token)
21294         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21295         Fix typos in docstrings.
21296         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21297         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21298         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21299         (Info-restore-desktop-buffer): Mark unused parameters.
21300         (Info-directory-find-file, Info-directory-find-node)
21301         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21302         (Info-virtual-index-find-node, Info-apropos-find-file)
21303         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21304         Mark unused parameters; fix typos in docstrings.
21305         (Info-virtual-index): Remove unused local variable `nodename'.
21307 2011-04-05  Deniz Dogan  <deniz@dogan.se>
21309         * net/rcirc.el: Update my e-mail address.
21310         (rcirc-mode-map): Remove M-o binding.
21312 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
21314         * startup.el (command-line): Save the cursor's theme-face
21315         directly, instead of using face-override-spec.
21317         * custom.el (load-theme): Minor optimization in assigning faces.
21319 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
21321         * help-fns.el (describe-variable): Complete all variables having
21322         documentation, including keywords.
21323         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21325 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
21327         Convert to lexical-binding.
21329         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21330         (bs--get-marked-string, bs--get-modified-string)
21331         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21332         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21333         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21335         * ehelp.el (electric-help-execute-extended)
21336         (electric-help-ctrl-x-prefix):
21337         * hexl.el (hexl-revert-buffer-function):
21338         * linum.el (linum-after-change, linum-after-scroll):
21339         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21341         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21343 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
21345         * epa-dired.el:
21346         * epa-mail.el:
21347         * epa-hook.el:
21348         * epa-file.el:
21349         * epa.el:
21350         * epg.el: Use lexical binding.
21352 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
21354         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21356         * textmodes/flyspell.el (flyspell-word): Recognize default
21357         dictionary case for flyspell-mark-duplications-exceptions.
21358         Use regexp matching for languages.
21359         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21360         default dictionary (Bug#7926).
21362 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
21364         * emacs-lisp/package.el (package--with-work-buffer):
21365         Recognize https URLs.
21367         * net/network-stream.el: Move from gnus/proto-stream.el.
21368         Change prefix to network-stream throughout.
21369         (open-protocol-stream): Merge into open-network-stream, leaving
21370         open-protocol-stream as an alias.  Handle nil BUFFER args.
21372         * subr.el (open-network-stream): Move to net/network-stream.el.
21374 2011-04-02  Glenn Morris  <rgm@gnu.org>
21376         * find-dired.el (find-exec-terminator): New option.
21377         (find-ls-option): Test for -ls support.
21378         (find-ls-subdir-switches): Test for -b in find-ls-option.
21379         (find-dired, find-grep-dired): Doc fixes.
21380         (find-dired): Use find-exec-terminator.
21382         * find-dired.el (find-ls-option, find-ls-subdir-switches)
21383         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21384         (find-name-arg): Remove purecopy.
21386         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21387         (grep-compute-defaults): Check for `-exec COMMAND +' support.
21388         Set grep-find-use-xargs, grep-find-command, and grep-find-template
21389         accordingly.  Don't add the null-device if not needed.
21391         * files.el (save-some-buffers): Doc fix.
21393 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
21395         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21397 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
21399         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21400         Use `dolist' rather than `mapcar'.
21402 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
21404         Add lexical binding.
21406         * subr.el (apply-partially): Use new closures rather than CL.
21407         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21408         (dolist, dotimes): Use slightly different expansion for lexical code.
21409         (functionp): Move to C.
21410         (letrec): New macro.
21411         (with-wrapper-hook): Use it and apply-partially instead of CL.
21412         (eval-after-load): Preserve lexical-binding.
21413         (save-window-excursion, with-output-to-temp-buffer): Turn them
21414         into macros.
21416         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21418         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21419         than the arglist.
21420         (help-add-fundoc-usage): Don't add `Not documented'.
21421         (help-function-arglist): Handle closures, subroutines, and new
21422         byte-code-functions.
21423         (help-make-usage): Remove leading underscores.
21424         (describe-function-1): Handle closures.
21425         (describe-variable): Use special-variable-p for completion.
21427         * files.el (lexical-binding): Declare safe.
21429         * emacs-lisp/pcase.el: Don't use destructuring-bind.
21430         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
21431         (pcase): Add `let' pattern.
21432         Change memoization so it actually works.
21433         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21434         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21435         <let>: New case.
21437         * emacs-lisp/macroexp.el: Use lexical binding.
21438         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
21439         Don't convert ' to #' without checking that it's indeed quoting
21440         a lambda.
21442         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21443         Use eval-sexp-add-defvars.
21444         (eval-sexp-add-defvars): New fun.
21446         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21448         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21449         Don't autoload.
21450         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21451         than the internal `byte-compile-lambda'.
21452         (defmethod): Don't hide code under quotes.
21453         (eieio-defmethod): New `code' argument.
21455         * emacs-lisp/eieio-comp.el: Remove.
21457         * emacs-lisp/edebug.el (edebug-eval-defun)
21458         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21459         (edebug-toggle): Avoid `eval'.
21461         * emacs-lisp/disass.el (disassemble-internal): Handle new
21462         `closure' objects.
21463         (disassemble-1): Handle new byte codes.
21465         * emacs-lisp/cl.el (pushnew): Silence warning.
21467         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21468         (cl-byte-compile-throw): Remove.
21469         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21471         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21472         closures.
21474         * emacs-lisp/cconv.el: New file.
21476         * emacs-lisp/bytecomp.el: Use lexical binding instead of
21477         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
21478         (byte-compile-initial-macro-environment):
21479         Handle declare-function here.
21480         (byte-compile--lexical-environment): New var.
21481         (byte-stack-ref, byte-stack-set, byte-discardN)
21482         (byte-discardN-preserve-tos): New lap codes.
21483         (byte-interactive-p): Don't use any more.
21484         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21485         New macros.
21486         (byte-compile-lapcode): Use them and handle new lap codes.
21487         (byte-compile-obsolete): Remove.
21488         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21489         (byte-compile-arglist-warn): Check late def of inlinable funs.
21490         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21491         since they should have been expanded by now.
21492         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21493         (byte-compile-from-buffer): Remove unused second arg.
21494         (byte-compile-preprocess): New function.
21495         (byte-compile-toplevel-file-form): New function to distinguish
21496         file-form calls from outside from file-form calls from hunk-handlers.
21497         (byte-compile-file-form): Simplify.
21498         (byte-compile-file-form-defsubst): Remove.
21499         (byte-compile-file-form-defmumble): Simplify now that
21500         byte-compile-lambda always returns a byte-code-function.
21501         (byte-compile): Preprocess.
21502         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21503         Remove, not used any more.
21504         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21505         (byte-compile-make-args-desc): New funs.
21506         (byte-compile-lambda): Handle lexical functions.  Always return
21507         a byte-code-function.
21508         (byte-compile-reserved-constants): New var, to make up room for
21509         closed-over variables.
21510         (byte-compile-constants-vector): Obey it.
21511         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21512         (byte-compile-macroexpand-declare-function): New function.
21513         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21514         byte-code-functions.
21515         (byte-compile-form): Check obsolescence here.
21516         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21517         (byte-compile-variable-ref): Remove.
21518         (byte-compile-dynamic-variable-op): New fun.
21519         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21520         (byte-compile-variable-set): New funs.
21521         (byte-compile-discard): Add 2 args.
21522         (byte-compile-stack-ref, byte-compile-stack-set)
21523         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21524         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21525         macroexpand-all instead.
21526         (byte-compile-quote-form): Remove.
21527         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21528         (byte-compile-bind, byte-compile-unbind): New funs.
21529         (byte-compile-let): Handle let* and lexical binding.
21530         (byte-compile-let*): Remove.
21531         (byte-compile-catch, byte-compile-unwind-protect)
21532         (byte-compile-track-mouse, byte-compile-condition-case):
21533         Handle a new :fun-body form, used for lexical scoping.
21534         (byte-compile-save-window-excursion)
21535         (byte-compile-with-output-to-temp-buffer): Remove.
21536         (byte-compile-defun): Simplify.
21537         (byte-compile-stack-adjustment): New fun.
21538         (byte-compile-out): Use it.
21539         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21541         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21542         handler any more.
21544         * emacs-lisp/byte-opt.el: Use lexical binding.
21545         (byte-inline-lapcode): Remove (to bytecomp).
21546         (byte-compile-inline-expand): Pay attention to inlining to/from
21547         lexically bound code.
21548         (byte-compile-unfold-lambda): Don't handle byte-code-functions
21549         any more.
21550         (byte-optimize-form-code-walker): Don't handle save-window-excursion
21551         any more and don't call compiler-macros.
21552         (byte-compile-splice-in-already-compiled-code): Remove.
21553         (byte-code): Don't inline any more.
21554         (disassemble-offset): Receive `bytes' as argument rather than via
21555         dynamic scoping.
21556         (byte-compile-tag-number): Declare before first use.
21557         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21558         `return' even if make-spliceable.
21559         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21560         obsolete interactive-p.
21561         (byte-optimize-lapcode): Optimize new lap-codes.
21562         Don't trip up on new form of `byte-constant' lap code.
21564         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21566         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21568         * custom.el (custom-initialize-default, custom-declare-variable):
21569         Use `defvar'.
21571         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21572         New variables.
21573         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21574         (COMPILE_FIRST): Add macroexp and cconv.
21575         * makefile.w32-in: Mirror changes in Makefile.in.
21577         * vc/cvs-status.el:
21578         * vc/diff-mode.el:
21579         * vc/log-edit.el:
21580         * vc/log-view.el:
21581         * vc/smerge-mode.el:
21582         * textmodes/bibtex-style.el:
21583         * textmodes/css-mode.el:
21584         * startup.el:
21585         * uniquify.el:
21586         * minibuffer.el:
21587         * newcomment.el:
21588         * reveal.el:
21589         * server.el:
21590         * mpc.el:
21591         * emacs-lisp/smie.el:
21592         * doc-view.el:
21593         * dired.el:
21594         * abbrev.el: Use lexical binding.
21596 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
21598         * info.el (info-display-manual): New function.
21600 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
21602         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21604 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
21606         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21607         an entry for that server in rcirc-authinfo.  (Bug#8385)
21609 2011-03-31  Glenn Morris  <rgm@gnu.org>
21611         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21613         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21615 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
21617         * progmodes/python.el (python-default-interpreter)
21618         (python-python-command-args, python-jython-command-args)
21619         (python-which-shell, python-which-args, python-which-bufname)
21620         (python-file-queue, python-comint-output-filter-function)
21621         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21622         variables and functions.
21624 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
21626         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21627         (completion-in-region-mode): New minor mode.
21628         (completion-in-region): Use it.
21629         (completion-in-region--data, completion-in-region-mode-map): New vars.
21630         (completion-in-region--postch): New function.
21631         (completion--capf-misbehave-funs, completion--capf-safe-funs):
21632         New vars.
21633         (completion--capf-wrapper): New function.
21634         (completion-at-point): Use it to track well-behavedness of
21635         hook functions.
21636         (completion-help-at-point): New command.
21638 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
21640         * vc/add-log.el (add-change-log-entry): Don't use whitespace
21641         syntax class to search for whitespace on a single line
21642         (Message-ID: <4D938140.4030905@redhat.com>).
21644 2011-03-30  Leo Liu  <sdl.web@gmail.com>
21646         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21647         New commands.
21648         (edit-abbrevs-map): Bind them here.
21649         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
21651 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
21653         * allout.el (allout-hide-by-annotation, allout-flag-region):
21654         Reduce possibility of overlay leakage by making them volatile.
21656         * allout-widgets.el (allout-widgets-tally): Define as nil so the
21657         hash is not shared between buffers.  Mode initialization is
21658         responsible for giving it a useful starting value.
21659         (allout-item-span): Reduce possibility of overlay leakage by
21660         making them volatile.
21661         (allout-widgets-count-buttons-in-region): Add diagnostic function
21662         for tracking down button overlay leaks.
21664 2011-03-29  Leo Liu  <sdl.web@gmail.com>
21666         * ido.el (ido-read-internal): Use the default history var
21667         minibuffer-history if no HISTORY is specified.
21669 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
21671         * net/imap.el (imap-shell-open, imap-process-connection-type):
21672         Use imap-process-connection-type for 'shell' streams as well as
21673         Kerberos, SSL, other subprocesses.
21675 2011-03-28  Leo Liu  <sdl.web@gmail.com>
21677         * abbrev.el (abbrev-table-empty-p): New function.
21678         (prepare-abbrev-list-buffer): Place empty abbrev tables after
21679         nonempty ones.  (Bug#5937)
21681 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
21683         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21685 2011-03-27  Leo Liu  <sdl.web@gmail.com>
21687         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21688         for foreground and background colors.
21689         (ansi-color-make-color-map): Adapt.
21691 2011-03-25  Leo Liu  <sdl.web@gmail.com>
21693         * midnight.el (midnight-time-float): Remove.  Note it calculates
21694         the microsecond component incorrectly and seconds-to-time does the
21695         same job.
21696         Remove redundant (require 'timer).
21698         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21699         (ido-completions): Remove unused arguments.  (Bug#8329)
21701 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21703         * minibuffer.el (completion--flush-all-sorted-completions):
21704         Remove itself from hook.
21705         (completion-at-point): Let the functions perform the completion
21706         immediately and return nil or t.
21707         * comint.el (comint-dynamic-complete-functions): Now identical to
21708         completion-at-point-functions.
21709         (comint-dynamic-list-input-ring): Remove unused var `index'.
21710         (comint--match-partial-filename, comint--unquote&expand-filename):
21711         New funs, split from comint-match-partial-filename.
21712         (comint-dynamic-complete): Use completion-at-point.
21713         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21715 2011-03-24  Drew Adams  <drew.adams@oracle.com>
21717         * thingatpt.el: Support `defun'.
21719 2011-03-23  Leo Liu  <sdl.web@gmail.com>
21721         * abbrevlist.el: Move to obsolete/abbrevlist.el.
21723         * help-mode.el (help-mode-finish): Tweak regexp.
21725 2011-03-23  Glenn Morris  <rgm@gnu.org>
21727         * eshell/esh-opt.el (eshell-eval-using-options):
21728         Do not bind unused local variable `eshell-option-stub'.
21730         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21732 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
21734         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21735         keymap variable in `with-no-warnings' to avoid a warning when the
21736         keymap has been already `defconst'ed.
21738 2011-03-22  Leo Liu  <sdl.web@gmail.com>
21740         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21741         encode all chars in abbrevs; otherwise use emacs-mule or
21742         utf-8-emacs.  (Bug#8308)
21744 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
21746         * simple.el (backward-delete-char-untabify):
21747         Avoid warning about using `delete-backward-char'.
21749         * image.el (image-type-file-name-regexps): Make it variable.
21750         `imagemagick-register-types' modifies it, and the user may want
21751         to add new extensions for known image types.
21752         (imagemagick-register-types): Throw error if not using ImageMagick.
21754 2011-03-22  Leo Liu  <sdl.web@gmail.com>
21756         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21757         located before rcirc-prompt-end-marker.
21758         (rcirc-complete): Error if point is not after rcirc prompt.
21759         Handle the case when table is nil.
21760         (rcirc-user-authenticated): Define to fix compiler warning.
21762 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
21764         * custom.el (custom--inhibit-theme-enable): Make it affect only
21765         custom-theme-set-variables and custom-theme-set-faces.
21766         (provide-theme): Ignore custom--inhibit-theme-enable.
21767         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21768         (custom-enabling-themes): Delete variable.
21769         (enable-theme): Accept only loaded themes as arguments.
21770         Ignore the special custom-enabled-themes variable.
21771         (custom-enabled-themes): Forbid themes from setting this.
21772         Eliminate use of custom-enabling-themes.
21773         (custom-push-theme): Quote "changed" custom var entry.
21775 2011-03-21  Leo Liu  <sdl.web@gmail.com>
21777         * ido.el (ido-read-internal): Add ido-selected to history instead
21778         of user input.
21780 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21782         * subr.el (deferred-action-list, deferred-action-function):
21783         Mark obsolete.
21785 2011-03-21  Leo Liu  <sdl.web@gmail.com>
21787         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21788         change on 2011-02-13 (bug#8309).
21790         * minibuffer.el (read-file-name-function): Change default value.
21791         (read-file-name--defaults): Rename from read-file-name-defaults.
21792         (read-file-name-default): Rename from read-file-name.
21793         (read-file-name): Call read-file-name-function.
21795 2011-03-21  Glenn Morris  <rgm@gnu.org>
21797         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21798         Doc fixes.
21800 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
21802         * cus-theme.el: Add missing provide statement.
21803         (customize-create-theme): Extract theme value correctly.
21804         (custom-theme-visit-theme): Autoload.
21805         (customize-create-theme): Prompt before inserting default faces.
21807 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
21809         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21810         units and musical notes.
21812 2011-03-20  Leo Liu  <sdl.web@gmail.com>
21814         * ido.el (ido-read-internal): Use completing-read-default.
21815         (ido-completing-read): Fix compatibility with completing-read.
21817 2011-03-20  Christian Ohler  <ohler@gnu.org>
21819         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21820         (ert-delete-all-tests): Use `called-interactively-p' rather than
21821         `interactive-p'.
21822         (ert--make-xrefs-region): Respect END.
21824 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
21826         * dired-aux.el (dired-create-directory): Signal an error if the
21827         directory already exists (Bug#8246).
21829         * facemenu.el (list-colors-display): Call list-faces-display
21830         inside with-help-window.
21831         (list-colors-print): Use display property to align the final
21832         column, instead of checking window-width.
21834 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
21836         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21837         windows-nt systems.
21838         (emerge-protect-metachars): Quote correctly for ms-dos and
21839         windows-nt systems.
21841 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
21843         * info.el (info-initialize): Replace all uses of `:' with
21844         path-separator for compatibility with non-Unix systems.
21845         Cache quoting of path-separator.  (Bug#8258)
21847 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
21849         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21850         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21851         (mouse-avoidance-mode): Fix typos in docstrings.
21853 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
21855         * startup.el (package-subdirectory-regexp): Move from package.el.
21856         Omit \\` and \\', and let callers add them.
21858         * emacs-lisp/package.el (package-strip-version)
21859         (package-load-all-descriptors): Add \\` and \\' to
21860         package-subdirectory-regexp before using it.
21861         (package-untar-buffer): New arg DIR; ensure that file untars only
21862         into this expected directory.  Remove superfluous delete-region.
21863         (package-unpack): Caller changed.
21864         (package-tar-file-info): Use package-subdirectory-regexp.
21866 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21868         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21869         diff-mode-shared-map (bug#8284).
21870         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21872 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21874         * calendar/time-date.el (format-seconds): Use assoc instead of
21875         assoc-string, since assoc-string doesn't exist in XEmacs.
21877 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
21879         * custom.el (custom-known-themes): Reflow docstring.
21880         (custom-theme-load-path): Fix typo in docstring.
21881         (load-theme): Fix typo in error message.
21882         (custom-available-themes, custom-variable-theme-value):
21883         Use `let', not `let*'.
21885 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
21887         * calc/README: Mention inclusion of musical notes.
21889         * calc/calc-units.el (calc-lu-quant): Rename from
21890         `calc-logunits-quantity'.
21891         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21892         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21893         (calc-db): Rename from `calc-dblevel'.
21894         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21895         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21896         (calc-np): Rename from `calc-nplevel'.
21897         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21898         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21899         (calc-lu-plus): Rename from `calc-logunits-add'.
21900         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21901         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21902         (calc-lu-minus): Rename from `calc-logunits-sub'.
21903         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21904         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21905         (calc-lu-times): Rename from `calc-logunits-mul'.
21906         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21907         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21908         (calc-lu-divide): Rename from `calc-logunits-div'.
21909         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21910         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21912         * calc/calc-ext.el (calc-init-extensions): Update the names of the
21913         functions being autoloaded.
21915         * calc/calc.el (calc-lu-power-reference): Rename from
21916         `calc-logunits-power-reference'.
21917         (calc-lu-field-reference): Rename from
21918         `calc-logunits-field-reference'.
21920         * calc/calc-help.el (calc-l-prefix-help):
21921         Mention musical note functions.
21923 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
21925         * minibuffer.el (completion-all-sorted-completions):
21926         Use :completion-cycle-penalty text property if present.
21928 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
21930         * allout.el (allout-yank-processing): Adjust for new rebulleting
21931         regime so bullet being yanked is used without prompting the user
21932         for a choice.
21934 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
21936         * startup.el (command-line): Warn the user that _emacs is deprecated.
21938 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
21940         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21941         (delphi-verbose, delphi-comment-face, delphi-string-face)
21942         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21943         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21944         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21945         (delphi-new-comment-line, delphi-font-lock-defaults)
21946         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21947         Fix typos in docstrings.
21949 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
21951         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21952         Invert the roles of character and string values for INSTEAD, so a
21953         string is used for the more common case of a defaulting prompt.
21955 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21957         * progmodes/ruby-mode.el (ruby-backward-sexp):
21958         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21959         * play/gamegrid.el (gamegrid-make-face):
21960         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21961         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21962         * notifications.el (notifications-notify):
21963         * net/xesam.el (xesam-search-engines):
21964         * net/quickurl.el (quickurl-list-insert):
21965         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21967 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
21969         * startup.el (command-line): Update package subdirectory regexp.
21971 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21973         * allout.el (allout-abbreviate-flattened-numbering)
21974         (allout-mode-deactivate-hook): Fix up obsolescence "date".
21976         * subr.el (read-char-choice): Only show the cursor after the prompt,
21977         not after the answer.
21979 2011-03-15  Kevin Ryde  <user42@zip.com.au>
21981         * help-fns.el (variable-at-point): Skip leading quotes, if any
21982         (bug#8253).
21984 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21986         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21987         warning message.
21989 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
21991         * shell.el (shell): When called interactively, offer to change the
21992         shell file name on remote hosts.
21994 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
21996         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21997         integration for LDAP parameters.  The host, base, user or binddn,
21998         and secret tokens can be specified in a netrc file, for instance.
21999         This is optional because an `auth-source' parameter must be
22000         specified in the search attributes.
22002 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
22004         * help.el (describe-mode): Link to the mode's definition (bug#8185).
22006 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22008         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
22009         into declaration.  Remove redundant and harmful binding.
22011 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
22013         * files.el (file-ownership-preserved-p): Pass `integer' as an
22014         explicit 2nd argument to `file-attributes'.  If the file's owner
22015         is the Administrators group on Windows, and the current user is
22016         Administrator, consider that a match.
22018         * server.el (server-ensure-safe-dir): Consider server directory
22019         safe on MS-Windows if its owner is the Administrators group while
22020         the current Emacs user is Administrator.  Use `=' to compare
22021         numerical UIDs, since they could be integers or floats.
22023 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
22025         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
22027 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
22029         Sync with Tramp 2.2.1.
22031         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
22033         * net/trampver.el: Update release number.
22035 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
22037         * progmodes/compile.el (compilation--previous-directory): Fix up
22038         various nil/dead-marker mismatches (bug#8014).
22039         (compilation-directory-properties, compilation-error-properties):
22040         Don't call it at a position past the one we're about to change.
22042         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
22043         Disable obsolescence warnings in the file that declares it.
22045 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
22047         * allout-widgets.el (allout-widgets-tally):
22048         Initialize allout-widgets-tally as a hash table rather than nil to
22049         prevent mode-line redisplay warnings.  Also, clarify the module
22050         description and fix a comment typo.
22052 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
22054         * help-fns.el (describe-variable): Don't complete keywords.
22055         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22057 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
22059         * emacs-lisp/package.el (package-version-join): Impose a standard
22060         string representation for pre/alpha/beta version lists.
22061         (package-unpack-single): Standardize the directory name by passing
22062         it through package-version-join.
22063         (package-strip-rcs-id): Accept any version string that does not
22064         signal an error in version-to-list.
22066 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
22068         * simple.el (delete-trailing-whitespace): Return nil for the
22069         benefit of `write-file-functions'.
22071 2011-03-10  Glenn Morris  <rgm@gnu.org>
22073         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22075         * vc/vc-git.el (vc-git-program): New option.
22076         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22077         (vc-git--call): Use it.
22079         * eshell/esh-util.el (eshell-condition-case): Doc fix.
22081         * cus-edit.el (Custom-newline): If no button at point, look
22082         for a subgroup button at start-of-line.  (Bug#2298)
22084         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22086 2011-03-10  Julien Danjou  <julien@danjou.info>
22088         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22089         `cursor-type' is nil.
22091 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
22093         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22095 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
22097         * allout.el: Change so yank of distinctive-bullet items
22098         preserves the existing header prefix, rebulleting it if necessary,
22099         rather than replacing it.  This is necessary for proper operation
22100         of cooperative addons like allout-widgets.
22101         (allout-make-topic-prefix, allout-rebullet-heading):
22102         Change SOLICIT arg to INSTEAD, and interpret additionally a string
22103         value as alternate bullet to be used, instead of prompting the user
22104         for a bullet character.
22106 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
22108         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22109         Do not use `tramp-file-name-port', because this returns also
22110         `tramp-default-port'.
22112 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
22114         * net/rcirc.el (rcirc-handler-001): Remove useless
22115         with-rcirc-process-buffer.
22116         (rcirc-check-auth-status): Swap arguments to string-match.
22118 2011-03-09  Glenn Morris  <rgm@gnu.org>
22120         * shell.el (shell-mode):
22121         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
22123         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22124         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
22126 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
22128         * emacs-lisp/package.el (package-refresh-contents)
22129         (package-menu-execute): Use condition-case-no-debug.
22131 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
22133         * simple.el (shell-command-to-string): Use `process-file'.
22135         * emacs-lisp/package.el (package-tar-file-info): Handle also
22136         remote files.
22138         * emacs-lisp/package-x.el (package-upload-buffer-internal):
22139         Use `equal' for upload base check.
22141 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
22143         * textmodes/texinfo.el (texinfo-environments):
22144         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
22146 2011-03-08  Glenn Morris  <rgm@gnu.org>
22148         * cus-start.el (cursor-in-non-selected-windows):
22149         Fix :set quoting oddness.  (Bug#8192)
22151         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22152         in some setf expressions.  (Bug#2159)
22154 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
22156         * custom.el (custom-available-themes): Return themes in
22157         alphabetical order.
22159 See ChangeLog.15 for earlier changes.
22161 ;; Local Variables:
22162 ;; coding: utf-8
22163 ;; End:
22165   Copyright (C) 2011-2012  Free Software Foundation, Inc.
22167   This file is part of GNU Emacs.
22169   GNU Emacs is free software: you can redistribute it and/or modify
22170   it under the terms of the GNU General Public License as published by
22171   the Free Software Foundation, either version 3 of the License, or
22172   (at your option) any later version.
22174   GNU Emacs is distributed in the hope that it will be useful,
22175   but WITHOUT ANY WARRANTY; without even the implied warranty of
22176   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22177   GNU General Public License for more details.
22179   You should have received a copy of the GNU General Public License
22180   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.