Improve url matching in ffap.el.
[emacs.git] / lisp / ChangeLog
blobb6f03d4a5d3eb52708348d23a73a5a8342050b4f
1 2012-12-05  Chong Yidong  <cyd@gnu.org>
3         * ffap.el (ffap-url-regexp): Don't require matching at front of
4         string (Bug#4952).
5         (ffap-url-p): If only a substring matches, return that.
6         (ffap-url-at-point): Use the return value of ffap-url-p.
7         (ffap-read-file-or-url, ffap-read-file-or-url-internal)
8         (find-file-at-point, dired-at-point, dired-at-point-prompter)
9         (ffap-guess-file-name-at-point): Likewise.
10         (ffap-replace-file-component): Fix typo.
12         * info.el (info-display-manual): Add existing Info buffers, whose
13         files may not be in Info-directory-list, to the completion.
14         (info--manual-names): New helper function.
16 2012-12-05  Glenn Morris  <rgm@gnu.org>
18         * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
19         New functions, for detecting and resolving conflicts.  (Bug#10709)
21 2012-12-04  Jambunathan K  <kjambunathan@gmail.com>
23         * hi-lock.el (hi-lock-auto-select-face): New user variable.
24         (hi-lock-auto-select-face-defaults): New buffer local variable.
25         (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
26         (hi-lock-unface-buffer): Prompt user with useful defaults.
27         With prefix arg, unhighlight all hi-lock patterns in buffer.
29 2012-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
31         * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
33 2012-12-04  Michael Albinus  <michael.albinus@gmx.de>
35         * Makefile.in (TRAMP_SRC):
36         * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
38 2012-12-04  Juergen Hoetzel  <juergen@archlinux.org>
40         * net/tramp-adb.el: New package.
42 2012-12-04  Chong Yidong  <cyd@gnu.org>
44         * terminal.el: Move to obsolete/.
46         * longlines.el: Move to obsolete/.
48         * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
49         Remove code referring to longlines mode.
51 2012-12-03  Juri Linkov  <juri@jurta.org>
53         * sort.el (delete-duplicate-lines): New command.  (Bug#13032)
55 2012-12-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
57         * textmodes/ispell.el (ispell-init-process)
58         (ispell-start-process, ispell-internal-change-dictionary):
59         Make sure personal dictionary name is expanded after initial
60         `default-directory' value. Use expanded strings for
61         keep/restart checks and for value (Bug#13019).
63 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
65         * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
67 2012-12-03  Leo Liu  <sdl.web@gmail.com>
69         * files.el (dir-locals-read-from-file): Check file non-empty
70         before reading.  (Bug#13038)
72 2012-12-03  Glenn Morris  <rgm@gnu.org>
74         * jka-cmpr-hook.el (jka-compr-get-compression-info):
75         Remove any version extension before checking filename.  (Bug#13006)
76         (jka-compr-compression-info-list): Belated :version bump.
78 2012-12-03  Chong Yidong  <cyd@gnu.org>
80         * simple.el (transient-mark-mode): Doc fix (Bug#11523).
82         * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
83         (buffer-menu): Doc fix (Bug#12294).
85 2012-12-03  Roland Winkler  <winkler@gnu.org>
87         * calendar/diary-lib.el (diary-header-line-format): Use keybinding
88         of diary-show-all-entries in the diary buffer (Bug#12994).
90 2012-12-03  Michael Albinus  <michael.albinus@gmx.de>
92         * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
93         "<STDIN>".  This is binary safe.
95 2012-12-03  Jay Belanger  <jay.p.belanger@gmail.com>
97         * calc/calc-forms.el (math-absolute-from-iso-dt)
98         (math-date-to-iso-dt, math-parse-iso-date-validate)
99         (math-iso-dt-to-date): New functions.
100         (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
101         (math-fd-isoweekday): New variables.
102         (calc-date-notation, math-parse-standard-date, math-format-date)
103         (math-format-date-part): Add support for more formatting codes.
105 2012-12-02  Dmitry Gutov  <dgutov@yandex.ru>
107         * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
108         current buffer's file name when called interactively (Bug#12488).
110 2012-12-02  Juri Linkov  <juri@jurta.org>
112         * info.el (info-display-manual): Don't clobber an existing Info
113         buffer (Bug#10770).  Add completion (Bug#10771).
115 2012-12-01  Yuya Nishihara  <yuya@tcha.org>  (tiny change)
117         * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
118         before using it for comparison (Bug#5297).
120 2012-12-01  Jari Aalto  <jari.aalto@cante.net>
122         * textmodes/css-mode.el (css-current-defun-name): New function.
123         (css-mode): Use it.
125         * textmodes/sgml-mode.el (html-current-defun-name): New function.
126         (html-mode): Use it.
128 2012-12-01  Chong Yidong  <cyd@gnu.org>
130         Modularize add-log-current-defun (Bug#2224).
131         Suggested by Jari Aalto.
133         * vc/add-log.el (add-log-current-defun-function): Doc fix.
134         (add-log-current-defun): Move mode-specific code to other files.
135         (add-log-lisp-like-modes, add-log-c-like-modes)
136         (add-log-tex-like-modes): Variables deleted.
138         * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
139         (lisp-mode-variables): Use it.
141         * progmodes/cc-mode.el (c-common-init):
142         * progmodes/cperl-mode.el (cperl-mode): Set a value for
143         add-log-current-defun-function.
145         * progmodes/m4-mode.el (m4-current-defun-name): New function.
146         (m4-mode): Use it.
148         * progmodes/perl-mode.el (perl-current-defun-name): New.
149         (perl-mode): Use it.
151         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): Use
152         lisp-current-defun-name.
154         * textmodes/tex-mode.el (tex-current-defun-name): New.
155         (tex-common-initialization): Use it.
157         * textmodes/texinfo.el (texinfo-current-defun-name): New.
158         (texinfo-mode): Use it.
160 2012-12-01  Chong Yidong  <cyd@gnu.org>
162         * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
163         * progmodes/autoconf.el (autoconf-mode):
164         * progmodes/js.el (js-mode):
165         * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
166         (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
167         * progmodes/perl-mode.el (perl-mode):
168         * progmodes/sh-script.el (sh-mode, sh-set-shell):
169         * textmodes/css-mode.el (css-mode):
170         * textmodes/sgml-mode.el (html-mode, sgml-mode)
171         (sgml-tags-invisible, sgml-guess-indent):
172         * textmodes/tex-mode.el (tex-common-initialization)
173         (latex-complete-bibtex-keys, tex-shell, tex-main-file)
174         (doctex-mode, plain-tex-mode, latex-mode):
175         * textmodes/texinfo.el (texinfo-mode): Use setq-local.
177 2012-12-01  Kirk Kelsey  <kirk.kelsey@0x4b.net>
179         * vc/vc-hg.el (vc-hg-next-revision):
180         Ensure use of default "tip" output format.  (Bug#6968)
182 2012-12-01  Kim F. Storm  <storm@cua.dk>
184         * startup.el (fancy-startup-tail): Add a clickable link
185         (Bug#2176).
187 2012-12-01  Chong Yidong  <cyd@gnu.org>
189         * startup.el (fancy-startup-tail): Improve the message about
190         auto-save files (Bug#2176).
192         * files.el (recover-session): Improve the descriptive message, and
193         use substitute-command-keys.
195 2012-12-01  Glenn Morris  <rgm@gnu.org>
197         * ido.el (ido-file-internal):
198         Handle other-window, other-frame for dired.  (Bug#13036)
200 2012-11-30  Glenn Morris  <rgm@gnu.org>
202         * icomplete.el (icomplete-separator): Fix :version.
204 2012-11-30  Chong Yidong  <cyd@gnu.org>
206         * shell.el (shell): For C-u M-x shell, use an inactive shell
207         buffer as the default (Bug#1975).
208         (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
209         (shell-mode): Use them to reapply ansi colorization if Shell mode
210         is re-enabled.
212 2012-11-30  Yuriy Vostrikov  <delamonpansie@gmail.com>  (tiny change)
214         * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
216 2012-11-30  Samuel Bronson  <naesten@gmail.com>
218         * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
219         flag to xargs, for compatibility with BSD xargs (Bug#11703).
221 2012-11-30  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
223         * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
224         by move-to-column (Bug#3234).
226 2012-11-30  Chong Yidong  <cyd@gnu.org>
228         * longlines.el (longlines-wrap-line, longlines-encode-region):
229         Preserve text properties (Bug#1425).
231 2012-11-30  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
233         * vc/vc.el (vc-register): Allow registering a file which is
234         already registered with a different backend (Bug#10589).
236 2012-11-29  Jambunathan K  <kjambunathan@gmail.com>
237             Stefan Monnier  <monnier@iro.umontreal.ca>
239         * icomplete.el: Change separator; add ido-style commands.
240         (icomplete-show-key-bindings): Remove custom var.
241         (icomplete-get-keys): Remove function.
242         (icomplete-forward-completions, icomplete-backward-completions):
243         New commands.
244         (icomplete-minibuffer-map): New var.
245         (icomplete-minibuffer-setup): Use it.
246         (icomplete-exhibit): Don't delay if the list of completions is known.
247         (icomplete-separator): New custom.
248         (icomplete-completions): Use it.
249         * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
250         (minibuffer-force-complete-and-exit): New command.
251         (minibuffer--complete-and-exit): New function extracted from
252         minibuffer-complete-and-exit.
253         (minibuffer-complete-and-exit): Use it.
255         * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
256         error message when the file doesn't exist (bug#12974).
258 2012-11-29  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
260         * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
262 2012-11-29  Glenn Morris  <rgm@gnu.org>
264         * files.el (hack-dir-local-variables): Warn if try to set
265         coding via dir-locals, since it doesn't work.  (Bug#7169)
267         Add desktop support for restoring vc-dir buffers.  (Bug#10606)
268         * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
269         Set buffer-local value of desktop-save-buffer.
270         (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
271         New functions.
272         (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
273         * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
275         * files.el (inhibit-local-variables-ignore-case): New.  (Bug#10610)
276         (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
277         Doc fix.
278         (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
279         Doc fixes.
281 2012-11-28  Jay Belanger  <jay.p.belanger@gmail.com>
283         * calc/calc-forms.el (calc-date-notation): Fix regexp
284         used to find time codes.  Fix symbol for seconds.
286 2012-11-27  Glenn Morris  <rgm@gnu.org>
288         * emacs-lisp/derived.el (derived-mode-make-docstring):
289         Don't mention "abbrev" or "syntax" if nil.  (Bug#11277)
291 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
293         * textmodes/table.el (table-insert): Don't use `symbol-name' on
294         lexically scoped variables (bug#13005).
296 2012-11-27  Glenn Morris  <rgm@gnu.org>
298         * vc/vc-hooks.el (vc-mistrust-permissions):
299         Default to t, to avoid data-loss.  (Bug#11490)
301 2012-11-27  Fabián Ezequiel Gallina  <fgallina@cuca>
303         * progmodes/python.el (python-indent-guess-indent-offset):
304         If indentation is guessed make python-indent-offset buffer-local.
306         Fix Imenu regression.
307         * progmodes/python.el (python-nav-beginning-of-defun):
308         Fix forward movement when statement(s) separates point from defun.
309         (python-imenu-prev-index-position): New function.
311 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
313         * subr.el (buffer-file-type): Declare with defvar-local.  Doc fix.
315         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
316         Don't set buffer-file-type.  Return nil.  (Bug#12989)
318 2012-11-27  Glenn Morris  <rgm@gnu.org>
320         * hippie-exp.el (hippie-expand-try-functions-list):
321         Re-autoload it.  (Bug#12982)
323 2012-11-27  Eli Zaretskii  <eliz@gnu.org>
325         * descr-text.el (describe-char-padded-string):
326         Call internal-char-font only on GUI frames.  (Bug#11964)
328 2012-11-27  Andreas Schwab  <schwab@linux-m68k.org>
330         * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
331         and obsoletion message.
333 2012-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
335         * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
336         the constructs to keep outside of the `cl-block' (bug#12977).
338 2012-11-27  Chong Yidong  <cyd@gnu.org>
340         * mouse.el (mouse-drag-line): Even if the line is not draggable,
341         keep reading until we get the up-event anyway, in order to process
342         the up-event for mouse-1-click-follows-link (Bug#12971).
344 2012-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
346         * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
347         base function is not yet defined (bug#12965).
348         (ad-activate-advised-definition): Use ad-compile-function.
349         (ad-activate): Use cond.
351 2012-11-25  Leo Liu  <sdl.web@gmail.com>
353         * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
354         (Bug#12979)
356 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
358         * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
359         reftex-section-info-function in order to be compatible with
360         Texinfo integration.
362         * textmodes/reftex.el (reftex-section-pre-regexp)
363         (reftex-section-post-regexp, reftex-section-info-function):
364         New variable.
365         (reftex-compile-variables): Use variables reftex-section-pre-regexp,
366         reftex-section-post-regexp, and reftex-section-info-function in order
367         to be compatible with Texinfo integration.
369         * textmodes/reftex-toc.el (reftex-toc-promote-action):
370         use reftex-section-pre-regexp variable in order to be compatible with
371         Texinfo integration.
373 2012-11-25  Chong Yidong  <cyd@gnu.org>
375         * faces.el: Make face-spec-set more analogous to setq.
376         (face-spec-set): Change the third arg to specify whether this
377         function is being called via defface, customize, or a third party.
378         Set the appropriate symbol properties.  Clear the override spec if
379         setting via Custom.  Initialize face if necessary.  (Bug#4988)
380         (face-spec-recalc): Allow theme faces to completely replace the
381         defface spec, in the same way as custom faces (Bug#8454).
383         * cus-face.el (custom-declare-face): Move face initialization to
384         face-spec-set.
385         (custom-theme-set-faces): Don't initialize the face name here, as
386         that is now done in face-spec-set.
388         * cus-edit.el (custom-face-set, custom-face-mark-to-save)
389         (custom-face-reset-saved, custom-face-mark-to-reset-standard):
390         Simplify by using the new arg to face-spec-set.
392         * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
393         reset face-override-spec too, and use custom-declare-face.
395 2012-11-24  Jan Djärv  <jan.h.d@swipnet.se>
397         * term/ns-win.el (ns-initialize-window-system): Move creation of
398         fontsets here (Bug#11964).
400 2012-11-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
402         * ses.el (ses-rename-cell): Correct bug on mode-line update after
403         cell renaming.
405 2012-11-24  Chong Yidong  <cyd@gnu.org>
407         * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
408         obsolete.
410         * custom.el (custom-theme-set-variables): Use a topological sort
411         for ordering by custom dependencies (Bug#12952).
412         (custom--sort-vars, custom--sort-vars-1): New functions.
414 2012-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
416         * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
417         lexical-binding (bug#12938).
419 2012-11-24  Wolfgang Jenkner  <wjenkner@inode.at>
421         * image-mode.el (image-transform-check-size): Use assertions only
422         for images of type imagemagick.
424         Otherwise no error, image-transform-fit-to-{width,height} is
425         silently ignored, as before.  Doc fix.
427 2012-11-24  Chong Yidong  <cyd@gnu.org>
429         * faces.el (color-defined-p): Doc fix (Bug#12853).
431 2012-11-24  Juri Linkov  <juri@jurta.org>
433         * dired.el (dired-mark): Add optional arg `interactive'.
434         Check for `use-region-p' if `interactive' is non-nil.
435         (dired-unmark, dired-flag-file-deletion): Add optional arg
436         `interactive'.  Call `dired-mark' with the arg `interactive'.
437         (Bug#10624)
439         * wdired.el: Revert 2012-10-17 change partly and replace it with
440         Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
441         (wdired-finish-edit): Add marks for new file names to
442         `wdired-old-marks'.  Restore marks using `dired-mark-remembered'
443         after `revert-buffer'.
444         (wdired-do-renames): Remove calls to `dired-remove-file',
445         `dired-add-file', `dired-add-entry'.  (Bug#11795)
447 2012-11-24  Alan Mackenzie  <acm@muc.de>
449         * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
451         Fix bugs in the state cache.  Enhance a debugging mechanism.
452         * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
453         "brace at column zero" strategy for C++.
454         (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
455         (c-parse-state-point): New variable.
456         (c-record-parse-state-state): Record old parse state with
457         `copy-tree'.  Record previous value of point.
458         (c-debug-parse-state-double-cons): New debugging function.
459         (c-debug-parse-state): Call the above new function.
460         (c-toggle-parse-state-debug): Output a confirmatory message.
462         * progmodes/cc-mode.el (c-before-change, c-after-change):
463         Call c-invalidate-state-cache from `c-before-change' instead of
464         `c-after-change'.
466 2012-11-23  Chong Yidong  <cyd@gnu.org>
468         * find-cmd.el (find-constituents): Add executable, ipath,
469         readable, samefile, writable, daystart, regextype (Bug#12856).
471 2012-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
473         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
475 2012-11-22  Paul Eggert  <eggert@cs.ucla.edu>
477         * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
478         definition.  This fixes a bootstrap failure.
479         (calc-gregorian-switch): In menu, put dates before regions.
480         This is easier to follow, lines up better in the menu, and lets us
481         coalesce regions that switch at the same time.  Give country
482         names, not "Vatican", as that's better for non-expert users.
483         Use names that are stable between the date of switch and now, e.g.,
484         Bohemia and Moravia (which existed then and now) and not
485         Czechoslovakia (which didn't exist then and doesn't exist now).
486         What is now the U.S. mostly did not switch at the same time as
487         Britain, so omit the U.S.  Correct spelling of "Britain".
488         Catholic Switzerland was too much of a mess, so omit it.
490 2012-11-22  Jay Belanger  <jay.p.belanger@gmail.com>
492         * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
493         after the variable is changed.
495 2012-11-21  Daniel Colascione  <dancol@dancol.org>
497         * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
498         in SQL declarations for font-lock.
499         (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
501 2012-11-21  Glenn Morris  <rgm@gnu.org>
503         * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
504         (face-italic-p): Add optional argument "inherit".
506         * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
507         Remove -p suffix from names, for consistency with other set-face-*.
508         (set-face-inverse-video): Fix interactive spec.
509         * play/gamegrid.el (gamegrid-make-mono-tty-face):
510         * textmodes/table.el (table--update-cell-face):
511         Use set-face-inverse-video rather than now obsolete alias.
513 2012-11-21  Eli Zaretskii  <eliz@gnu.org>
515         * simple.el (line-move): Don't call line-move-partial if
516         scroll-conservatively is in effect.  (Bug#12927)
518 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
520         * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
521         Fallback on completion-at-point rather than
522         pcomplete-expand-and-complete, and only if pcomplete actually failed.
523         (eshell-cmpl-initialize): Setup completion-at-point.
525         * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
527         * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
529 2012-11-21  Michael Albinus  <michael.albinus@gmx.de>
531         * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
532         are remote, check out-of-band property for both.
534 2012-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
536         * window.el (switch-to-buffer): Re-add the warning that was lost in the
537         code rewrite.
539 2012-11-21  Paul Eggert  <eggert@cs.ucla.edu>
541         More minor time fixes.
542         * calendar/time-date.el: Commentary fix.
543         * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
544         too much other code depends on (0 0) time stamps.
545         * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
546         Add a couple of FIXME comments.
548         Minor cleanup for times as lists of four integers.
549         * files.el (dir-locals-directory-cache):
550         * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
551         Doc fixes.
552         * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
553         * ps-bdf.el (bdf-file-newer-than-time):
554         Process four-integers time stamps, not two.  Doc fixes.
556 2012-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
558         * uniquify.el (uniquify-managed): Use defvar-local.
559         (rename-buffer, create-file-buffer): Advise with advice-add.
560         (uniquify-unload-function): Unadvise accordingly.
562         * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
563         (trace-buffer): Don't purecopy.
564         (trace-entry-message, trace-exit-message): Add `context' arg.
565         (trace--timer): New var.
566         (trace-make-advice): Adjust for use in nadvice.
567         Add `context' argument.  Delay `display-buffer' via a timer.
568         (trace-function-internal): Use advice-add.
569         (trace--read-args): New function.
570         (trace-function-foreground, trace-function-background): Use it.
571         (trace-function): Rename to trace-function-foreground and redefine as
572         an alias to that new name.
573         (untrace-function, untrace-all): Adjust to the use of nadvice.
575         * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
577         * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
579         * subr.el (called-interactively-p-functions): New var.
580         (internal--called-interactively-p--get-frame): New macro.
581         (called-interactively-p, interactive-p): Rewrite in Lisp.
582         * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
583         (called-interactively-p-functions): Use it.
584         * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
585         (called-interactively-p-functions): Use it.
586         * allout.el (allout-called-interactively-p): Don't assume
587         called-interactively-p is a subr.
589 2012-11-20  Glenn Morris  <rgm@gnu.org>
591         * profiler.el (profiler-report-mode-map): Add a menu.
592         No need to bind `q' because we derive from special-mode.
593         (profiler-report-find-entry): Handle calls from the menu-bar.
595 2012-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
597         * emacs-lisp/byte-run.el (defun-declarations-alist):
598         Allow a compiler-macro to be a lambda expression.
600         * progmodes/python.el: Use cl-lib.  Move var declarations outside of
601         eval-when-compile.
602         (python-syntax-context): Add compiler-macro.
603         (python-font-lock-keywords): Simplify with De Morgan.
605         * vc/diff-mode.el (diff-hunk): Don't make useless timers.
607         * files.el (load-file): Require match in minibuffer selection, as was
608         the case in Emacs-20 before we changed the spec to allow .elc files
609         (bug#12935).
611         * json.el: Don't require cl since we don't use it.
612         * color.el: Don't require cl.
613         (color-complement): `caddr' -> `nth 2'.
615         * calendar/time-date.el (time-to-seconds): De-obsolete.
617 2012-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
619         * calc/calc-forms.el (math-leap-year-p):  Fix formula for negative
620         year numbers.
621         (math-date-to-julian-dt): Adjust the initial approximation for the
622         year to deal with the new definition of the DATE.
624 2012-11-19  Daniel Colascione  <dancol@dancol.org>
626         * term/w32-win.el (cygwin-convert-path-from-windows):
627         Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
629 2012-11-18  Chong Yidong  <cyd@gnu.org>
631         * filecache.el (file-cache--read-list): New function.
632         (file-cache-add-directory-list, file-cache-add-file-list)
633         (file-cache-delete-file-list, file-cache-delete-directory-list):
634         Use it to read a list of files or directories (Bug#12846).
635         (file-cache-add-file, file-cache-add-directory)
636         (file-cache-delete-file-list, file-cache-delete-file-regexp)
637         (file-cache-delete-directory): Print an message.
639 2012-11-18  Jay Belanger  <jay.p.belanger@gmail.com>
641         * calc/calc-forms.el (math-date-to-dt): Use integer date when
642         calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
644 2012-11-18  Glenn Morris  <rgm@gnu.org>
646         * image.el (insert-image, insert-sliced-image): Doc fix.
648 2012-11-18  Chong Yidong  <cyd@gnu.org>
650         * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
651         (Bug#12810).
653 2012-11-18  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
655         * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
656         response when the target file is in a subdirectory (Bug#12757).
658 2012-11-18  Chong Yidong  <cyd@gnu.org>
660         * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
662 2012-11-18  Glenn Morris  <rgm@gnu.org>
664         * emacs-lisp/cl-lib.el (face-underline-p):
665         Use set-face-underline rather than the alias set-face-underline-p.
667         * window.el (with-temp-buffer-window): Doc fix.
668         * subr.el (with-output-to-temp-buffer):
669         Add doc xref to with-temp-buffer-window.
671 2012-11-18  Juanma Barranquero  <lekktu@gmail.com>
673         * woman.el (woman-non-underline-faces): Use `set-face-underline'.
674         * calc/calc.el (math-format-date-cache): Declare.
676 2012-11-17  Paul Eggert  <eggert@cs.ucla.edu>
678         Calc by default uses the Gregorian calendar for all dates (Bug#12633).
679         It also uses January 1, 1 AD as its day number 1.
680         * calc/calc-forms.el (math-julian-date-beginning)
681         (math-julian-date-beginning-int): Implement this.
683 2012-11-17  Juanma Barranquero  <lekktu@gmail.com>
685         * descr-text.el (quail-find-key):
686         * dired.el (desktop-file-name):
687         * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
688         * generic-x.el (comint-mode, comint-exec):
689         * image-dired.el (widget-forward):
690         * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
691         (speedbar-change-expand-button-char)
692         (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
693         (speedbar-make-specialized-keymap, speedbar-make-tag-line):
694         * printing.el (easy-menu-add-item, easy-menu-remove-item)
695         (widget-field-action, widget-value-set):
696         * speedbar.el (imenu--make-index-alist):
697         * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
698         (ring-length, ring-insert):
699         * vcursor.el (compare-windows-skip-whitespace):
700         * woman.el (dired-get-filename):
701         Declare functions.
703         * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
705 2012-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
707         * calc/calc.el (calc-gregorian-switch): New variable.
709         * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
710         (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
711         (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
712         (math-leap-year-p): Add option to distinguish between Julian
713         and Gregorian calendars.
714         (math-day-number): Use `math-day-in-year' to do the computations.
715         (math-absolute-from-dt): Rename from `math-absolute-from-date'.
716         Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
717         to do the computations.
718         (math-date-to-dt): Use `math-date-to-julian-dt' and
719         `math-date-to-gregorian-dt' to do the computations.
720         (calcFunc-weekday, math-format-date-part): Use the new version of
721         the DATE to determine the weekday.
722         (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
723         when necessary.
725 2012-11-17  Eli Zaretskii  <eliz@gnu.org>
727         * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
728         Cygwin; otherwise use 'file:'.  (Bug#12914)
729         (cygwin-convert-path-from-windows): Declare, to avoid
730         byte-compiler warnings.
732 2012-11-17  Andreas Politz  <politza@fh-trier.de>
734         * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
735         (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
736         prefix and negative numeric prefix args (Bug#12795).
738 2012-11-17  Stephen Berman  <stephen.berman@gmx.net>
740         * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
741         Don't signal an error with a score that is too low to add to the
742         list of top scores. (Bug#12779)
744 2012-11-17  Chong Yidong  <cyd@gnu.org>
746         * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
748         * filecache.el (file-cache-add-file): Handle relative file name in
749         the argument (Bug#12694).
751 2012-11-16  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
753         * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
755 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
757         * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
759         * emacs-lisp/cl-lib.el: Set more meaningful version number.
761 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
763         * window.el (enlarge-window, shrink-window): Don't mention return
764         value in doc-string (Bug#12896).
765         (window--display-buffer): Don't resize frames - it won't work
766         with all window managers and defeat pop-up-frame-alist.
767         (display-buffer-alist): In doc-string explain that CONDITION can
768         be a function and which arguments are passed to it (Bug#12854).
769         (display-buffer-assq-regexp): New argument ACTION.  Handle lambda
770         expressions (Bug#12854).
771         (display-buffer): Pass ACTION argument to
772         display-buffer-assq-regexp.
774 2012-11-16  Glenn Morris  <rgm@gnu.org>
776         * window.el (fit-frame-to-buffer-bottom-margin)
777         (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
779         * faces.el (face-underline-p): Use face-attribute-specified-or.
781 2012-11-16  Juanma Barranquero  <lekktu@gmail.com>
783         * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
785 2012-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
787         * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
789 2012-11-16  Glenn Morris  <rgm@gnu.org>
791         * eshell/em-cmpl.el (eshell-pcomplete): New command.  (Bug#12838)
792         (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
794         * faces.el (face-underline-p): Doc fix.  Handle :underline being
795         things other than `t' (a string, a list).
796         (face-inverse-video-p): Doc fix.
797         (set-face-underline): Rename it back from set-face-underline-p.
798         Doc fix.  Allow interactive input of values other than t.
799         (read-face-attribute): Apply formatting to :underline,
800         since like :box and :stipple it can take list values.
802         * term.el (ansi-term): Don't let C-x escape-char binding
803         clobber the more standard C-c binding.  (Bug#12842)
805         * subr.el (set-temporary-overlay-map): Doc fix.
807 2012-11-16  Martin Rudalics  <rudalics@gmx.at>
809         * window.el (record-window-buffer)
810         (display-buffer-record-window): When copying the markers to
811         window-point preserve window-point-insertion-type. (Bug#12588)
813 2012-11-16  Glenn Morris  <rgm@gnu.org>
815         * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
816         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
817         Use new names for hooks rather than obsolete aliases.
819 2012-11-15  Daniel Colascione  <dancol@dancol.org>
821         * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
822         prefix instead of "file:" so that when FILE-NAME begins with "//",
823         as it does when the target file is on a network share, url-handler
824         isn't confused.
826 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
828         * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
829         a preactivated advice from an old advice.el; they're not compatible!
831 2012-11-15  Katsumi Yamaoka  <yamaoka@jpl.org>
833         * emacs-lisp/nadvice.el (advice--make-interactive-form):
834         Fix string-spec case.
836         * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
838 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
840         * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
841         (advice--buffer-local-function-sample): New var.
842         (advice--set-buffer-local, advice--buffer-local): New functions.
843         (add-function, remove-function): Use them.
845 2012-11-15  Drew Adams  <drew.adams@oracle.com>
847         * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
849 2012-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
851         * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
852         potential binding of print-gensym to t, and prettify (back)quotes in
853         case they appear in args's default values (bug#12884).
855 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
857         * emacs-lisp/nadvice.el: Add around advice for interactive specs.
858         (advice-eval-interactive-spec): New function.
859         (advice--make-interactive-form): Support around advice (bug#12844).
861 2012-11-14  Dmitry Gutov  <dgutov@yandex.ru>
863         * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
864         more strict.  Add docstring.
865         (ruby-expression-expansion-re): Extract from
866         `ruby-match-expression-expansion'.
867         (ruby-syntax-propertize-function): After everything else, search
868         for expansions in string literals, mark their insides as
869         whitespace syntax and save match data for font-lock.
870         (ruby-font-lock-keywords): Use the 2nd group from expression
871         expansion matches.
872         (ruby-match-expression-expansion): Use the match data saved to the
873         text property in ruby-syntax-propertize-function.
875 2012-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
877         * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
878         (bug#12879).
880 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
882         * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
883         start/end keyword a bit harder.  Works with different values of N.
884         Add more comments.
885         (ruby-end-of-block): Update accordingly.
887 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
889         * woman.el (woman-file-name): Don't mess with unread-command-events
890         (bug#12861).
892         * emacs-lisp/advice.el: Layer on top of nadvice.el.
893         Remove out of date self-require hack.
894         (ad-do-advised-functions): Use simple `dolist'.
895         (ad-advice-name, ad-advice-protected, ad-advice-enabled)
896         (ad-advice-definition): Redefine as functions.
897         (ad-advice-classes): Move before first use.
898         (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
899         (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
900         (ad--defalias-fset): Remove functions.
901         (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
902         (ad-get-orig-definition): Rewrite.
903         (ad-make-advised-definition-docstring): Change base docstring.
904         (ad-real-orig-definition): Rewrite.
905         (ad-map-arglists): Change name of called function.
906         (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
907         (ad-make-advised-definition): Simplify.
908         (ad-assemble-advised-definition): Tweak for new calling context.
909         (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
910         (ad--defalias-fset): Rename from ad-handle-definition.  Make it set the
911         function and call ad-activate if needed.
912         (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
913         (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
914         (ad-compile-function): Compile ad-Advice-*.
915         (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
916         (ad-start-advice, ad-stop-advice): Remove.
918 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
920         * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
921         period before class method names, not after.  Remove handling of
922         one impossible case.  Add comments.
924 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
926         * emacs-lisp/advice.el: Remove support for freezing.
927         (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
928         (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
929         Remove support for `freeze'.
931         * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
932         override the default.
933         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
934         cl--dotimes/dolist.
935         * subr.el (dolist, dotimes, declare): Redefine them normally, even when
936         `cl' is loaded.
938         * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
939         from add-advice.
940         (advice--strip-macro): New function.
941         (advice--defalias-fset): Use them to handle macros.
942         (advice-add): Use them.
943         (advice-member-p): Correctly handle macros.
945 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
947         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
948         Never font-lock the beginning of singleton class as heredoc.
950 2012-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
952         * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
954 2012-11-13  Wolfgang Jenkner  <wjenkner@inode.at>
956         * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
957         39 and 49 (bug#12792).  Also, treat unimplemented parameters as 0,
958         thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
960 2012-11-13  Fabián Ezequiel Gallina  <fgallina@cuca>
962         Fix end-of-defun misbehavior.
963         * progmodes/python.el (python-nav-beginning-of-defun): Rename from
964         python-beginning-of-defun-function.  Handle nested defuns
965         correctly.
966         (python-nav-end-of-defun): Rename from
967         python-end-of-defun-function.  Ensure forward movement.
968         (python-info-current-defun): Reimplement to work as intended
969         with new fixed python-nav-{end,beginning}-of-defun.  Stop scanning
970         parent defuns as soon as possible.
972 2012-11-13  Glenn Morris  <rgm@gnu.org>
974         * progmodes/flymake.el (flymake-error-bitmap)
975         (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
976         (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
978 2012-11-13  Dmitry Gutov  <dgutov@yandex.ru>
980         * progmodes/ruby-mode.el (ruby-move-to-block): When moving
981         backward, always stop at indentation.  Reverts the change from
982         2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
984 2012-11-13  Glenn Morris  <rgm@gnu.org>
986         * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
987         Add ibuffer-filter-by-derived-mode.
989         * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
990         the same name shadowing each other.
992         * window.el (with-temp-buffer-window): Doc tweak.
994         * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
996         * help.el (temp-buffer-max-height):
997         * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
998         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
1000 2012-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1002         * emacs-lisp/nadvice.el: New package.
1003         * subr.el (special-form-p): New function.
1004         * emacs-lisp/elp.el: Use lexical-binding and advice-add.
1005         (elp-all-instrumented-list): Remove var.
1006         (elp-not-profilable): Remove elp-wrapper.
1007         (elp-profilable-p): Use autoloadp and special-form-p.
1008         (elp--advice-name): New const.
1009         (elp-instrument-function): Use advice-add.
1010         (elp--instrumented-p): New predicate.
1011         (elp-restore-function): Use advice-remove.
1012         (elp-restore-all, elp-reset-all): Use mapatoms.
1013         (elp-set-master): Use elp--instrumented-p.
1014         (elp--make-wrapper): Rename from elp-wrapper, return a function
1015         suitable for advice-add.  Use cl-inf.
1016         (elp-results): Use mapatoms+elp--instrumented-p.
1017         * emacs-lisp/debug.el: Use lexical-binding and advice-add.
1018         (debug-function-list): Remove var.
1019         (debug): Rename arg, and then let-bind it explicitly inside.
1020         (debugger-setup-buffer): Rename arg.
1021         (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
1022         (debugger-frame-number): Adjust to new debug-on-entry setup.
1023         (debug--implement-debug-on-entry): Rename from
1024         implement-debug-on-entry, add argument.
1025         (debugger-special-form-p): Remove, use special-form-p instead.
1026         (debug-on-entry): Use advice-add.
1027         (debug--function-list): New function.
1028         (cancel-debug-on-entry): Use it, along with advice-remove.
1029         (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
1030         (debugger-list-functions): Use debug--function-list instead of
1031         debug-function-list.
1032         * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
1033         (ad-special-form-p): Remove, use special-form-p instead.
1034         (ad-set-advice-info): Use add-function and remove-function.
1035         (ad--defalias-fset): Adjust accordingly.
1037 2012-11-10  Glenn Morris  <rgm@gnu.org>
1039         * mail/emacsbug.el (report-emacs-bug-tracker-url)
1040         (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
1041         (report-emacs-bug-create-existing-bugs-buffer)
1042         (report-emacs-bug-parse-query-results)
1043         (report-emacs-bug-query-existing-bugs): Remove.  (Bug#7449)
1045         * term.el (term-default-fg-color, term-default-bg-color):
1046         Make obsolete, rather than just saying "deprecated" in the doc.
1048         * term.el (term): Rename from `term-face'.
1049         (term-current-face, ansi-term-color-vector)
1050         (term-default-fg-color, term-default-bg-color, term-ansi-reset):
1051         Update all users.
1053 2012-11-10  Jan Djärv  <jan.h.d@swipnet.se>
1055         * server.el (server-create-window-system-frame): Handle Nextstep
1056         specially (Bug#12780).
1058 2012-11-10  Glenn Morris  <rgm@gnu.org>
1060         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
1061         Unautoload, and make obsolete.  (Bug#7449)
1063 2012-11-10  Chong Yidong  <cyd@gnu.org>
1065         * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
1066         rename from diff-remove-trailing-whitespace (Bug#12831).
1068 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1070         * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
1071         miscompilation of trace.el.
1073 2012-11-10  Glenn Morris  <rgm@gnu.org>
1075         * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
1077 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1079         * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
1080         (bug#12812).
1082 2012-11-10  Chong Yidong  <cyd@gnu.org>
1084         * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
1085         a defcustom with an appropriate :set function.
1086         (minibuffer-default--in-prompt-regexps): New function.
1088 2012-11-10  Glenn Morris  <rgm@gnu.org>
1090         * emacs-lisp/cl.el (define-setf-expander, defsetf)
1091         (define-modify-macro): Doc fixes.
1093         * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
1094         (gv-define-simple-setter): Update doc of `fix-return'.
1096 2012-11-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1098         * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
1099         twice when `fix-return' is set (bug#12813).
1101         * emacs-lisp/cl.el (defsetf): Pass the third arg to
1102         gv-define-simple-setter (bug#12812).
1104         * woman.el (woman-decode-region): Disable adaptive-fill when rendering
1105         (bug#12756).
1107 2012-11-10  Glenn Morris  <rgm@gnu.org>
1109         * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
1111         * emacs-lisp/cl-extra.el (cl-prettyexpand):
1112         * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
1113         * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
1114         (cl-the, cl-compiler-macroexpand): Add basic doc strings.
1116         * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
1118 2012-11-10  Leo Liu  <sdl.web@gmail.com>
1120         * ido.el (ido-set-matches-1): Improve flex matching performance by
1121         removing backtracking in the regexp (suggested by Stefan).  (Bug#12796)
1123 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1125         * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
1126         (ad--defalias-fset): New function.
1127         (ad-safe-fset): Remove.
1128         (ad-make-freeze-definition): Use cl-letf*.
1130 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1132         * subr.el (dolist): Don't bind VAR in RESULT.
1134         * emacs-lisp/advice.el: Miscellaneous cleanup.  Use lexical-binding.
1135         (fset, documentation): Don't save real def since we don't advise.
1136         (ad-do-advised-functions): Remove problematic `result-form'.
1137         (ad-safe-fset): `ad-real-fset' => `fset'.
1138         (ad-read-advised-function): Don't assume that ad-do-advised-functions
1139         uses CL's dolist internally.
1140         (ad-arglist): Remove unused arg `name'.
1141         (ad-docstring, ad-make-advised-docstring):
1142         `ad-real-documentation' => `documentation'.
1143         (warning-suppress-types): Declare.
1144         (ad-set-arguments): Simple CSE.
1145         (ad-recover-normality): Sanity check.
1147         * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
1148         (funcall '(lambda ..) ..) into ((lambda ..) ..).
1150 2012-11-09  Vincent Belaïche  <vincentb1@users.sourceforge.net>
1152         * ses.el: symbol to coordinate mapping is made by symbol property
1153         `ses-cell'.  This means that the same mapping is done for all SES
1154         sheets.  That is good enough for cells with standard A1 names, but
1155         not for named cell.  So a hash map is added for the latter.
1156         (defconst ses-localvars): Add local variable ses--named-cell-hashmap
1157         (ses-sym-rowcol): Use hashmap for named cell.
1158         (ses-is-cell-sym-p): New defun.
1159         (ses-decode-cell-symbol): New defun.
1160         (ses-create-cell-variable): Add cell to hashmap when name is not
1161         A1-like.
1162         (ses-rename-cell): Check that cell new name is not already in
1163         spreadsheet with the use of ses-is-cell-sym-p
1164         (ses-rename-cell): Use hash map for named cells, but accept also
1165         renaming back to A1-like.
1167 2012-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1169         * emacs-lisp/advice.el: Use new dynamic docstrings.
1170         (ad-make-advised-definition-docstring, ad-advised-definition-p):
1171         Use dynamic-docstring-function instead of ad-advice-info.
1172         (ad--make-advised-docstring): New function extracted from
1173         ad-make-advised-docstring.
1174         (ad-make-advised-docstring): Use it.
1175         * progmodes/sql.el (sql--make-help-docstring): New function, extracted
1176         from sql-help.
1177         (sql-help): Use it with dynamic-docstring-function.
1179         * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
1181 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1183         * files.el (hack-one-local-variable--obsolete): New function.
1184         (hack-one-local-variable): Use it for obsolete settings.
1186         * subr.el (locate-user-emacs-file): If both old and new name exist, use
1187         the new name.
1189         * progmodes/js.el (js--filling-paragraph): New var.
1190         (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
1191         (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
1192         less sneaky.
1194 2012-11-08  Julien Danjou  <julien@danjou.info>
1196         * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
1197         `auto-mode-alist' (Bug#12835).
1199 2012-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1201         * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
1202         (perl--prettify-symbols-alist): New const.
1203         (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
1204         New functions.
1205         (perl-font-lock-keywords-2): Use them.
1206         (perl-electric-noindent-p): New function.
1207         (perl-mode): Use it to set up electric-indent-mode.
1208         (perl-electric-terminator, perl-indent-command): Mark obsolete.
1209         (perl-mode-map): Remove bindings for them.
1210         (perl-imenu-generic-expression, perl-outline-level):
1211         Match functions&packages in column>0.
1213         * env.el (env--substitute-vars-regexp): New const.
1214         (substitute-env-vars): Use it.  Add `only-defined' arg.
1215         * net/tramp.el (tramp-replace-environment-variables): Use it.
1217         * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
1218         Byte-compile *before* eval in eval-and-compile.
1219         (byte-compile-log-warning): Remove redundant inhibit-read-only.
1220         (byte-compile-file-form-autoload): Don't hide actual definition.
1221         (byte-compile-maybe-guarded): Accept `functionp' as well.
1223         * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
1225 2012-11-07  Michael Albinus  <michael.albinus@gmx.de>
1227         * notifications.el (notifications-get-server-information-method):
1228         New defconst.
1229         (notifications-get-capabilities): Fix docstring.
1230         (notifications-get-server-information): New defun.
1232 2012-11-06  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1234         * textmodes/ispell.el (ispell-region): Standard re-indent for better
1235         readability.
1237         * textmodes/ispell.el: Experimental support for support debugging.
1238         (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
1239         buffer for ispell.
1240         (ispell-print-if-debug): New function to print stuff to
1241         `ispell-debug-buffer' if debugging is enabled.
1242         (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
1243         show some debugging info.
1244         (ispell-buffer-with-debug): New function that creates a debugging
1245         buffer and calls `ispell-buffer' with debugging enabled.
1247         * textmodes/ispell.el (ispell-region): Do not prefix sent string by
1248         comment in autoconf mode. (Bug#12768)
1250 2012-11-06  Dmitry Antipov  <dmantipov@yandex.ru>
1252         * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
1253         frame-first-window, frame-root-window, frame-selected-window,
1254         minibuffer-selected-window, minibuffer-window,
1255         window-absolute-pixel-edges, window-at, window-body-height,
1256         window-body-width, window-display-table, window-combination-limit,
1257         window-frame, window-fringes, window-inside-absolute-pixel-edges,
1258         window-inside-edges, window-inside-pixel-edges, window-left-child,
1259         window-left-column, window-margins, window-next-buffers,
1260         window-next-sibling, window-new-normal, window-new-total,
1261         window-normal-size, window-parameter, window-parameters, window-parent,
1262         window-pixel-edges, window-point, window-prev-buffers,
1263         window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
1264         window-start, window-text-height, window-top-child, window-top-line,
1265         window-total-height, window-total-width and window-use-time to the list
1266         of functions without side-effects.
1267         (toplevel): Add window-valid-p to the list of error-free functions
1268         without side-effects.
1270 2012-11-05  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
1272         * textmodes/ispell.el (ispell-program-name):
1273         Update spellchecker parameters when customized.
1275 2012-11-04  Glenn Morris  <rgm@gnu.org>
1277         * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)
1279 2012-11-04  Chong Yidong  <cyd@gnu.org>
1281         * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
1282         same-window-* variables.
1284 2012-11-04  Juri Linkov  <juri@jurta.org>
1286         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
1287         (isearch-describe-key, isearch-describe-mode): Use a display
1288         action instead of binding same-window-* variables (Bug#10040).
1290 2012-11-03  Glenn Morris  <rgm@gnu.org>
1292         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
1293         Rename handler properties back from cl-- to cl-.  (Bug#12788)
1295         * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
1297 2012-11-03  Eli Zaretskii  <eliz@gnu.org>
1299         * term/pc-win.el: Don't load term/internal from here.
1301         * loadup.el: Load term/internal from here.
1303 2012-11-03  Fabián Ezequiel Gallina  <fgallina@cuca>
1305         * progmodes/python.el (inferior-python-mode): Fix hang in
1306         jit-lock (Bug#12645).
1308 2012-11-03  Martin Rudalics  <rudalics@gmx.at>
1310         * window.el (switch-to-visible-buffer)
1311         (switch-to-buffer-preserve-window-point): Fix doc-strings.
1313 2012-11-03  Glenn Morris  <rgm@gnu.org>
1315         * emacs-lisp/cl-lib.el (cl--random-time):
1316         Rename from cl-random-time.  (Bug#12773)
1317         (cl--gensym-counter, cl--random-state): Update callers.
1318         * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
1320 2012-11-03  Chong Yidong  <cyd@gnu.org>
1322         * cus-start.el: Make cursor-type customizable (Bug#11633).
1324 2012-11-02  Glenn Morris  <rgm@gnu.org>
1326         * filecache.el: No need to load find-lisp when compiling.
1327         (find-lisp-find-files): Autoload it.
1328         (file-cache-add-directory-recursively): Don't require find-lisp.
1330         * image.el (image-type-from-file-name): Trivial simplification.
1332         * emacs-lisp/bytecomp.el (byte-compile-eval):
1333         Decouple "noruntime" and "cl-functions" warnings.
1335 2012-11-01  Stephen Berman  <stephen.berman@gmx.net>
1337         * play/gomoku.el (gomoku-display-statistics): Update mode line
1338         only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
1340 2012-10-31  Martin Rudalics  <rudalics@gmx.at>
1342         * window.el (quit-restore-window): If the window has been
1343         created on an existing frame and ended up as the sole window on
1344         that frame, do not delete it (Bug#12764).
1346 2012-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
1348         * progmodes/sh-script.el (sh--inside-noncommand-expression):
1349         Rename from sh--inside-arithmetic-expression, handle more cases
1350         (bug#11263).
1352         * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
1353         (sh-font-lock-open-heredoc): Use it (bug#12770).
1355 2012-10-30  Glenn Morris  <rgm@gnu.org>
1357         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
1359         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
1361 2012-10-29  Chong Yidong  <cyd@gnu.org>
1363         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
1364         function key is stored in a keyboard macro (Bug#4894).
1366         * thingatpt.el (number-at-point): Apply a thing-at-point property.
1368 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1370         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
1371         header comments".
1372         (diff-unified->context, diff-context->unified)
1373         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
1375         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
1377         * files.el (find-alternate-file): Only ask one question (bug#12487).
1379 2012-10-29  Chong Yidong  <cyd@gnu.org>
1381         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
1382         Suggested by Dan Nicolaescu (Bug#6326).
1384         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
1386         * startup.el (fancy-about-screen): Don't message (Bug#12680).
1388         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
1390         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
1392         * face-remap.el (face-remap-add-relative): Handle the case where a
1393         face-remapping-alist entry is a cons cell (Bug#12762).
1395 2012-10-29  Kevin Ryde  <user42@zip.com.au>
1397         * woman.el (woman-parse-numeric-value): Handle picas correctly
1398         (Bug#12639).
1400 2012-10-29  Glenn Morris  <rgm@gnu.org>
1402         * emacs-lisp/cl.el (defsetf): Doc fix.
1404 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1406         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
1407         syntax to the matching opener, if any (bug#12547).
1408         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
1409         matching open as a "case-(".
1410         (sh-smie-rc-grammar): Add a corresponding rule for it.
1412 2012-10-28  Daniel Hackney  <dan@haxney.org>
1414         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
1415         "PKGNAME-autoloads.el" in case we created it.
1417 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1419         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
1420         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
1421         (completion--twq-all): Disable too-strict assertions.
1423         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
1425 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
1427         * profiler.el (profiler-report-make-entry-part): Fix help-echo
1428         text to match the real keybindings.
1430 2012-10-27  Juri Linkov  <juri@jurta.org>
1432         * wdired.el (wdired-keep-marker-rename): New defcustom.
1433         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
1434         (Bug#11795)
1436         * dired.el (dired-keep-marker-rename): Add reference to
1437         `wdired-keep-marker-rename' in the docstring.
1438         Add default character value ?R to display initially in
1439         Customization UI instead of ?@.
1441 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
1443         * window.el (display-buffer): In doc-string describe
1444         window-height and window-width alist entries.
1446         * time.el (display-time-world): Restore fit-window-to-buffer
1447         behavior.
1449 2012-10-27  Chong Yidong  <cyd@gnu.org>
1451         * subr.el (insert-buffer-substring-as-yank): Doc fix.
1453 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
1455         * minibuffer.el (completion-category-overrides): New completion
1456         category `bookmark' (bug#11131).
1458 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1460         * emacs-lisp/advice.el (ad-assemble-advised-definition):
1461         Silence bogus compiler warnings for ad-do-it.
1463         * bookmark.el (bookmark-completing-read): Set the completion category
1464         to `bookmark' (bug#11131).
1466 2012-10-26  Bastien  <bzg@altern.org>
1467             Stefan Monnier  <monnier@iro.umontreal.ca>
1469         * face-remap.el: Use lexical-binding.
1470         (text-scale-adjust): Improve docstring.  Use itself for the temporary
1471         overlay-map bindings, so as to repeat the "Use..." message each time.
1473 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1475         * emacs-lisp/macroexp.el (macroexp--expand-all):
1476         Obey byte-compile-warning-enabled-p (bug#12486).
1478         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
1479         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
1481 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
1483         * mouse.el (mouse-drag-line): Move last form into preceding when
1484         clause (Bug#12731).
1486         * help.el (resize-temp-buffer-window): Fix doc-string.
1488 2012-10-25  David Engster  <deng@randomsample.de>
1490         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
1491         Remove.  This feature is already integrated in imenu.
1493         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
1494         always loaded.  Require `speedbar' unconditionally.
1496 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
1498         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
1500         * minibuffer.el (minibuffer-force-complete): Fix thinko.
1502         * net/ldap.el (ldap-search-internal): The official ldif format starts
1503         with a "version: 1" header (bug#12724).
1505         * emacs-lisp/package.el (package-installed-p): Warn if not ready
1506         (bug#12721).
1508 2012-10-25  Glenn Morris  <rgm@gnu.org>
1510         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
1512 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1514         * minibuffer.el (minibuffer-force-complete): Use one more marker
1515         for the temporary-overlay-map command (bug#12619).
1517 2012-10-24  Chong Yidong  <cyd@gnu.org>
1519         * time.el (display-time-world-mode): Derive from special-mode.
1520         (display-time-world): Use display-buffer (Bug#12708).
1521         (display-time-world-mode-map): Variable deleted.
1522         (display-time-world-display): Wrap the final delete-char inside
1523         inhibit-read-only.
1525 2012-10-24  Chong Yidong  <cyd@gnu.org>
1527         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
1528         Doc fix.
1530         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
1532 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1534         * minibuffer.el (completion--all-sorted-completions-location): New var.
1535         (completion--cache-all-sorted-completions)
1536         (completion--flush-all-sorted-completions): Use it.
1537         (completion-in-region, completion-in-region--postch)
1538         (completion-at-point, completion-help-at-point): Use markers in
1539         completion-in-region--data (bug#12619).
1541 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1543         * progmodes/compile.el (compilation-start): Try to handle common
1544         quoting of `cd' argument (bug#12640).
1546         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
1547         (bug#12671).
1549 2012-10-23  Glenn Morris  <rgm@gnu.org>
1551         * progmodes/gud.el (gud-menu-map):
1552         Check gdb-active-process is bound.  (Bug#12358)
1554 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1556         * repeat.el (repeat): Set real-this-command (bug#12232).
1558         * htmlfontify.el (hfy-post-html-hook):
1559         * filesets.el (filesets-cache-fill-content-hook):
1560         * arc-mode.el (archive-extract-hook):
1561         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
1562         * net/rcirc.el (rcirc-sentinel-functions)
1563         (rcirc-receive-message-functions, rcirc-activity-functions)
1564         (rcirc-print-functions):
1565         * net/dbus.el (dbus-event-error-functions):
1566         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
1567         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
1568         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
1569         * term/sun.el (sun-raw-prefix-hooks):
1570         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
1572 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
1574         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1575         Set `tramp-chunksize' to 1.  This improves the performance.
1576         (tramp-smb-wait-for-output): Add timeout to
1577         `tramp-accept-process-output' calls.
1579 2012-10-23  Chong Yidong  <cyd@gnu.org>
1581         * faces.el (font-list-limit): Define as an obsolete variable.
1583         * startup.el (command-line):
1584         * cus-start.el: Don't refer to font-list-limit.
1586         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
1588 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1590         * subr.el (internal-temp-output-buffer-show): Rename from
1591         temp-output-buffer-show, since previously compiled files expect this name.
1593 2012-10-23  Glenn Morris  <rgm@gnu.org>
1595         * image.el (image-type-from-file-name): If multiple types match,
1596         return the first one that is supported.  (Bug#9045)
1598 2012-10-22  Glenn Morris  <rgm@gnu.org>
1600         * image.el (imagemagick-enabled-types): Doc fix.
1602 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
1604         * progmodes/which-func.el (which-func-current): The hash-table may have
1605         an explicit nil (bug#12338).
1607 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1609         * electric.el (electric-pair-delete-selection-self-insert-function):
1610         Rename to electric-pair-will-use-region, return a boolean.
1611         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
1613         * delsel.el (delete-selection-helper): Use a function instead of a hook.
1614         (delete-selection-pre-hook): Use use-region-p.
1615         (delete-selection-self-insert-function): Remove.
1616         (self-insert-command): Obey self-insert-uses-region-functions.
1617         (self-insert-iso): Revert to previous setting, since we don't actually
1618         know what that command does.
1619         (delete-selection-self-insert-hooks): Remove.
1621 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
1623         * delsel.el (delete-selection-helper): New function, extracted from
1624         delete-selection-pre-hook.
1625         (delete-selection-pre-hook): Use it.
1626         (delete-selection-self-insert-function): New function.
1627         (delete-selection-self-insert-hooks): New hook.
1628         (self-insert-command, self-insert-iso): Use it.
1629         * electric.el (electric-pair-syntax): New function, extracted from
1630         electric-pair-post-self-insert-function.
1631         (electric-pair-post-self-insert-function): Use it.
1632         (electric-pair-delete-selection-self-insert-function): New function.
1633         (electric-pair-mode): Require delsel and setup
1634         delete-selection-self-insert-hooks (bug#11520).
1636 2012-10-20  Chong Yidong  <cyd@gnu.org>
1638         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
1639         no changes to show (Bug#12586).
1641         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
1642         list explicitly (Bug#12571).
1644 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
1646         * progmodes/flymake.el (flymake-create-temp-inplace):
1647         Use file-truename.
1649 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
1651         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
1653 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
1655         * calc/calc-units.el (math-extract-units): Properly extract powers
1656         of units.
1658 2012-10-20  Daniel Colascione  <dancol@dancol.org>
1660         * frame.el (make-frame): Set x-display-name as we used to in order
1661         to unbreak creating an X11 frame from an Emacs daemon started
1662         without a display.
1664 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1666         * minibuffer.el (minibuffer-force-complete): Make the next completion use
1667         the same completion-field (bug#12221).
1669 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
1671         * emacs-lisp/debug.el (debug): Record height of debugger window
1672         also when debugger will be back (Bug#8789).
1674 2012-10-18  Chong Yidong  <cyd@gnu.org>
1676         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
1677         Convert to defcustom.
1678         (gdb-get-source-file): Don't bind pop-up-windows.
1680         * progmodes/gud.el (gud-display-line): Don't specially re-use
1681         other frames for the gdb-mi case (Bug#12648).
1683 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1685         * emacs-lisp/advice.el: Clean up commentary a bit.
1686         (ad-do-advised-functions, ad-with-originals): Use `declare'.
1687         (byte-code-function-p): Never redefine.
1689         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
1691 2012-10-18  Glenn Morris  <rgm@gnu.org>
1693         * dired.el (dired-sort-toggle): Some ls implementations only allow
1694         a single option string.  (Bug#12666)
1696         * minibuffer.el (completion-cycle-threshold): Doc fix.
1698 2012-10-17  Kenichi Handa  <handa@gnu.org>
1700         * international/mule.el (set-keyboard-coding-system):
1701         Recover input meta mode when the new coding system doesn not use 8-bit.
1702         Supply TERMINAL arg to set-input-meta-mode.
1704 2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
1706         * wdired.el (wdired-old-marks): New variable.
1707         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
1708         (wdired-do-renames): Move point with renamed file and don't lose
1709         mark status (Bug#11795).
1711 2012-10-16  Juri Linkov  <juri@jurta.org>
1713         * replace.el (query-replace-help): Mention multi-buffer replacement
1714         keys in the Help message.  (Bug#12655)
1716 2012-10-15  Chong Yidong  <cyd@gnu.org>
1718         * emacs-lisp/byte-run.el (defsubst): Doc fix.
1720 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
1722         * window.el (display-buffer): Doc fix.
1724         * progmodes/compile.el (compilation-error-regexp-alist-alist):
1725         Adjust the msft regexp to the output of Studio 2010, and move msft
1726         before edg-1.  See the discussion on emacs-devel,
1727         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
1728         for the details.
1730 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1732         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
1733         (oset): Move uses of object-class-fast macro after its definition.
1735         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
1737 2012-10-13  Chong Yidong  <cyd@gnu.org>
1739         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
1740         enabled, re-enable it (Bug#11963).
1742 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
1744         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
1745         non-nil, restore window configuration (Bug#12623).
1747 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1749         * help-fns.el (describe-variable, describe-function-1):
1750         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
1752         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
1754 2012-10-12  Glenn Morris  <rgm@gnu.org>
1756         * mail/rmailsum.el (rmail-header-summary):
1757         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
1759 2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>
1761         * progmodes/python.el (python-mode-map):
1762         Replace subtitute-key-definition with proper command remapping.
1763         (python-nav--up-list): Fix behavior for blocks on the same level.
1765 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1767         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
1769         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
1770         changes to the format of load-history.
1772         * international/mule-cmds.el (read-char-by-name): Move let-binding of
1773         completion-ignore-case in case that var is buffer-local (bug#12615).
1775 2012-10-11  Kenichi Handa  <handa@gnu.org>
1777         * international/eucjp-ms.el: Re-generated.
1779 2012-10-10  Kenichi Handa  <handa@gnu.org>
1781         * select.el (xselect--encode-string): If a coding is specified for
1782         selection, and that is compatible with COMPOUND_TEXT, use it.
1784 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
1786         * window.el (switch-to-buffer-preserve-window-point): New option.
1787         (switch-to-buffer):
1788         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
1790 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1792         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
1793         Don't document nil as a useful value (bug#12583).
1795 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
1797         * net/tramp.el (tramp-debug-message):
1798         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
1799         (with-tramp-progress-reporter): Rename from
1800         `tramp-with-progress-reporter'.
1801         (with-tramp-file-property, with-tramp-connection-property):
1802         Move from tramp-cache.el, rename from `with-file-property' and
1803         `with-connection-property', respectively.
1805         * net/tramp-cache.el: Remove `with-file-property' and
1806         `with-connection-property'.
1808         * net/tramp.el:
1809         * net/tramp-gvfs.el:
1810         * net/tramp-sh.el:
1811         * net/tramp-smb.el: Adapt callees.
1813         * net/trampver.el: Update release number.
1815 2012-10-09  Glenn Morris  <rgm@gnu.org>
1817         * w32-fns.el (set-message-beep):
1818         * term/w32-win.el (set-message-beep): Update declarations.
1820 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1822         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
1823         (mode-line-widen, mode-line-input-method-map)
1824         (mode-line-coding-system-map, mode-line-remote)
1825         (mode-line-unbury-buffer, mode-line-bury-buffer)
1826         (mode-line-next-buffer, mode-line-previous-buffer):
1827         Replace save-selected-window+select-window => with-selected-window.
1829         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
1830         * progmodes/cc-vars.el (bq-process): Remove, unused.
1832         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
1834 2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>
1836         Implemented `backward-up-list'-like navigation.
1837         * progmodes/python.el (python-nav-up-list)
1838         (python-nav-backward-up-list): New functions.
1839         (python-mode-map): Define substitute key for backward-up-list to
1840         python-nav-backward-up-list.
1842 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
1844         * progmodes/python.el (python-fill-paragraph): Rename from
1845         python-fill-paragraph-function.  Fixed fill-paragraph for
1846         decorators (Bug#12605).
1848 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
1850         * progmodes/python.el (python-shell-output-filter): Handle extra
1851         carriage return in OSX (Bug#12409).
1853 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
1855         Fix shell handling of unbalanced quotes and parens in output.
1856         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
1857         (python-syntax-propertize-function): Use it.
1858         (python-shell-output-syntax-table): New var.
1859         (inferior-python-mode): Prevent unbalanced parens/quotes from
1860         previous output mess with current input context.
1862 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
1864         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
1865         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
1867 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
1869         * ffap.el (ffap-replace-file-component): Support Tramp file name
1870         syntax, not only ange-ftp's one.
1872 2012-10-08  Glenn Morris  <rgm@gnu.org>
1874         * cus-start.el (message-log-max): Set :version.
1876         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
1878 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
1880         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
1881         the minibuffer window (Bug#10851).
1883 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
1885         Enhancements on forward-sexp movement.
1886         * progmodes/python.el (python-nav-beginning-of-statement)
1887         (python-nav-end-of-statement): Return point-marker.
1888         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
1889         (python-info-current-symbol)
1890         (python-info-statement-starts-block-p): Rename from
1891         python-info-beginning-of-block-p.
1892         (python-info-statement-ends-block-p): Rename from
1893         python-info-end-of-block-p.
1894         (python-info-beginning-of-statement-p)
1895         (python-info-end-of-statement-p)
1896         (python-info-beginning-of-block-p, python-info-end-of-block-p):
1897         New functions.
1899 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1901         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
1902         frame-selected-windows.
1904 2012-10-08  Daniel Colascione  <dancol@dancol.org>
1906         * battery.el (battery-status-function): Check for
1907         w32-battery-status itself, not system-time windows-nt.
1909         * frame.el: Require cl-lib.
1910         (display-format-alist): New variable mapping frame types to
1911         functions that initialize them.
1912         (window-system-for-display): New function: interprets
1913         display-format-alist.
1914         (make-frame-on-display): Remove existing display-selection logic
1915         and just forward to make-frame, which will now DTRT.
1916         (make-frame): Restructure to use window-system-for-display to
1917         figure out how to create a frame on a given display.
1918         (display-mouse-p): Look for frame-type w32, not a particular
1919         system-type.
1921         * loadup.el: Load w32 lisp code when we have the w32 feature.
1923         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
1924         system-type windows-nt.
1926         * server.el (server-create-window-system-frame): Look for window
1927         type.
1928         (server-proces-filter): Only force a window system when windows-nt
1929         _and_ w32.  Explain why.
1931         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
1932         of window systems we configure for the mode.
1934         * startup.el (command-line): Mark window system is initialized
1935         after we've done it.
1937         * common-win.el (x-select-text): Look for w32, not windows-nt.
1939         * ns-win.el: Require cl-lib.  Add ourselves to
1940         display-format-alist.
1941         (ns-initialize-window-system): Assert we're not initialized twice.
1943         * w32-win.el: Enable lexical binding; require cl-lib; add
1944         ourselves to display-format-alist.
1945         (w32-handle-dropped-file): Convert incoming dropped files from
1946         Windows paths to Cygwin ones before passing them on to the rest of
1947         Emacs.
1948         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
1949         (w32-initialize-window-system): Assert we're not initialized twice.
1951         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
1952         (x-initialize-window-system): Assert we're not initialized twice.
1954         * w32-common-fns.el: New File.
1955         (w32-version, w32-using-nt, w32-get-clipboard-data)
1956         (w32-set-clipboard-data, x-set-selection, x-get-selection)
1957         (w32-charset-info-alist, x-last-selected, text)
1958         (x-get-selection-value, x-selection-value): Move here.
1960         * w32-fns.el: Require w32-common-fns.
1961         (w32-version, w32-using-nt, w32-get-clipboard-data)
1962         (w32-set-clipboard-data, x-set-selection, x-get-selection)
1963         (w32-charset-info-alist, x-last-selected, text)
1964         (x-get-selection-value, x-selection-value): Move to
1965         w32-common-fns.
1967         * w32-vars.el:
1968         (w32-allow-system-shell, w32-system-shells): Define only in
1969         non-cygwin case.
1971 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1973         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
1974         (read-passwd): Remove a few more potential sources of leaks.
1976 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
1978         * progmodes/python.el (inferior-python-mode)
1979         (python-shell-make-comint): Fix initialization of local
1980         variables copied from parent buffer.
1982 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
1984         * term/ns-win.el (ns-read-file-name): Update declaration to match
1985         nsfns.m.
1986         (ns-respond-to-change-font): Change fontsize separatly so we are sure
1987         it is set when font is acted upon.
1989 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
1991         Enhancements to indentation.
1992         * progmodes/python.el (python-indent-context): Give priority to
1993         inside-string context.  Make comments indentation markers.
1994         (python-indent-region): Do not mess with strings, unless it's the
1995         enclosing set of quotes.
1997 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1999         * window.el (internal--before-save-selected-window)
2000         (internal--after-save-selected-window): New functions extracted from
2001         save-selected-window.  Make sure we return the `alist' we construct.
2002         (save-selected-window): Use them.
2004         * textmodes/tex-mode.el (tex-recenter-output-buffer):
2005         Use with-selected-window.
2007         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
2008         forms that define macros (bug#12593).
2010 2012-10-07  Kenichi Handa  <handa@gnu.org>
2012         * international/mule-conf.el (compound-text-with-extensions):
2013         Add :mime-charset property as x-ctext.
2015 2012-10-07  Stefan Merten  <smerten@oekonux.de>
2017         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2018         (rst-indent-literal-normal, rst-indent-literal-minimized)
2019         (rst-indent-comment): Correct :version tag.
2020         (rst-official-cvs-rev): Correct version string.
2022 2012-10-07  Glenn Morris  <rgm@gnu.org>
2024         * mail/rmailmm.el (rmail-mime-process-multipart):
2025         Do not confuse a multipart message with an epilogue
2026         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
2028 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
2030         Fix shell output retrieval and comint-prompt-regexp init.
2031         * progmodes/python.el (inferior-python-mode):
2032         (python-shell-make-comint): Fix initialization of
2033         comint-prompt-regexp from copied file local variables.
2034         (python-shell-fetched-lines): Remove var.
2035         (python-shell-output-filter-in-progress): Rename from
2036         python-shell-fetch-lines-in-progress.
2037         (python-shell-output-filter-buffer): Rename from
2038         python-shell-fetch-lines-string.
2039         (python-shell-fetch-lines-filter): Delete function.
2040         (python-shell-output-filter): New function.
2041         (python-shell-send-string-no-output): Use them.
2043 2012-10-07  Glenn Morris  <rgm@gnu.org>
2045         * hi-lock.el (hi-lock-process-phrase):
2046         Try to make it less fragile.  (Bug#7161)
2048         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
2050 2012-10-06  Glenn Morris  <rgm@gnu.org>
2052         * ehelp.el (electric-help-mode): Use help-mode rather than
2053         non-existent mode `help'.
2054         (electric-help-map): Use button-buffer-map.  (Bug#10917)
2056         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
2057         (reftex-create-bibtex-footer): Fix custom types.
2059         * progmodes/sh-script.el (sh-indent-after-continuation):
2060         Add explicit :group.
2062         * textmodes/rst.el (rst-preferred-decorations)
2063         (rst-shift-basic-offset): Clarify obsolescence versions.
2065         * profiler.el (profiler): Add missing group :version tag.
2066         * avoid.el (mouse-avoidance-banish-position):
2067         * proced.el (proced-renice-command):
2068         * calc/calc.el (calc-ensure-consistent-units):
2069         * calendar/icalendar.el (icalendar-import-format-uid):
2070         * net/tramp.el (tramp-save-ad-hoc-proxies):
2071         * progmodes/bug-reference.el (bug-reference-bug-regexp):
2072         * progmodes/flymake.el (flymake-error-bitmap)
2073         (flymake-warning-bitmap, flymake-fringe-indicator-position):
2074         * progmodes/sh-script.el (sh-indent-after-continuation):
2075         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
2076         (verilog-before-save-font-hook, verilog-after-save-font-hook):
2077         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
2078         (vhdl-array-index-record-field-in-sensitivity-list)
2079         (vhdl-indent-comment-like-next-code-line):
2080         * textmodes/reftex-vars.el (reftex-ref-style-alist)
2081         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
2082         (reftex-cite-key-separator, reftex-create-bibtex-header)
2083         (reftex-create-bibtex-footer):
2084         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
2085         (rst-indent-literal-normal, rst-indent-literal-minimized)
2086         (rst-indent-comment): Add missing custom :version tags.
2088         * calendar/timeclock.el (timeclock-modeline-display):
2089         Add missing obsolete alias for renamed user option.
2091         * strokes.el (strokes-modeline-string):
2092         * emulation/crisp.el (crisp-mode-modeline-string):
2093         * eshell/esh-mode.el (eshell-status-in-modeline):
2094         Aliases to defcustoms must come before the defcustom.
2096         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
2097         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
2098         (cal-tex-cursor-week-monday): Doc fixes.
2099         (cal-tex-cursor-week2-summary): Doc fix.
2100         Rename from cal-tex-cursor-week-at-a-glance.
2102         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
2103         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
2105         * calendar/calendar.el (calendar-mode-map):
2106         Add cal-tex-cursor-week2-summary.
2108 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2110         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
2112         * subr.el (read-passwd-map): New var.
2113         (read-passwd): Use `read-string' again.
2114         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
2116 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
2118         * register.el (append-to-register, prepend-to-register):
2119         Deactivate mark, as does `copy-to-register' (bug#12389).
2121 2012-10-06  Chong Yidong  <cyd@gnu.org>
2123         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
2125 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
2127         * international/characters.el: Fix simple mistake ((car chars) ->
2128         elt), delete duplicated code.
2130 2012-10-06  Glenn Morris  <rgm@gnu.org>
2132         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
2134 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
2136         * color.el (color-hsl-to-rgb): Fix incorrect results for
2137         small and large hue values.  (Bug#12559)
2139 2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>
2141         Enhancements to docstring formatting when filling paragraphs.
2142         * progmodes/python.el (python-fill-docstring-style): Rename from
2143         python-fill-string-style.  Added new style.
2144         (python-fill-string): Use new style.  Better checks for
2145         docstrings.
2147 2012-10-05  Glenn Morris  <rgm@gnu.org>
2149         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
2151         * color.el (color-name-to-rgb, color-rgb-to-hex)
2152         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
2153         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
2154         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
2155         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
2157         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
2159 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
2161         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
2162         to get the correct size across symlinks.
2164         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
2166 2012-10-04  Juri Linkov  <juri@jurta.org>
2168         * replace.el (query-replace-interactive): Declare obsolete.
2169         (query-replace-read-from): Add the last incremental search string
2170         to the list of default values accessible via M-n.
2171         (map-query-replace-regexp): Use `read-regexp'.
2172         (query-replace, query-replace-regexp, query-replace-regexp-eval)
2173         (map-query-replace-regexp, replace-string, replace-regexp):
2174         Fix docstrings to replace mentions of `query-replace-interactive'
2175         with alternatives.  (Bug#12526)
2177 2012-10-04  Juri Linkov  <juri@jurta.org>
2179         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
2180         (dired-pop-to-buffer): Declare obsolete.
2181         (dired-mark-pop-up): Doc fix.
2183 2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>
2185         Allow user to set docstring style for fill-paragraph.
2186         * progmodes/python.el
2187         (python-fill-comment-function, python-fill-string-function)
2188         (python-fill-decorator-function, python-fill-paren-function):
2189         Remove :safe for defcustoms.
2190         (python-fill-string-style): New defcustom
2191         (python-fill-paragraph-function): Enhance context detection.
2192         (python-fill-string): Honor python-fill-string-style settings.
2194 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
2196         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
2197         after setting its buffer (Bug#10805).
2199 2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>
2201         Fix cornercase for string syntax.
2202         * progmodes/python.el (python-syntax-propertize-function):
2203         Simplify and enhance the regexp for unescaped quotes.  Now it also
2204         matches quotes in weird situations like the single quote in
2205         "something\"'".
2206         (python-syntax-stringify): Simplify num-quotes detecting code.
2208 2012-10-03  Glenn Morris  <rgm@gnu.org>
2210         * help-macro.el (three-step-help):
2211         Revert 2012-09-29 change.  (Bug#12567)
2213 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
2215         * menu-bar.el (kill-this-buffer): Don't do anything when
2216         `menu-frame' is not alive or visible (Bug#8184).
2218         * emacs-lisp/debug.el (debug): When quitting the debugger window
2219         restore current buffer (Bug#12502).
2221 2012-10-02  Chong Yidong  <cyd@gnu.org>
2223         * progmodes/hideif.el (hif-lookup, hif-defined):
2224         Handle semantic-c-takeover-hideif.
2226 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
2228         Change sampling interval units from ms to ns.
2229         * profiler.el (profiler-sampling-interval): Change units
2230         from ms to ns, multiplying the default by 1000000 so that
2231         it remains 1 ms.
2232         (profiler-report-cpu-line-format): Give enough room for
2233         the maximum counters on 64-bit hosts.
2234         (profiler-report-render-calltree-1): Call them "CPU samples",
2235         not "Time (ms)", since they are not milliseconds now (and
2236         never really were).
2238 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
2240         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
2241         Fix querying BBDB for entries without a last name (Bug#11580).
2243 2012-10-02  Chong Yidong  <cyd@gnu.org>
2245         * emacs-lisp/eieio.el: Restore Version header.
2247 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
2249         * vc/diff-mode.el (diff--auto-refine-data): New var.
2250         (diff-hunk): Use it to delay refinement.
2251         (diff-mode): Remove overlays when we turn off font-lock.
2253         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
2254         (table-initialize-table-fixed-width-mode)
2255         (table-set-table-fixed-width-mode): Remove functions.
2256         (table-command-list): Move initialization into declaration.
2257         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
2258         (table-with-cache-buffer): Use `declare'.
2259         (table-span-cell): Simplify via CSE.
2260         (table-fixed-width-mode): Use define-minor-mode.
2261         (table-call-interactively, table-funcall, table-apply): Remove.
2262         (table-function): New function, to replace them.
2264         * bookmark.el (bookmark-search-pattern): Remove var.
2265         (bookmark-read-search-input): Remove function.
2266         (bookmark-bmenu-search): Reimplement using a minibuffer.
2268         * faces.el (modeline): Remove obsolete face name.
2270         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
2271         and give a non-nil default value.
2272         (add-change-log-entry): Simplify accordingly.
2274 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
2276         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
2277         (vc-git-log-edit-toggle-amend): New function.
2278         (vc-git-log-edit-toggle-signoff): New function.
2279         (vc-git-log-edit-mode): New major mode.
2280         (vc-git-log-edit-mode-map): Keymap for it.
2281         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
2283         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
2284         header names.
2285         (log-edit-toggle-header): New function.
2286         (log-edit-extract-headers): Accept function values in HEADERS alist.
2288 2012-10-01  David Engster  <deng@randomsample.de>
2290         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
2291         from symbol property and change message to be more consistent with
2292         Emacs proper.
2293         (eieio-describe-generic): Add filename for each implementation.
2294         Fix indices for generic and normal methods.
2295         (eieio-method-def, eieio-class-def): New buttons.
2296         (eieio-help-find-method-definition)
2297         (eieio-help-find-class-definition): New functions.
2298         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
2299         class, constructor and method definitions.
2301         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
2302         information in symbol property.
2303         (scoped-class): Remove.
2304         (eieio-slot-name-index, call-next-method): Check if it is bound.
2306 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
2308         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
2309         (eieio-custom-mode): New major mode.
2310         (eieio-customize-object): Use it.
2312 2012-10-01  Eric Ludlam  <zappo@gnu.org>
2314         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
2315         specifying the expected class, and whether subclassing is allowed.
2316         (eieio-persistent-convert-list-to-object):
2317         (eieio-persistent-validate/fix-slot-value)
2318         (eieio-persistent-slot-type-is-class-p): New functions.
2319         (eieio-named::slot-missing): Doc fix.
2321         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
2322         Stop using unused publd variable.
2324         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
2325         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
2326         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
2327         (eieio-speedbar-handle-click): Do not specify a class for the
2328         method.  Fixes method invocation order problems with EDE.
2330 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2332         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
2333         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
2335 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
2337         * bookmark.el (bookmark-version-control): Give tags in the
2338         :type choices (Bug#12309), and improve doc string.
2339         (bookmark-write-file): Bind `print-circle' to `t' to allow
2340         circular custom bookmark types.  (Bug#12503)
2342 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
2344         Revert the FOLLOW-SYMLINKS change for file-attributes.
2345         * files.el (remote-file-name-inhibit-cache, after-find-file):
2346         * time.el (display-time-file-nonempty-p): Undo last change.
2348         * profiler.el (profiler-sampling-interval): Change default back to 1.
2349         See Stefan Monnier in
2350         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
2352 2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>
2354         Shell output catching a la gud-gdb.
2355         * progmodes/python.el (python-shell-fetch-lines-in-progress)
2356         (python-shell-fetch-lines-string, python-shell-fetched-lines):
2357         New Vars.
2358         (python-shell-fetch-lines-filter): New function.
2359         (python-shell-send-string-no-output): Use them.
2361 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
2363         * profiler.el (profiler-sampling-interval): Rename from
2364         profiler-sample-interval.
2365         (profiler-sampling-interval): Default to 10.
2366         (profiler-find-profile): New command (was profiler-find-log).
2367         (profiler-find-profile-other-window): New command.
2368         (profiler-find-profile-other-frame): New command.
2369         (profiler-profile): Introduce API-level data structure.
2371 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
2373         file-attributes has a new optional arg FOLLOW-SYMLINKS.
2374         * files.el (remote-file-name-inhibit-cache):
2375         * time.el (display-time-file-nonempty-p): Use it.
2376         * files.el (after-find-file): Don't chase links before calling
2377         file-exists-p, as file-exists-p already does the right thing.
2379 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
2381         Merge from standalone RefTeX repository.
2383         The following ChangeLog entries are shortened versions of the
2384         original ones with file paths adapted.  A not so strongly edited
2385         version of the original ChangeLog can be found in the commit log.
2387         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
2388         (reftex-arg-cite): Use `reftex-cite-key-separator'.
2389         Correctly handle new value type returned by `reftex-citation'.
2391         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
2392         that entries with whitespace at various places are found.
2393         Doc fix. Include entries that are cross-referenced from cited entries.
2394         Include @String definitions in the resulting bib file.  Add header
2395         and footer defined in `reftex-create-bibtex-header' and
2396         `reftex-create-bibtex-footer'.
2397         (reftex-do-citation): Make it possible again to insert
2398         non-existent entries.  Save match data when asking for optional
2399         arguments. Return all keys, not just the first one.
2400         (reftex-all-used-citation-keys): Fix regexp to correctly extract
2401         all citations in the same line.
2402         (reftex-parse-bibtex-entry): Accept additional optional argument
2403         `raw' and keep quotes or braces if it is non-nil.  Match fields
2404         containing hyphens besides word constituents.
2405         (reftex-get-string-refs): New function.
2406         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
2407         and ask if it should be reread in case it did.
2408         (reftex-pop-to-bibtex-entry)
2409         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
2410         entries with spaces or tabs in front of arguments.
2411         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
2412         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
2413         Match entries containing numbers and symbol constituents.
2414         (reftex-do-citation, reftex-figure-out-cite-format):
2415         Use `reftex-cite-key-separator'.
2417         * textmodes/reftex-dcr.el: Move provide statement to end of file.
2418         (reftex-mouse-view-crossref): Explain why point is set.
2420         * textmodes/reftex-global.el: Whitespace changes.
2422         * textmodes/reftex-index.el: Move provide statement to end of
2423         file.
2424         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
2425         (reftex-index-visit-phrases-buffer): Set marker when visiting
2426         buffer.  This allows for returning from the phrases file to the
2427         file one was just editing instead of the file where the last
2428         phrases was added from.
2429         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
2430         punctuation syntax as it usually is not used as string quote in
2431         TeX-related modes and may occur unmatched.  The change also
2432         prevents fontification of quoted content.
2433         (reftex-index-phrases-mode): Use it.
2435         * textmodes/reftex-parse.el (reftex-parse-from-file):
2436         Move backward one char if a `\' was matched after a section macro.
2437         (reftex-parse-from-file): Use beginning of match instead of end as
2438         bound.
2440         * textmodes/reftex-ref.el: Adapt creation of
2441         `reftex-<package>-<macro>' functions to new structure of
2442         `reftex-ref-style-alist'.
2443         (reftex-reference): Use `reftex-ref-style-list' function.
2444         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
2445         reference macro if `reftex-ref-macro-prompt' is non-nil.
2446         (reftex-reference): Pass refstyle to `reftex-format-special'.
2447         Determine reference macro by looking at
2448         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
2449         Use only one special format function.
2450         (reftex-varioref-vref, reftex-fancyref-fref)
2451         (reftex-fancyref-Fref): Remove definitions.  The functions are now
2452         generated from `reftex-ref-style-alist'.
2453         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
2454         Remove.
2455         (reftex-format-special): New function.
2457         * textmodes/reftex-sel.el
2458         (reftex-select-cycle-ref-style-internal): Adapt to new structure
2459         of `reftex-ref-style-alist'. Remove code for testing macro type.
2460         (reftex-select-toggle-varioref)
2461         (reftex-select-toggle-fancyref): Remove.
2462         (reftex-select-cycle-ref-style-internal)
2463         (reftex-select-cycle-ref-style-forward)
2464         (reftex-select-cycle-ref-style-backward): New functions.
2465         (reftex-select-label-map): Use `v' and `V' for general cycling
2466         through reference styles.  Add `p' for switching between number
2467         and page reference types.
2469         * textmodes/reftex-toc.el (reftex-re-enlarge):
2470         Call `enlarge-window' only if there is something to do because in Emacs
2471         the horizontal version throws an error even if the parameter is 0.
2473         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
2474         (reftex-plug-into-AUCTeX): Doc fix.
2475         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
2476         string.  Adapt to new name.
2477         (reftex-ref-style-alist): Change structure so that it is not
2478         possible to use multiple different package names within a style.
2479         Remove the symbols for symbols for macro type distinction.
2480         Add characters for macro selection.
2481         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
2482         (reftex-create-bibtex-footer): New variables.
2483         (reftex-format-ref-function): Mention third argument of special
2484         format function.
2485         (reftex-ref-style-alist, reftex-ref-style-default-list):
2486         New variables.
2487         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
2488         to new implementation.  Mark as obsolete.  Add compatibility code
2489         for honoring the variable values in case they are set.
2490         (reftex-cite-format-builtin, reftex-bibliography-commands):
2491         Add support for ConTeXt.
2492         (reftex-format-ref-function, reftex-format-cite-function):
2493         Fix custom type.
2494         (reftex-cite-key-separator): New variable.
2496         * textmodes/reftex.el (reftex-syntax-table-for-bib)
2497         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
2498         `reftex-syntax-table' because parens have to retain their paren
2499         syntax in order for parsing of BibTeX entries like @book(...) to
2500         work.
2501         (reftex-in-comment): Do not error out if `comment-start-skip' is
2502         not set.  Deal correctly with escaped comment characters.
2503         (reftex-tie-multifile-symbols): Add doc string.
2504         Initialize `reftex-ref-style-list'.
2505         (reftex-untie-multifile-symbols): Add doc string.
2506         (reftex-add-index-macros): Doc fix.
2507         (reftex-ref-style-activate, reftex-ref-style-toggle)
2508         (reftex-ref-style-list): New functions.
2509         (reftex-mode-menu): Use them.  Adapt to new structure of
2510         `reftex-ref-style-alist'.
2511         (reftex-select-with-char): Kill the RefTeX Select buffer when
2512         done.
2513         (reftex-remove-if): New function.
2514         (reftex-erase-all-selection-and-index-buffers)
2515         (reftex-mode-menu): Reference styles are now computed from
2516         `reftex-ref-style-alist'.  Fix typo.
2517         (reftex-report-bug): New function.
2518         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
2519         algorithms with O(n log n).  Introduce optional argument SORT (not
2520         yet used).
2522 2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>
2524         Enhancements for triple-quote string syntax.
2525         * progmodes/python.el (python-syntax-propertize-function):
2526         Match both quote cases in one regexp.
2527         (python-syntax-stringify): Handle matches properly.
2529 2012-09-30  Juri Linkov  <juri@jurta.org>
2531         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
2532         to nil around the call to `insert' to prevent
2533         directory time modification by lock_file.  (Bug#2295)
2534         * tar-mode.el (tar-summarize-buffer): Idem.
2536 2012-09-30  Juri Linkov  <juri@jurta.org>
2538         * facemenu.el (list-colors-sort): Add option "Luminance".
2539         (list-colors-sort-key): Implement it.
2541         * vc/diff-mode.el (diff-refine-removed):
2542         * vc/ediff-init.el (ediff-fine-diff-A):
2543         * vc/smerge-mode.el (smerge-refined-removed):
2544         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
2546 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
2548         * term/ns-win.el (x-file-dialog): New function.
2550 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
2552         * ido.el (ido-max-directory-size): Default to nil; the current
2553         default is small for POSIX systems, and impractical on Windows 7
2554         now that lstat returns directory sizes for NTFS.
2556 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
2558         In buffer display functions handle window-height/window-width
2559         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
2560         * window.el (window--display-buffer): New argument ALIST.
2561         Obey window-height and window-width alist entries.
2562         (window--try-to-split-window): New argument ALIST.
2563         Bind window-combination-limit to t when the window's size shall be
2564         changed and window-combination-limit equals `window-size'.
2565         (display-buffer-in-atom-window)
2566         (display-buffer-in-major-side-window)
2567         (display-buffer-in-side-window, display-buffer-same-window)
2568         (display-buffer-reuse-window, display-buffer-pop-up-frame)
2569         (display-buffer-pop-up-window, display-buffer-below-selected)
2570         (display-buffer-at-bottom, display-buffer-in-previous-window)
2571         (display-buffer-use-some-window): Adjust all callers of
2572         window--display-buffer and window--try-to-split-window.
2573         (fit-frame-to-buffer): New option.
2574         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
2575         is non-nil.
2576         (display-buffer-in-major-side-window): Evaluate window-height /
2577         window-width alist entries.
2579         * help.el (temp-buffer-resize-frames)
2580         (temp-buffer-resize-regexps): Remove options.
2581         (temp-buffer-resize-mode): Adjust doc-string.
2582         (resize-temp-buffer-window): Don't consult
2583         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
2584         temp-buffer-resize-frames.
2586         * dired.el (dired-mark-pop-up):
2587         Call display-buffer-below-selected with a fit-window-to-buffer alist
2588         entry.
2590 2012-09-30  Chong Yidong  <cyd@gnu.org>
2592         * server.el (server-host): Document the security implications.
2593         (server-auth-key): Doc fix.
2595         * startup.el (initial-buffer-choice): Doc fix.
2597         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
2599         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
2600         restriction change.
2602         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
2604         * help-fns.el (help-fns--obsolete): Fix last change.
2606 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2608         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
2609         (minor-mode-map-alist): Remove redundant code.
2611         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
2612         visited in a buffer.
2613         (cvs-insert-visited-file): New function.
2614         (find-file-hook): Use it.
2616         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
2618         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
2619         chose face.
2620         (log-edit-empty-buffer-p): Don't require a space after a header.
2622         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
2624         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
2626         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
2627         a proper minor-mode.
2629         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
2631 2012-09-29  Glenn Morris  <rgm@gnu.org>
2633         * winner.el (winner-mode): Remove variable (let define-minor-mode
2634         handle it).
2635         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
2636         Doc fixes.
2637         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
2638         (winner-mode): Use define-minor-mode.
2640         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
2641         the full definition in loaddefs, rather than duplicating it.
2643         * help-macro.el (three-step-help): No need to autoload defcustom.
2645         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2646         (inferior-lisp-program, inferior-lisp-load-command)
2647         (inferior-lisp-prompt, inferior-lisp-mode-hook):
2648         No need to autoload defcustoms.
2650         * hippie-exp.el (hippie-expand-try-functions-list)
2651         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
2652         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
2653         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
2654         (hippie-expand-only-buffers): No need to autoload defcustoms.
2655         * progmodes/vhdl-mode.el (vhdl-line-expand):
2656         Explicitly load hippie-exp, so it does not get autoloaded
2657         while hippie-expand-try-functions-list is let-bound.
2659 2012-09-28  Glenn Morris  <rgm@gnu.org>
2661         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
2663         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
2664         Only "cl.el" counts as cl these days.
2666 2012-09-28  Juri Linkov  <juri@jurta.org>
2668         Display archive errors in the echo area instead of inserting
2669         to the file buffer.
2671         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
2672         to STDERR-TEST that can be a regexp matching a successful output.
2673         Create a temporary file and redirect stderr to it.  Search for
2674         STDERR-TEST in the stderr output and display it in the echo area
2675         if no match is found.
2676         (archive-extract-by-file): New function like
2677         `archive-extract-by-stdout' but extracting archives to files
2678         and looking for successful matches in stdout.  Function body is
2679         mostly copied from `archive-rar-extract'.
2680         (archive-rar-extract): Use `archive-extract-by-file'.
2681         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
2683 2012-09-28  Leo Liu  <sdl.web@gmail.com>
2685         * pcomplete.el (pcomplete-show-completions):
2686         Use minibuffer-message to make pcomplete usable in minibuffer.
2688         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
2690 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2692         * type-break.el: Use lexical-binding.
2693         (type-break-mode): Use define-minor-mode.
2695         * emacs-lisp/pcase.el (pcase--mark-used): New.
2696         (pcase--u1): Use it (bug#12512).
2698         * custom.el (load-theme): Set buffer-file-name so the load is recorded
2699         in load-history with the right file name.
2701 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
2703         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
2704         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
2705         (doc-view-get-bounding-box): Make bounding box slicing work for
2706         ODF and DVI documents.
2708 2012-09-28  Glenn Morris  <rgm@gnu.org>
2710         * type-break.el (type-break-mode, type-break-interval)
2711         (type-break-good-rest-interval, type-break-keystroke-threshold):
2712         No need to autoload.
2713         (type-break-good-rest-interval, type-break-keystroke-threshold):
2714         Add :set-after.
2716 2012-09-28  Chong Yidong  <cyd@gnu.org>
2718         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
2719         Add :version tag.
2721 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2723         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
2725 2012-09-27  Glenn Morris  <rgm@gnu.org>
2727         * faces.el (x-display-name): Declare (for without-x builds).
2729         * linum.el (linum-format): Don't autoload it.  Improve :type.
2731         * progmodes/tcl.el: Don't require outline when compiling.
2732         (outline-regexp, outline-level): Declare.
2733         * textmodes/sgml-mode.el: Don't require outline when compiling.
2734         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
2736         * term.el (term-ansi-reset):
2737         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
2739         * vc/vc.el (vc-next-action): Only gripe about committing read-only
2740         files for RCS and SCCS.  (Bug#9781)
2742 2012-09-27  Chong Yidong  <cyd@gnu.org>
2744         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
2745         change; value should be t.
2747 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2749         * image-mode.el: Use lexical-binding.
2750         (image-mode-winprops): Use t to stand for the window of
2751         a buffer that's not displayed.
2752         * doc-view.el (doc-view-new-window-function): Handle the new
2753         t in winprops.
2754         (doc-view-enlarge): Make it a real nop if the size is not changed.
2755         (doc-view-display): Handle the case where the buffer is not (yet?)
2756         displayed in any window.
2757         (doc-view-saved-settings): New var.
2758         (doc-view-mode): Use it.
2759         (doc-view-fallback-mode): Set it.
2761         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
2762         Set lexical-binding.
2763         (minibuffer-eldef-shorten-default): New var.
2764         (minibuffer-default-in-prompt-regexps): Use it for new default.
2765         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
2767 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
2769         * international/uni-bidi.el:
2770         * international/uni-category.el:
2771         * international/uni-name.el:
2772         * international/uni-numeric.el: Regenerate.
2774 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
2775             Stefan Monnier  <monnier@iro.umontreal.ca>
2777         * profiler.el: New file.
2779 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2781         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
2782         (testcover-reinstrument): Simplify with CSE.
2784 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
2786         * window.el (temp-buffer-window-setup): Fix typo in docstring.
2788 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
2790         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
2791         (verilog-auto-input, verilog-auto-insert-lisp)
2792         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
2793         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
2794         (verilog-auto-unused, verilog-auto-wire)
2795         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
2796         newline.  Reported by Andrew Jones.
2797         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
2798         Reported by Brad Dobbie.
2799         (verilog-batch-delete-trailing-whitespace):
2800         Create verilog-batch-delete-trailing-whitespace.
2801         Reported by Brad Dobbie.
2802         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
2803         parameters from another module.  Reported by Dan Katz.
2804         (verilog-auto, verilog-auto-assign-modport)
2805         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
2806         AUTOINOUTMODPORT for UVM interface module shell generation.
2807         Reported by Brad Dobbie.
2808         (verilog-auto-inst-interfaced-ports): Make default nil, as more
2809         standard behavior.
2810         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
2811         Reported by Matt Martin.
2813 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
2815         * window.el (window--resize-child-windows): When resizing child
2816         windows proportionally, process them in reverse order to
2817         preserve the "when splitting a window the new one gets the odd
2818         line" behavior.
2819         (window--resize-root-window-vertically): When resizing the
2820         minibuffer window try to affect only windows at the bottom of the
2821         frame.  (Bug#12419)
2823 2012-09-25  Chong Yidong  <cyd@gnu.org>
2825         * subr.el (declare): Doc fix.
2827         * help-fns.el (help-fns--obsolete): Handle macros properly.
2829 2012-09-25  Chong Yidong  <cyd@gnu.org>
2831         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
2832         this function obsolete.
2834         * calendar/cal-x.el (calendar-two-frame-setup)
2835         (calendar-only-one-frame-setup, calendar-one-frame-setup):
2836         * calendar/calendar.el (american-calendar, european-calendar)
2837         (calendar-for-loop):
2838         * comint.el (comint-dynamic-simple-complete)
2839         (comint-dynamic-complete-as-filename, comint-unquote-filename):
2840         * desktop.el (desktop-load-default):
2841         * dired-x.el (dired-omit-here-always)
2842         (dired-hack-local-variables, dired-default-directory):
2843         * emacs-lisp/derived.el (derived-mode-class):
2844         * emacs-lisp/timer.el (timer-set-time-with-usecs):
2845         * emacs-lock.el (toggle-emacs-lock):
2846         * epa.el (epa-display-verify-result):
2847         * epg.el (epg-sign-keys, epg-start-sign-keys)
2848         (epg-passphrase-callback-function):
2849         * eshell/esh-util.el (eshell-for):
2850         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
2851         (eshell-add-to-window-buffer-names):
2852         * files.el (locate-file-completion):
2853         * imenu.el (imenu-example--create-c-index)
2854         (imenu-example--create-lisp-index)
2855         (imenu-example--lisp-extract-index-name)
2856         (imenu-example--name-and-position):
2857         * international/mule-cmds.el (princ-list):
2858         * international/mule-diag.el (decode-codepage-char):
2859         * international/mule-util.el (detect-coding-with-priority):
2860         * iswitchb.el (iswitchb-read-buffer):
2861         * mail/mailalias.el (mail-complete):
2862         * mail/sendmail.el (mail-sent-via):
2863         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
2864         (mouse-major-mode-menu):
2865         * password-cache.el (password-read-and-add):
2866         * pcomplete.el (pcomplete-parse-comint-arguments):
2867         * progmodes/sh-script.el (sh-maybe-here-document):
2868         * replace.el (query-replace-regexp-eval):
2869         * savehist.el (savehist-load):
2870         * simple.el (choose-completion-delete-max-match):
2871         * term.el (term-dynamic-simple-complete):
2872         * vc/ediff-init.el (ediff-check-version):
2873         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
2874         * vc/vc.el (vc-diff-switches-list):
2875         * view.el (view-return-to-alist-update): Likewise.
2877         * subr.el (eval-next-after-load, makehash, insert-string)
2878         (assoc-ignore-representation, assoc-ignore-case): Use declare to
2879         mark obsolete.
2880         (mode-line-inverse-video): Variable deleted.
2882         * international/mule-util.el (string-to-sequence): Remove.
2884         * calendar/calendar.el (calendar-version):
2885         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
2886         (icalendar-convert-diary-to-ical):
2887         * cus-edit.el (custom-mode):
2888         * ansi-color.el (ansi-color-unfontify-region):
2889         * international/latin1-disp.el (latin1-char-displayable-p):
2890         * progmodes/cwarn.el (turn-on-cwarn-mode):
2891         * progmodes/which-func.el (which-func-update-1):
2892         Use define-obsolete-function-alias.
2894         * net/newst-backend.el (newsticker-cache-filename):
2895         * net/newst-treeview.el (newsticker-groups-filename):
2896         Fix incorrect obsolescence declaration.
2898         * allout.el (allout-passphrase-hint-string): Likewise.
2899         (allout-init): Use a declare form to mark obsolete.
2901         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
2902         this applies to functions.
2904         * iswitchb.el (iswitchb-read-buffer): Move code of
2905         iswitchb-define-mode-map here, and delete that obsolete function.
2907         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
2908         font-lock-reference-face.
2910 2012-09-25  Glenn Morris  <rgm@gnu.org>
2912         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
2913         Doc fixes.
2915         * eshell/em-term.el (eshell-term-name):
2916         Default to term-term-name.  (Bug#12485)
2918 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
2920         * progmodes/python.el (python-shell-send-buffer): Better handling
2921         of "if __name__ == '__main__':" conditionals when sending the buffer.
2923 2012-09-24  Glenn Morris  <rgm@gnu.org>
2925         * eshell/esh-cmd.el (eshell-find-alias-function):
2926         Tighten up file-name regexp.  (Bug#12499)
2928 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
2930         Enhancements for triple-quote string syntax.
2931         * progmodes/python.el (python-quote-syntax): Remove.
2932         (python-syntax-propertize-function): New value.
2933         (python-syntax-count-quotes, python-syntax-stringify):
2934         New functions.
2936 2012-09-24  Chong Yidong  <cyd@gnu.org>
2938         * mail/supercite.el (sc-version): Remove obsolete function.
2939         (sc-describe): Don't mark as obsolete, since it is bound.
2940         (sc-submit-bug-report): Remove.
2942         * vc/log-edit.el (cvs-changelog-full-paragraphs)
2943         (cvs-commit-buffer-require-final-newline): Remove.
2944         (log-edit-require-final-newline)
2945         (log-edit-changelog-full-paragraphs): Default to t.
2947         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
2948         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
2949         * vc/vc.el (vc-checkout-carefully): Likewise.
2951         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
2952         (emerge-version): Remove.
2954         * progmodes/compile.el (compile-internal): Remove.
2955         (compilation-parse-errors-function): Fix typo.
2957         * international/mule.el (set-char-table-default): Remove.
2958         (set-coding-priority, make-coding-system, generic-char-p)
2959         (charset-list, charset-bytes, charset-id): Use declare to mark
2960         functions as obsolete.
2962         * vc/pcvs-defs.el (cvs-buffer-name-alist)
2963         (cvs-invert-ignore-marks): Remove references to obsolete vars.
2964         * vc/vc-hooks.el (vc-default-registered): Don't use
2965         vc-master-templates.
2967         * font-lock.el (font-lock-reference-face):
2968         Use define-obsolete-variable-alias.
2970         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
2971         * calendar/calendar.el (calendar-font-lock-keywords):
2972         * calendar/diary-lib.el (diary-font-lock-keywords)
2973         (diary-fancy-font-lock-keywords):
2974         * textmodes/reftex-sel.el (reftex-insert-docstruct):
2975         * textmodes/reftex-index.el (reftex-insert-index):
2976         * textmodes/reftex-cite.el (reftex-format-bib-entry):
2977         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2978         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
2979         * progmodes/prolog.el (prolog-font-lock-keywords):
2980         * progmodes/idlwave.el (idlwave-idl-keywords):
2981         * progmodes/ada-mode.el (ada-font-lock-keywords):
2982         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
2984 2012-09-24  Glenn Morris  <rgm@gnu.org>
2986         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
2988 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
2990         * progmodes/python.el (python-indent-line): More consistent cursor
2991         movement behavior.
2993 2012-09-23  Stefan Merten  <smerten@oekonux.de>
2995         * textmodes/rst.el: Fix compiler warning.
2997 2012-09-23  Roland Winkler  <winkler@gnu.org>
2999         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
3000         Transcribe also LaTeX hyphenation.
3001         (bibtex-reformat): Bug fix. Do not quote twice the elements of
3002         bibtex-reformat-previous-options.
3004 2012-09-23  Roland Winkler  <winkler@gnu.org>
3006         * proced.el (proced-renice-command): New variable.
3007         (proced-marked-processes): New function.
3008         (proced-with-processes-buffer): New macro.
3009         (proced-send-signal): Use them.
3010         (proced-renice): New command bound to r.
3012 2012-09-23  Roland Winkler  <winkler@gnu.org>
3014         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
3015         ibuffer-saved-filter-groups has one element, shortcut the call of
3016         completing-read.  (Bug#12331)
3018 2012-09-23  Chong Yidong  <cyd@gnu.org>
3020         * bindings.el (mode-line-toggle-read-only):
3021         * bs.el (bs-toggle-readonly):
3022         * buff-menu.el (Buffer-menu-toggle-read-only):
3023         * dired.el (dired-toggle-read-only):
3024         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
3026 2012-09-23  Chong Yidong  <cyd@gnu.org>
3028         * image.el (image-type-available-p): Adapt to init-image-library
3029         argument changes.
3031 2012-09-22  Juri Linkov  <juri@jurta.org>
3033         * dired.el (dired-mode-map): Add [remap read-only-mode] for
3034         `dired-toggle-read-only'.  (Bug#12462)
3036 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
3038         * subr.el (temp-output-buffer-show): New function.
3039         (with-output-to-temp-buffer): Call temp-output-buffer-show
3040         instead of internal-temp-output-buffer-show.
3042 2012-09-22  Chong Yidong  <cyd@gnu.org>
3044         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
3045         (Bug#12462).
3047         * repeat.el (repeat): Doc fix (Bug#12348).
3049         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
3050         (Bug#10909).
3052         * simple.el (shell-command-on-region): Doc fix.
3053         (read-only-mode): Doc fix.
3055 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
3057         * emacs-lisp/timer.el (run-with-idle-timer)
3058         (timer-activate-when-idle): Warn against reinvoking an idle timer
3059         from within its own timer action.  (Bug#12447)
3061 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
3063         * cus-start.el (window-combination-limit): Add new optional
3064         values.
3065         * window.el (temp-buffer-window-show)
3066         (window--try-to-split-window): Handle new values of
3067         window-combination-limit (Bug#1806).
3068         (split-window): Test window-combination-limit for t instead of
3069         non-nil.
3070         (display-buffer-at-bottom): New buffer display action function.
3071         * help.el (temp-buffer-resize-regexps): New option.
3072         (temp-buffer-resize-mode): Rewrite doc-string.
3073         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
3074         Don't resize reused window.  Suggested by Glenn Morris.
3076 2012-09-22  Stefan Merten  <smerten@oekonux.de>
3078         * textmodes/rst.el: Revamp section title faces.
3079         (rst-official-version)
3080         (rst-package-emacs-version-alist): Sync with official version
3081         V1.4.0.
3082         (rst-faces-defaults, rst-set-level-default)
3083         (rst-level-face-max, rst-level-face-base-color)
3084         (rst-level-face-base-light, rst-level-face-format-light)
3085         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
3086         (rst-adornment-faces-alist): Match new setup.
3087         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
3088         (rst-level-5, rst-level-6): New faces.
3090 2012-09-22  Chong Yidong  <cyd@gnu.org>
3092         * simple.el (undo): Handle indirect buffers (Bug#8207).
3094 2012-09-21  Leo Liu  <sdl.web@gmail.com>
3096         IDO: Disable match re-ordering for buffer switching.
3097         * ido.el (ido-buffer-disable-smart-matches): New variable.
3098         (ido-set-matches-1): Use it.  (Bug#2042)
3100 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
3102         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
3103         Fix 2011-05-17 change.  (Bug#12418)
3105 2012-09-21  Leo Liu  <sdl.web@gmail.com>
3107         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
3109 2012-09-21  Glenn Morris  <rgm@gnu.org>
3111         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
3112         Be more robust about locating simple.el.
3114 2012-09-21  Glenn Morris  <rgm@gnu.org>
3116         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
3118 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
3120         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
3122 2012-09-20  Juri Linkov  <juri@jurta.org>
3124         * replace.el (query-replace-read-from): Use `read-regexp' instead
3125         of `read-from-minibuffer' when `regexp-flag' is non-nil.
3126         (occur-read-primary-args): Use `read-regexp' instead of
3127         `read-string'.
3128         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
3129         `read-from-minibuffer'.
3130         * isearch.el (isearch-occur): Use `read-regexp' instead of
3131         `read-string'.
3132         * dired.el (dired-read-regexp): Use `read-regexp' instead of
3133         `read-from-minibuffer'.
3134         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
3135         of `read-string'.  (Bug#7567)
3137         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
3138         and allow accepting a list of strings prepended to a list of
3139         standard default values.  Doc fix.  (Bug#12321)
3141         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
3143         * replace.el (read-regexp): Don't add ": " when PROMPT already
3144         ends with a colon and space.  (Bug#12321)
3146 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
3148         * doc-view.el (doc-view-display): Better fix for the cl-assertion
3149         error.
3151 2012-09-20  Stefan Merten  <smerten@oekonux.de>
3153         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
3154         Fixes feature request bug#11711.
3155         (rst-mode): Create `imenu-create-index-function'.
3156         (rst-get-stripped-line): Delete after refactoring.
3157         (rst-section-tree, rst-section-tree-rec)
3158         (rst-section-tree-point): Refactor and document properly.
3159         (rst-imenu-find-adornments-for-position)
3160         (rst-imenu-convert-cell, rst-imenu-create-index):
3161         New function.
3163 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3165         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
3166         (macroexp--expand-all): Use it.
3167         (macroexp--funcall-and-return): Remove by folding it into its sole
3168         caller (macroexp--warn-and-return).
3169         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
3170         Use macroexp--obsolete-warning.
3172         * calc/calc.el: Fix last change by removing the whole chunk, since it
3173         was only needed back when Calc was not bundled.
3175 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
3177         * emacs-lisp/debug.el (debug): Restore assignment to
3178         debugger-old-buffer removed on 2012-09-08.
3180 2012-09-20  Juri Linkov  <juri@jurta.org>
3182         * dired-aux.el (dired-diff): Remove (require 'diff) since
3183         `diff-latest-backup-file' is now autoloaded.
3185 2012-09-20  Chong Yidong  <cyd@gnu.org>
3187         * vc/diff.el (diff-latest-backup-file): Autoload.
3189 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3191         * calc/calc.el: Remove redundant autoload shape check.
3192         (sel-mode): Don't defvar.
3193         (calc-get-stack-element): Add `sel-mode' arg instead.
3194         (calc-top, calc-top-list): Pass it this additional argument.
3195         * calc/calc-store.el (calc-store-map):
3196         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
3197         (calc-map-equation, calc-outer-product, calc-inner-product):
3198         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
3200         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
3202 2012-09-19  Juri Linkov  <juri@jurta.org>
3204         * dired-aux.el (dired-diff): Add (require 'diff) because
3205         `diff-latest-backup-file' is not autoloaded.
3206         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
3207         of `dired-get-filename' to t to not report error when there is
3208         no default file on the current line.
3210 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3212         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
3213         macroexp--eval-if-compile.
3214         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
3215         (macroexp--expand-all): Use them (bug#12371).
3217         * doc-view.el (doc-view-guess-paper-size)
3218         (doc-view-scale-bounding-box): Fix unbound `caddr'.
3220 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
3222         New feature: set optimal slice from BoundingBox information.
3223         * doc-view.el (doc-view-mode-map): Add keybinding.
3224         (doc-view-menu): Add menu entry.
3225         (doc-view-set-slice): Adapt docstring.
3226         (doc-view-get-bounding-box, doc-view-guess-paper-size)
3227         (doc-view-scale-bounding-box)
3228         (doc-view-set-slice-from-bounding-box): New functions.
3229         (doc-view-paper-sizes): New defvar.
3231 2012-09-19  Glenn Morris  <rgm@gnu.org>
3233         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
3234         (byte-compile-log-warning): Autoload.  (Bug#12371)
3236         * calendar/calendar.el (calendar-american-month-header)
3237         (calendar-european-month-header, calendar-iso-month-header)
3238         (calendar-month-header): New options.
3239         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
3240         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
3242 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
3244         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
3246 2012-09-18  Juri Linkov  <juri@jurta.org>
3248         * dired-aux.el (dired-diff): Restore original functionality of
3249         getting the default value, but keep new feature of using the
3250         latest existing backup file (`diff-latest-backup-file').
3252 2012-09-18  Juri Linkov  <juri@jurta.org>
3254         * dired.el (dired-mark): If the region is active in Transient Mark
3255         mode, mark all files in the active region.  Doc fix.
3256         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
3257         Doc fix.  (Bug#10624)
3259 2012-09-18  Juri Linkov  <juri@jurta.org>
3261         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
3262         attributes for M-n are pulled from the file at point.
3263         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
3264         Suggested by Drew Adams.  (Bug#10624)
3266 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
3268         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
3269         whitespace after "end".
3270         (ruby-do-end-to-brace): Collapse block to one line if it fits
3271         within fill-column.
3273 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
3275         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
3276         value.
3277         (debug): Don't remove debugger window when debugger is expected
3278         to be back.
3280 2012-09-18  Chong Yidong  <cyd@gnu.org>
3282         * custom.el (defface): Doc fix.
3284         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
3286 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
3288         * progmodes/compile.el (compilation-start): Use compilation-always-kill
3289         to initialize query-on-exit; then test that instead (bug#12288).
3291 2012-09-17  Stefan Merten  <smerten@oekonux.de>
3293         * textmodes/rst.el: Add support for `testcover'.
3294         (rst-defcustom-testcover, rst-testcover-add-compose)
3295         (rst-testcover-add-1value): New functions.
3296         (rst-portable-mark-active-p): Replace by `use-region-p'.
3297         (rst-update-section, rst-classify-adornment)
3298         (rst-find-title-line): Mark `1value' forms.
3299         (rst-classify-adornment): Remove superfluous form.
3300         (rst-update-section, rst-get-adornments-around)
3301         (rst-adornment-complete-p, rst-get-next-adornment)
3302         (rst-adjust, rst-promote-region)
3303         (rst-display-adornments-hierarchy, rst-straighten-adornments)
3304         (rst-find-pfx-in-region, rst-section-tree-rec)
3305         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
3306         (rst-toc-node, rst-toc, rst-forward-section)
3307         (rst-iterate-leftmost-paragraphs)
3308         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
3309         (rst-bullet-list-region)
3310         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
3311         (rst-compile-find-conf, rst-compile)
3312         (rst-repeat-last-character): Fix style.
3314 2012-09-17  Chong Yidong  <cyd@gnu.org>
3316         * comint.el (comint--complete-file-name-data): Don't add a space
3317         if the status is `sole'; that adds a gratuitous space in the
3318         completion-cycling case (Bug#12092).
3320         * pcomplete.el (pcomplete-completions-at-point): Likewise.
3322 2012-09-17  Richard Stallman  <rms@gnu.org>
3324         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
3325         only in the mime-shown mode, not in raw mode.
3326         (rmail-mime): Toggle off mime by displaying the message without
3327         mime processing.  (Bug#12305)
3329         * mail/rmail.el (rmail-retry-failure):
3330         Turn off mime processing first.  (Bug#12037)
3332         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
3334 2012-09-17  Chong Yidong  <cyd@gnu.org>
3336         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
3337         (shell-dynamic-complete-functions): Convert to defcustom.
3338         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
3340         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
3341         * comint.el (comint-prompt-read-only):
3342         * custom.el (defcustom):
3343         * hi-lock.el (hi-lock-mode):
3344         * ibuffer.el (ibuffer-formats):
3345         * ielm.el (ielm-prompt-read-only):
3346         * novice.el (disable-command):
3347         * saveplace.el (toggle-save-place):
3348         * speedbar.el (speedbar-supported-extension-expressions):
3349         * startup.el (auto-save-list-file-prefix, init-file-user)
3350         (after-init-hook, inhibit-startup-echo-area-message):
3351         * strokes.el (strokes-help):
3352         * time-stamp.el (time-stamp):
3353         * calendar/calendar.el (calendar, diary-file):
3354         * calendar/diary-lib.el (diary-mail-entries, diary)
3355         (diary-list-entries-hook):
3356         * calendar/holidays.el (holidays, calendar-holidays):
3357         * calendar/lunar.el (lunar-phases):
3358         * calendar/solar.el (sunrise-sunset):
3359         * emulation/edt.el (edt-load-keys):
3360         * emulation/viper.el (viper-mode):
3361         * eshell/em-alias.el (eshell-command-aliases-list):
3362         * eshell/esh-util.el (eshell-convert-numeric-arguments):
3363         * international/ogonek.el (ogonek-information):
3364         * net/tramp-cmds.el (tramp-bug):
3365         * net/quickurl.el (quickurl-reread-hook-postfix):
3366         * play/decipher.el (decipher-font-lock-keywords):
3367         * progmodes/cc-styles.el (c-set-style):
3368         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
3369         * progmodes/inf-lisp.el (inferior-lisp-prompt):
3370         * progmodes/octave-mod.el (octave-mode):
3371         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
3372         * progmodes/verilog-mode.el (verilog-read-defines):
3373         * textmodes/two-column.el (2C-mode): Likewise.
3375 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
3377         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
3378         that holds many addresses.
3380 2012-09-16  Chong Yidong  <cyd@gnu.org>
3382         * align.el (align-areas): Call the indication function with
3383         positions instead of markers for arguments (Bug#12343).
3385         * files.el (parse-colon-path): Use split-string (Bug#12351).
3387         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
3388         (display-buffer-function): Mark as obsolete.
3390         * progmodes/compile.el (compilation-parse-errors): Accept list
3391         values similar to font-lock-keywords (Bug#12136).
3392         Suggested by Oleksandr Manzyuk.
3393         (compilation-error-regexp-alist): Doc fix.
3395 2012-09-15  Glenn Morris  <rgm@gnu.org>
3397         * version.el (emacs-bzr-version-bzr): New function.
3398         (emacs-bzr-get-version): Add optional EXTERNAL argument.
3400         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
3401         checkouts, check the parent dirstate matches the branch.
3402         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
3403         empty string.
3405         * version.el (emacs-bzr-version): Doc fix.
3406         (emacs-bzr-version-dirstate): New function.
3407         (emacs-bzr-get-version): For lightweight checkouts, if the parent
3408         is local try and check that it matches the branch.  If not, just
3409         use dirstate information.  (Bug#12441)
3411 2012-09-14  Juri Linkov  <juri@jurta.org>
3413         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
3414         (Bug#12399)
3416 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3418         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
3420         * emacs-lisp/edebug.el: Miscellaneous cleanup.
3421         Remove obsolete byte-compiler hack that tried to silence some warnings.
3422         (edebug-submit-bug-report): Remove.
3423         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
3424         Remove aliases, use the un-prefixed name instead.
3425         (edebug-pop-to-buffer): Consider other frames.
3426         (edebug-original-read):: Make it more obvious that it's always defined.
3427         (edebug--make-form-data-entry, edebug--form-data-name)
3428         (edebug--form-data-begin, edebug--form-data-end): Rename from the
3429         single-dashed name, and implement with cl-defstruct.
3430         (edebug-set-form-data-entry): Use the standard accessors.
3431         (edebug-make-top-form-data-entry): Use push.
3432         (edebug-no-match): Drop useless `funcall'.
3433         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
3434         to functions.
3435         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
3436         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
3437         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
3438         (easy-menu-define, with-custom-print): Remove redundant specs.
3439         (edebug-outside-overriding-local-map)
3440         (edebug-outside-overriding-terminal-local-map): Remove, unused.
3441         (edebug--display): Bind unread-command-events directly to nil rather
3442         than binding it to unread-command-events and later setting it to nil.
3443         (edebug--display): Kill edebug-eval-buffer here...
3444         (edebug--recursive-edit): ...rather than here.
3445         Bind standard-output and standard-input.
3446         (edebug-eval): Check cl-macroexpand-all is fboundp.
3447         (edebug-temp-display-freq-count): Fix last change.
3449         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
3450         * subr.el (noreturn, 1value): Add `debug' spec.
3451         * emacs-lisp/advice.el: Require cl-lib.
3452         (ad-copy-tree): Remove, use copy-tree instead.
3453         (ad-dolist): Remove use dolist or cl-dolist instead.
3454         (ad-do-return): Remove, use cl-return instead.
3455         (defadvice): Add `debug' spec.
3457 2012-09-13  Juri Linkov  <juri@jurta.org>
3459         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
3460         (Bug#12399)
3462 2012-09-13  Glenn Morris  <rgm@gnu.org>
3464         * calc/calc.el (math-compose-expr):
3465         * calc/calc-ext.el (math-compose-expr):
3466         * progmodes/cc-defs.el (cl-macroexpand-all):
3467         * progmodes/cc-langs.el (delete-duplicates, mapcan)
3468         (cl-macroexpand-all): Update declarations.
3470         * vc/vc.el: No need to require ediff.
3471         (ediff-load-version-control): Declare.
3472         (ediff-vc-internal): Fix declaration.
3473         (vc-version-ediff): Require ediff.
3475 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
3477         Use a more backwards-compatible timer format (Bug#12430).
3478         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
3479         being right after USECS, as that better supports old code that
3480         inadvisedly looked directly at the timer vector.
3482 2012-09-13  Kenichi Handa  <handa@gnu.org>
3484         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3485         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
3486         `coding-priority' property of these language environment.
3488 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
3490         Fix glitches caused by addition of psec to timers (Bug#12430).
3491         * image.el (image-animate-timer):
3492         * time.el (display-time-world-timer):
3493         Use timer--function and timer--args rather than raw access to
3494         timer vector.
3496 2012-09-13  Glenn Morris  <rgm@gnu.org>
3498         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
3499         If not compiling a file, try using load-file-name.
3501 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3503         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
3504         Fix last change.
3505         (edebug-update-eval-list): Use `push'.
3507         * emacs-lisp/edebug.el: Use lexical-binding.
3508         Remove the "edebug-" prefix from non-dynamically-scoped variables.
3509         Mark unused args with underscore.
3510         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
3511         (edebug-form-data): Use defvar-local.
3512         (edebug-make-before-and-after-form, edebug-make-after-form):
3513         Use backquote.
3514         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
3515         Not dynamically scoped any more.
3516         (edebug--enter-trace): Add arguments `function' and `args'.
3517         Rename from edebug-enter-trace.
3518         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
3519         (edebug--update-coverage): Add `after-index' and `value' args.
3520         Rename from edebug-update-coverage.
3521         (edebug-slow-after): Call it accordingly.
3522         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
3523         edebug-recursive-edit.
3524         (edebug--display): Call it accordingly.  Add args `value',
3525         `offset-index', and `arg-mode'.  Rename from edebug-display.
3526         (edebug-debugger, edebug): Call it accordingly.
3527         (edebug-eval-display-list): Use dolist.
3529 2012-09-12  Juri Linkov  <juri@jurta.org>
3531         * info.el (Info-search): Don't check for isearch-mode and
3532         isearch-regexp before let-binding search-spaces-regexp to
3533         Info-search-whitespace-regexp.
3534         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
3535         search-whitespace-regexp if isearch-lax-whitespace or
3536         isearch-regexp-lax-whitespace is non-nil.
3537         (Info-mode): Don't set local variable search-whitespace-regexp.
3538         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
3540 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3542         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
3543         (debugger-env-macro): Remove support for unread-command-char.
3545         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
3546         the temporary map re-appearing on emulation-mode-map-alists.
3548         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
3549         since 22.1.
3551         * ehelp.el (with-electric-help): Accept functions in
3552         electric-help-form-to-execute.
3553         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
3554         And replace unread-command-char -> unread-command-events.
3556 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
3558         Sync with Tramp 2.2.6.
3560         * net/tramp.el (tramp-accept-process-output): Don't use
3561         JUST-THIS-ONE in the XEmacs case.
3563         * net/trampver.el: Update release number.
3565 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
3567         * emacs-lisp/debug.el (debugger-previous-window-height):
3568         New variable.
3569         (debug): When debugger-jumping-flag is non-nil try to restore
3570         height of debugger window.  (Bug#8789)
3572 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3574         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
3575         overriding-local-map and pre/post-command-hook here.
3576         (edebug-recursive-edit): Do it here instead (bug#12345).
3577         (edebug-outside-unread-command-char): Remove all uses of
3578         unread-command-char.
3580         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
3581         inhibit-debugger is bound instead.
3583 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3585         * subr.el (set-temporary-overlay-map): Add a docstring.
3586         (Bug#12346)
3588 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3590         * minibuffer.el (completion-table-subvert): Fix docstring.
3591         (Bug#12347)
3593 2012-09-11  Bastien Guerry  <bzg@gnu.org>
3595         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
3597 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
3599         * progmodes/sql.el: Version 3.1
3600         (sql-db2-escape-newlines): New variable.
3601         (sql-escape-newlines-filter): Use it.
3603 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
3605         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
3607 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
3609         * vc/diff-mode.el (diff-mode-menu):
3610         Bind diff-remove-trailing-whitespace.
3612 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3614         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
3615         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
3616         (emacs-lisp-byte-code-mode): New functions.
3617         (eval-sexp-add-defvars): Don't skip defvars in column >0.
3618         (eval-defun-2): Remove bogus interactive spec.
3619         (lisp-indent-line): Remove redundant whole-exp code, now done in
3620         indent-according-to-mode.
3621         (save-match-data): Remove redundant indent data.
3623         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
3624         Use `declare'.
3626 2012-09-09  Juri Linkov  <juri@jurta.org>
3628         * replace.el (replace-regexp-lax-whitespace): New defcustom.
3629         (replace-lax-whitespace, query-replace-regexp)
3630         (query-replace-regexp-eval, replace-regexp): Doc fix.
3631         (perform-replace, replace-highlight): Let-bind
3632         isearch-lax-whitespace to replace-lax-whitespace and
3633         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
3635         * isearch.el (isearch-query-replace): Let-bind
3636         replace-lax-whitespace to isearch-lax-whitespace and
3637         replace-regexp-lax-whitespace to
3638         isearch-regexp-lax-whitespace.  (Bug#10885)
3640 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3642         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
3644 2012-09-09  Alan Mackenzie  <acm@muc.de>
3646         * progmodes/cc-engine.el (c-state-cache-init):
3647         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
3648         (c-record-parse-state-state):
3649         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
3651 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
3653         * register.el (register-separator): Rename from
3654         separator-register.  All uses changed.  Doc fix.
3655         (register): Fix version.
3657 2012-09-09  Chong Yidong  <cyd@gnu.org>
3659         * replace.el (query-replace-map): Bind four new symbols for
3660         requesting window scrolling.
3662         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
3663         query-replace-map (Bug#8948).
3665         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
3667         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
3668         since they are now in query-replace-map.
3670         * window.el (scroll-other-window-down): Make the arg optional.
3672 2012-09-09  Chong Yidong  <cyd@gnu.org>
3674         * files.el (hack-local-variables-confirm): Use quit-window to kill
3675         the *Local Variables* buffer.
3677 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
3679         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
3680         not just expect to be at its beginning.  Adjust callees.
3681         Succeed when do-end block has no space before the pipe character.
3682         (ruby-brace-to-do-end): When the original block is one-liner,
3683         convert to multiline.  Reindent the result.
3685 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
3687         * register.el (register): New group.
3688         (separator-register): New user option.
3689         (increment-register): Route it to `append-to-register', if
3690         register contains text.  Implication is that `C-x r +' can now be
3691         used for appending to a text register (bug#12217).
3692         (append-to-register, prepend-to-register): Add separator based on
3693         `separator-register'.
3695 2012-09-08  Alan Mackenzie  <acm@muc.de>
3697         AWK Mode: make auto-newline work when there's "==" in the pattern.
3698         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
3699         correctly.
3700         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
3701         Test more rigorously for "=" token.
3703 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
3705         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
3706         Only fail when reached LIMIT.
3708 2012-09-08  Chong Yidong  <cyd@gnu.org>
3710         * dired.el (dired-mode-map): Don't bind M-=.
3712         * dired-aux.el (dired-diff): Use backup file as default.
3714 2012-09-08  Drew Adams  <drew.adams@oracle.com>
3716         * subr.el (add-to-history): Fix delete usage (Bug#12314).
3718 2012-09-08  Chong Yidong  <cyd@gnu.org>
3720         * subr.el (syntax-after, syntax-class): Doc fix.
3722 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
3724         * window.el (display-buffer-in-previous-window): New buffer
3725         display action function.
3727         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
3728         (debugger-previous-window): New variable.
3729         (debug): Rewrite using display-buffer-in-previous-window,
3730         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
3732 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3734         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
3736 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
3738         * progmodes/python.el (python-shell-send-string):
3739         When default-directory is remote, create temp file on remote
3740         filesystem.
3741         (python-shell-send-file): When file is remote, pass local view of
3742         file paths to remote Python interpreter.  (Bug#12340)
3744 2012-09-07  Chong Yidong  <cyd@gnu.org>
3746         * window.el (switch-to-buffer): Doc fix (Bug#12181).
3748         * files.el (after-find-file): Don't fail on a read-only buffer if
3749         require-final-newline is `visit' or `visit-save' (Bug#11156).
3751         * subr.el (read-char-choice): Allow quitting via ESC ESC.
3753         * userlock.el (ask-user-about-supersession-threat):
3754         Use read-char-choice (Bug#12093).
3756 2012-09-07  Chong Yidong  <cyd@gnu.org>
3758         * subr.el (buffer-narrowed-p): New function.
3760         * ses.el (ses-widen):
3761         * simple.el (count-words--buffer-message):
3762         * net/browse-url.el (browse-url-of-buffer): Use it.
3764         * simple.el (count-words-region): Don't signal an error if there
3765         is a non-nil prefix arg and the mark is not set.
3767         * help.el (describe-key-briefly): Allow the message to be seen
3768         when invoked from the minibuffer (Bug#7014).
3770 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
3772         * progmodes/ruby-mode.el (ruby-end-of-defun)
3773         (ruby-beginning-of-defun): Simplify, allow indentation before
3774         block beginning and end keywords.
3775         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
3776         (ruby-end-of-defun): Expect that the point is at the beginning of
3777         the defun.
3779 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3781         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
3782         (bug#12367).
3783         (cl--make-usage-args): Strip _ from argument names.
3785 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3787         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
3788         obsolete alias speedbar-key-map.
3789         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
3790         (vhdl-index-menu-init): Don't use obsolete variable
3791         font-lock-maximum-size.
3793 2012-09-06  Chong Yidong  <cyd@gnu.org>
3795         * frame.el (window-system-version): Mark as obsolete.
3797         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
3798         of obsolete variable speedbar-key-map.
3800 2012-09-06  Juri Linkov  <juri@jurta.org>
3802         * replace.el (replace-lax-whitespace): New defcustom.
3803         (query-replace, query-replace-regexp, query-replace-regexp-eval)
3804         (replace-string, replace-regexp): Mention it in docstrings.
3805         (perform-replace, replace-highlight): Let-bind
3806         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
3807         to the values of replace-lax-whitespace and regexp-flag.
3808         Don't let-bind search-whitespace-regexp.  (Bug#10885)
3810         * isearch.el (isearch-query-replace): Let-bind
3811         replace-lax-whitespace instead of let-binding
3812         replace-search-function and replace-re-search-function.
3813         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
3814         and isearch-regexp-lax-whitespace to lazy-highlight variables.
3815         (isearch-toggle-symbol): Set isearch-regexp to nil
3816         in isearch-word mode (like in isearch-toggle-word).
3818 2012-09-06  Juri Linkov  <juri@jurta.org>
3820         * replace.el (replace-search-function)
3821         (replace-re-search-function): Set default values to nil.
3822         (perform-replace): Let-bind isearch-related variables based on
3823         replace-related values, call `isearch-search-fun' and let-bind
3824         the result to `search-function'.  Remove code that sets
3825         `search-function' and `search-string' separately for
3826         `delimited-flag'.
3827         (replace-highlight): Add new argument `delimited-flag' and
3828         rename other arguments to the names used in `perform-replace'.
3829         Let-bind `isearch-word' to the argument `delimited-flag'.
3830         (Bug#10885, bug#10887)
3832 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
3834         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
3835         ruby-beginning-of-indent, simplify, allow all keywords to have
3836         indentation before them.
3837         (ruby-beginning-of-indent): Adjust for above.  Search until the
3838         found point is not inside a string or comment.
3839         (ruby-font-lock-keywords): Allow symbols to start with "@"
3840         character, give them higher priority than variables.
3841         (ruby-syntax-propertize-function)
3842         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
3843         matchers.  Expression expansions are not comments when inside a
3844         string, and there comment syntax status is irrelevant.
3845         (ruby-match-expression-expansion): New function.  Check that
3846         expression expansion is inside a string, and it's not escaped.
3847         (ruby-font-lock-keywords): Use it.
3849 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
3851         * help.el (temp-buffer-max-height): New default value.
3852         (temp-buffer-resize-frames): New option.
3853         (resize-temp-buffer-window): Optionally resize frame.
3855         * window.el (fit-frame-to-buffer-bottom-margin): New option.
3856         (fit-frame-to-buffer): New function.
3858 2012-09-05  Glenn Morris  <rgm@gnu.org>
3860         * emulation/cua-rect.el (cua--init-rectangles):
3861         * textmodes/picture.el (picture-mode-map):
3862         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
3863         like forward-char and backward-char.  (Bug#12317)
3865 2012-09-05  Leo Liu  <sdl.web@gmail.com>
3867         * progmodes/flymake.el (flymake-warning-re): New variable.
3868         (flymake-parse-line): Use it.
3870 2012-09-05  Glenn Morris  <rgm@gnu.org>
3872         * calendar/holidays.el (holiday-christian-holidays):
3873         Rename an entry.  (Bug#12289)
3875 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3877         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
3878         (bug#12222).
3880 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3882         * loadup.el: Load macroexp.  Remove hack.
3883         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
3884         (macroexp--expand-all): Use it to get better warnings.
3885         (macroexp--backtrace, macroexp--trim-backtrace-frame)
3886         (internal-macroexpand-for-load): New functions.
3887         (macroexp--pending-eager-loads): New var.
3888         (emacs-startup-hook): New hack to replace one in loadup.el.
3889         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
3890         (cl--compiler-macro-cXXr): Move to top, before they can be used.
3891         (cl-psetf): Simplify.
3892         (cl-defstruct): Add indent rule.
3894 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
3896         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
3897         over `user-mail-address' for the SMTP MAIL FROM envelope.
3898         (smtpmail-via-smtp): Ditto.
3900 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
3902         * progmodes/ruby-mode.el: Clean up keybindings.
3903         (ruby-mode-map): Don't bind ruby-electric-brace,
3904         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
3905         backward-kill-word, reindent-then-newline-and-indent.
3906         (ruby-mark-defun): Remove.
3907         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
3908         (ruby-mode): Set local beginning-of-defun-function and
3909         end-of-defun-function values.
3911 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
3913         * window.el (temp-buffer-window-setup-hook)
3914         (temp-buffer-window-show-hook): New hooks.
3915         (temp-buffer-window-setup, temp-buffer-window-show)
3916         (with-temp-buffer-window): New functions.
3917         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
3918         (special-display-popup-frame): Make sure the window used shows BUFFER.
3920         * help.el (temp-buffer-resize-mode): Fix doc-string.
3921         (resize-temp-buffer-window): New optional argument WINDOW.
3923         * files.el (recover-file, save-buffers-kill-emacs):
3924         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
3926 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
3928         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
3929         remote definition of `default-directory', ensure we can connect.
3931 2012-09-02  Juri Linkov  <juri@jurta.org>
3933         Toggle whitespace matching mode with M-s SPC.
3934         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
3936         * isearch.el (search-whitespace-regexp): Doc fix.
3937         Remove cons cell customization.
3938         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
3939         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
3940         New variables.
3941         (isearch-forward, isearch-forward-regexp): Doc fix.
3942         (isearch-toggle-lax-whitespace): New command.
3943         (search-forward-lax-whitespace, search-backward-lax-whitespace)
3944         (re-search-forward-lax-whitespace)
3945         (re-search-backward-lax-whitespace): New functions.
3946         (isearch-whitespace-regexp): Remove function.
3947         (isearch-query-replace): Let-bind replace-search-function and
3948         replace-re-search-function.
3949         (isearch-occur): Let-bind search-spaces-regexp according to the
3950         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
3951         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
3952         condition for C-q SPC.
3953         (isearch-search-fun-default): Use new functions mentioned above.
3954         (isearch-search-forward, isearch-search-backward): Remove functions.
3955         (isearch-search): Don't let-bind search-spaces-regexp.
3956         (isearch-lazy-highlight-space-regexp): Remove variable.
3957         (isearch-lazy-highlight-lax-whitespace)
3958         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
3959         (isearch-lazy-highlight-new-loop): Use them.
3960         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
3962 2012-09-02  Chong Yidong  <cyd@gnu.org>
3964         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
3966 2012-09-02  Glenn Morris  <rgm@gnu.org>
3968         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
3970 2012-09-01  Glenn Morris  <rgm@gnu.org>
3972         * term.el: Tidy up menu definitions.
3973         (term-mode-map): Use easymenu for In/Out, Complete menus.
3974         (term-pager-break-map): Initialize in the defvar.
3975         (term-terminal-menu, term-signals-menu): Define with easymenu.
3976         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
3977         (term-pager-menu): New, extracted from term-process-pager.
3978         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
3979         (term-update-mode-line): Propertize line/char and page items.
3980         (term-process-pager): Move keymap initialization elsewhere.
3982 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
3984         * window.el (switch-to-prev-buffer): Handle additional values of
3985         BURY-OR-KILL argument.  Don't switch in minibuffer window.
3986         (switch-to-next-buffer): Don't switch in minibuffer window.
3987         (quit-restore-window): New function based on quit-window.
3988         Handle additional values of former KILL argument.
3989         (quit-window): Call quit-restore-window with appropriate
3990         interpretation of KILL argument.
3991         (display-buffer-below-selected): New buffer display action
3992         function.
3994 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3996         * minibuffer.el (completion-at-point-functions): Complete docstring
3997         (bug#12254).
3999 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
4001         Better seed support for (random).
4002         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
4003         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
4004         * play/mpuz.el, play/tetris.el, play/zone.el:
4005         * calc/calc-comb.el (math-init-random-base):
4006         * play/blackbox.el (bb-init-board):
4007         * play/life.el (life):
4008         * server.el (server-use-tcp):
4009         * type-break.el (type-break):
4010         Remove unnecessary call to (random t).
4011         * net/sasl.el (sasl-unique-id-function):
4012         Change (random t) to (random), now that the latter is more random.
4013         * play/life.el (life-initialized): Remove no-longer-needed var.
4015 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
4017         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
4018         Consider frame's buffer predicate when choosing the buffer.
4019         (Bug#12081)
4021 2012-08-30  Richard Stallman  <rms@gnu.org>
4023         * simple.el (special-mode-map): Delete binding for `z'.
4025 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
4027         * progmodes/compile.el (compilation-always-kill): Doc fix.
4029 2012-08-30  Chong Yidong  <cyd@gnu.org>
4031         * window.el (display-buffer-reuse-frames): Make the obsolescence
4032         message more informative.
4034 2012-08-30  Glenn Morris  <rgm@gnu.org>
4036         * paren.el (show-paren-delay):
4037         Add a :set function.  Doc fix.  (Bug#12297)
4039 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
4041         * progmodes/compile.el (compilation-always-kill): New var.
4042         (compilation-start): Use it.
4044 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4046         * simple.el (read-only-mode): Move from files.el for bootstrapping.
4047         * files.el (read-only-mode): Move to simple.el.
4049         * files.el (read-only-mode): New minor mode.
4050         (toggle-read-only): Use it and mark obsolete.
4051         (find-file--read-only):
4052         * vc/vc.el (vc-next-action, vc-checkout):
4053         * vc/vc-cvs.el (vc-cvs-checkout):
4054         * obsolete/vc-mcvs.el (vc-mcvs-update):
4055         * ffap.el (ffap--toggle-read-only): Update callers.
4057 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
4059         * eshell/esh-ext.el (eshell-external-command): Do not examine
4060         remote shell scripts.
4061         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
4063         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
4064         "/usr/local/sbin".
4066 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4068         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
4070 2012-08-28  Leo Liu  <sdl.web@gmail.com>
4072         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
4073         completion-at-point.  (Bug#12220)
4075         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
4077         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
4079 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4081         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
4082         be buffer-local; add delete-trailing-whitespace (bug#12259).
4084 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
4086         * progmodes/hideif.el (hif-compress-define-list):
4087         Fix typo.  (Bug#11951)
4089 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
4091         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
4092         buffer local setting.
4094         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
4095         rcirc-encode-coding-system.
4097 2012-08-28  Leo Liu  <sdl.web@gmail.com>
4099         * net/rcirc.el (rcirc-split-message): New function.
4100         (rcirc-send-message): Use it.  (Bug#12051)
4102 2012-08-28  Juri Linkov  <juri@jurta.org>
4104         * info.el (Info-fontify-node): Hide empty lines at the end of
4105         the node.  (Bug#12272)
4107 2012-08-27  Drew Adams  <drew.adams@oracle.com>
4109         * dired.el (dired-pop-to-buffer): Make window start at beginning
4110         of buffer (Bug#12281).
4112 2012-08-26  Chong Yidong  <cyd@gnu.org>
4114         * window.el (special-display-regexps, special-display-frame-alist)
4115         (special-display-buffer-names, special-display-function)
4116         (display-buffer-reuse-frames): Mark as obsolete.
4118         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
4120         * help.el (help-print-return-message): Don't treat
4121         display-buffer-reuse-frames specially.
4123 2012-08-26  Chong Yidong  <cyd@gnu.org>
4125         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
4126         New variable, replacing gdb-frame-parameters.
4127         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
4128         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
4129         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
4130         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
4131         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
4132         the functions directly with gdb-display-buffer-other-frame-action.
4133         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
4134         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
4135         (gdb-display-stack-buffer, gdb-display-locals-buffer)
4136         (gdb-display-registers-buffer): Define directly.
4137         (def-gdb-display-buffer): Macro deleted.
4138         (gdb-display-buffer): Remove second and third args, callers don't
4139         use them.  Defer to the default display-buffer behavior, apart
4140         from making windows dedicated.
4141         (gdb-setup-windows): Don't call display-buffer unnecessarily.
4143         * progmodes/gud.el (gud-display-line): Just use display-buffer.
4145         * window.el (display-buffer-pop-up-frame): Handle a
4146         pop-up-frame-parameters alist entry.
4147         (display-buffer): Document it.
4149 2012-08-26  Chong Yidong  <cyd@gnu.org>
4151         * isearch.el (search-whitespace-regexp): Make string and nil
4152         values apply to both ordinary and regexp search.  Allow a cons
4153         cell value to distinguish between the two.
4154         (isearch-whitespace-regexp, isearch-search-forward)
4155         (isearch-search-backward): New functions.
4156         (isearch-occur, isearch-search-fun-default, isearch-search)
4157         (isearch-lazy-highlight-new-loop): Use them.
4158         (isearch-forward, isearch-forward-regexp): Doc fix.
4160 2012-08-26  Chong Yidong  <cyd@gnu.org>
4162         * faces.el (help-argument-name): Always inherit from italic
4163         (Bug#12213).
4165 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
4167         * window.el (window--even-window-heights): Even heights when
4168         WINDOW and the selected window form a vertical combination.
4169         (display-buffer-use-some-window): Provide that window used gets
4170         sized back by quit-window.  (Bug#11880) and (Bug#12091)
4172 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
4174         Fix file time stamp problem with bzr and CVS (Bug#12001).
4175         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
4176         in the file's time stamp, since the version control system loses
4177         that information.
4179 2012-08-22  Juri Linkov  <juri@jurta.org>
4181         * info.el (Info-fontify-node): Hide the suffix of the
4182         Info file name in the header line.  (Bug#12187)
4184 2012-08-22  Glenn Morris  <rgm@gnu.org>
4186         * calendar/cal-tex.el (cal-tex-weekly-common):
4187         Restore leading blank page.
4189 2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
4191         * misc.el (forward-to-word, backward-to-word): Activate or extend
4192         the region under `shift-select-mode'.  (Bug#12231)
4194 2012-08-22  Bastien Guerry  <bzg@gnu.org>
4196         * progmodes/executable.el (executable-prefix): Set to "#!" instead
4197         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
4198         gives details on why the space is never needed.
4200 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
4202         * window.el (walk-window-tree, window-with-parameter):
4203         New optional argument MINIBUF to control whether these functions
4204         should run on the minibuffer window.
4205         (window-at-side-list): Don't operate on minibuffer window.
4206         (window-in-direction): Simplify and rewrite doc-string.
4207         (window--size-ignore): Rename to window--size-ignore-p.
4208         Update callers.
4209         (display-buffer-in-atom-window, window--major-non-side-window)
4210         (window--major-side-window, display-buffer-in-major-side-window)
4211         (delete-side-window, display-buffer-in-side-window):
4212         New functions.
4213         (window--side-check, window-deletable-p, delete-window)
4214         (delete-other-windows, split-window): Handle side windows and
4215         atomic windows appropriately.
4216         (window--display-buffer): Call display-buffer-record-window also
4217         when the window buffer did not change.
4219 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
4221         * help-fns.el (help-fns--key-bindings):
4222         Abbreviate non-symbol remap targets.  (Bug#12174)
4224 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
4226         * dired.el (dired-mark-remembered): Don't clobber point.
4227         (Bug#11795)
4229 2012-08-22  Glenn Morris  <rgm@gnu.org>
4231         * progmodes/bug-reference.el (bug-reference): New custom group.
4232         (bug-reference-bug-regexp): Make it a defcustom.
4234 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
4236         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
4237         (js-paren-indent-offset, js-square-indent-offset)
4238         (js-curly-indent-offset): Add :safe (Bug#12257).
4240 2012-08-22  Edward O'Connor  <hober0@gmail.com>
4242         * json.el (json-key-format): Add error properties.
4243         (json-encode-key): New function.
4244         (json-encode-hash-table, json-encode-alist, json-encode-plist):
4245         Use json-encode-key.
4247 2012-08-22  Glenn Morris  <rgm@gnu.org>
4249         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
4250         (cal-tex-leftday, cal-tex-rightday): Remove functions.
4251         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
4252         Update for above change.
4254 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
4256         * cus-face.el (custom-face-attributes): Fix customize type for the
4257         :underline attribute.  (Bug#11805)
4259 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
4261         * window.el (window-point-1, set-window-point-1): Remove.
4262         (window-in-direction, record-window-buffer)
4263         (set-window-buffer-start-and-point, split-window-below)
4264         (window--state-get-1, display-buffer-record-window):
4265         Replace calls to window-point-1 and set-window-point-1 by calls to
4266         window-point and set-window-point respectively.
4268 2012-08-21  Glenn Morris  <rgm@gnu.org>
4270         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
4271         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
4272         Use it.
4274         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
4275         (cal-tex-shortday): New function.
4276         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
4277         (cal-tex-cursor-filofax-daily): Use the above.
4279         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
4280         New functions.
4281         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4282         (cal-tex-cursor-filofax-week): Use them.
4284         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
4285         New constants.
4286         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
4287         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
4289         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
4290         (cal-tex-end-document): Don't rely on buffer name.
4292         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
4293         Use cal-tex-vspace.
4294         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
4295         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
4296         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
4297         Use cal-tex-arg.
4299         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
4300         (cal-tex-cursor-week, cal-tex-cursor-week2)
4301         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
4302         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4303         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
4304         (cal-tex-insert-preamble, cal-tex-b-document)
4305         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
4306         Improve cal-tex-cmd usage.
4308         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
4309         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
4310         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
4311         (cal-tex-weekly-paper): New function.
4312         (cal-tex-cursor-week, cal-tex-cursor-week2)
4313         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
4314         (cal-tex-cursor-day): Use it.
4316         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
4317         (cal-tex-cursor-filofax-week): Remove leading blank page.
4319         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4320         Add autoload cookie.  For now at least, don't use color, since
4321         no other cal-tex function does.
4323         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
4324         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
4325         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
4327 2012-08-21  Juri Linkov  <juri@jurta.org>
4329         * info.el (Info-file-attributes): New variable.
4330         (info-insert-file-contents): Add file attributes to
4331         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
4332         `Info-toc-nodes' when previous modtime of the Info file is less
4333         than new modtime.
4334         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
4335         of info.el.  (Bug#12230)
4337 2012-08-20  Glenn Morris  <rgm@gnu.org>
4339         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
4340         * calendar/holidays.el (calendar-holiday-list):
4341         Report errors with display-warning rather than beep'n'sleep.
4343 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
4345         * net/tramp.el (tramp-accept-process-output): Accept only output
4346         from PROC.  Otherwise, process filters and sentinels might be
4347         confused.  (Bug#12145)
4349 2012-08-20  Chong Yidong  <cyd@gnu.org>
4351         * descr-text.el (describe-text-properties-1): Use overlays-in to
4352         report on empty overlays (Bug#3322).
4354 2012-08-20  Glenn Morris  <rgm@gnu.org>
4356         * mail/rmailout.el (rmail-output-read-file-name):
4357         Trap and report errors in rmail-output-file-alist elements.
4359         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
4360         since most non-font-lock faces are not also variables).
4362 2012-08-20  Edward Reingold  <reingold@iit.edu>
4364         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
4365         New function.  (Bug12160)
4367 2012-08-19  Glenn Morris  <rgm@gnu.org>
4369         * mail/rmailout.el (rmail-output-read-file-name):
4370         Fix previous change (when the alist is nil or does not match).
4372 2012-08-19  Chong Yidong  <cyd@gnu.org>
4374         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
4375         (Bug#12228).
4377 2012-08-18  Chong Yidong  <cyd@gnu.org>
4379         * simple.el (yank-handled-properties): New defcustom.
4380         (yank-excluded-properties): Add font-lock-face and category.
4381         (yank): Doc fix.
4383         * subr.el (remove-yank-excluded-properties):
4384         Obey yank-handled-properties.  The special handling of font-lock-face
4385         and category is now done this way, instead of being hard-coded.
4386         (insert-for-yank-1): Remove font-lock-face handling.
4387         (yank-handle-font-lock-face-property)
4388         (yank-handle-category-property): New function.
4390 2012-08-17  Glenn Morris  <rgm@gnu.org>
4392         * mail/rmailout.el (rmail-output-read-file-name):
4393         Check rmail-output-file-alist against the full message body
4394         in the correct rmail buffer.  (Bug#12214)
4396 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
4398         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
4399         Eliminate superfluous prompt.  (Bug#12203)
4401 2012-08-17  Chong Yidong  <cyd@gnu.org>
4403         * mouse.el (mouse-appearance-menu): If x-select-font returns a
4404         font spec, set the font directly (Bug#3228).
4406 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
4408         * window.el (delete-window): Fix last fix.
4410 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
4412         * window.el (window-valid-p): Move to window.c.
4413         (window-child, window-child-count, window-last-child)
4414         (window-normalize-window, window-combined-p)
4415         (window-combinations, window-atom-root, window-min-size)
4416         (window-sizable, window-sizable-p, window-size-fixed-p)
4417         (window-min-delta, window-max-delta, window--resizable)
4418         (window--resizable-p, window-resizable, window-total-size)
4419         (window-full-height-p, window-full-width-p, window-body-size)
4420         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
4421         (minimize-window, window-deletable-p, delete-window)
4422         (delete-other-windows, set-window-buffer-start-and-point)
4423         (next-buffer, previous-buffer, split-window, balance-windows-2)
4424         (set-window-text-height, window-buffer-height)
4425         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
4426         (truncated-partial-width-window-p): Minor code adjustments.
4427         In doc-strings state whether the argument window has to denote a
4428         live, valid or any window.
4430 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
4432         * progmodes/subword.el (subword-forward-function)
4433         (subword-backward-function, subword-forward-regexp)
4434         (subword-backward-regexp): New variables.
4435         (subword-forward, subword-forward-internal, subword-backward-internal):
4436         Use new variables, eg so that different "word" definitions
4437         can be easily used.  (Bug#11411)
4439 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4441         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
4442         for composite selectors.
4443         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
4444         operation just because we can't find a previous revision.
4446 2012-08-15  Chong Yidong  <cyd@gnu.org>
4448         * frame.el (set-frame-font): Accept font objects.
4450 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
4452         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
4454 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
4456         * man.el (Man-overstrike-face, Man-underline-face)
4457         (Man-reverse-face): Remove variables.
4458         (Man-overstrike, Man-underline, Man-reverse): New faces.
4459         (Man-fontify-manpage): Use them instead of the variables.
4460         (Man-cleanup-manpage): Comment change.
4461         (Man-ansi-color-map): New variable.
4462         (Man-fontify-manpage): Use it.
4463         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
4465         Implement ANSI SGR parameters 22-27 (bug#12146).
4466         * ansi-color.el (ansi-colors): Doc fix.
4467         (ansi-color-context, ansi-color-context-region): Doc fix.
4468         (ansi-color--find-face): New function.
4469         (ansi-color-apply, ansi-color-apply-on-region): Use it.
4470         Rename the local variable `face' to `codes' since it is now a list of
4471         ansi codes.  Doc fix.
4472         (ansi-color-get-face): Remove.
4473         (ansi-color-parse-sequence): New function, derived from
4474         ansi-color-get-face.
4475         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
4476         codes 22-27.
4478 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4480         * subr.el (read-passwd): Allow use from a minibuffer.
4482 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
4484         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
4485         inside comments and strings as identifiers.
4487         * progmodes/gud.el (gud-tooltip-print-command): Quote the
4488         expression to evaluate.  This allows to evaluate expressions with
4489         embedded whitespace.
4490         (gud-tooltip-tips): Add a blank before the newline in the
4491         message-box text, for the benefit of message-box emulation on
4492         MS-Windows.
4494         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
4495         messages from GDB, pop them up in a tooltip to give feedback to
4496         user.
4497         (gdb-tooltip-print-1): Quote the expression to evaluate.
4498         This allows to evaluate expressions with embedded whitespace.
4499         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
4500         if the TTY name is nil or empty (which happens when communicating
4501         with the inferior via pipes, e.g. on MS-Windows).
4502         (gdb-internals): If GDB sends a "&\n" empty debugging message,
4503         don't send that to the GUD buffer.
4505 2012-08-14  Glenn Morris  <rgm@gnu.org>
4507         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4508         Optimize away setq-default with no args, as for setq.  (Bug#12195)
4510 2012-08-14  Chong Yidong  <cyd@gnu.org>
4512         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
4514         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
4515         (Bug#12085).
4517 2012-08-14  Glenn Morris  <rgm@gnu.org>
4519         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
4521 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
4523         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
4524         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4525         Use cached shell name.
4527 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
4529         * progmodes/python.el (python-shell-send-string):
4530         (python-shell-send-setup-code): Do not use `format' with `message'.
4532 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
4534         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
4535         (ruby-percent-literal-beg-re): New constant.
4536         (ruby-syntax-general-delimiters-goto-beg): Rename to
4537         `ruby-syntax-enclosing-percent-literal', improve literal type check.
4538         (ruby-syntax-propertize-general-delimiters): Rename to
4539         `ruby-syntax-propertize-percent-literal', it's a shorter and more
4540         popular term.  Adjust comments everywhere.
4541         (ruby-syntax-propertize-percent-literal): Only propertize when not
4542         inside a simple string or comment.  When the literal is unclosed,
4543         leave the text after it unpropertized.
4544         (ruby-syntax-methods-before-regexp): New constant.
4545         (ruby-syntax-propertize-function): Use it to recognize regexps.
4546         Don't look at the text after regexp, just use the whitelist.
4548 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
4550         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4551         non-nil always load the compiled file if it exists.  (Bug#12197)
4553 2012-08-14  Chong Yidong  <cyd@gnu.org>
4555         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
4556         (hi-lock-set-pattern): When deciding whether to use font lock or
4557         overlays, look at font-lock-mode instead of font-lock-fontified
4558         (Bug#12168).
4559         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
4560         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
4562 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
4564         * subr.el (internal--after-with-selected-window): Fix typo
4565         (Bug#12193).
4567 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
4569         Use `completion-table-dynamic' for completion functions.
4570         * progmodes/python.el
4571         (python-shell-completion--do-completion-at-point)
4572         (python-shell-completion--get-completions):
4573         Remove functions.
4574         (python-shell-completion-complete-at-point): New function.
4575         (python-completion-complete-at-point): Use it.
4577 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
4579         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
4580         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
4582 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4584         * subr.el (function-get): Refine `autoload' arg so it can also
4585         autoload functions for gv.el (bug#12191).
4586         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
4587         autoloads macros.
4589         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
4590         Prefer pcase-let over destructuring-bind.
4591         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
4592         Also, remove whitespace as we go, rather than after accumulating the
4593         various places.
4595         * subr.el (internal--before-with-selected-window)
4596         (internal--after-with-selected-window): Fix typo seleted->selected.
4597         (with-selected-window): Adjust callers.
4598         Reported by Dmitry Gutov <dgutov@yandex.ru>.
4600 2012-08-13  Bastien Guerry  <bzg@gnu.org>
4602         * window.el (special-display-popup-frame): Minor docstring
4603         enhancement.  (Bug#12172)
4605 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
4607         * tar-mode.el (tar-header-data-end): Only ignore size for files of
4608         type 1-6.
4609         (tar-header-block-summarize, tar-get-descriptor): Handle pax
4610         extended headers.
4612         * files.el (hack-local-variables-filter): Remove useless eval.
4614 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
4616         * subr.el (with-selected-window): Fix last change.
4618 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4620         * subr.el (internal--before-with-seleted-window)
4621         (internal--after-with-seleted-window): New functions.
4622         (with-selected-window): Use them, to replace dependency on
4623         tty-top-frame.
4625 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
4627         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
4628         binding for `newline'.
4629         (ruby-move-to-block): When moving backward, stop at block opening,
4630         not indentation.
4631         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
4632         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
4633         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4634         `ruby-toggle-block'.
4636 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4638         * ibuffer.el (ibuffer-do-toggle-read-only):
4639         * dired.el (dired-toggle-read-only):
4640         * buff-menu.el (Buffer-menu-toggle-read-only):
4641         * bindings.el (mode-line-toggle-read-only):
4642         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
4644 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
4646         * descr-text.el (describe-char): Put the overlays over the
4647         "displayed as" character.
4649 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
4651         * calc/calc-units.el (math-default-units-table): Give an
4652         initial value.
4653         (math-put-default-units): Add options to put composite units and
4654         unit systems in the default units table.
4655         (calc-convert-units): Send composite units to
4656         `math-put-default-units' when appropriate.
4658 2012-08-11  Glenn Morris  <rgm@gnu.org>
4660         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
4662         * tutorial.el (help-with-tutorial):
4663         * emacs-lisp/copyright.el (copyright-update-directory):
4664         * emacs-lisp/autoload.el (autoload-find-generated-file)
4665         (autoload-find-file): Disable local eval: (for insurance).
4667         * files.el (hack-local-variables-filter): If an eval: form is not
4668         known to be safe, and enable-local-variables is :safe, then ignore
4669         the form totally, as is done for non-eval forms.  (Bug#12155)
4670         This is CVE-2012-3479.
4672 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4674         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
4675         (rx-form): Simplify.
4677 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
4679         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
4680         ?, _, and : are symbol constituents, ! is not (but kinda should be).
4681         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
4682         (ruby-syntax-propertize-function): Adjust for changes in
4683         `ruby-syntax-propertize-heredoc'.
4685 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
4687         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
4688         binding (use `M-;' instead).
4689         (ruby-singleton-class-p): New function.
4690         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
4692 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4694         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
4696 2012-08-10  Chong Yidong  <cyd@gnu.org>
4698         * progmodes/python.el (python-shell-get-process-name): Don't mess
4699         with same-window-buffer-names.
4701         * eshell/eshell.el (eshell-add-to-window-buffer-names)
4702         (eshell-remove-from-window-buffer-names): Make obsolete.
4703         (eshell-buffer-name, eshell-unload-hook): Don't use them.
4704         (eshell): Just use pop-to-buffer-same-window instead.
4706 2012-08-10  Chong Yidong  <cyd@gnu.org>
4708         * bindings.el: Bind M-= back to count-words-region.
4710         * simple.el (count-words-region): Accept a prefix arg for acting
4711         on the entire buffer.
4712         (count-words--buffer-message): New helper function.
4714 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4716         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
4717         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
4718         (event-start, event-end): Use posn-at-point to return a more
4719         informative posn.
4720         (posnp): New function.
4721         * mouse.el (popup-menu-normalize-position): Use it.
4723 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
4725         * mouse.el (popup-menu-normalize-position): New function.
4726         (popup-menu): Use `popup-menu-normalize-position' to normalize
4727         the form for POSITION argument.
4729         * term/x-win.el (x-menu-bar-open):
4730         Use the value returend from (posn-at-point) as position
4731         passed to `popup-menu'.
4733 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
4735         * calc/calccomp.el (math-compose-expr): Add extra argument
4736         indicating that parentheses should be put around products in
4737         denominators.  Give multiplication precedence over division during
4738         composition.
4740 2012-08-09  Chong Yidong  <cyd@gnu.org>
4742         * man.el (Man-switches, Man-sed-command, Man-awk-command)
4743         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
4744         (Man-untabify-command, manual-program): Convert to defcustom
4745         (Bug#10429).
4747         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
4749         * descr-text.el (describe-char): Don't insert extra newlines
4750         (Bug#10127).
4752         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
4753         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
4755         * align.el (align-region): Delete temporary markers (Bug#10047).
4756         Plus some code cleanups.
4758 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
4760         * progmodes/python.el (python-pdbtrack-tracked-buffer)
4761         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
4762         (python-shell-internal-last-output): Use make-local-variable
4763         instead of make-variable-buffer-local.
4765 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
4767         * progmodes/python.el: Enhancements to forward-sexp.
4768         (python-nav-forward-sexp): Rename from
4769         python-nav-forward-sexp-function.
4770         (python-nav--forward-sexp, python-nav--backward-sexp):
4771         New functions.
4773 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
4775         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
4776         modes and simplification modes.
4778 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4780         * delsel.el (delete-selection-pre-hook): Don't propagate the
4781         file-supersession signals (bug#12161).
4783 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4785         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
4786         (cl-map-extents): Add compatibility aliases (bug#12135).
4788 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
4790         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
4791         tests by `ignore-error'.
4792         (tramp-find-shell): Open also a new shell, when cache is already
4793         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
4795 2012-08-08  Juri Linkov  <juri@jurta.org>
4797         * bookmark.el: Add `defaults' property to the bookmark record.
4798         (bookmark-current-buffer): Doc fix.
4799         (bookmark-make-record): Add `defaults' property with default values
4800         to the bookmark record.
4801         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
4802         with `bookmark-insert-current-bookmark'.
4803         (bookmark-set): Get `defaults' property from the bookmark record
4804         and use it in `read-from-minibuffer'.
4805         (bookmark-insert-current-bookmark): Remove function.
4807         * info.el (Info-bookmark-make-record): Add `defaults' property
4808         with values of canonical Info node name, the current Info file
4809         name and the current Info node name.  (Bug#12107)
4811 2012-08-08  Juri Linkov  <juri@jurta.org>
4813         * files.el (basic-save-buffer): Use `buffer-name' as the default
4814         of `read-file-name' when buffer is not visiting a file (bug#12128).
4816 2012-08-08  Juri Linkov  <juri@jurta.org>
4818         * info.el (Info-isearch-search): Doc fix.
4819         (Info-search): Change search-failed message from "initial node" to
4820         "end of node" (bug#12078).
4821         (Info-isearch-search): Change `isearch-string-state' to
4822         `isearch--state-string'.
4824 2012-08-08  Glenn Morris  <rgm@gnu.org>
4826         * language/persian.el: Remove file.
4827         * language/misc-lang.el: Move unique part of persian.el here.
4828         * loadup.el: Remove language/persian.
4830 2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
4832         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
4834 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
4836         * progmodes/python.el Fixed defsubst warning.
4837         (python-syntax-context) Rename from python-info-ppss-context.
4838         (python-syntax-context-type): Rename from
4839         python-info-ppss-context-type.
4840         (python-syntax-comment-or-string-p): Rename from
4841         python-info-ppss-comment-or-string-p.
4843 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
4845         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
4847 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
4849         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
4850         a defcustom that is quoted with backquote.
4852         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
4853         Fix handling of interactive spec when the body uses return.
4854         (math-do-arg-check, math-define-function-body): Use backquote forms.
4855         * calc/calc-ext.el (math-defcache): Likewise.
4856         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
4857         * allout.el (allout-new-exposure): Likewise.
4858         * calc/calcalg2.el (math-tracing-integral): Likewise.
4859         * info.el (Info-last-menu-item): Likewise.
4860         * emulation/vip.el (vip-loop): Likewise.
4861         * textmodes/artist.el (artist-funcall): Likewise.
4862         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
4863         Construct menu-item directly.
4865         * progmodes/autoconf.el (font-lock-syntactic-keywords):
4866         Don't declare.
4868 2012-08-07  Chong Yidong  <cyd@gnu.org>
4870         * simple.el (deactivate-mark): Preserve text properties when
4871         saving the primary selection (Bug#8384).
4873 2012-08-07  Kevin Ryde  <user42@zip.com.au>
4875         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
4876         (woman-parse-numeric-value): On a bad .IP line, issue a warning
4877         and continue processing (Bug#12110).
4879 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4881         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
4882         syntax-propertize-function (bug#10095).
4884 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4886         * help-fns.el (help-fns--key-bindings, help-fns--signature)
4887         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
4888         describe-function-1.
4889         (describe-function-1): Use them.  Move compiler macro after sig.
4890         (help-fns--compiler-macro): Use function-get.  Assume we're already in
4891         standard-output.  Adjust layout to new call order.
4893         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
4894         re-binding a symbol that has a symbol-macro (bug#12119).
4896 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
4898         * language/persian.el: New file.  (Bug#11812)
4899         * loadup.el: Add language/persian.el.
4901 2012-08-06  Chong Yidong  <cyd@gnu.org>
4903         * window.el (window--maybe-raise-frame): New function.
4904         (window--display-buffer): Split off from here.
4905         (display-buffer-reuse-window, display-buffer-pop-up-frame)
4906         (display-buffer-pop-up-window, display-buffer-use-some-window):
4907         Obey an inhibit-switch-frame action alist entry.
4908         (display-buffer): Update doc.
4910         * replace.el (occur-after-change-function): Avoid losing focus by
4911         using the inhibit-switch-frame display parameter (Bug#12139).
4913 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
4915         Make internal shell process buffer names start with space.
4916         * progmodes/python.el (python-shell-make-comint): Add optional
4917         argument INTERNAL.
4918         (run-python-internal): Use it.
4919         (python-shell-internal-get-or-create-process): Check for new
4920         internal buffer names.
4922 2012-08-06  Glenn Morris  <rgm@gnu.org>
4924         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
4925         Do less getting and setting of environment variables.
4927 2012-08-05  Chong Yidong  <cyd@gnu.org>
4929         * proced.el (proced): Add substitution string to docstring to
4930         trigger autoloading of the proced library on C-h f (Bug#1768).
4932         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4933         Don't show defvars which have no second argument (Bug#8638).
4935         * imenu.el (imenu-generic-expression): Move documentation here
4936         from imenu--generic-function.
4937         (imenu--generic-function): Refer to imenu-generic-expression.
4939 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
4941         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
4942         indentation declaration.
4943         (viper-loop): Add indentation declaration (Bug#7025).
4945 2012-08-05  Chong Yidong  <cyd@gnu.org>
4947         * help-fns.el (describe-variable): Add hyperlink for
4948         directory-local variables files.  Improve buffer-local and
4949         permanent-local reporting; suggested by MON KEY (Bug#6644).
4951         * help-mode.el (help-dir-local-var-def): New button type.
4953         * files.el (kill-buffer-hook): Provide a defvar.
4955 2012-08-05  Glenn Morris  <rgm@gnu.org>
4957         * eshell/esh-ext.el (eshell/addpath):
4958         Also update eshell-path-env.  (Bug#12013)
4960 2012-08-05  Chong Yidong  <cyd@gnu.org>
4962         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
4964         * fringe.el (fringe-styles): Add docstring.
4965         (fringe--check-mode): New function.
4966         (set-fringe-mode, set-fringe-style): Use it.
4967         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
4969         * files.el (set-auto-mode): Fix invalid setq call.
4971 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4973         * isearch.el: Misc simplification; use defstruct.
4974         (isearch-mode-map): Dense maps now work like sparse ones.
4975         (isearch--state): New defstruct.
4976         (isearch-string-state, isearch-message-state, isearch-point-state)
4977         (isearch-success-state, isearch-forward-state)
4978         (isearch-other-end-state, isearch-word-state, isearch-error-state)
4979         (isearch-wrapped-state, isearch-barrier-state)
4980         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
4981         replaced by defstruct's accessors.
4982         (isearch--set-state): Rename from isearch-top-state and change
4983         calling convention.
4984         (isearch-push-state): Use new isearch--get-state.
4985         (isearch-toggle-word): Disable regexp when enabling word.
4986         (isearch-message-prefix): Remove unused arg _c-q-hack.
4987         (isearch-message-suffix): Remove unused arg _ellipsis.
4989 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
4991         * simple.el (list-processes--refresh): For a server use :host or
4992         :local as the address.
4993         (list-processes): Doc fix.
4995 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
4997         * lisp/mpc.el: Support password in host argument.
4998         (mpc--proc-connect): Parse and use new password element.
4999         Set mpc-proc variable instead of returning process.
5000         (mpc-proc): Adjust accordingly.
5002 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
5004         * whitespace.el (whitespace-display-mappings): Use Unicode
5005         codepoints, instead of emacs-mule codepoints.  See
5006         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
5007         for the details.
5009         * files.el (file-truename): Don't skip symlink-chasing part on
5010         windows-nt.  Incorporate the resolution of 8+3 short aliases on
5011         Windows into the loop that recursively chases symlinks.
5012         Compare directory and its parent case-insensitively on MS-Windows and
5013         MS-DOS.
5015 2012-08-03  Chong Yidong  <cyd@gnu.org>
5017         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
5019         * sort.el (sort-regexp-fields): Doc fix.
5021 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
5023         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
5024         labels regex position point at the expected place.
5026 2012-08-03  MON KEY  <monkey@sandpframing.com>
5028         * net/imap.el (imap-interactive-login, imap-authenticate)
5029         (imap-mailbox-lsub, imap-mailbox-list)
5030         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
5031         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
5032         (imap-parse-response): Doc fix.
5034 2012-08-03  João Távora  <joaotavora@gmail.com>
5036         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
5037         if sexp scanning does not move point (Bug#5734).
5039 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
5041         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
5042         Add listings, minted, and ctable packages.
5043         (reftex-label-alist-builtin): Move listings, minted, and ctable
5044         entries before LaTeX.
5045         (reftex-label-alist): Docfix.
5047 2012-08-02  Bastien Guerry  <bzg@gnu.org>
5049         * replace.el (occur): Fix docstring (bug#12122).
5051 2012-08-02  Glenn Morris  <rgm@gnu.org>
5053         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
5055 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
5057         Obsolete alias inactivate-current-input-method-function (Bug#10150).
5058         * international/mule-cmds.el: Create
5059         inactivate-current-input-method-function as an obsolete alias for
5060         deactivate-current-input-method-function.  See Katsumi Yamaoka in
5061         <http://bugs.gnu.org/10150#46>.
5063 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
5065         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
5066         of nested `if's.
5068 2012-08-01  Glenn Morris  <rgm@gnu.org>
5070         * progmodes/autoconf.el (autoconf-definition-regexp):
5071         Add AH_TEMPLATE, adjust submatch numbering.
5072         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
5073         (autoconf-current-defun-function): Update for above change.
5074         (autoconf-current-defun-function): First skip to end of current word.
5076 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
5078         * calendar/cal-html.el (cal-html-insert-agenda-days):
5079         Fix typo.  (Bug#12018)
5081 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
5083         Shell processes: enhancements to startup and CEDET compatibility.
5084         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
5085         (python-shell-make-comint): accept-process-output at startup.
5086         (run-python-internal): Set inferior-python-mode-hook to nil.
5087         (python-shell-internal-get-or-create-process): call sit-for.
5088         (python-preoutput-result): Add obsolete alias.
5089         (python-shell-internal-send-string): Use it.
5090         (python-shell-send-setup-code): Remove call to
5091         accept-process-output.
5093 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
5095         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
5096         (Bug#12108)
5098 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
5100         * calc-mode.el (calc-basic-simplification-mode): Rename from
5101         `calc-limited-simplification-mode'.
5102         (calc-alg-simplification-mode): New function.
5103         (calc-set-simplify-mode): Adjust message.
5105         * calc.el (calc-set-mode-line): Adjust mode line display for
5106         basic simplification mode.
5108         * calc-help.el (calc-m-prefix-help): Update help message.
5110         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
5111         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
5113 2012-07-31  Bastien Guerry  <bzg@gnu.org>
5115         * man.el (man): Fix comment.  (bug#12101)
5117 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
5119         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
5120         Don't return a non-nil value when no suitable buffer was found.
5122 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
5124         * progmodes/python.el (run-python-internal): Disable font lock for
5125         internal shells.
5127 2012-07-30  Stefan Merten  <smerten@oekonux.de>
5129         * textmodes/rst.el: Silence `checkdoc-ispell'.
5130         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5131         (rst-official-version, rst-official-cvs-rev)
5132         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
5133         (rst-mode-map): New key binding.
5135 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
5137         Update .PHONY listings in makefiles.
5138         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
5139         autoloads, update-subdirs, updates, bzr-update, update-authors,
5140         compile-onefile, compile-calc, backup-compiled-files,
5141         compile-after-backup, compile-one-process, mh-autoloads,
5142         bootstrap-clean, distclean, maintainer-clean.
5144 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
5146         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
5147         (calc-set-mode-line): Don't display "AlgSimp ".
5149         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
5150         (calc-lim-simplify-mode): New function.
5151         (calc-set-simplify-mode): Default to 'alg.
5152         (calc-default-simplify-mode): Make algebraic simplifications
5153         the default.
5155         * calc/calc-ext.el (calc-init-extensions): Remove binding for
5156         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
5158         * calc/calc-help.el (calc-m-prefix-help): Change messages to
5159         indicate new simplification modes.
5161         * calc/README: Mention new default simplification mode.
5163         * calc/calc.el (math-normalize-error): New variable.
5164         (math-normalize): Set `math-normalize-error' to t
5165         when there's an error.
5167         * calc/calc-alg.el (math-simplify): Don't simplify when
5168         `math-normalize' returns an error.
5170 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
5172         * international/mule-cmds.el (set-locale-environment): Revert last
5173         change, since display-graphic-p returns nil when this function is
5174         called during startup.  Instead...
5176         * term/w32console.el (terminal-init-w32console): ...setup the
5177         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
5179 2012-07-29  Juri Linkov  <juri@jurta.org>
5181         * simple.el (goto-line): Don't display default line number in the
5182         prompt because it should be displayed by `read-number' (bug#9952).
5183         Add the current line number to the defaults of `goto-line' to
5184         allow its easier modification by users with `M-n' (bug#9201).
5186         * subr.el (read-number): Support multiple default values like in
5187         other minibuffer reading functions.  Replace `read' with
5188         `string-to-number' for consistency with `number-to-string'.
5190 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
5192         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
5193         * emulation/viper-init.el (viper-deactivate-input-method-action):
5194         Rename from viper-inactivate-input-method-action.
5195         (viper-deactivate-input-method):
5196         Rename from viper-inactivate-input-method.
5197         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
5198         * international/mule-cmds.el (deactivate-input-method):
5199         Rename from inactivate-input-method.
5200         Also run input-method-deactivate-hook.
5201         (deactivate-current-input-method-function):
5202         Rename from inactivate-current-input-method-function.
5203         (input-method-deactivate-hook): New hook.
5204         (input-method-inactivate-hook): Mark obsolete.
5205         (inactivate-input-method): Mark obsolete.
5207         * international/quail.el (quail-activate):
5208         Also run quail-deactivate-hook.
5209         (quail-deactivate): Rename from quail-inactivate.
5210         * international/robin.el (robin-activate):
5211         Also run robin-deactivate-hook.
5212         (robin-deactivate): Rename from robin-inactivate.
5214 2012-07-29  Chong Yidong  <cyd@gnu.org>
5216         * simple.el (indicate-copied-region): New function.
5217         (kill-ring-save): Split off from here.
5219         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
5220         (kill-rectangle): Set deactivate-mark to t on read-only error.
5222         * register.el (copy-to-register, copy-rectangle-to-register):
5223         Deactivate the mark, and use indicate-copied-region (Bug#10056).
5224         (append-to-register, prepend-to-register): Call indicate-copied-region.
5226 2012-07-29  Juri Linkov  <juri@jurta.org>
5228         * simple.el (async-shell-command-buffer): New defcustom.
5229         (shell-command): Use it.  (Bug#4719)
5231 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
5233         * international/mule-cmds.el (set-locale-environment): In a
5234         console session on MS-Windows, set up keyboard and terminal
5235         encoding from the OEM codepage, not the ANSI codepage.
5236         (Bug#12055)
5238 2012-07-28  Chong Yidong  <cyd@gnu.org>
5240         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
5241         gdb-get-location.
5243 2012-07-28  Leo Liu  <sdl.web@gmail.com>
5245         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
5246         the alist (bug#12029).
5248 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
5250         * makefile.w32-in (custom-deps, finder-data, updates, compile)
5251         (compile-always, compile-first)
5252         ($(lisp)/calendar/cal-loaddefs.el)
5253         ($(lisp)/calendar/diary-loaddefs.el)
5254         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5255         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
5256         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
5257         instead of on update-subdirs.
5258         (bootstrap-clean): Delete $(lisp)/subdirs.el.
5260 2012-07-28  Chong Yidong  <cyd@gnu.org>
5262         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
5263         directory if vc-deduce-backend returns nil (Bug#7350).
5265         * simple.el (delete-trailing-lines): New option.
5266         (delete-trailing-whitespace): Obey it (Bug#11879).
5268 2012-07-28  David Engster  <deng@randomsample.de>
5270         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
5271         Explanation of new 'symbol-qnames feature in doc-strings.
5272         (xml-maybe-do-ns): Return expanded names as plain symbols if
5273         'symbol-qnames was provided in XML-NS argument (Bug#11916).
5274         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
5276 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
5278         Consistent completion in inferior python with emacs -nw.
5279         * progmodes/python.el (inferior-python-mode): replace "<tab>"
5280         binding in inferior-python-mode-map with "\t".
5281         (python-shell-completion-complete-at-point)
5282         (python-completion-complete-at-point): Remove interactive spec.
5284 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
5286         * calc/calccomp.el (math-compose-expr): Undo previous change.
5288 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
5290         * progmodes/python.el (python-mode-map): Add keybinding for
5291         run-python.
5292         (python-shell-make-comint): Fix pop-to-buffer call.
5293         (run-python): Autoload.  New arg SHOW.
5294         (python-shell-get-or-create-process): Do not pop python process
5295         buffer.
5297 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
5299         * notifications.el (notifications-on-action-signal)
5300         (notifications-on-closed-signal): Use also the bus address for the map.
5301         (notifications-notify, notifications-close-notification)
5302         (notifications-get-capabilities): Add optional argument BUS.
5304 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
5306         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
5307         Add support for the lstlisting and minted environments, and for the
5308         ctable macro.
5309         * textmodes/reftex.el (reftex-compile-variables): Also recognize
5310         labels written in keyvals syntax.
5312 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
5314         * calc/calccomp.el (math-compose-expr): Use parentheses when
5315         there is a product in the denominator of a fraction.
5317 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
5319         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
5320         ($(lisp)/calendar/diary-loaddefs.el)
5321         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
5322         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
5323         Fixes failures in parallel bootstrap because subdirs.el is being
5324         rewritten while the autoload files are built at the same time,
5325         which needs to load subdirs.el.
5327 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
5329         * mouse.el (popup-menu): Fix doc-string and re-indent code.
5330         (mouse-drag-line): Don't exit tracking when a switch-frame or
5331         switch-window event occurs (Bug#12006).
5333 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5335         * mouse.el (popup-menu): Fix last change.
5337 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5339         Autoload from Lisp with more care.  Follow aliases when looking for
5340         function properties.
5341         * subr.el (autoloadp): New function.
5342         (symbol-file): Use it.
5343         (function-get): New function.
5344         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
5345         autoload-do-load.
5346         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
5347         (lisp-indent-function):
5348         * emacs-lisp/gv.el (gv-get):
5349         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
5350         * emacs-lisp/byte-opt.el (byte-optimize-form):
5351         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
5352         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
5353         Use function-get.
5354         * emacs-lisp/cl.el: Don't propagate function properties any more.
5356         * speedbar.el (speedbar-add-localized-speedbar-support):
5357         * emacs-lisp/disass.el (disassemble-internal):
5358         * desktop.el (desktop-load-file):
5359         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
5360         (describe-function-1):
5361         * emacs-lisp/find-func.el (find-function-noselect):
5362         * emacs-lisp/elp.el (elp-instrument-function):
5363         * emacs-lisp/advice.el (ad-has-proper-definition):
5364         * apropos.el (apropos-safe-documentation, apropos-macrop):
5365         * emacs-lisp/debug.el (debug-on-entry):
5366         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
5367         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
5368         * calc/calc.el (name): Use autoloadp & autoload-do-load.
5370 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
5372         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
5373         function, not an obsolete variable (Bug#12046).
5375 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
5377         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
5379 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
5381         * emacs-lisp/pp.el (pp-display-expression): Select old selected
5382         window only if it is still live (Bug#12034).
5384 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
5386         * subr.el (redirect-frame-focus): Add advertised calling
5387         convention (Bug#12030).
5389 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
5391         Prefer typical American spelling for "acknowledgment".
5392         * vc/add-log.el (change-log-acknowledgment): Rename from
5393         change-log-acknowledgement, with an alias for the old name.
5395 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
5397         * calc-alg.el (math-simplify-divide): Don't cross multiply
5398         in an equation when the lhs is a variable.
5400 2012-07-24  Julien Danjou  <julien@danjou.info>
5402         * net/netrc.el (netrc-find-service-number, netrc-store-data):
5403         Remove, unused.
5405 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
5407         * startup.el (command-line): Don't display an empty user name in
5408         the error message about non-existent home directory, when
5409         init-file-user was set to an empty string.  See
5410         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
5411         for the details and context.
5413 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5415         * ses.el (ses-cell-formula-aset): New macro.
5416         (ses-cell-references-aset): New macro.
5417         (ses-cell-p): New function.
5418         (ses-rename-cell): Do no longer rely on complex operations like
5419         ses-cell-set-formula or ses-set-cell to change the cell and handle
5420         the undo at the same time, but rather use lower level new macros
5421         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
5422         the undo directly.  Refresh the mode line.
5424 2012-07-21  Leo Liu  <sdl.web@gmail.com>
5426         * progmodes/cc-cmds.el (c-defun-name):
5427         Use match-string-no-properties instead for consistency.
5429 2012-07-20  Leo Liu  <sdl.web@gmail.com>
5431         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
5432         (Bug#7879)
5434         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
5436 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5438         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
5439         * progmodes/bug-reference.el, misearch.el: Provide themselves
5440         (bug#11915).
5442         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
5443         of narrowed buffer (bug#11966).
5445 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
5447         * ses.el (ses-rename-cell): Set new name also in reference list of
5448         cells of which the renamed cell depends.
5450 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
5452         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
5453         to check whether menu-bar is shown or not.  If not shown,
5454         show the menu-bar as a popup menu instead of using tmm.
5455         * mouse.el (popup-menu): Accept `point' as `position' argument.
5457 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
5459         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
5460         up inside string symbol literal (bug#11923).
5462 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
5464         * startup.el (fancy-startup-text): Read the whole tutorial, not
5465         just its first 256 bytes.  Prevents gibberish in display of the
5466         tutorial title.
5468 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
5470         Drop idle buffer compaction due to an absence of the
5471         proved efficiency.
5472         * compact.el: Remove.
5474 2012-07-19  Sam Steingold  <sds@gnu.org>
5476         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
5477         vc-bzr-pull & vc-bzr-merge-branch.
5478         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
5479         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
5480         for consistency with compilation-error-regexp-alist.
5481         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
5482         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
5483         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
5484         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
5486 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5488         * emacs-lisp/chart.el: Use lexical-binding.
5489         (chart-emacs-storage): Don't hardcode the list of entries.
5491 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
5493         Next round of tweaks caused by Fgarbage_collect changes.
5494         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
5496 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
5498         Compact buffers when idle.
5499         * compact.el: New file.
5501 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5503         * subr.el (eventp): Presume that if it looks vaguely like an event,
5504         it's an event (bug#10190).
5506 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
5508         Enhancements to ppss related code (thanks Stefan).
5509         * progmodes/python.el (python-indent-context)
5510         (python-indent-calculate-indentation, python-indent-dedent-line)
5511         (python-indent-electric-colon, python-nav-forward-block)
5512         (python-mode-abbrev-table)
5513         (python-info-assignment-continuation-line-p): Simplify checks
5514         for ppss context.
5515         (python-info-continuation-line-p): Cleanup.
5516         (python-info-ppss-context): Do not catch 'quote.
5517         (python-info-ppss-context-type)
5518         (python-info-ppss-comment-or-string-p): Simplify.
5520 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
5522         * progmodes/python.el: Enhancements to eldoc support.
5523         (python-info-current-symbol): New function.
5524         (python-eldoc-at-point): Use python-info-current-symbol.
5525         (python-info-current-defun): Fix cornercase on first defun scan.
5526         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
5527         and signal error when no inferior python process is available.
5529 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
5531         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
5532         assume it's always t.
5533         (vc-git-registered): Remove caching, the function is only called
5534         once.
5535         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
5537 2012-07-18  Chong Yidong  <cyd@gnu.org>
5539         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
5541         * simple.el (count-words): Report on narrowing (Bug#9959).
5543         * bindings.el: Bind M-= to count-words.
5545         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
5547 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
5549         * progmodes/sh-script.el (sh-imenu-generic-expression):
5550         Capture a function with `function' keyword and without parentheses
5551         like "function FOO" (bug#11856).
5553 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
5555         * window.el (split-window-sensibly): Make WINDOW argument
5556         optional.
5558 2012-07-18  Chong Yidong  <cyd@gnu.org>
5560         * subr.el (keyboard-translate): Doc fix (Bug#7261).
5562         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
5563         and make C-x 8 RET exit isearch (Bug#11439).
5565         * international/iso-transl.el: Move isearch-mode-map key
5566         definitions to isearch.el.
5568 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5570         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
5571         (eieio-defclass): Use gv-define-setter when possible.
5573 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
5575         Reflect recent changes in Fgarbage_collect.
5576         * emacs-lisp/chart.el (chart-emacs-storage): Change to
5577         reflect new format of data returned by Fgarbage_collect.
5579 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
5581         New utility functions + python-info-ppss-context fix (Bug#11910).
5582         * progmodes/python.el (python-info-beginning-of-block-statement-p)
5583         (python-info-ppss-comment-or-string-p): New functions.
5584         (python-info-ppss-context): Small fix for string check.
5586 2012-07-17  Juri Linkov  <juri@jurta.org>
5588         * dired-aux.el (dired-do-async-shell-command): Doc fix.
5589         (dired-do-async-shell-command): Don't add `*' at the end of the
5590         command (Bug#11815).
5591         (dired-do-shell-command): Doc fix.
5592         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
5593         Join the individual commands using either "&" or ";" as the
5594         separator depending on the values of these trailing characters.
5595         At the end re-add the trailing "&".  (Bug#10598)
5597         * simple.el (async-shell-command): Sync the interactive spec with
5598         `shell-command'.  Doc fix.
5599         (shell-command): Doc fix.
5601 2012-07-17  Juri Linkov  <juri@jurta.org>
5603         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
5605 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
5607         Final renames and doc fixes for movement commands (bug#11899).
5608         * progmodes/python.el (python-nav-beginning-of-statement):
5609         Rename from python-nav-statement-start.
5610         (python-nav-end-of-statement): Rename from
5611         python-nav-statement-end.
5612         (python-nav-beginning-of-block): Rename from
5613         python-nav-block-start.
5614         (python-nav-end-of-block): Rename from python-nav-block-end.
5616 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
5618         * progmodes/python.el (python-shell-send-string-no-output):
5619         Allow accept-process-output to quit, keeping shell process ready for
5620         future interactions (Bug#11868).
5622 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5624         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
5626         * emacs-lisp/elint.el (elint-find-args-in-code):
5627         Use help-function-arglist, so as to handle lexical byte-code.
5629         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
5630         change (bug#11826).
5632 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5634         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
5635         Avoid spuriously marking the buffer as modified because of c-is-sws.
5637         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
5638         as not-a-comment (bug#11946).
5640         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
5641         for uninterned vars.
5643         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
5644         Use read-event since we don't really want to read chars but bytes.
5646         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
5647         $$..$$ but also $..$ using regexps (bug#11953).
5648         Use tex-verbatim for \url and \path.
5649         (tex-font-lock-keywords): Define as defconst like the others.
5650         (tex-common-initialization): Don't use font-lock-syntax-table any more.
5652 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
5654         * international/mule-cmds.el (ucs-insert): Make it an obsolete
5655         alias for insert-char.
5657 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
5659         * progmodes/python.el: Simplified imenu implementation.
5660         (python-nav-jump-to-defun): Remove command.
5661         (python-mode-map): Use `imenu' instead.
5662         (python-nav-list-defun-positions-cache)
5663         (python-imenu-include-defun-type, python-imenu-make-tree)
5664         (python-imenu-subtree-root-label, python-imenu-index-alist):
5665         Remove vars.
5666         (python-nav-list-defun-positions, python-nav-read-defun)
5667         (python-imenu-tree-assoc, python-imenu-make-element-tree)
5668         (python-imenu-make-tree, python-imenu-create-index):
5669         Remove functions.
5670         (python-mode): Update to interact with imenu by setting
5671         `imenu-extract-index-name-function' only.
5673 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
5675         * progmodes/python.el: Enhancements to navigation commands.
5676         (python-nav-backward-sentence)
5677         (python-nav-forward-sentence): Remove.
5678         (python-nav-backward-statement, python-nav-forward-statement)
5679         (python-nav-statement-start, python-nav-statement-end)
5680         (python-nav-backward-block, python-nav-forward-block)
5681         (python-nav-block-start, python-nav-block-end)
5682         (python-nav-forward-sexp-function)
5683         (python-info-current-line-comment-p)
5684         (python-info-current-line-empty-p): New functions.
5685         (python-indent-context): Use `python-nav-statement-start'.
5687 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
5689         * eshell/em-ls.el (eshell/ls): Use `apply'.
5691         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
5692         multi-hops, instead of Tramp internals.
5694         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
5696         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
5697         when F1 and F2 are located on different hosts.
5699 2012-07-14  Chong Yidong  <cyd@gnu.org>
5701         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
5702         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
5703         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
5704         (xterm-mouse--read-event-sequence-1000)
5705         (xterm-mouse--read-event-sequence-1006): New functions.  For old
5706         mouse protocol, handle M-mouse-X events correctly.
5707         (xterm-mouse-event): New arg specifying mouse protocol.
5708         (turn-on-xterm-mouse-tracking-on-terminal)
5709         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
5710         sequence to toggle extended coordinates on newer XTerms.
5711         This appears to be harmless on terminals which do not support this.
5713 2012-07-14  Leo Liu  <sdl.web@gmail.com>
5715         Add fringe bitmap indicators for flymake.  (Bug#11253)
5716         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
5717         (flymake-make-overlay): New arg BITMAP.
5718         (flymake-error-bitmap, flymake-warning-bitmap)
5719         (flymake-fringe-indicator-position): New user variables.
5721         * fringe.el: New bitmap exclamation-mark.
5723 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
5725         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
5726         also (Bug#7879).
5728 2012-07-14  Chong Yidong  <cyd@gnu.org>
5730         * electric.el (electric-pair-post-self-insert-function): Fix pair
5731         insertion in empty-region case (Bug#11520).
5733 2012-07-14  Chong Yidong  <cyd@gnu.org>
5735         * bindings.el: Consolidate ctl-x-r-map bindings.
5736         Bind copy-rectangle-as-kill to C-x r w.
5738         * rect.el, register.el: Move bindings to bindings.el.
5740 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
5742         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
5744 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5746         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
5748 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
5750         * bindings.el (top): Use `mapc' instead of `mapcar'.
5752         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
5754 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
5756         * progmodes/sql.el (sql-comint): Suppress the check for program on
5757         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
5758         (Bug#11908)
5760 2012-07-13  Chong Yidong  <cyd@gnu.org>
5762         * bindings.el: Assign a non-nil permanent-local property to
5763         per-buffer variables which lack a default value (Bug#11930).
5765         * help-fns.el (describe-variable): In the "automatically becomes
5766         local" notice, take note of permanent-local variables.
5768 2012-07-13  Chong Yidong  <cyd@gnu.org>
5770         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
5771         to allow printing the message when called from Lisp.
5773         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
5774         Remove toggle-read-only.
5776         * bs.el (bs-toggle-readonly):
5777         * buff-menu.el (Buffer-menu-toggle-read-only):
5778         Remove with-no-warnings around toggle-read-only.
5780         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
5781         Remove with-no-warnings around toggle-read-only.
5782         (ffap-read-only, ffap-read-only-other-window)
5783         (ffap-read-only-other-frame): Callers changed.
5785         * help-mode.el: Don't require view package.
5786         (help-mode-finish): Set buffer-read-only instead of calling
5787         toggle-read-only.
5789         * bindings.el (mode-line-toggle-read-only):
5790         * dired.el (dired-toggle-read-only):
5791         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
5792         with non-nil second arg.
5794         * emacs-lisp/eieio-custom.el (eieio-customize-object):
5795         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
5796         directly.
5798 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
5800         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
5801         not incf.
5803 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5805         More CL cleanups and reduction of use of cl.el.
5806         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
5807         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
5808         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
5809         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
5810         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
5811         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
5812         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
5813         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
5814         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
5815         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
5816         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
5817         * eshell/em-cmpl.el, eshell/em-banner.el:
5818         * calendar/parse-time.el: Use cl-lib.
5819         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
5820         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
5821         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
5822         * term/ns-win.el, term.el, shell.el, ps-samp.el:
5823         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
5824         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
5825         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
5826         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
5827         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
5828         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
5829         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
5830         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
5831         `lambda' rather than with `quote'.
5832         (eshell-do-opt): Adjust accordingly.
5833         (eshell-process-option): Simplify.
5834         * eshell/esh-var.el:
5835         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
5836         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
5837         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
5838         to `pcase--dontcare'.
5839         * emacs-lisp/cl.el (labels): Mark obsolete.
5840         (cl--letf, letf): Move to cl-lib.
5841         (cl--letf*, letf*): Remove.
5842         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
5843         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
5844         (cl-progv): Rewrite.
5845         (cl--letf, cl-letf): Move from cl.el.
5846         (cl-letf*): New macro.
5847         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
5849 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
5851         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
5853 2012-07-11  Chong Yidong  <cyd@gnu.org>
5855         * vc/log-edit.el (log-edit-vc-backend): New variable.
5856         (log-edit): Doc fix.
5858         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
5859         argument of log-edit to set up all local variables.
5860         (vc-start-logentry): New optional arg specifying VC backend.
5862         * vc/vc.el (vc-checkin): Use it.
5863         (vc-deduce-fileset): Handle Log Edit buffers.
5864         (vc-diff): Make first argument optional too.
5866         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
5868 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
5870         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
5871         command, just in case.  The function is not needed anymore.
5872         (eshell-external-command): Do not call `eshell-remote-command'.
5874 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5876         Reduce use of (require 'cl).
5877         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
5878         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
5879         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
5880         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
5881         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
5882         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
5883         * battery.el, avoid.el, abbrev.el: Use cl-lib.
5884         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
5885         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
5886         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
5887         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
5888         * calculator.el, autorevert.el, apropos.el: Don't require CL.
5889         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
5890         (byte-compile-unfold-bcf, byte-compile-check-variable):
5891         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
5892         (byte-compile-nilconstp):
5893         * emacs-lisp/autoload.el (make-autoload): Use pcase.
5894         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
5896         * emacs-lisp/gv.el (cond): Make it a valid place.
5897         (if): Simplify slightly.
5899         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
5900         (pcase--self-quoting-p): New function.
5901         (pcase--u1): Use it.
5903 2012-07-10  Glenn Morris  <rgm@gnu.org>
5905         * emacs-lisp/authors.el (authors-fixed-entries):
5906         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
5908 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
5910         Rename configure.in to configure.ac (Bug#11603).
5911         * emacs-lisp/authors.el (authors-canonical-file-name):
5912         * progmodes/autoconf.el (autoconf-mode):
5913         Prefer configure.ac to configure.in.
5915 2012-07-08  Chong Yidong  <cyd@gnu.org>
5917         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
5918         Implement the mouse-1-click-follows-link handling properly.
5920         * info.el (Info-link-keymap): Use follow-link mechanism for
5921         header-line links (Bug#374).
5923         * simple.el (deactivate-mark): Do not set the primary selection
5924         if another program has acquired it (Bug#11772).
5926 2012-07-07  Kevin Ryde  <user42@zip.com.au>
5928         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
5929         (woman-decode-region): Replace escaped-escapes without destroying
5930         bold or underline (Bug#11552).
5931         (woman2-process-escapes): Handle nofill regions (Bug#11591).
5933 2012-07-07  Chong Yidong  <cyd@gnu.org>
5935         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
5936         (interprogram-cut-function, interprogram-paste-function):
5937         Mention that we typically mean the clipboard.
5939 2012-07-06  Glenn Morris  <rgm@gnu.org>
5941         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
5943         * files.el (toggle-read-only): Restrict message to interactive use.
5945 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
5947         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
5949         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
5951 2012-07-06  Glenn Morris  <rgm@gnu.org>
5953         * Makefile.in (compile-one-process): Rename from "recompile".
5955         * Makefile.in (bzr-update): "compile" is the same as "recompile
5956         autoloads", but parallelizable, so use that instead.
5958 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
5960         * window.el (quit-window): Always restore window height when
5961         it's saved in quit-restore parameter (Bug#11810).
5963 2012-07-06  Glenn Morris  <rgm@gnu.org>
5965         * simple.el (kill-whole-line): Doc tweak.
5967 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
5969         * files.el (file-relative-name): Compare file names
5970         case-insensitively if on MS-Windows or MS-DOS, or if
5971         read-file-name-completion-ignore-case is non-nil.  Don't use
5972         case-fold-search for this purpose.  (Bug#11827)
5974 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
5976         * calendar/cal-dst.el (calendar-current-time-zone):
5977         Return calendar-current-time-zone-cache if non-nil.
5979 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
5980 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
5982         * calendar/cal-dst.el (calendar-current-time-zone):
5983         Return calendar-current-time-zone-cache if non-nil.
5985 2012-07-06  Glenn Morris  <rgm@gnu.org>
5987         * Makefile.in (cvs-update): Remove old alias.
5989 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
5991         Sync with Tramp 2.2.6-pre.
5993         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
5994         compatible declaration.
5996         * net/tramp-cmds.el (tramp-append-tramp-buffers):
5997         Protect `list-load-path-shadows' call.
5999         * net/tramp-compat.el (top): Require packages, which aren't
6000         autoloaded anymore for XEmacs.  Protect call of
6001         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
6002         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
6003         it hurts at least for SXEmacs.
6004         (tramp-compat-temporary-file-directory): In XEmacs, there is no
6005         standard-value for `temporary-file-directory'.
6007         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
6008         Redirect stderr to /dev/null.
6009         (tramp-sh-handle-write-region): uid and gid can be floats.
6010         Reported by Russell Sim <russell.sim@gmail.com>.
6011         (tramp-sh-handle-vc-registered): Hide errors.
6012         (tramp-vc-file-name-handler): Use dummy results for `process-file'
6013         and `start-file-process'.
6014         (tramp-maybe-open-connection): Check also whether `non-essential'
6015         is bound.
6017 2012-07-04  Chong Yidong  <cyd@gnu.org>
6019         * xml.el (xml--parse-buffer): Use xml-syntax-table.
6020         (xml-parse-tag): Likewise, and avoid changing entity tables.
6021         (xml-syntax-table): Define from scratch, making sure not to give
6022         x2000 and other Unicode spaces whitespace syntax, since those are
6023         not spaces in XML.
6024         (xml-parse-fragment): Delete unused function.
6025         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
6026         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
6027         (xml-entity-ref, xml-pe-reference-re)
6028         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
6029         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
6030         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
6031         (xml-entity-value-re): Use syntax references in regexps where
6032         possible; no need to define inside a let-binding.
6033         (xml-parse-dtd): Use xml-pe-reference-re.
6034         (xml-entity-or-char-ref-re): New defconst.
6035         (xml-parse-string, xml-substitute-special): Use it.
6037 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6039         * files.el (locate-dominating-file): Allow `name' to be a predicate.
6040         (find-file--read-only): New function.
6041         (find-file-read-only, find-file-read-only-other-window)
6042         (find-file-read-only-other-frame): Use it.
6043         (insert-file-contents-literally): Don't `fset'.
6044         (get-free-disk-space): Use locate-dominating-file.
6046         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
6047         function is already compiled.
6049         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
6051 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
6053         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
6054         files on the same host.
6056 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
6058         * help-fns.el (describe-function-1): Only call
6059         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
6061 2012-07-03  Chong Yidong  <cyd@gnu.org>
6063         * xml.el: Protect parser against XML bombs.
6064         (xml-entity-expansion-limit): New variable.
6065         (xml-parse-string, xml-substitute-special): Use it.
6066         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
6068 2012-07-03  Glenn Morris  <rgm@gnu.org>
6070         * progmodes/bug-reference.el (bug-reference-bug-regexp):
6071         Allow linking to specific messages in debbugs reports (eg 123#5).
6073 2012-07-02  Chong Yidong  <cyd@gnu.org>
6075         * xml.el: Fix entity and character reference expansion, allowing
6076         them to expand into markup as per XML spec.
6077         (xml-default-ns): New variable.
6078         (xml-entity-alist): Use XML spec definitions for lt and amp.
6079         (xml-parse-region): Make first two arguments optional.
6080         Discard text properties.
6081         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
6082         All callers changed.
6083         (xml-parse-tag): Call xml-parse-tag-1.  For backward
6084         compatibility, this function should not modify buffer contents.
6085         (xml-parse-tag-1): Fix opening-tag regexp.
6086         (xml-parse-string): Rewrite, handling entity and character
6087         references properly.
6088         (xml--entity-replacement-text): Signal an error if a parameter
6089         entity is undefined.
6091 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6093         * comint.el (comint-output-filter): Filter out repeated prompts.
6095         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
6096         and file-name-absolute-p.
6097         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
6098         internal calls.
6100 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
6102         Spelling fixes.
6103         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
6104         Rename from byte-compile--refiy-function.  All uses changed.
6106 2012-07-01  Chong Yidong  <cyd@gnu.org>
6108         * xml.el (xml--parse-buffer): New function.  Move most of
6109         xml-parse-region here.
6110         (xml-parse-region): Copy region into a temporary buffer, since
6111         parameter entity substitution requires changing buffer contents.
6112         Use xml--parse-buffer.
6113         (xml-parse-file): Use xml--parse-buffer.
6114         (xml-parse-dtd): Make parameter entity substitution work right.
6115         Use proper regexps for ELEMENT declarations (Bug#7172).
6117 2012-06-30  Glenn Morris  <rgm@gnu.org>
6119         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
6121         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
6122         Remove outdated and unnecessary dbus declarations.
6124 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
6126         * emacs-lisp/timer.el (timer-until): Subtract results of
6127         float-time, instead of taking float-time of the result of
6128         time-subtract, since float-time signals an error for negative time
6129         arguments.
6131 2012-06-30  Chong Yidong  <cyd@gnu.org>
6133         * xml.el (xml-*-re): Convert defvars into defconsts, and
6134         eval-and-compile them so eval-and-compile works on derivatives.
6135         (xml--entity-replacement-text): Use eval-and-comple.
6137 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
6139         * vc/vc-git.el (vc-git-registered): Use cache property
6140         `git-registered'.
6141         (vc-git-mode-line-string): Call `vc-working-revision' instead of
6142         `vc-git-working-revision' in order to benefit from the cache.
6143         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
6145 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
6147         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
6148         removed (likely outside Emacs).  (Bug#11757)
6150 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6152         * emacs-lisp/cl-lib.el: Require macroexp.
6154 2012-06-30  Chong Yidong  <cyd@gnu.org>
6156         * xml.el: Implement XML parameter entities.
6157         (xml-parameter-entity-alist): New variable.
6158         (xml-parse-region, xml-parse-fragment): Preserve previous values
6159         of xml-entity-alist and xml-parameter-entity-alist, so that
6160         repeated calls on different documents do not change them.
6161         (xml-parse-tag): Fix doctype regexp.
6162         (xml--entity-replacement-text): New function.
6163         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
6164         properly requires url retrieval which is unimplemented.
6165         (xml-escape-string): Doc fix.
6167 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6169         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
6171 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
6173         * fringe.el (fringe-mode): Doc fix.
6175 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
6177         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
6178         is non-nil.
6179         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
6180         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
6182 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
6184         * calendar/cal-dst.el (calendar-current-time-zone):
6185         Return calendar-current-time-zone-cache if non-nil.
6187 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
6189         * progmodes/which-func.el (which-func-format):
6190         Add mouse-face.  (Bug#11698)
6192 2012-06-29  Leo Liu  <sdl.web@gmail.com>
6194         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
6196 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6198         * minibuffer.el (minibuffer-confirm-exit-commands):
6199         Add completion-at-point (bug#11725).
6201 2012-06-29  Glenn Morris  <rgm@gnu.org>
6203         * progmodes/f90.el (f90-font-lock-keywords-2):
6204         Add some preprocessor elements.  (Bug#10499)
6206 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6208         * progmodes/cperl-mode.el (cperl-update-syntaxification):
6209         Use syntax-propertize (bug#11739).
6211 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
6213         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
6215 2012-06-28  Julien Danjou  <julien@danjou.info>
6217         * term.el (term-handle-colors-array): Use a set of new faces to
6218         color the terminal.  Also uses :inverse-video property.
6219         (term-default-fg-color): Set to nil by default, deprecate in favor
6220         of `term-face'.
6221         (term-default-bg-color): Set to nil by default, deprecate in favor
6222         of `term-face'.
6223         (term-current-face): Use `term-face' by default.
6224         (term-bold-attribute): Variable deleted.
6226 2012-06-28  Glenn Morris  <rgm@gnu.org>
6228         * simple.el (completion-list-mode-finish):
6229         Don't use toggle-read-only.  (Since completion-list-mode has
6230         a special mode-class, it wasn't doing anything extra anyway.)
6232 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6234         Make inlining of other-mode interpreted functions work (bug#11799).
6235         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
6236         (byte-compile): Use it to fix compilation of lexical-binding closures.
6237         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
6238         function, if needed.
6240 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6242         * help-mode.el (help-make-xrefs): Don't just withstand
6243         cyclic-variable-indirection but any error in documentation-property.
6245         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
6246         memory use.
6247         * bindings.el (bindings--define-key): New function.
6248         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
6249         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
6250         * bindings.el: Use it to purecopy define-key bindings.
6252         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
6254         * emacs-lisp/cl.el (flet): Mark obsolete.
6255         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
6256         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
6257         * progmodes/js.el (js-c-fill-paragraph):
6258         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
6259         (ebrowse-switch-member-buffer-to-derived-class):
6260         * play/5x5.el (5x5-solver): Use cl-flet.
6262         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
6263         (cl--symbol-function): New macro.
6264         (cl--letf, cl--letf*): Use it.
6266         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
6267         Strip "toggle-" if any.
6269 2012-06-27  Glenn Morris  <rgm@gnu.org>
6271         * info.el (Info-default-directory-list): Move here from paths.el.
6272         * paths.el: Remove file, which is now empty.
6273         * loadup.el: No longer load "paths".
6275         * custom.el (custom-initialize-delay): Doc fix.
6277         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6278         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
6279         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
6280         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
6281         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
6282         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
6283         * eshell/eshell.el (eshell-defgroup): Remove alias.
6285 2012-06-27  Chong Yidong  <cyd@gnu.org>
6287         * help.el (help-enable-auto-load): New variable.
6289         * help-fns.el (help-fns--autoloaded-p): New function.
6290         (describe-function-1): Refer to a function as "autoloaded" if it
6291         was autoloaded at any time in the past.  Perform autoloading if
6292         help-enable-auto-load is non-nil.
6294 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
6296         * makefile.w32-in (compile, compile-always): Depend on
6297         update-subdirs, not on subdirs.el.  Otherwise, several different
6298         sub-targets of 'bootstrap' running in parallel could
6299         simultaneously write to subdirs.el, producing a garbled file.
6301 2012-06-26  Sam Steingold  <sds@gnu.org>
6303         * files.el (file-name-base): New convenience function.
6304         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
6305         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
6306         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
6307         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
6308         * textmodes/ispell.el, textmodes/reftex-ref.el:
6309         * textmodes/tex-mode.el: Use it.
6310         Did not touch cedet and org because they are maintained elsewhere.
6312 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
6314         * calendar/calendar.el (calendar-exit): Don't try to delete or
6315         iconify last frame.  See:
6316         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
6318 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
6320         * server.el (server-process-filter): Remember dir in the
6321         process's `server-client-directory' properties.
6323 2012-06-24  Chong Yidong  <cyd@gnu.org>
6325         * xml.el (xml-parse-tag): Correctly handle comment embedded in
6326         non-tag text.
6328 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
6330         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
6332 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6334         * help-fns.el (describe-variable): Don't croak when doc is not found.
6335         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
6336         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
6337         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
6338         * emacs-lisp/smie.el (smie-next-sexp): CSE.
6339         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
6340         ((lambda ..) ..).
6341         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
6343 2012-06-23  Chong Yidong  <cyd@gnu.org>
6345         * info.el (Info-mouse-follow-link): Accept symbol values of
6346         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
6347         (Info-fontify-node): Use Info-link-keymap for all navigation
6348         buttons, with link-args property to perform the desired action.
6349         (Info-link-keymap): Doc fix.
6350         (Info-next-link-keymap, Info-prev-link-keymap)
6351         (Info-up-link-keymap): Delete now-unused keymaps.
6353 2012-06-23  Chong Yidong  <cyd@gnu.org>
6355         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
6357         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
6358         system abbrevs.
6360         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
6362 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
6364         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
6365         (bug#11719).
6367         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
6368         the requote function doesn't work properly (bug#11714).
6370 2012-06-23  Glenn Morris  <rgm@gnu.org>
6372         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
6374 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6376         Further GV/CL cleanups.
6377         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
6378         gv-expander.
6379         (gv--defun-declaration): New function.
6380         (defun-declarations-alist): Use it.
6381         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
6382         (gv-place): Autoload.
6383         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
6384         original definition of dotimes and dolist.
6385         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
6386         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
6387         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
6388         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6389         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
6390         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
6391         to the function's definition.
6392         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
6393         * window.el:
6394         * files.el:
6395         * faces.el:
6396         * env.el: Don't use CL.
6398 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
6400         Support higher-resolution time stamps (Bug#9000).
6402         * calendar/time-date.el (with-decoded-time-value): New arg
6403         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
6404         (encode-time-value): New optional arg PICO.  New type 3.
6405         (time-to-seconds) [!float-time]: Support the new picoseconds
6406         component if it's used.
6407         (seconds-to-time, time-subtract, time-add):
6408         Support ps-resolution time stamps as well.
6410         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
6411         (timerp): Timer vectors now have length 9, not 8.
6412         (timer--time): Support new-style (4-part) time stamps.
6413         (timer-next-integral-multiple-of-time): Time stamps now have
6414         picosecond resolution, so take a bit more care about rounding.
6415         (timer-relative-time, timer-inc-time): New optional arg psecs.
6416         (timer-set-time-with-usecs): Set psecs to 0.
6417         (timer--activate): Check psecs component, too.
6419         * proced.el (proced-time-lessp): Support ps-resolution stamps.
6421 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6423         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
6424         Move the non-essential binding to the post/pre-command-hook where it is
6425         more obviously correct.
6427         * subr.el (read-passwd): Don't use a history at all.
6428         * savehist.el (savehist-save): Remove password saved accidentally
6429         because of the above bug.
6431 2012-06-22  Bastien Guerry  <bzg@gnu.org>
6433         * files.el (toggle-read-only): Display a message telling whether
6434         the buffer is read-only or not (bug#11726).
6436 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6438         * emacs-lisp/gv.el: New file.
6439         * subr.el (push, pop): Extend to generalized variables.
6440         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
6441         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
6442         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
6443         gv-define-simple-setter, and gv-define-expander.
6444         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
6445         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
6446         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
6447         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
6448         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
6449         gv-letplace.
6450         (cl-defstruct): Don't define setf-method any more.
6451         * emacs-lisp/cl.el (flet): Don't autoload.
6452         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
6453         (define-setf-expander, defsetf, define-modify-macro)
6454         (cl-struct-setf-expander): Move from cl-lib.el.
6455         * emacs-lisp/syntax.el:
6456         * emacs-lisp/ewoc.el:
6457         * emacs-lisp/smie.el:
6458         * emacs-lisp/cconv.el:
6459         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
6460         (timer--time): Use gv-define-simple-setter.
6461         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
6462         to avoid coding-system problems in subr.el.  Adjust all users.
6463         (macroexp--maxsize, macroexp-small-p): New functions.
6464         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
6465         * scroll-bar.el (scroll-bar-mode):
6466         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
6467         (normal-erase-is-backspace-mode): Don't use the `eq' place.
6468         * winner.el (winner-configuration, winner-make-point-alist)
6469         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
6470         * files.el (locate-file-completion-table): Avoid list*.
6472 2012-06-22  Chong Yidong  <cyd@gnu.org>
6474         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
6475         (dired-create-files): Doc fix (Bug#11329).
6476         (dired-do-copy): Doc fix (Bug#11334).
6477         (dired-mark-read-string): Doc fix (Bug#11553).
6479         * dired.el (dired-recursive-copies, dired-recursive-deletes):
6480         Doc fix (Bug#11326).
6481         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
6482         (dired-dwim-target): Doc fix.
6484         * wdired.el (wdired-mode): Doc fix.
6486 2012-06-22  Glenn Morris  <rgm@gnu.org>
6488         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
6489         (pcmpl-rpm-cache-stamp-file): New constant.
6490         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
6491         (pcmpl-rpm-packages): Optionally cache list of packages.
6493         * pcmpl-rpm.el (pcmpl-rpm): New group.
6494         (pcmpl-rpm-query-options): New option.
6495         (pcmpl-rpm-packages): No need to inline it.
6496         Use pcmpl-rpm-query-options.
6498         * calendar/calendar.el (calendar-in-read-only-buffer):
6499         Avoid some needless mode changes.
6501 2012-06-21  Chong Yidong  <cyd@gnu.org>
6503         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
6504         (desktop-path): Remove . from the default value (Bug#10977).
6505         (desktop-read): Use user-emacs-directory if desktop-path is nil.
6507 2012-06-20  Chong Yidong  <cyd@gnu.org>
6509         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
6511 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
6513         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
6514         (bug#11201).
6516 2012-06-20  Chong Yidong  <cyd@gnu.org>
6518         * term.el (term-window-width): Handle the case of a missing right
6519         fringe (Bug#8837).
6520         (term-check-size): Use window-text-height (Bug#5445).
6521         (term-mode): Use define-derived-mode.  Minor cleanups.
6522         Set font-lock-defaults (Bug#7692).
6523         (term-move-columns, term-insert-char, term-emulate-terminal)
6524         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
6526 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
6528         * net/ange-ftp.el (ange-ftp-get-passwd):
6529         Bind `enable-recursive-minibuffers'.
6530         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
6532 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
6534         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
6536 2012-06-19  Glenn Morris  <rgm@gnu.org>
6538         * progmodes/python.el (python-mode): Derive from prog-mode.
6540 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
6542         * emulation/edt.el (edt-default-menu-bar-update-buffers)
6543         (edt-user-menu-bar-update-buffers): New functions.
6544         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
6546 2012-06-19  Chong Yidong  <cyd@gnu.org>
6548         * subr.el (with-selected-window): Preserve the selected window's
6549         terminal's top-frame (Bug#4702).
6551         * window.el (save-selected-window): Likewise.
6553 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6555         * progmodes/python.el (python-rx-constituents): Move backquote.
6556         (python-skeleton-define, python-define-auxiliary-skeleton):
6557         Use `declare'.
6559 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
6561         * minibuffer.el (read-file-name-default): Revert the patch from
6562         2012-06-17.
6564 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6566         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
6567         (pcase--u1, pcase--q1): Don't use apply-partially.
6569 2012-06-18  Glenn Morris  <rgm@gnu.org>
6571         * progmodes/python.el (python-proc, python-buffer)
6572         (python-send-receive, python-send-string): Fix obsolete versions.
6574 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
6576         * window.el (special-display-p): Completely remove stringp
6577         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
6579 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
6581         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
6583         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
6585         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
6586         * net/tramp-sh.el (tramp-maybe-open-connection):
6587         Throw if `non-essential' is non-nil.
6589 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
6591         * window.el (special-display-p): Signal an error if BUFFER-NAME
6592         is not a string (Bug#11713).
6594 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
6596         * progmodes/python.el (python-info-beginning-of-backslash):
6597         Rename from python-info-beginning-of-backlash, as a spelling fix.
6599 2012-06-17  Chong Yidong  <cyd@gnu.org>
6601         * term.el (term-emulate-terminal): If term-check-size is called,
6602         move point to the process mark without resetting point (Bug#4635).
6604 2012-06-17  Glenn Morris  <rgm@gnu.org>
6606         * international/mule-cmds.el (mule-menu-keymap)
6607         (set-language-environment, set-locale-environment): Doc tweaks.
6609 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
6611         * cus-face.el (custom-face-attributes): Add wave-style underline
6612         attribute.
6613         * faces.el (set-face-attribute): Update docstring to describe
6614         wave-style underline attribute.
6616 2012-06-16  Chong Yidong  <cyd@gnu.org>
6618         * term/xterm.el (terminal-init-xterm): Discard input before
6619         querying background mode (Bug#10959).
6621 2012-06-16  Stefan Merten  <smerten@oekonux.de>
6623         * textmodes/rst.el: Added and corrected some comments.
6624         (rst-re-alist-def): Improve symbol syntax.
6625         (rst-mode-syntax-table): Correct syntax entries.
6626         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
6627         (rst-official-version, rst-official-cvs-rev): Update version
6628         information.
6630 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
6632         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
6633         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
6635 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
6637         * progmodes/python.el: New python.el merge.
6638         (python-guess-indent): Obsolete var.
6639         (python-indent-guess-indent-offset): New defcustom.
6640         (python-indent): Obsolete var.
6641         (python-indent-offset): New defcustom.
6642         (python-python-command, python-jython-command): Delete var.
6643         (python-shell-interpreter): New defcustom.
6644         (python-pdbtrack-do-tracking-p): Delete var.
6645         (python-pdbtrack-activate): New defcustom.
6646         (python-use-skeletons): Obsolete var.
6647         (python-skeleton-autoinsert): New defcustom.
6648         (inferior-python-filter-regexp, python-continuation-offset)
6649         (python-honour-comment-indentation, python-indent-string-contents)
6650         (python-jython-packages, python-mode-hook)
6651         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
6652         (python-shell-prompt-alist)
6653         (python-source-modes): Delete defcustoms.
6654         (python-check-buffer-name, python-eldoc-setup-code)
6655         (python-eldoc-string-code, python-ffap-setup-code)
6656         (python-ffap-string-code, python-fill-comment-function)
6657         (python-fill-decorator-function, python-fill-paren-function)
6658         (python-fill-string-function, python-imenu-include-defun-type)
6659         (python-imenu-make-tree, python-imenu-subtree-root-label)
6660         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
6661         (python-shell-compilation-regexp-alist)
6662         (python-shell-completion-module-string-code)
6663         (python-shell-completion-pdb-string-code)
6664         (python-shell-completion-setup-code)
6665         (python-shell-completion-string-code)
6666         (python-shell-enable-font-lock, python-shell-exec-path)
6667         (python-shell-extra-pythonpaths)
6668         (python-shell-internal-buffer-name, python-shell-interpreter-args)
6669         (python-shell-process-environment)
6670         (python-shell-prompt-block-regexp)
6671         (python-shell-prompt-output-regexp)
6672         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
6673         (python-shell-send-setup-max-wait, python-shell-setup-codes)
6674         (python-shell-virtualenv-path): New defcustoms.
6675         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
6676         (inferior-python-mode-syntax-table, python--prompt-regexp)
6677         (python-buffer, python-command python-python-command)
6678         (python-default-template, python-imports, python-indent-index)
6679         (python-indent-list, python-indent-list-length)
6680         (python-mode-running, python-pdbtrack-is-tracking-p)
6681         (python-preoutput-continuation, python-preoutput-leftover)
6682         (python-preoutput-result, python-preoutput-skip-next-prompt)
6683         (python-prev-dir/file, python-recursing)
6684         (python-saved-check-command, python-version-checked)
6685         (python-which-func-length-limit)
6686         (view-return-to-alist): Delete vars.
6687         (python-check-custom-command, python-dotty-syntax-table)
6688         (python-imenu-index-alist, python-indent-current-level)
6689         (python-indent-dedenters, python-indent-levels)
6690         (python-nav-beginning-of-defun-regexp)
6691         (python-nav-list-defun-positions-cache)
6692         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
6693         (python-shell-internal-buffer)
6694         (python-skeleton-available): New vars.
6695         (def-python-skeleton): Delete macro.
6696         (python-skeleton-define): New macro.
6697         (python-define-auxiliary-skeleton, python-rx): New macros.
6698         (python-insert-class): Delete command.
6699         (python-skeleton-class): New command.
6700         (python-insert-def): Delete command.
6701         (python-skeleton-def): New command.
6702         (python-insert-for): Delete command.
6703         (python-skeleton-for): New command.
6704         (python-insert-if): Delete command.
6705         (python-skeleton-if): New command.
6706         (python-insert-try/except, python-insert-try/finally): Delete commands.
6707         (python-skeleton-try): New command.
6708         (python-insert-while): Delete command.
6709         (python-skeleton-while): New command.
6710         (python-backspace): Delete command.
6711         (python-indent-dedent-line-backspace): New command.
6712         (python-electric-colon): Delete command.
6713         (python-indent-electric-colon): New command.
6714         (python-guess-indent): Delete command.
6715         (python-indent-guess-indent-offset): New command.
6716         (python-shift-left): Delete command.
6717         (python-indent-shift-left): New command.
6718         (python-shift-right): Delete command.
6719         (python-indent-shift-right): New command.
6720         (python-find-function): Delete command.
6721         (python-nav-jump-to-defun): New command.
6722         (python-next-statement): Delete command.
6723         (python-nav-forward-sentence): New command.
6724         (python-previous-statement): Delete command.
6725         (python-nav-backward-sentence): New command.
6726         (python-fill-paragraph): Delete command.
6727         (python-fill-paragraph-function): New command.
6728         (python-send-buffer): Delete command.
6729         (python-shell-send-buffer): New command.
6730         (python-send-defun): Delete command.
6731         (python-shell-send-defun): New command.
6732         (python-send-region, python-send-region-and-go): Delete commands.
6733         (python-shell-send-region)
6734         (python-shell-switch-to-shell): New commands.
6735         (python-send-string): Delete command.
6736         (python-shell-send-string): New command.
6737         (python-switch-to-python): Delete command.
6738         (python-shell-switch-to-shell): New command.
6739         (python-describe-symbol): Delete command.
6740         (python-eldoc-at-point): New command.
6741         (python--set-prompt-regexp, python-args-to-list)
6742         (python-after-info-look, python-check-version)
6743         (python-check-comint-prompt, python-find-imports)
6744         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
6745         (python-unload-function, python-expand-template)
6746         (python-maybe-jython, python-preoutput-filter)
6747         (python-pdbtrack-get-source-buffer)
6748         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
6749         (python-pdbtrack-toggle-stack-tracking)
6750         (python-pdbtrack-track-stack-file, python-initial-text)
6751         (python-first-word, python-comment-line-p, python-send-command)
6752         (python-setup-brm, python-sentinel, python-set-proc)
6753         (python-skip-out, python-input-filter, python-outdent-p)
6754         (python-outline-level, python-backslash-continuation-line-p)
6755         (python-end-of-block, python-end-of-statement, python-mark-block)
6756         (python-beginning-of-block, python-beginning-of-statement)
6757         (python-blank-line-p, python-beginning-of-string)
6758         (python-open-block-statement-p): Delete functions.
6759         (python-indent-line, python-indent-line-1): Delete functions.
6760         (python-indent-line): New function.
6761         (python-indentation-levels): Delete function.
6762         (python-indent-calculate-levels): New function.
6763         (python-proc): Delete function.
6764         (python-shell-get-process): New function.
6765         (python-send-receive): Delete function.
6766         (python-shell-send-string-no-output): New function.
6767         (python-module-path): Delete function.
6768         (python-ffap-module-path): New function.
6769         (python-completion-at-point)
6770         (python-symbol-completions): Delete functions.
6771         (python-completion-complete-at-point): New function.
6772         (python-load-file): Delete function.
6773         (python-shell-send-file): New function.
6774         (python-calculate-indentation): Delete function.
6775         (python-indent-calculate-indentation): New function.
6776         (python-skip-comments/blanks): Delete function.
6777         (python-util-forward-comment): New function.
6778         (python-continuation-line-p): Delete function.
6779         (python-info-continuation-line-p): New function.
6780         (python-which-func, python-current-defun): Delete function.
6781         (python-info-current-defun): New function.
6782         (python-beginning-of-defun): Delete function.
6783         (python-nav-beginning-of-defun): New function.
6784         (python-close-block-statement-p)
6785         (python-block-end-p): Delete function.
6786         (python-info-closing-block): New function.
6787         (python-comint-output-filter-function)
6788         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
6789         (python-fill-comment, python-fill-decorator, python-fill-paren)
6790         (python-fill-string, python-imenu-make-element-tree)
6791         (python-imenu-make-tree, python-imenu-tree-assoc)
6792         (python-indent-context, python-indent-dedent-line)
6793         (python-indent-line-function)
6794         (python-indent-post-self-insert-function)
6795         (python-indent-toggle-levels)
6796         (python-info-assignment-continuation-line-p)
6797         (python-info-beginning-of-backlash)
6798         (python-info-block-continuation-line-p)
6799         (python-info-closing-block-message)
6800         (python-info-line-ends-backslash-p)
6801         (python-info-looking-at-beginning-of-defun)
6802         (python-info-ppss-context, python-info-ppss-context-type)
6803         (python-nav-list-defun-positions, python-nav-read-defun)
6804         (python-nav-sentence-end, python-nav-sentence-start)
6805         (python-pdbtrack-comint-output-filter-function)
6806         (python-pdbtrack-set-tracked-buffer)
6807         (python-shell-calculate-exec-path)
6808         (python-shell-calculate-process-environment)
6809         (python-shell-completion--do-completion-at-point)
6810         (python-shell-completion--get-completions)
6811         (python-shell-completion-complete-at-point)
6812         (python-shell-completion-complete-or-indent)
6813         (python-shell-get-or-create-process)
6814         (python-shell-get-process-name)
6815         (python-shell-internal-get-or-create-process)
6816         (python-shell-internal-get-process-name)
6817         (python-shell-internal-send-string, python-shell-make-comint)
6818         (python-shell-parse-command, python-shell-send-setup-code)
6819         (python-skeleton-add-menu-items)
6820         (python-util-clone-local-variables, python-util-position)
6821         (run-python-internal, python-indentation-levels)
6822         (python-nav-beginning-of-defun)
6823         (python-completion-complete-at-point): New functions.
6824         (run-python): Change arguments.  New API requirements.
6826 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6828         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
6829         (bug#11649).
6831         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
6832         (macroexp--expand-all): Use it.
6834         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
6835         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
6836         Use `cl-function' instead.
6838 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
6840         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
6841         Suggested by Stefan Monnier while discussing bug#11657.
6843 2012-06-14  Sam Steingold  <sds@gnu.org>
6845         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
6847 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
6849         * play/doctor.el (doctor-doc): Remove parameter and use
6850         doctor-sent instead of sent.
6851         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
6853 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6855         * files.el: Require cl-lib.
6856         (file-name-non-special): Replace case -> cl-case.
6858         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
6860         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
6861         mapping from #' to function*.
6863 2012-06-13  Chong Yidong  <cyd@gnu.org>
6865         * mouse.el (mouse-drag-track): Do not set the mark if the user
6866         releases the mouse without selecting anything (Bug#11588).
6868 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6870         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
6871         as well (bug#11646).
6873         * loadup.el: Count byte-code functions as well.
6875         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
6876         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
6878         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
6879         (bug#11649).  Add cl-defun and cl-defmacro.
6881 2012-06-13  Drew Adams  <drew.adams@oracle.com>
6883         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6884         Fix last change.
6886 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
6888         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
6889         Otherwise, it blocks in batch mode.
6891 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
6893         * help-mode.el (bookmark-make-record-default): Declare.
6895 2012-06-13  Chong Yidong  <cyd@gnu.org>
6897         * emacs-lisp/package.el (list-packages): Compute a list of
6898         packages that are newly-available since the last list-packages
6899         invocation.
6900         (package-menu--new-package-list): New var.
6901         (package-menu--generate, package-menu--print-info)
6902         (package-menu--status-predicate, package-menu-mark-install):
6903         Handle new status label "new".
6905 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6907         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
6908         conversion to backquotes.
6910 2012-06-12  Chong Yidong  <cyd@gnu.org>
6912         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
6913         Rename from gud-inhibit-global-bindings.
6915         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
6917         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
6918         hook from nxml-glyph-set-hook.
6920         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
6921         declaration.
6923         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
6925         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
6926         Convert to defcustom.
6928 2012-06-12  Drew Adams  <drew.adams@oracle.com>
6930         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
6931         New functions.
6932         (help-mode): Use them.
6934 2012-06-11  Glenn Morris  <rgm@gnu.org>
6936         * progmodes/fortran.el (fortran-font-lock-keywords-3):
6937         Use preprocessor face for directives.
6938         (fortran-directive-re): Doc fix.
6940 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6942         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
6943         conversion to backquotes (bug#11652).
6945         Fix compiler-expansion of CL's cXXr functions (bug#11673).
6946         * emacs-lisp/cl-lib.el (cl--defalias): New function.
6947         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
6948         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
6949         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
6950         (cl-ninth, cl-tenth): Mark them as inlinable.
6951         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
6952         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
6953         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
6954         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
6955         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
6956         (cl-list*, cl-adjoin): Don't put an autoload manually.
6957         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
6958         (cl--compiler-macro-list*): Add autoload cookie.
6959         (cl--compiler-macro-cXXr): New function.
6961         * help-fns.el (help-fns--compiler-macro): New function extracted from
6962         describe-function-1; follow aliases and use `compiler-macro' property.
6963         (describe-function-1): Use it.
6965 2012-06-11  Chong Yidong  <cyd@gnu.org>
6967         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
6968         is uninstalled, if imagemagick is installed.
6970 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6972         * emacs-lisp/cl-lib.el: Use lexical-binding.
6973         (cl-map-extents, cl-maclisp-member): Remove.
6974         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
6975         (cl--set-substring, cl--block-wrapper, cl--block-throw)
6976         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
6977         * emacs-lisp/cl-extra.el: Use lexical-binding.
6978         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
6979         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
6980         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
6981         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
6982         * emacs-lisp/cl-seq.el: Use lexical-binding.
6983         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
6984         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
6985         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
6986         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
6987         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
6988         CL's internals.
6990 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
6992         Sync with Tramp 2.2.6-pre.
6994         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
6995         `print-length' and `print-level' to nil, in order to avoid
6996         truncation.  Reported by Christopher Schmidt
6997         <christopher@ristopher.com>.
6999         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
7001         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
7002         New defmacro.
7003         (tramp-compat-copy-directory): Add optional argument
7004         COPY-CONTENTS.  It is not handled yet.
7006         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
7007         (tramp-ftp-file-name-p): Simplify.
7009         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
7010         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
7011         connection vector.
7013         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
7014         (tramp-methods): Do not use `tramp-password-end-of-line'.
7015         (tramp-completion-function-alist-putty): Handle UNIX case.
7016         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
7017         (tramp-do-file-attributes-with-stat)
7018         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
7019         gid as real numbers.  They could run out of integer range on cygwin.
7020         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
7021         (tramp-sh-handle-expand-file-name): Handle hops.
7022         (tramp-open-connection-setup-interactive-shell):
7023         Use `tramp-cleanup'.  Move check for busyboxes ...
7024         (tramp-find-shell): ... here.  Simplify implementation.
7025         Set "remote-shell" property also for alternative shells.
7026         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
7027         If failing, a regular file would be written otherwise.
7028         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
7029         (tramp-find-inline-encoding): Cache the coding commands in the
7030         process cache.  Apply test command on the remote side, if defined.
7031         (tramp-find-inline-compress): Cache the compress commands in the
7032         process cache.
7033         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
7034         when requested.  Handle hops.
7035         (tramp-current-connection): New defvar.
7036         (tramp-maybe-open-connection): Use `tramp-cleanup'.
7037         Throw `suppress', if there was a failed connection shortly before.
7038         Handle user interrupt.  (Bug#10187)
7039         (tramp-get-inline-compress, tramp-get-inline-coding):
7040         Read connection properties from the process cache.
7042         * net/tramp-smb.el (tramp-smb-server-version)
7043         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
7044         New defconsts.
7045         (tramp-smb-prompt): Extend for powershell prompt.
7046         (tramp-smb-file-name-handler-alist): Add handlers for
7047         `process-file', `shell-command' and `start-file-process'.
7048         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
7049         (tramp-smb-winexe-shell-command-switch): New defcustoms.
7050         (tramp-smb-file-name-p): Simplify.
7051         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
7052         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
7053         (tramp-smb-shell-quote-argument): New defuns.
7054         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
7055         Implement using "tar".  By this, time-stamps are preserved.
7056         (tramp-smb-handle-copy-file): Handle also the case of directories.
7057         (tramp-smb-do-file-attributes-with-stat)
7058         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
7059         Use `tramp-get-connection-buffer').
7060         (tramp-smb-handle-rename-file): Use "rename", when source and
7061         target are on the same share.
7062         (tramp-smb-maybe-open-connection): Handle wrong passwords.
7063         Use `tramp-smb-server-version'.
7064         (tramp-smb-wait-for-output): Remove prompt.
7066         * net/tramp.el (top): Require 'cl.
7067         (tramp-methods, tramp-rsh-end-of-line):
7068         Remove `tramp-password-end-of-line' from docstring.
7069         (tramp-save-ad-hoc-proxies): New defcustom.
7070         (tramp-completion-function-alist): Adapt docstring.
7071         (tramp-default-password-end-of-line): Remove defcustom.
7072         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
7073         (tramp-user-regexp, tramp-file-name-regexp-unified)
7074         (tramp-file-name-regexp-url): Extend regexp by hop separator.
7075         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
7076         (tramp-remote-file-name-spec-regexp): New defconst.
7077         (tramp-file-name-structure): Extend structure for hops.
7078         (tramp-get-method-parameter): Move up.
7079         (tramp-file-name-p, tramp-dissect-file-name)
7080         (with-parsed-tramp-file-name): Handle hops.
7081         (tramp-file-name-hop): New defun.
7082         (tramp-make-tramp-file-name): New optional arg HOP.
7083         (tramp-message-show-progress-reporter-message): New defvar.
7084         (tramp-with-progress-reporter): Use it.  We cannot use
7085         `tramp-message-show-message' here, because this suppresses also
7086         error buffers.
7087         (tramp-error-with-buffer): Suppress buffer view, if
7088         `tramp-message-show-message' is nil.
7089         Use `tramp-get-connection-buffer'.
7090         (tramp-cleanup): New defun.
7091         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
7092         (tramp-file-name-handler): If `debug-on-error' is set, propagate
7093         an error unchanged.
7094         (tramp-completion-handle-file-name-all-completions): Handle hops.
7095         Fix an error when called from ido.
7096         (tramp-completion-dissect-file-name): Use better local variable
7097         name.  Add hop to the vector.
7098         (tramp-handle-insert-file-contents): Use progress-reporter for the
7099         whole scenario.
7100         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
7101         to `t'.
7102         (tramp-check-for-regexp): Simplify search.
7103         (tramp-enter-password): Remove it.  Move implementation ...
7104         (tramp-action-password): ... here.
7105         (tramp-mode-string-to-int, tramp-local-host-p)
7106         (tramp-make-tramp-temp-file, tramp-read-passwd)
7107         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
7108         Set tramp-autoload cookie.
7110         * net/trampver.el: Update release number.
7112 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7113             Michael Albinus  <michael.albinus@gmx.de>
7115         * net/tramp.el (tramp-set-completion-function): Fix docstring.
7116         (tramp-parse-group, tramp-parse-file)
7117         (tramp-parse-shostkeys-sknownhosts): New defuns.
7118         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
7119         (tramp-parse-shosts-group, tramp-parse-sconfig)
7120         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
7121         (tramp-parse-sknownhosts, tramp-parse-hosts)
7122         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
7123         Use them.
7124         (tramp-parse-passwd-group, tramp-parse-netrc-group)
7125         (tramp-parse-putty-group): Don't narrow.
7126         (tramp-parse-putty): Make a loop.
7127         (tramp-file-name-handler): Catch the `suppress' signal.
7129 2012-06-11  Chong Yidong  <cyd@gnu.org>
7131         * image.el (imagemagick-register-types): Put the ImageMagick entry
7132         at the end of image-type-file-name-regexps.
7134 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
7136         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
7137         (pcase, pcase-let*, pcase-dolist): Use them.
7139 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7141         * emacs-lisp/pcase.el (pcase--let*): New function.
7142         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
7143         (pcase--expand): Use macroexp-let².
7145 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7147         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
7148         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
7149         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
7150         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
7151         * emacs-lisp/derived.el: Use pcase instead of `cl'.
7152         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
7154 2012-06-10  Glenn Morris  <rgm@gnu.org>
7156         * mail/rmail.el (rmail-yank-current-message): Leave point at
7157         correct position.  (Bug#11660)
7159 2012-06-10  Chong Yidong  <cyd@gnu.org>
7161         * allout-widgets.el: Fix code header.
7163 2012-06-10  Chong Yidong  <cyd@gnu.org>
7165         * cus-edit.el (customize-changed-options-previous-release):
7166         Bump to 24.1.
7168 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
7170         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
7172 2012-06-09  Chong Yidong  <cyd@gnu.org>
7174         * ebuff-menu.el (electric-buffer-list): Preserve header line.
7176 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
7178         * window.el (special-display-popup-frame): Don't use
7179         window--display-buffer (Bug#11651).
7181 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
7183         Fix parallel builds: make sure loaddefs.el is not being written
7184         while Lisp files are compiled.
7185         (compile): Don't depend on 'mh-autoloads'.
7186         (compile-CMD, compile-SH): Depend on 'autoloads'.
7187         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
7189         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
7191 2012-06-09  Chong Yidong  <cyd@gnu.org>
7193         * face-remap.el (face-remap-add-relative, face-remap-set-base)
7194         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
7195         Doc fixes (Bug#11225).
7197 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7199         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
7200         a function if there's a clear indication that it has a compiler-macro.
7201         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
7202         (macro-declarations-alist): Add arglist to declaration functions.
7203         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
7204         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
7205         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
7206         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
7207         Also add autoload to find the compiler macro.
7208         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
7209         (cl--compiler-macro-member, cl--compiler-macro-assoc)
7210         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
7211         (cl--compiler-macro-get): New functions, replacing calls to
7212         cl-define-compiler-macro.
7213         (cl-typep) [compiler-macro]: Use macroexp-let².
7215 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
7217         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
7218         string properly, fixes Bug#11473.
7220 2012-06-08  Chong Yidong  <cyd@gnu.org>
7222         * faces.el (set-face-attribute): Doc fix.
7223         (modify-face): Don't use :bold and :italic.
7224         (error, warning, success): Tweak definitions.
7226         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
7227         (custom-modified, custom-set, custom-changed, custom-themed)
7228         (custom-saved, custom-button, custom-button-mouse)
7229         (custom-button-pressed, custom-state, custom-comment-tag)
7230         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
7231         (custom-group-subtitle): Use new-style face specs.
7232         (custom-invalid-face, custom-rogue-face, custom-modified-face)
7233         (custom-set-face, custom-changed-face, custom-saved-face)
7234         (custom-button-face, custom-button-pressed-face)
7235         (custom-documentation-face, custom-state-face)
7236         (custom-comment-face, custom-comment-tag-face)
7237         (custom-variable-tag-face, custom-variable-button-face)
7238         (custom-face-tag-face, custom-group-tag-face-1)
7239         (custom-group-tag-face): Remove obsolete face alias.
7241         * epa.el (epa-validity-high, epa-validity-medium)
7242         (epa-validity-low, epa-mark, epa-field-name, epa-string)
7243         (epa-field-name, epa-field-body):
7244         * font-lock.el (font-lock-comment-face, font-lock-string-face)
7245         (font-lock-keyword-face, font-lock-builtin-face)
7246         (font-lock-function-name-face, font-lock-variable-name-face)
7247         (font-lock-type-face, font-lock-constant-face):
7248         * ido.el (ido-first-match, ido-only-match, ido-subdir)
7249         (ido-virtual, ido-indicator, ido-incomplete-regexp):
7250         * speedbar.el (speedbar-button-face, speedbar-file-face)
7251         (speedbar-directory-face, speedbar-tag-face)
7252         (speedbar-selected-face, speedbar-highlight-face)
7253         (speedbar-separator-face):
7254         * whitespace.el (whitespace-newline, whitespace-space)
7255         (whitespace-hspace, whitespace-tab, whitespace-trailing)
7256         (whitespace-line, whitespace-space-before-tab)
7257         (whitespace-space-after-tab, whitespace-indentation)
7258         (whitespace-empty):
7259         * emulation/cua-base.el (cua-global-mark):
7260         * eshell/em-prompt.el (eshell-prompt):
7261         * net/newst-plainview.el (newsticker-new-item-face)
7262         (newsticker-old-item-face, newsticker-immortal-item-face)
7263         (newsticker-obsolete-item-face, newsticker-date-face)
7264         (newsticker-statistics-face, newsticker-default-face):
7265         * net/newst-reader.el (newsticker-feed-face)
7266         (newsticker-extra-face, newsticker-enclosure-face):
7267         * net/newst-treeview.el (newsticker-treeview-face)
7268         (newsticker-treeview-new-face, newsticker-treeview-old-face)
7269         (newsticker-treeview-immortal-face)
7270         (newsticker-treeview-obsolete-face)
7271         (newsticker-treeview-selection-face):
7272         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
7273         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
7274         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
7275         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
7276         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
7277         (nxml-outline-active-indicator, nxml-outline-ellipsis):
7278         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
7279         (mpuz-text):
7280         * progmodes/vera-mode.el (vera-font-lock-number)
7281         (vera-font-lock-function, vera-font-lock-interface):
7282         * textmodes/table.el (table-cell): Use new-style face specs, and
7283         don't use the old :bold and :italic attributes.
7285         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
7286         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
7287         (ebrowse-member-class, ebrowse-progress): Likewise.
7288         (ebrowse-tree-mark-face, ebrowse-root-class-face)
7289         (ebrowse-file-name-face, ebrowse-default-face)
7290         (ebrowse-member-attribute-face, ebrowse-member-class-face)
7291         (ebrowse-progress-face): Remove obsolete faces.
7293         * progmodes/flymake.el (flymake-errline, flymake-warnline):
7294         Inherit from error and warning faces respectively.
7296         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
7297         Likewise.
7298         (flyspell-incorrect-face, flyspell-duplicate-face):
7299         Remove obsolete aliases.
7301 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
7303         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7304         Avoid infloop.
7306 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7308         * startup.el (argv, argi): Make lexically scoped.
7309         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
7310         * emacs-lisp/cl-macs.el: Use lexical-binding.
7311         Rename cl-bind-* to cl--bind-*.
7312         * files.el: Don't require `cl' since it doesn't use it.
7313         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
7315 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
7317         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
7318         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
7319         instead of calling external sort utility.
7320         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
7322 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
7324         * descr-text.el (describe-char): Mention how to insert the
7325         character, if the current input method doesn't support it.
7326         See the discussion in this thread for the details:
7327         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
7329 2012-06-08  Sam Steingold  <sds@gnu.org>
7331         * bindings.el (global-map): Bind XF86Forward to next-buffer and
7332         XF86Back to previous-buffer.
7333         (minibuffer-local-map): Bind them to next-history-element and
7334         previous-history-element respectively.
7335         * help-mode.el (help-mode-map): Bind them to help-go-forward and
7336         help-go-back respectively.
7337         * info.el (Info-mode-map): Bind them to Info-history-forward and
7338         Info-history-back respectively.
7339         These are the keys next to Up on the ThinkPad keyboard.
7341 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7343         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
7344         * emacs-lisp/cl-macs.el: Provide itself.
7345         (cl--labels-convert-cache): New var.
7346         (cl--labels-convert): New function.
7347         (cl-flet, cl-labels): New implementation with new semantics, relying on
7348         lexical-binding.
7349         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
7350         (cl-closure-vars, cl--function-convert-cache)
7351         (cl--function-convert): Move from cl-macs.el.
7352         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
7353         rename by removing the "cl-" prefix.
7354         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
7356 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7358         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
7359         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
7360         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
7361         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
7362         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
7363         (cl-hash-table-count): Add old compatibility aliases.
7365         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
7366         Use macroexpand-all-environment instead.
7367         (cl--old-macroexpand): New var.
7368         (cl--sm-macroexpand): New function.
7369         (cl-symbol-macrolet): Use it during macro expansion.
7370         (cl--function-convert-cache): New var.
7371         (cl--function-convert): New function, extracted from
7372         cl-macroexpand-all.
7373         (cl-lexical-let): Use it.
7375         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
7376         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
7377         (cl-member): Remove old alias.
7379         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
7380         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
7381         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
7382         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
7383         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
7384         (cl-macroexpand-cmacs): Remove var.
7385         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
7386         Use macroexpand-all instead.
7388 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7390         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
7391         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
7392         (macroexp-copyable-p): New functions and macros.
7393         * emacs-lisp/edebug.el (edebug-unwrap):
7394         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
7395         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
7396         (pcase--let*): Remove.
7397         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
7398         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
7399         macroexp-const-p instead.
7400         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
7402         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
7403         instead of "cl-" for internal definitions.  Use macroexp-const-p.
7404         (cl-old-bc-file-form): Remove var.
7405         (cl-const-exprs-p): Remove fun.
7406         (cl-labels, cl-macrolet): Use backquote.
7407         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
7408         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
7409         (cl-define-setf-expander): Rename from cl-define-setf-method.
7410         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
7412         * international/mule-cmds.el: Don't require CL.
7413         (view-hello-file): Don't use `letf'.
7415 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7417         * tmm.el (tmm-prompt): Use string-prefix-p.
7418         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
7419         (tmm-add-prompt): Use minibuffer-completion-help.
7420         (tmm-delete-map): Remove.
7422         * subr.el (kbd): Make it its own function.
7424 2012-06-07  Stefan Merten  <smerten@oekonux.de>
7426         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
7427         Silence compiler warnings.  Fix versions.
7428         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7429         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
7430         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7431         (rst-package-emacs-version-alist): Correct Emacs version to
7432         represent major merge with upstream.
7433         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7435 2012-06-06  Glenn Morris  <rgm@gnu.org>
7437         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
7438         Only print environment variables if set.
7440 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7442         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
7443         (macroexp--cons): Rename from maybe-cons.
7444         (macroexp--accumulate): Rename from macroexp-accumulate.
7445         (macroexp--all-forms): Rename from macroexpand-all-forms.
7446         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
7447         (macroexp--expand-all): Rename from macroexpand-all-1.
7449 2012-06-06  Sam Steingold  <sds@gnu.org>
7451         * calendar/calendar.el (calendar-in-read-only-buffer):
7452         Call `special-mode' to enable the standard read-only keybindings.
7454 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7456         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
7457         with "loading" messages (bug#11635).
7459 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
7461         * files.el (enable-remote-dir-locals): New option.
7462         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
7464         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
7465         Ensure, that the temp directory is local.
7467         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
7468         `temporary-file-directory'.
7470         * progmodes/python.el (python-send-region): Ensure, that the
7471         temporary file is created also in the remote case.
7473 2012-06-06  Glenn Morris  <rgm@gnu.org>
7475         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
7476         (vc-rcs-update-changelog): Use it.
7478         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
7480         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
7481         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
7482         (vc-sccs-diff): Replace use of the external vcdiff script.
7484 2012-06-05  Glenn Morris  <rgm@gnu.org>
7486         * ledit.el: Move to obsolete/.
7488 2012-06-05  Sam Steingold  <sds@gnu.org>
7490         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
7491         patch (Bug#11140).
7493 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7495         * emacs-lisp/cust-print.el: Move to obsolete.
7497         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
7498         compiler-macro expansion.
7500         Add native compiler-macro support.
7501         * emacs-lisp/macroexp.el (macroexpand-all-1):
7502         Support compiler-macros directly.  Properly follow aliases and apply
7503         the compiler macros more thoroughly.
7504         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
7505         macroexpand now properly follows aliases.
7506         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
7507         (cl-compiler-macroexpand): Use new prop.
7508         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
7510         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
7512 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
7514         * window.el (get-lru-window, get-mru-window, get-largest-window):
7515         New argument NOT-SELECTED to avoid picking the selected window.
7516         (window--display-buffer-1, window--display-buffer-2): Replace by
7517         new function window--display-buffer
7518         (display-buffer-same-window, display-buffer-reuse-window)
7519         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7520         Use window--display-buffer.
7521         (display-buffer-use-some-window): Remove temporary dedication
7522         hack by calling get-lru-window and get-largest-window with
7523         NOT-SELECTED argument non-nil.  Call window--display-buffer.
7525 2012-06-05  Glenn Morris  <rgm@gnu.org>
7527         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
7528         Replace external vcdiff script.
7530 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7532         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
7534 2012-06-04  Chong Yidong  <cyd@gnu.org>
7536         * image.el (imagemagick-types-inhibit): Revert last change.
7537         Add INFO and M.
7538         (imagemagick-enabled-types): Remove CIN and EPS*.
7540 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7542         * emacs-lisp/cl-lib.el: Rename from cl.el.
7543         * emacs-lisp/cl.el: New compatibility file.
7544         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
7545         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
7546         to obey the "cl-" prefix.
7547         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
7549 2012-06-03  Glenn Morris  <rgm@gnu.org>
7551         * emacs-lisp/authors.el (authors-aliases): Addition.
7553         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
7554         Fix :version.
7556 2012-06-03  Stefan Merten  <smerten@oekonux.de>
7558         * textmodes/rst.el: Add comments.
7559         (rst-transition, rst-adornment): New faces.
7560         (rst-adornment-faces-alist): Make default safe to reevaluate.
7561         Fixes
7562         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
7563         Improve customization tags.
7564         (rst-define-level-faces): Clarify meaning.
7566 2012-06-03  Chong Yidong  <cyd@gnu.org>
7568         * progmodes/compile.el (compilation-mode-line-fail)
7569         (compilation-mode-line-run, compilation-mode-line-exit):
7570         New faces.
7571         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
7573 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
7575         * progmodes/which-func.el (which-func-update-ediff-windows):
7576         New function.  Use it in ediff-select-hook (Bug#11478).
7578 2012-06-03  Chong Yidong  <cyd@gnu.org>
7580         * bindings.el: Remove explicit help text from format-mode-line.
7581         It is now supplied by mode-line-default-help-echo.
7582         (mode-line-front-space, mode-line-end-spaces)
7583         (mode-line-misc-info): New variables.
7584         (mode-line-modes, mode-line-position): Move the default value to
7585         the variable definition.
7586         (mode-line-default-help-echo): New defcustom.
7587         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
7588         (mode-line-modified-help-echo): New functions.
7589         (mode-line-mule-info, mode-line-modified): Use them.
7590         (mode-line-eol-desc, propertized-buffer-identification):
7591         Consistency fixes for help text.
7592         (mode-line-coding-system-map): Allow using mouse-3 to invoke
7593         set-buffer-file-coding-system (Bug#289).
7594         (mode-line-mule-info-help-echo): Update help text.
7596 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7598         * simple.el (execute-extended-command): Set real-this-command
7599         (bug#11506).
7601 2012-06-02  Chong Yidong  <cyd@gnu.org>
7603         Remove incorrect uses of "modeline" in comments, docstrings, and
7604         function/variable names (Bug#10329).
7606         * cus-edit.el (mode-line):
7607         * dframe.el (dframe-mouse-hscroll):
7608         * emacs-lisp/re-builder.el:
7609         * emacs-lisp/easy-mmode.el (define-minor-mode):
7610         * frame.el (set-frame-name):
7611         * help.el (lookup-minor-mode-from-indicator):
7612         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
7613         * progmodes/cc-cmds.el (c-toggle-auto-newline)
7614         (c-toggle-hungry-state):
7615         * progmodes/antlr-mode.el (antlr-language-alist):
7616         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
7617         * progmodes/vhdl-mode.el (vhdl-mode):
7618         * progmodes/which-func.el (which-func, which-func-cleanup-function):
7619         * term/ns-win.el (ns-face-at-pos):
7620         * term/sup-mouse.el (sup-mouse-report):
7621         * textmodes/flyspell.el (flyspell-mode-line-string):
7622         * textmodes/ispell.el (ispell-highlight-face):
7623         * textmodes/reftex-global.el:
7624         * vc/vc-arch.el (vc-arch-mode-line-string):
7625         * vc/vc-cvs.el (vc-cvs-mode-line-string):
7626         * vc/vc-git.el (vc-git-mode-line-string):
7627         * vc/vc-hooks.el (vc-display-status)
7628         (vc-default-mode-line-string):
7629         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
7631         * ansi-color.el (ansi-color-faces-vector): Change default faces.
7633         * dired.el (dired-sort-set-mode-line): Rename from
7634         dired-sort-set-modeline.  All callers changed.
7636         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
7637         eshell-status-in-modeline.
7639         * foldout.el (foldout-mode-line-string): Rename from
7640         foldout-modeline-string.  All callers changed.
7641         (foldout-update-mode-line): Rename from foldout-update-modeline.
7643         * subr.el (redraw-modeline): Make into obsolete alias.
7645         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
7646         timeclock-modeline-display.  Make old name an alias.
7647         (timeclock-update-mode-line): Likewise.  All callers changed.
7648         (timeclock-mode-line-display): No need to check before using
7649         add-hook.
7650         (timeclock-relative, timeclock-day-over-hook)
7651         (timeclock-use-elapsed, timeclock-mode-string)
7652         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
7654         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
7655         crisp-mode-modeline-string.
7657         * play/solitaire.el (solitaire-build-mode-line): Rename from
7658         solitaire-build-modeline.  All callers changed.
7660         * play/zone.el (zone-hiding-mode-line): Rename from
7661         zone-hiding-modeline.  All callers changed.
7662         (zone): Remove unusued `modeline-hidden-level' property.
7664         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
7665         xscheme-modeline-initialize.  All callers changed.
7667         * strokes.el (strokes-lighter): Rename from
7668         strokes-modeline-string.
7670         * textmodes/sgml-mode.el (html-face-tag-alist)
7671         (html-tag-face-alist): Use mode-line face instead of obsolete
7672         alias modeline.
7674 2012-06-02  Stefan Merten  <smerten@oekonux.de>
7676         * textmodes/rst.el: Always require `cl'.
7677         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
7679 2012-06-02  Chong Yidong  <cyd@gnu.org>
7681         * image.el (imagemagick-enabled-types): Rename from
7682         imagemagick-types-enable.  Add many more types.
7683         (imagemagick-types-inhibit): Change default to nil.
7684         (imagemagick-filter-types): Caller changed.
7686 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7688         * emacs-lisp/cl-macs.el: Use backquotes.
7689         (cl-transform-function-property): Use eval-and-compile rather than
7690         abusing `require'.
7691         (defstruct): Use declare-function instead of with-no-warnings.
7693         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
7694         (byte-compile-output-docform): Re-add the print-circle bindings.
7695         (byte-compile-fix-header): Use #$ just because it's shorter.
7696         (byte-compile-output-file-form): Remove defun/defmacro.
7698 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
7700         * simple.el (choose-completion): Remove now obsolete binding for
7701         owindow.
7703 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
7705         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
7706         in order to avoid "Stack overflow in regexp matcher".
7708 2012-05-31  Glenn Morris  <rgm@gnu.org>
7710         * image.el: For clarity, call imagemagick-register-types at
7711         top-level, rather than relying on a custom :initialize.
7712         (imagemagick-types-enable): New option.  (Bug#11557)
7713         (imagemagick-filter-types): New function.  (Bug#7406)
7714         (imagemagick-register-types): Use imagemagick-filter-types.
7715         If disabling support, remove elements altogether rather
7716         than using an impossible regexp.
7717         (imagemagick-types-inhibit): Give it the default init function.
7719 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7721         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
7722         Handle arbitrary file name lengths (Bug#11585).
7724 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
7726         * desktop.el (desktop-read): Clear previous and next buffers for
7727         all windows and bury *Messages* buffer (bug#11556).
7729 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
7731         Add `declare' for `defun'.  Align `defmacro's with it.
7732         * emacs-lisp/easy-mmode.el (define-minor-mode)
7733         (define-globalized-minor-mode): Don't autoload the var definitions.
7734         * emacs-lisp/byte-run.el: Use lexical-binding.
7735         (defun-declarations-alist, macro-declarations-alist): New vars.
7736         (defmacro, defun): Use them.
7737         (make-obsolete, define-obsolete-function-alias)
7738         (make-obsolete-variable, define-obsolete-variable-alias):
7739         Use `declare'.
7740         (macro-declaration-function): Mark obsolete.
7741         * emacs-lisp/autoload.el: Use lexical-binding.
7742         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
7744 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7746         * textmodes/ispell.el (ispell-with-no-warnings):
7747         Define as a macro.
7748         (ispell-kill-ispell, ispell-change-dictionary):
7749         Use `called-interactively-p' for Emacs instead of obsolete
7750         `interactive-p'.
7752 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
7754         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
7755         (macro-declaration-function): Move var from C code.
7756         (macro-declaration-function): Define function with defalias.
7757         * emacs-lisp/macroexp.el (macroexpand-all-1):
7758         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
7759         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
7760         defun/defmacro any more.
7761         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
7762         Provide fallback for unknown arglist.
7763         (byte-compile-arglist-warn): Change calling convention.
7764         (byte-compile-output-file-form): Move print-vars binding.
7765         (byte-compile-output-docform): Simplify accordingly.
7766         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
7767         (byte-compile-defmacro-declaration): Remove.
7768         (byte-compile-file-form-defmumble): Generalize to defalias.
7769         (byte-compile-output-as-comment): Return byte-positions.
7770         Simplify callers accordingly.
7771         (byte-compile-lambda): Use `assert'.
7772         (byte-compile-defun, byte-compile-defmacro): Remove.
7773         (byte-compile-file-form-defalias):
7774         Use byte-compile-file-form-defmumble.
7775         (byte-compile-defalias-warn): Remove.
7777 2012-05-29  Stefan Merten  <smerten@oekonux.de>
7779         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
7780         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
7782         (rst-mode-abbrev-table): Merge definition.
7783         (rst-mode): Make sure `font-lock-defaults' is buffer local.
7784         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
7786 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
7788         * calendar/icalendar.el
7789         (icalendar-export-region): Export UID properly.
7791 2012-05-29  Leo Liu  <sdl.web@gmail.com>
7792         * calendar/icalendar.el (icalendar-import-format):
7793         Add `icalendar-import-format-uid' (Bug#11525).
7794         (icalendar-import-format-uid): New.
7795         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
7796         Export UID.
7798 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7800         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
7801         different alternative patterns.
7802         (pcase-codegen): Be more careful to preserve identity.
7803         (pcase--u1): Don't forget to mark vars as used.
7805         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
7806         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
7807         (byte-compile-from-buffer): ...rather than here.
7809         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
7810         functions from byte-compile-function-environment.
7812 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
7814         * window.el (window-deletable-p): Avoid deleting the root window
7815         of a frame with an active minibuffer.
7817 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
7819         * simple.el (choose-completion): Use quit-window (Bug#11567).
7821 2012-05-29  Chong Yidong  <cyd@gnu.org>
7823         * whitespace.el (whitespace-cleanup): Fix usage of
7824         whitespace-empty-at-bob-regexp (Bug#11492).
7826 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
7828         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
7829         revert (Bug#11488).
7831 2012-05-29  Juri Linkov  <juri@jurta.org>
7833         * isearch.el (isearch-mode-map): Bind `M-s _' to
7834         `isearch-toggle-symbol'.  Bind `M-s c' to
7835         `isearch-toggle-case-fold'.
7836         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
7837         (isearch-forward): Add `M-s _' to the docstring.
7838         (isearch-forward-symbol, isearch-toggle-case-fold)
7839         (isearch-symbol-regexp): New functions.  (Bug#11381)
7841 2012-05-29  Juri Linkov  <juri@jurta.org>
7843         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
7844         (isearch-occur, isearch-search-and-update): If `isearch-word' is
7845         a function, call it to get the regexp.
7846         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
7847         property `isearch-message-prefix' instead of the string "word ".
7848         (isearch-search-fun-default): For the case of `isearch-word',
7849         return a lambda that calls re-search-forward/re-search-backward
7850         with a regexp returned by `word-search-regexp' or by the function
7851         in `isearch-word'.
7853 2012-05-29  Juri Linkov  <juri@jurta.org>
7855         * isearch.el (isearch-search-fun-default): New function.
7856         (isearch-search-fun): Move default part to the new function
7857         `isearch-search-fun-default'.
7858         (isearch-search-fun-function): Set the default value to
7859         `isearch-search-fun-default'.  (Bug#11381)
7861         * comint.el (comint-history-isearch-end):
7862         Use `isearch-search-fun-default'.
7863         (comint-history-isearch-search): Use `isearch-search-fun-default'
7864         and remove spacial case for `isearch-word'.
7865         (comint-history-isearch-wrap): Remove spacial case for
7866         `isearch-word'.
7868         * hexl.el (hexl-isearch-search-function):
7869         Use `isearch-search-fun-default'.
7871         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
7872         Use `word-search-regexp' for `isearch-word'.
7874         * misearch.el (multi-isearch-search-fun):
7875         Use `isearch-search-fun-default'.
7877         * simple.el (minibuffer-history-isearch-search):
7878         Use `isearch-search-fun-default' and remove spacial case for
7879         `isearch-word'.
7880         (minibuffer-history-isearch-wrap): Remove spacial case for
7881         `isearch-word'.
7883         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
7884         Remove spacial case for `isearch-word'.
7885         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
7887 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7889         Decrease XEmacs incompatibilities.
7890         * textmodes/flyspell.el (flyspell-check-pre-word-p):
7891         Use `string-match'.
7892         (flyspell-delete-region-overlays): Use alternative definition for
7893         XEmacs.
7894         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
7895         (flyspell-word): Use `process-kill-without-query' if XEmacs.
7896         (flyspell-mode-on): Use `interactive-p' if XEmacs.
7897         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
7898         `define-obsolete-face-alias' under XEmacs, but old method.
7900         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
7901         `with-no-warnings' definition or Emacs alias.
7902         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
7903         (ispell-word): Do not use `region-p' if XEmacs.
7905 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7907         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
7908         Check for `ispell-dictionary-base-alist' instead of full
7909         `ispell-dictionary-alist'.
7910         (ispell-init-process): Show spellchecker when starting new Ispell
7911         process.
7913 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7915         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
7916         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
7918 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
7920         * version.el (motif-version-string, gtk-version-string)
7921         (ns-version-string): Declare.
7923 2012-05-27  Juri Linkov  <juri@jurta.org>
7925         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
7926         after the `eval-defun-1' specialcaseing
7927         like in `edebug-eval-defun' (bug#10181).
7929         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
7930         like in `eval-defun-1'.
7932 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
7934         * mail/sendmail.el (mail-yank-region):
7935         Recognize rmail-yank-current-message in addition to insert-buffer.
7936         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
7937         a *mail* buffer created through rmail-start-mail with sendmail as
7938         mail-user-agent.
7940 2012-05-27  Chong Yidong  <cyd@gnu.org>
7942         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
7943         Default to 256 (Bug#11267).
7945         * help.el (describe-mode): Doc fix.
7947 2012-05-26  Glenn Morris  <rgm@gnu.org>
7949         * w32-fns.el (w32-init-info): Remove.
7950         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
7952         * info.el (info-initialize): For self-contained NS builds, put the
7953         included info/ directory at the front.  (Bug#2791)
7955         * paths.el (Info-default-directory-list): Make it a defcustom,
7956         mainly so that we can use custom-initialize-delay.
7958 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7960         * subr.el (buffer-has-markers-at): Mark obsolete.
7962         * subr.el (lambda): Use declare.
7964         * emacs-lisp/lisp-mode.el (lambda):
7965         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
7967 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
7969         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
7971 2012-05-26  Glenn Morris  <rgm@gnu.org>
7973         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
7975 2012-05-25  Glenn Morris  <rgm@gnu.org>
7977         * paths.el: Remove no-byte-compile.
7978         * loadup.el: No need to load paths.el uncompiled.
7980         * image.el (imagemagick-types-inhibit): Doc fix.
7982         * version.el: Remove no-byte-compile and associated formatting.
7983         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
7984         is ancient code from when there was an "inc-vers.el".
7986 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7988         * progmodes/gdb-mi.el: Minor style changes.
7989         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
7990         Turn into minor modes.
7991         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
7992         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
7993         (gdb-shell): Remove unneeded let-binding.
7994         (gdb-get-many-fields): Eliminate O(n²) behavior.
7996 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
7998         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
7999         platforms that don't link in fontset.c.
8001 2012-05-25  Juri Linkov  <juri@jurta.org>
8003         Use the same diff color scheme as in modern VCSes (bug#10181).
8005         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
8006         to avoid confusion with `diff-added' that now uses green colors.
8007         (diff-removed): Use shades of red.
8008         (diff-added): Use shades of green.
8009         (diff-changed): Leave just the yellow color.
8010         (diff-use-changed-face): New variable.
8011         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
8012         how to highlight context diff changes.
8013         (diff-refine-change): Use shades of yellow.
8014         (diff-refine-removed): New face that uses shades of red.
8015         (diff-refine-added): New face that uses shades of green.
8016         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
8017         `diff-refine-removed' in the call to `smerge-refine-subst'
8018         depending on the value of `diff-use-changed-face'.
8020         * vc/smerge-mode.el (smerge-mine): Use shades of red.
8021         (smerge-other): Use shades of green.
8022         (smerge-base): Use shades of yellow.
8023         (smerge-refined-change): Empty face.
8024         (smerge-refined-removed): New face that uses shades of red.
8025         (smerge-refined-added): New face that uses shades of green.
8026         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
8027         args `props-r' and `props-a', and use them.  Doc fix.
8028         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
8029         on its value use different faces `smerge-refined-change',
8030         `smerge-refined-removed', `smerge-refined-added' in the call to
8031         `smerge-refine-subst'.
8033         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
8034         Add face condition `min-colors 88' with shades of red.
8035         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
8036         `min-colors 88' with shades of green.
8037         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
8038         `min-colors 88' with shades of yellow.
8040 2012-05-24  Glenn Morris  <rgm@gnu.org>
8042         * paths.el (prune-directory-list, remote-shell-program): Move to...
8043         * files.el (prune-directory-list, remote-shell-program): ...here.
8044         For the latter, delay initialization, prefer ssh, just search PATH.
8046         * paths.el (term-file-prefix): Move to faces.el (the only user).
8047         * faces.el (term-file-prefix): Move here, make it a defcustom.
8049         * paths.el (news-directory, news-path, news-inews-program):
8050         Move to gnus/nnspool.el.
8052         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
8054         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
8055         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
8056         Make the latter a defcustom, with a delayed initialization.
8058         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
8059         These were deleted from Gnus itself late 2010.
8061 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
8063         * progmodes/which-func.el (which-func-ff-hook):
8064         Check against user-error, not error.
8066         * emacs-lisp/edebug.el (top): Do not load or set up loading of
8067         cl-specs.el, which no longer exists.
8069 2012-05-22  Glenn Morris  <rgm@gnu.org>
8071         * info.el (info-emacs-bug): New command.
8072         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
8073         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
8075 2012-05-21  Glenn Morris  <rgm@gnu.org>
8077         * makefile.w32-in (update-subdirs-SH):
8078         * Makefile.in (update-subdirs): Update for moved update-subdirs.
8080 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8082         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
8084         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8085         Simplify Maven regexp, and make sure the file can't start with a space
8086         (bug#11517).
8088 2012-05-21  Glenn Morris  <rgm@gnu.org>
8090         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
8091         Scrap superfluous subshells.
8093 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8095         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
8096         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
8098 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
8100         * calc/calc.el (calc-ensure-consistent-units): New variable.
8102         * calc/calc-units.el (math-consistent-units-p)
8103         (math-check-unit-consistency): New functions.
8104         (calc-quick-units, calc-convert-units):
8105         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
8106         is non-nil.
8107         (calc-extract-units): Fix typo.
8109 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8111         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
8113         * textmodes/flyspell.el: Commenting style, plus code simplifications.
8114         (flyspell-default-deplacement-commands): Don't spell check after
8115         repeated window/frame switches (e.g. triggered by mouse-movement).
8116         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
8117         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
8118         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
8119         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
8120         Remove unused vars.
8121         (flyspell-get-casechars, flyspell-get-not-casechars):
8122         Simplify; Don't bother removing a ] just to add it back.
8123         * textmodes/ispell.el (ispell-program-name): Use executable-find.
8125 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8127         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
8128         New functions.
8129         (math-function-table): Add support for more C functions.
8131 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8133         * textmodes/flyspell.el (flyspell-check-pre-word-p)
8134         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8135         Protect delay handling for otherchars against empty otherchars.
8137 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8139         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
8140         their respective macro declarations.
8141         * skeleton.el (define-skeleton):
8142         * progmodes/compile.el (define-compilation-mode):
8143         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
8144         (define-ibuffer-filter):
8145         * emacs-lisp/generic.el (define-generic-mode):
8146         * emacs-lisp/easy-mmode.el (define-minor-mode)
8147         (define-globalized-minor-mode):
8148         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
8149         * emacs-lisp/byte-run.el (defsubst):
8150         * custom.el (deftheme): Add doc-string metadata.
8152 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8154         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
8156 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8158         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
8160         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
8161         * emacs-lisp/cl-macs.el: Idem.
8162         * emacs-lisp/cl-specs.el: Remove.
8164 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8166         Minor renaming of internal CL functions and variables.
8167         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
8168         (cl--position): Rename from cl-position.
8169         (cl--delete-duplicates): Rename from cl-delete-duplicates.
8170         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
8171         (cl--random-state): Rename from *random-state*.
8173 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8175         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
8176         parens around the arg list (bug#11499).
8178 2012-05-17  Juri Linkov  <juri@jurta.org>
8180         * isearch.el (word-search-regexp, word-search-backward)
8181         (word-search-forward, word-search-backward-lax)
8182         (word-search-forward-lax): Move functions from search.c
8183         (bug#10145, bug#11381).
8185 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8187         * textmodes/flyspell.el (flyspell-check-pre-word-p)
8188         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
8189         Delay for otherchars as for normal word components.
8191 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8193         * minibuffer.el (completion--sifn-requote): Fix last change.
8194         (minibuffer-local-must-match-filename-map):
8195         Move define-obsolete-variable-alias before its var.
8197 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8199         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
8201         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
8202         behavior.
8203         (completion--string-equal-p): New function.
8204         (completion--twq-all): Use it to get better assertion failure data.
8206         Only handle ".." and '..' quoting in shell-mode (bug#11466).
8207         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
8208         (shell--requote-argument): New functions.
8209         (shell-completion-vars): Use them.
8210         (shell--parse-pcomplete-arguments): Rename from
8211         shell-parse-pcomplete-arguments.
8212         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
8213         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
8214         Obey comint-file-name-quote-list.
8216         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
8217         (smie-indent-keyword): Use it.
8219 2012-05-14  Stefan Merten  <smerten@oekonux.de>
8221         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
8223 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8225         * net/rlogin.el (rlogin-mode-map): Fix last change.
8227 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
8229         * mail/smtpmail.el (smtpmail-send-command): Send the command and
8230         the following \r\n using a single `process-send-string', since the
8231         Lotus SMTP server refuses to accept any commands if they are sent
8232         with two `process-send-string's (Bug#11444).
8234 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8236         * shell.el (shell-parse-pcomplete-arguments):
8237         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
8239 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
8241         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
8242         (image-transform-scale, image-transform-right-angle-fudge): New vars.
8243         (image-transform-width, image-transform-fit-width): New functions.
8244         (image-transform-properties): Use them.
8245         (image-transform-check-size): New function.
8246         (image-toggle-display-image): Use it (for testing).
8247         (image-transform-set-rotation): Reduce angle mod 360.
8248         Delete obsolete comment.
8250 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
8252         * image-mode.el: Fix scaling (bug#11399).
8253         (image-transform-resize): Doc fix.
8254         (image-transform-properties): Default scale is 1 and height should
8255         be an integer.
8257 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
8259         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
8260         than hard-coding `car', to fix misbehavior when moving forward.
8262 2012-05-13  Chong Yidong  <cyd@gnu.org>
8264         * emacs-lisp/tabulated-list.el (tabulated-list-format)
8265         (tabulated-list-entries, tabulated-list-padding)
8266         (tabulated-list-sort-key): Make permanent-local.
8268         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
8269         (electric-buffer-list): Put electric buffer menu
8270         command descriptions in this docstring, instead of the docstring
8271         of electric-buffer-menu-mode.  Code cleanups.
8272         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
8273         Electric-buffer-menu-mode.
8274         (electric-buffer-update-highlight): Minor code cleanup.
8276 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
8278         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
8279         (Bug#11447)
8281 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8283         Move define-obsolete-variable-alias before the var's definition.
8284         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
8285         * tooltip.el (tooltip-hook):
8286         * textmodes/reftex-toc.el (reftex-toc-map):
8287         * textmodes/reftex-sel.el (reftex-select-label-map)
8288         (reftex-select-bib-map):
8289         * textmodes/reftex-index.el (reftex-index-map)
8290         (reftex-index-phrases-map):
8291         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
8292         * progmodes/meta-mode.el (meta-mode-map):
8293         * novice.el (disabled-command-hook):
8294         * loadhist.el (unload-hook-features-list):
8295         * frame.el (blink-cursor):
8296         * files.el (find-file-not-found-hooks, write-file-hooks)
8297         (write-contents-hooks):
8298         * emulation/tpu-edt.el (GOLD-map):
8299         * emacs-lock.el (emacs-lock-from-exiting):
8300         * emacs-lisp/generic.el (generic-font-lock-defaults):
8301         * emacs-lisp/chart.el (chart-map):
8302         * dos-fns.el (register-name-alist):
8303         * dired-x.el (dired-omit-files-p):
8304         * desktop.el (desktop-enable):
8305         * cus-edit.el (custom-mode-hook):
8306         * buff-menu.el (buffer-menu-mode-hook):
8307         * bookmark.el (bookmark-read-annotation-text-func)
8308         (bookmark-exit-hooks):
8309         * allout.el (allout-mode-deactivate-hook)
8310         (allout-exposure-change-hook, allout-structure-added-hook)
8311         (allout-structure-deleted-hook, allout-structure-shifted-hook):
8312         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
8313         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
8314         comes before the corresponding variable's definition.
8316 2012-05-12  Chong Yidong  <cyd@gnu.org>
8318         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
8319         (Buffer-menu-mouse-select): Restore function (Bug#11459).
8320         (Buffer-menu-mode-map): Bind it.
8321         (Buffer-menu--pretty-name): Add a mouse-face property.
8323 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8325         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
8326         (prolog-upper-case-string, prolog-lower-case-string)
8327         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
8328         (prolog-use-smie, prolog-smie-grammar): New vars.
8329         (prolog-smie-forward-token, prolog-smie-backward-token)
8330         (prolog-smie-rules): New funs.
8331         (prolog-comment-indent): Remove.
8332         (prolog-mode-variables): Use default comment indentation instead.
8333         Setup SMIE.
8334         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
8335         (prolog-mode): Don't call them any more.
8336         (prolog-electric-colon, prolog-electric-dash)
8337         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
8339         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
8341         * minibuffer.el (completion--twq-all): Again, allow case differences.
8343         * term.el: Move keymap initialization code to be more idiomatic.
8344         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
8345         (term-terminal-menu): Move initialization into declaration.
8346         (term-escape-char): Let the user set it in her .emacs.
8348         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
8349         Provide SMIE-based indentation (not enabled by default yet).
8350         (sh-mode-map): Don't bind electric keys.
8351         Use electric-pair-mode instead of skeleton-pair.
8352         (sh-assignment-regexp): Fit within 80 columns.
8353         (sh-indent-supported): Specify actual shell name instead of boolean.
8354         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
8355         (sh-maybe-here-document): Use it.  Make obsolete.
8356         (sh-electric-here-document-mode) New minor mode.
8357         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
8358         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
8359         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
8360         (sh-smie-rc-grammar, sh-use-smie): New vars.
8361         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
8362         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
8363         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
8364         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
8365         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
8366         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
8367         (sh-set-shell): Use smie-setup if requested.
8369         * term.el (term-set-escape-char): Properly set term-escape-char.
8370         See http://stackoverflow.com/questions/10524656.
8372 2012-05-10  Chong Yidong  <cyd@gnu.org>
8374         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
8375         Use url-generic-parse-url, and handle host names and Windows
8376         filenames properly.
8377         (ffap-url-unwrap-remote): Use url-generic-parse-url.
8378         (ffap-url-unwrap-remote): Accept list values, specifying a list of
8379         URL schemes to work on.
8380         (ffap--toggle-read-only): New function.
8381         (ffap-read-only, ffap-read-only-other-window)
8382         (ffap-read-only-other-frame): Use it.
8383         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
8384         necessary for ffap-url-unwrap-remote.
8386 2012-05-10  Dave Abrahams  <dave@boostpro.com>
8388         * cus-start.el (create-lockfiles): Add it.
8390 2012-05-09  Chong Yidong  <cyd@gnu.org>
8392         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
8393         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
8395 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8397         * shell.el (shell-completion-vars): Fix last change (bug#11348).
8399 2012-05-09  Chong Yidong  <cyd@gnu.org>
8401         * ansi-color.el (ansi-color-process-output): Check for validity of
8402         comint-last-output-start before using it.  This avoids a bad
8403         interaction with gdb-mi's input/output buffer.
8405 2012-05-09  Glenn Morris  <rgm@gnu.org>
8407         * files.el (dir-locals-read-from-file):
8408         Mention dir-locals in any error message.
8410 2012-05-09  Chong Yidong  <cyd@gnu.org>
8412         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
8413         package (Bug#11410).
8415         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
8416         variables into description.
8418 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8420         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
8421         shell-delimiter-argument-list (bug#11348).
8422         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
8424 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
8426         * textmodes/rst.el: Silence byte-compiler warnings.
8427         (rst-re-alist, rst-reset-section-caches): Move around.
8428         (rst-re): Use `characterp', not `char-valid-p'.
8429         (font-lock-beg, font-lock-end): Declare.
8431         * progmodes/idlw-shell.el (specs): Remove reference to deleted
8432         variable `idlwave-shell-activate-alt-keybindings' and simplify.
8434         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
8436 2012-05-08  Glenn Morris  <rgm@gnu.org>
8438         * files.el (auto-mode-alist): Treat ".make" like ".mk".
8440 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8442         * vc/log-edit.el: Add GNU coding standards highlighting.
8443         (log-edit-font-lock-gnu-style)
8444         (log-edit-font-lock-gnu-keywords): New vars.
8445         (log-edit-font-lock-keywords): New fun.
8446         (log-edit-mode): Don't fold case in font-lock.
8447         (log-edit-font-lock-keywords): Do not assume case-folding.
8449         * imenu.el: Misc cleanup.  Make docstrings out of comments.
8450         Use lexical-binding.
8451         (imenu--index-alist, imenu--last-menubar-index-alist)
8452         (imenu-menubar-modified-tick): Use defvar-local.
8453         (imenu--split-menu): Remove unused var.
8454         (imenu--cleanup-seen): Declare as global.
8455         (imenu--cleanup): Use dolist.
8457         * subr.el (defvar-local): Add debug spec and doc-string position.
8459 2012-05-08  Glenn Morris  <rgm@gnu.org>
8461         * language/burmese.el, language/cham.el, language/czech.el:
8462         * language/english.el, language/georgian.el, language/greek.el:
8463         * language/japanese.el, language/khmer.el, language/korean.el:
8464         * language/lao.el, language/misc-lang.el, language/romanian.el:
8465         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
8466         * language/thai.el, language/utf-8-lang.el:
8467         Remove no-byte-compile setting.
8469         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
8471 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8473         * progmodes/make-mode.el (makefile-browse):
8474         Remove unnecessary interactive.  (Bug#11324)
8476 2012-05-07  Glenn Morris  <rgm@gnu.org>
8478         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
8480         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
8482 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8484         * loadup.el: Preload newcomment.el.
8485         * newcomment.el: Move autoload-only code to toplevel.
8487         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
8488         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8489         Handle new :right-align column property.
8490         (tabulated-list-print-col): Idem, plus use `display' text-property to
8491         try and preserve alignment for variable pitch fonts.
8493 2012-05-07  Chong Yidong  <cyd@gnu.org>
8495         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
8496         (tabulated-list-use-header-line): New var.
8497         (tabulated-list-init-header): Use it.
8498         (tabulated-list-print-fake-header): New function.
8499         (tabulated-list-print): Use it.
8500         (tabulated-list-sort-button-map): Add non-header-line commands.
8501         (tabulated-list-init-header): Add column name property to basic
8502         labels as well.
8503         (tabulated-list-col-sort): Handle non-header-line button case.
8504         (tabulated-list--sort-by-column-name): Fix a corner case.
8506         * buff-menu.el (list-buffers--refresh):
8507         Handle Buffer-menu-use-header-line.
8509 2012-05-06  Chong Yidong  <cyd@gnu.org>
8511         * buff-menu.el: Convert to Tabulated List mode.
8512         (Buffer-menu-buffer+size-width): Make obsolete.
8513         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
8514         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
8515         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
8516         documentation into docstring of buffer-menu.
8517         (Buffer-menu-toggle-files-only): Add an informative message.
8518         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
8519         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
8520         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
8521         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
8522         (Buffer-menu-execute, Buffer-menu-select)
8523         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
8524         (Buffer-menu-bury): Use Tabulated List machinery.
8525         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
8526         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
8527         Delete.
8528         (list-buffers--refresh): New function.
8529         (list-buffers-noselect): Use it.
8530         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
8531         (Buffer-menu--pretty-file-name): New helper functions.
8533         * loadup.el: Preload tabulated-list.
8535         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
8536         tabulated-list-sort-column.
8537         (tabulated-list-init-header): Add the initial aligning space even
8538         if tabulated-list-padding is zero.
8540 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
8542         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
8543         whose cdr is not a cons cell correctly (bug#11038).
8545 2012-05-06  Chong Yidong  <cyd@gnu.org>
8547         * emacs-lisp/tabulated-list.el (tabulated-list-format):
8548         Accept additional plist in column descriptors.
8549         (tabulated-list-init-header): Obey it.
8550         (tabulated-list-get-entry): New function.
8551         (tabulated-list-put-tag): Use it.  Use string-width instead of
8552         length.
8553         (tabulated-list--column-number): New function.
8554         (tabulated-list-print): Use it.
8555         (tabulated-list-print-col): New function.
8556         Set `tabulated-list-column-name' property on each column's text.
8557         (tabulated-list-print-entry): Use it.
8558         (tabulated-list-delete-entry, tabulated-list-set-col):
8559         New functions.
8560         (tabulated-list-sort-column): New command (Bug#11337).
8562         * buff-menu.el (list-buffers): Move C-x C-b binding from
8563         buff-menu.el to bindings.el.
8565         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
8566         :advertised-binding feature.
8568 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
8570         * progmodes/compile.el (compilation-internal-error-properties):
8571         Calculate start position correctly when end-col is set but
8572         end-line is not (Bug#11382).
8574 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
8576         * man.el (Man-unindent): Use text-property-default-nonsticky to
8577         prevent untabify from inheriting face properties (Bug#11408).
8579 2012-05-05  Stefan Merten  <smerten@oekonux.de>
8581         * textmodes/rst.el: Major merge with upstream development up to
8582         Docutils SVN r7399 / rst.el V1.2.1.
8584         Clarify maintainership and authors.
8586         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
8587         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
8588         (rst-official-version, rst-official-cvs-rev, rst-version)
8589         (rst-package-emacs-version-alist): New functions and variables
8590         for version information.
8592         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
8593         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
8594         (rst-mode-syntax-table, rst-mode): New and corrected functions
8595         and variables representing reStructuredText features.
8597         (rst-re): New function for reStructuredText regexes.  Use in
8598         many places.
8600         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
8601         (rst-mode-map): Rebind keys.
8603         (rst-mode-lazy, rst-font-lock-keywords)
8604         (rst-font-lock-extend-region)
8605         (rst-font-lock-extend-region-internal)
8606         (rst-font-lock-extend-region-extend)
8607         (rst-font-lock-find-unindented-line-limit)
8608         (rst-font-lock-find-unindented-line-match)
8609         (rst-adornment-level, rst-font-lock-adornment-level)
8610         (rst-font-lock-adornment-match)
8611         (rst-font-lock-handle-adornment-pre-match-form)
8612         (rst-font-lock-handle-adornment-matcher): Major revision of
8613         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
8615         (rst-preferred-adornments, rst-adjust-hook)
8616         (rst-new-adornment-down, rst-preferred-bullets)
8617         (rst-preferred-bullets, rst-indent, rst-indent-width)
8618         (rst-indent-field, rst-indent-literal-normal)
8619         (rst-indent-literal-minimized, rst-indent-comment): Change,
8620         extend and improve customization.
8622         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
8623         (rst-normalize-cursor-position, rst-get-decoration)
8624         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
8625         (rst-rstrip, rst-toc-insert-find-delete-contents)
8626         (rst-shift-fill-region, rst-compute-bullet-tabs)
8627         (rst-debug-print-tabs, rst-debug-mark-found)
8628         (rst-shift-region-guts, rst-shift-region-right)
8629         (rst-shift-region-left, rst-use-char-classes)
8630         (rst-font-lock-keywords-function)
8631         (rst-font-lock-indentation-point)
8632         (rst-font-lock-find-unindented-line-begin)
8633         (rst-font-lock-find-unindented-line-end)
8634         (rst-font-lock-find-unindented-line)
8635         (rst-font-lock-adornment-point, rst-font-lock-level)
8636         (rst-adornment-level-alist): Remove functions and variables.
8638         (rst-compare-adornments, rst-get-adornment-match)
8639         (rst-suggest-new-adornment, rst-get-adornments-around)
8640         (rst-adornment-complete-p, rst-get-next-adornment)
8641         (rst-adjust-adornment, rst-display-adornments-hierarchy)
8642         (rst-straighten-adornments): Standardize function names to
8643         use "adornment" instead of "decoration".  Correct callers.
8644         Similar standardizing in many places.
8646         (rst-update-section, rst-adjust, rst-promote-region)
8647         (rst-enumerate-region, rst-bullet-list-region)
8648         (rst-repeat-last-character): Correct use of `interactive'.
8650         (rst-classify-adornment, rst-find-all-adornments)
8651         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
8652         (rst-find-leftmost-column, rst-repeat-last-character):
8653         Refactor functions.
8655         (rst-find-title-line, rst-reset-section-caches)
8656         (rst-get-adornments-around, rst-adjust-adornment-work)
8657         (rst-arabic-to-roman, rst-roman-to-arabic)
8658         (rst-insert-list-pos, rst-insert-list-new-item)
8659         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
8660         New functions.
8662         (rst-all-sections, rst-section-hierarchy)
8663         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
8664         New variables.
8666         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
8667         configuration instead of only buffer.  Change where necessary.
8669         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
8670         (rst-shift-region, rst-adaptive-fill): New functions for
8671         indentation and filling.
8673         (rst-comment-line-break, rst-comment-indent)
8674         (rst-comment-insert-comment, rst-comment-region)
8675         (rst-uncomment-region): New functions for handling comments.
8677         (rst-compile): Quote shell arguments.
8679         (rst-compile-pdf-preview, rst-compile-slides-preview):
8680         Delete temporary files after use.
8682 2012-05-05  Glenn Morris  <rgm@gnu.org>
8684         * calendar/cal-html.el: Optionally include holidays in the output.
8685         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
8686         (cal-html-holidays): New option.
8687         (cal-html-css-default): Add holiday entry.
8688         (holiday-in-range): Autoload it.
8689         (cal-html-htmlify-entry): Add optional class argument.
8690         (cal-html-htmlify-list): Add optional holidays argument.
8691         (cal-html-insert-agenda-days): Include holidays in the output.
8692         (cal-html-one-month): Maybe include holidays.
8694         * calendar/holidays.el (holiday-in-range):
8695         Move here from cal-tex-list-holidays.
8696         * calendar/cal-tex.el (cal-tex-list-holidays):
8697         Make it an obsolete alias for holiday-in-range.  Update all callers.
8699 2012-05-05  Chong Yidong  <cyd@gnu.org>
8701         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
8702         Nextstep.
8704 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
8706         * files.el (file-auto-mode-skip): New var.
8707         (set-auto-mode-1): Use it.
8709 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8711         * repeat.el: Use lexical-binding.
8712         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
8713         (repeat-undo-count): Remove.
8714         (repeat):
8715         * progmodes/octave-mod.el (octave-abbrev-start):
8716         * progmodes/f90.el (f90-abbrev-start):
8717         * face-remap.el (text-scale-adjust):
8718         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
8720         * emacs-lisp/pcase.el (pcase--let*): New function.
8721         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
8722         a bit more.
8723         (pcase--split-pred): Be more clever about ruling out overlap between
8724         a predicate and some constant pattern.
8725         (pcase--q1): Use `null' instead of (eq foo nil).
8727         * subr.el (setq-local, defvar-local): New macros.
8728         (kbd): Redefine as an alias.
8729         (with-selected-window): Leave unrelated frames alone.
8730         (set-temporary-overlay-map): New function.
8732 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8734         * subr.el (user-error): New function.
8735         * window.el (switch-to-buffer):
8736         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
8737         (smerge-match-conflict):
8738         * simple.el (previous-matching-history-element)
8739         (next-matching-history-element, goto-history-element, undo-more)
8740         (undo-start):
8741         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
8742         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
8743         (next-file, tags-loop-scan, list-tags, complete-tag):
8744         * progmodes/compile.el (compilation-loop):
8745         * mouse.el (mouse-minibuffer-check):
8746         * man.el (Man-bgproc-sentinel, Man-goto-page):
8747         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
8748         (Info-history-forward, Info-follow-reference, Info-menu)
8749         (Info-extract-menu-item, Info-extract-menu-counting)
8750         (Info-forward-node, Info-backward-node, Info-next-menu-item)
8751         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
8752         (Info-next-reference, Info-prev-reference, Info-index)
8753         (Info-index-next, Info-follow-nearest-node)
8754         (Info-copy-current-node-name):
8755         * imenu.el (imenu--make-index-alist)
8756         (imenu-default-create-index-function, imenu-add-to-menubar):
8757         * files.el (basic-save-buffer, recover-file):
8758         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8759         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
8760         (checkdoc-message-text, checkdoc-defun):
8761         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
8762         * cus-edit.el (customize-changed-options, customize-rogue)
8763         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
8764         (custom-variable-mark-to-reset-standard)
8765         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
8766         (custom-file):
8767         * completion.el (check-completion-length):
8768         * comint.el (comint-search-arg)
8769         (comint-previous-matching-input-string-position)
8770         (comint-previous-matching-input)
8771         (comint-replace-by-expanded-history-before-point, comint-send-input)
8772         (comint-copy-old-input, comint-backward-matching-input)
8773         (comint-goto-process-mark, comint-set-process-mark):
8774         * calendar/calendar.el (calendar-cursor-to-date): Use it.
8775         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
8777 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8779         * dabbrev.el (dabbrev--ignore-case-p): New function.
8780         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
8781         Use it.
8783         * files.el (automount-dir-prefix): Mark as obsolete.
8785 2012-05-04  Glenn Morris  <rgm@gnu.org>
8787         * patcomp.el, play/bruce.el: Move to obsolete/.
8789 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
8791         Fix minor Y10k bugs.
8792         * arc-mode.el (archive-unixdate):
8793         * autoinsert.el (auto-insert-alist):
8794         * calc/calc-forms.el (math-this-year):
8795         * emacs-lisp/copyright.el (copyright-current-year)
8796         (copyright-update-year, copyright):
8797         * tar-mode.el (tar-clip-time-string):
8798         * time.el (display-time-update):
8799         Don't assume years have 4 digits.
8801 2012-05-04  Chong Yidong  <cyd@gnu.org>
8803         * dos-w32.el (file-name-buffer-file-type-alist)
8804         (direct-print-region-use-command-dot-com):
8805         * ffap.el (ffap-menu-regexp):
8806         * find-file.el (ff-special-constructs):
8807         * follow.el (follow-debug):
8808         * forms.el (forms--debug):
8809         * iswitchb.el (iswitchb-all-frames):
8810         * ido.el (ido-all-frames):
8811         * emacs-lisp/timer.el (timer-max-repeats):
8812         * mail/feedmail.el (feedmail-mail-send-hook)
8813         (feedmail-mail-send-hook-queued):
8814         * mail/footnote.el (footnote-signature-separator):
8815         * mail/mailabbrev.el (mail-alias-separator-string)
8816         (mail-abbrev-mode-regexp):
8817         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
8818         * progmodes/idlwave.el (idlwave-libinfo-file)
8819         (idlwave-default-completion-case-is-down)
8820         (idlwave-library-routines): Convert defvars to defcustoms.
8822         * mail/rmail.el (rmail-decode-mime-charset):
8823         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
8824         (idlwave-shell-fix-inserted-breaks)
8825         (idlwave-shell-activate-alt-keybindings)
8826         (idlwave-shell-use-breakpoint-glyph):
8827         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
8829 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8831         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
8833 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
8835         * progmodes/verilog-mode.el (font-lock-keywords):
8836         Fix mis-highligting auto.  Reported by Craig Barner.
8837         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
8838         defines from global name space.  Reported by Dan Dever.
8839         (verilog-auto-reset, verilog-auto-reset-widths)
8840         (verilog-auto-tieoff): Support using unbased numbers for
8841         AUTORESET and AUTOTIEOFF.
8842         (verilog-submit-bug-report): Update variable list.
8843         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
8844         parenthesis from not matching.  Reported by Michael Rytting.
8845         (verilog-auto-template-lint): Fix hash error when linting modules
8846         with no used templates.
8847         (verilog-warn, verilog-warn-error)
8848         (verilog-warn-fatal): When non-interactive report multiple
8849         warnings before exiting.  Suggested by Brad Dobbie.
8850         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
8851         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
8852         to report unused template errors.  Reported by Brad Dobbie.
8853         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
8854         nets, bug438.  Reported by Vns Blore.
8855         (verilog-auto-inout-module, verilog-auto-reg)
8856         (verilog-read-decls, verilog-read-sub-decls-sig)
8857         (verilog-signals-edit-wire-reg, verilog-signals-with):
8858         Fix passing of Verilog data types in ANSI input/output ports
8859         such as "output logic" into the AUTOs.  Special case "wire" and
8860         "reg" for backwards compatibility presuming Verilog 2001.
8861         (verilog-auto-ascii-enum): Add "auto enum" as alias.
8862         (verilog-preprocess): Fix replication of preprocess output.
8863         Reported by Brad Dobbie.
8864         (verilog-auto-inst-interfaced-ports):
8865         Create verilog-auto-inst-interfaced-ports, bug429.
8866         Reported by Julian Gorfajn.
8867         (verilog-after-save-font-hook)
8868         (verilog-before-save-font-hook): New variable.
8869         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
8870         (verilog-save-font-mods): Wrap disabling fontification, reported
8871         by David Rogoff.
8872         (verilog-do-indent, verilog-pretty-declarations-auto)
8873         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
8874         Reported by Pierre-David Pfister.
8875         (verilog-set-auto-endcomments): Fix endtask auto comments outside
8876         of class declarations, bug292.  Reported by Kevin Heilman.
8877         (verilog-read-decls): Fix 'parameter type' not appearing in
8878         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
8879         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
8880         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
8881         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
8882         Reported by David Kravitz.
8884 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
8886         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
8887         assignment with tests in ifs and for loops.
8888         (verilog-extended-complete-re, verilog-complete-reg): Change so
8889         that DPI inport functions don't look like fuction declarations.
8890         (verilog-pretty-expr): Don't line up assignment
8891         operations to the test and increment in if and for loops
8892         (verilog-extended-complete-re, verilog-complete-reg): Change so
8893         that DPI inport functions don't look like fuction declarations.
8895 2012-05-03  Kenichi Handa  <handa@m17n.org>
8897         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
8898         decoding, and show a warning message without signaling an error
8899         (Bug#11282).
8901 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8903         * emacs-lisp/bytecomp.el
8904         (byte-compile-file-form-custom-declare-variable): Compile all elements,
8905         since cconv.el might have introduced :fun-body, internal-make-closure,
8906         and friends for bytecomp to handle (bug#11391).
8907         * custom.el (defcustom): Avoid ((λ ..) ..).
8909 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8911         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
8913 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
8915         * notifications.el (dbus-debug):
8916         * term/linux.el (gpm-mouse-enable):
8917         * term/screen.el (xterm-register-default-colors): Declare.
8919 2012-05-02  Chong Yidong  <cyd@gnu.org>
8921         * cus-start.el (gc-cons-percentage, exec-suffixes)
8922         (dos-display-scancodes, dos-hyper-key, dos-super-key)
8923         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
8924         (make-cursor-line-fully-visible, void-text-area-pointer)
8925         (font-list-limit): Add customization data.
8927         * allout.el (allout-exposure-change-functions)
8928         (allout-structure-added-functions)
8929         (allout-structure-deleted-functions)
8930         (allout-structure-shifted-functions): Rename abnormal hooks from
8931         *-hook, and convert to defcustoms.
8932         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
8933         Convert to defcustoms.
8934         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
8936         * allout-widgets.el: Hook callers changed.
8938 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
8940         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
8941         the yanked message in preference to the default value of
8942         buffer-file-coding-system.
8944 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
8946         * window.el (display-buffer--action-function-custom-type):
8947         Fix entry.
8949 2012-05-02  Alan Mackenzie  <acm@muc.de>
8951         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
8953 2012-05-01  Glenn Morris  <rgm@gnu.org>
8955         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
8957         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
8959         * cus-edit.el (custom-variable-documentation): Simplify with format.
8961 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
8962             Stefan Monnier  <monnier@iro.umontreal.ca>
8964         * simple.el (suggest-key-bindings, execute-extended-command):
8965         Move from keyboard.c.
8967 2012-05-01  Chong Yidong  <cyd@gnu.org>
8969         * follow.el: Eliminate advice.
8970         (set-process-filter, process-filter, sit-for): Advice deleted.
8971         (follow-mode-off-hook): Obsolete hook removed.
8972         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
8973         Vars deleted.
8974         (follow-auto): Use a :set function.
8975         (follow-mode): Rewritten.  Don't advise process filters.
8976         (follow-switch-to-current-buffer-all, follow-scroll-up)
8977         (follow-scroll-down): Assume follow-mode is bound.
8978         (follow-comint-scroll-to-bottom)
8979         (follow-align-compilation-windows): New functions.
8980         (follow--window-sorter): New function.
8981         (follow-all-followers): Use it to explicitly sort windows by their
8982         positions; don't make assumptions about next-window order.
8983         (follow-windows-start-end, follow-delete-other-windows-and-split)
8984         (follow-calc-win-start): Doc fix.
8985         (follow-windows-aligned-p, follow-select-if-visible): Don't call
8986         vertical-motion unnecessarily.
8987         (follow-adjust-window): New function.
8988         (follow-post-command-hook): Use it.
8989         (follow-call-set-process-filter, follow-call-process-filter)
8990         (follow-intercept-process-output, follow-tidy-process-filter-alist)
8991         (follow-stop-intercept-process-output, follow-generic-filter):
8992         Functions deleted.
8993         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
8994         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
8995         New functions, replacing advice on scroll-bar-* commands.
8996         (follow-mwheel-scroll): New function (Bug#4112).
8998         * comint.el (comint-adjust-point): New function.
8999         (comint-postoutput-scroll-to-bottom): Use it.
9000         Call follow-comint-scroll-to-bottom for Follow mode buffers.
9002 2012-05-01  Glenn Morris  <rgm@gnu.org>
9004         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
9005         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
9006         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
9007         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
9008         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
9009         Remove no-byte-compile setting.
9011 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9013         * minibuffer.el (completion-table-with-quoting): Fix compatibility
9014         all-completions code to not return a number in the last cdr.
9016 2012-04-30  Leo Liu  <sdl.web@gmail.com>
9018         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
9019         read-only error.
9021 2012-04-29  Chong Yidong  <cyd@gnu.org>
9023         * follow.el (follow-calc-win-end): Rewrite to handle partial
9024         screen lines correctly (Bug#8390).
9025         (follow-avoid-tail-recenter): Minor cleanup.
9027 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9029         Avoid the obsolete `assoc' package.
9030         * speedbar.el (speedbar-refresh): Avoid adelete.
9031         (speedbar-file-lists): Simplify and avoid aput.
9032         * man.el (Man--sections, Man--refpages): New vars, replacing
9033         Man-sections-alist and Man-refpages-alist.
9034         (Man-build-section-alist, Man-build-references-alist):
9035         Use them; avoid aput.
9036         (Man--last-section, Man--last-refpage): New vars.
9037         (Man-follow-manual-reference): Use them.
9038         Use the `default' arg of completing-read.
9039         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
9041 2012-04-27  Chong Yidong  <cyd@gnu.org>
9043         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
9045         * startup.el (x-apply-session-resources): New function.
9047         * term/ns-win.el (ns-initialize-window-system):
9048         * term/w32-win.el (w32-initialize-window-system):
9049         * term/x-win.el (x-initialize-window-system): Use it to properly
9050         set menu-bar-mode and other vars from X resources, even if the
9051         initial frame is not a window-system frame (Bug#2299).
9053         * subr.el (read-key): Avoid running filter function when setting
9054         up temporary tool bar entries (Bug#9922).
9056 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
9058         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
9059         (Bug#11344)
9061 2012-04-27  Chong Yidong  <cyd@gnu.org>
9063         * select.el (xselect--encode-string): New function, split from
9064         xselect-convert-to-string.
9065         (xselect-convert-to-string): Use it.
9066         (xselect-convert-to-filename, xselect-convert-to-os)
9067         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
9068         returned strings are properly encoded (Bug#11315).
9070 2012-04-27  Chong Yidong  <cyd@gnu.org>
9072         * simple.el (delete-active-region): Move to killing custom group.
9074 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
9076         * progmodes/which-func.el (which-func-current): Quote %
9077         characters for mode-line processing.
9079 2012-04-27  Chong Yidong  <cyd@gnu.org>
9081         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
9082         reaching eob (Bug#11286).
9084 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
9086         * progmodes/gdb-mi.el (gdb-control-level): New variable.
9087         (gdb): Make it buffer-local and init to zero.
9088         (gdb-control-commands-regexp): New variable.
9089         (gdb-send): Don't wrap in "-interpreter-exec console" if
9090         gdb-control-level is positive.  Increment gdb-control-level
9091         whenever the command matches gdb-control-commands-regexp, and
9092         decrement it each time the command is "end".  (Bug#11279)
9094 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
9096         * window.el (adjust-window-trailing-edge, enlarge-window)
9097         (shrink-window, window-resize):
9098         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
9099         windows (Bug#11276).
9101 2012-04-27  Chong Yidong  <cyd@gnu.org>
9103         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
9104         fix "missing prefix" warning.  All callers changed.
9106 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9108         * emacs-lisp/assoc.el: Move to obsolete/.
9110 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9112         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
9114         * term/ns-win.el (ns-define-service):
9115         * progmodes/pascal.el (pascal-goto-defun):
9116         * progmodes/js.el (js--read-tab):
9117         * progmodes/etags.el (tags-lazy-completion-table):
9118         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
9119         * emacs-lisp/ewoc.el (ewoc--wrap):
9120         * emacs-lisp/assoc.el (aput, adelete, amake):
9121         * doc-view.el (doc-view-convert-current-doc):
9122         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
9124 2012-04-26  Chong Yidong  <cyd@gnu.org>
9126         * image.el (image-type-from-buffer): Only return supported image
9127         type (Bug#9045).
9129         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
9130         value, for symmetry with diff-end-of-hunk.
9131         (diff-split-hunk, diff-find-source-location)
9132         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
9133         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
9134         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
9135         compute the relevant hunk or file properly (Bug#6005).
9136         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
9138 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9140         * vc/vc-mtn.el:
9141         * vc/vc-hg.el:
9142         * vc/vc-git.el:
9143         * vc/vc-dir.el:
9144         * vc/vc-cvs.el:
9145         * vc/vc-bzr.el:
9146         * vc/vc-arch.el:
9147         * vc/vc.el: Replace lexical-let by lexical-binding.
9148         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
9149         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
9150         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
9152 2012-04-26  Chong Yidong  <cyd@gnu.org>
9154         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
9155         (diff-mode-shared-map): Bind it to / and [remap undo].
9157         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
9158         (ediff-window-setup-function): Use it as the default, to set up
9159         windows based on whether the current frame is graphical (Bug#2138).
9160         (ediff-choose-window-setup-function-automatically): Make obsolete.
9162         * vc/ediff-init.el: Always define ediff-pixel-width/height.
9164 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9166         * ffap.el: Remove old code for obsolete package.
9167         (ffap-complete-as-file-p): Remove.
9169         Use completion-table-with-quoting for comint and pcomplete.
9170         * comint.el (comint--unquote&requote-argument)
9171         (comint--unquote-argument, comint--requote-argument): New functions.
9172         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
9173         (comint-quote-filename): Use regexp-opt-charset.
9174         (comint--common-suffix, comint--common-quoted-suffix)
9175         (comint--table-subvert): Remove.
9176         (comint-unquote-function, comint-requote-function): New vars.
9177         (comint--complete-file-name-data): Use them with
9178         completion-table-with-quoting.
9179         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
9180         * pcomplete.el (pcomplete-arg-quote-list)
9181         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
9182         (pcomplete-unquote-argument-function): Default to non-nil.
9183         (pcomplete-unquote-argument): Simplify.
9184         (pcomplete--common-quoted-suffix): Remove.
9185         (pcomplete-requote-argument-function): New var.
9186         (pcomplete--common-suffix): New function.
9187         (pcomplete-completions-at-point): Use completion-table-with-quoting
9188         and completion-table-subvert.
9190         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
9191         (minibuffer--double-dollars): Preserve properties.
9192         (completion--sifn-requote): New function.
9193         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
9195         * minibuffer.el: Add support for completion of quoted/escaped data.
9196         (completion-table-with-quoting, completion-table-subvert): New funs.
9197         (completion--twq-try, completion--twq-all): New functions.
9198         (completion--nth-completion): New function.
9199         (completion-try-completion, completion-all-completions): Use it.
9201 2012-04-25  Leo Liu  <sdl.web@gmail.com>
9203         * progmodes/python.el (python-pdbtrack-get-source-buffer):
9204         Use compilation-message if available to find real filename.
9206 2012-04-25  Chong Yidong  <cyd@gnu.org>
9208         * vc/diff-mode.el (diff-setup-whitespace): New function.
9209         (diff-mode): Use it.
9211         * vc/diff.el (diff-sentinel):
9212         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
9213         Whitespace mode variables based on diff style (Bug#8612).
9215 2012-04-25  Leo Liu  <sdl.web@gmail.com>
9217         * progmodes/python.el (python-send-region): Add suffix .py to the
9218         temp file.
9220         * files.el (auto-mode-alist): Use javascript-mode instead.
9222 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
9224         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
9226         * net/soap-client.el (soap-resolve-references-for-sequence-type)
9227         (soap-resolve-references-for-array-type): Hack to prevent self
9228         references, see Bug#9.
9229         (soap-parse-envelope): Report the contents of the 'detail' node
9230         when receiving a fault reply.
9231         (soap-parse-envelope): Report the contents of the entire 'detail' node.
9233         * net/soap-inspect.el (soap-sample-value-for-simple-type)
9234         (soap-inspect-simple-type): New function.
9236         * net/soap-client.el (soap-simple-type): New struct.
9237         (soap-default-xsd-types, soap-default-soapenc-types)
9238         (soap-decode-basic-type, soap-encode-basic-type):
9239         support unsignedInt and double basic types.
9240         (soap-resolve-references-for-simple-type)
9241         (soap-parse-simple-type, soap-encode-simple-type): New function.
9242         (soap-parse-schema): Parse xsd:simpleType declarations.
9244         * net/soap-client.el (soap-default-xsd-types)
9245         (soap-default-soapenc-types): Add integer, byte and anyURI types.
9246         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
9247         the local name of "soapenc:Array".
9248         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
9249         decoding integer, byte and anyURI xsd types.
9251 2012-04-25  Chong Yidong  <cyd@gnu.org>
9253         * cus-edit.el (custom-buffer-create-internal): Update header text.
9255 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
9257         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
9258         settings on 'system-type', not on 'window-system'.  On MS-Windows,
9259         set interactive-mode on in GDB.
9261 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9263         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
9264         (ruby-syntax-propertize-regexp): Remove.
9265         (ruby-syntax-propertize-function): Split regexp into chunks.
9266         Match following code directly.
9268 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
9270         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
9271         (ruby-syntax-propertize-regexp): New function.
9272         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
9273         by a special keyword.
9275         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
9276         (ruby-syntax-general-delimiters-goto-beg)
9277         (ruby-syntax-propertize-general-delimiters): New functions.
9278         (ruby-syntax-propertize-function): Use them to handle GDL.
9279         (ruby-font-lock-keywords): Move old handling of GDL...
9280         (ruby-font-lock-syntactic-keywords): .. to here.
9281         (ruby-calculate-indent): Adjust indentation for GDL.
9283 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
9285         * notifications.el (top): Remove unneeded declarations.
9286         (notifications-specification-version): Change to "1.2".
9287         (notifications-interface, notifications-notify-method)
9288         (notifications-close-notification-method): Fix docstring.
9289         (notifications-get-capabilities-method): New defconst.
9290         (notifications-notify): Add :action-items, :resident and
9291         :transient hints.  Change "image_data" to "image-data" and
9292         "image_path" to "image-path".
9293         (notifications-get-capabilities): New defun.
9295 2012-04-24  Leo Liu  <sdl.web@gmail.com>
9297         * progmodes/python.el: Move hideshow setup to the end.
9299 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
9301         * window.el (handle-select-window): Clear echo area since this is
9302         no more done by read_char (Bug#11304).
9304 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9306         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
9307         and `/ M' to filter-derived-mode.
9308         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
9309         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
9310         (ibuffer-mark-by-mode): Use default rather than initial-input.
9311         (ibuffer-filter-by-derived-mode): Autoload and require-match.
9313 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
9315         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
9316         (ibuffer-filter-by-derived-mode): New filter.
9317         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
9319 2012-04-23  Andreas Politz  <politza@fh-trier.de>
9321         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
9323 2012-04-23  Chong Yidong  <cyd@gnu.org>
9325         * cus-edit.el (customize-apropos, customize-apropos-options):
9326         Disable matching of non-option variables (Bug#11176).
9327         (customize-option, customize-option-other-window)
9328         (customize-changed-options): Doc fix.
9329         (customize-apropos-options, customize-apropos-faces)
9330         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
9332         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
9333         Fix word list splitting (Bug#11132).
9334         (apropos-symbol, apropos-keybinding, apropos-label)
9335         (apropos-property, apropos-function-button)
9336         (apropos-variable-button, apropos-misc-button): New faces.
9337         (apropos-symbol-face, apropos-keybinding-face)
9338         (apropos-label-face, apropos-property-face, apropos-match-face):
9339         Variables removed (Bug#8396).
9340         (apropos-library-button, apropos-format-plist, apropos-print)
9341         (apropos-print-doc, apropos-describe-plist): Callers changed.
9343 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
9345         * net/xesam.el (xesam-mode-map): Use let-bound map in
9346         initialization.  (Bug#11292)
9348 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9350         Preserve ispell session localwords when switching back to
9351         original buffer.
9353         * textmodes/ispell.el (ispell-buffer-session-localwords):
9354         New buffer-local variable to hold buffer session localwords.
9355         (ispell-kill-ispell): Add option 'clear to delete session
9356         localwords.
9357         (ispell-command-loop, ispell-change-dictionary)
9358         (ispell-buffer-local-words): Preserve session localwords when
9359         needed.
9361         * textmodes/flyspell.el (flyspell-process-localwords)
9362         (flyspell-do-correct): Preserve session localwords when needed.
9364 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9366         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
9367         using obsolete `translation-table-for-input'.
9368         (ispell-word, ispell-process-line, ispell-complete-word):
9369         Use plain `insert' instead of removed `ispell-insert-word'.
9371 2012-04-22  Chong Yidong  <cyd@gnu.org>
9373         * cus-edit.el (custom-variable-menu)
9374         (custom-variable-reset-saved, custom-face-menu)
9375         (custom-face-reset-saved): If there is no saved value, make the
9376         "reset-saved" operation bring back the default (Bug#9509).
9377         (custom-face-state): Properly detect themed faces.
9379         * faces.el (face-spec-set): Stop supporting deprecated form of
9380         third arg.
9382 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
9384         Move functions from C to Lisp.  Make non-blocking method calls
9385         the default.  Implement further D-Bus standard interfaces.
9387         * net/dbus.el (dbus-message-internal): Declare function.
9388         Remove unneeded function declarations.
9389         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
9390         (dbus-message-type-method-return, dbus-message-type-error)
9391         (dbus-message-type-signal): Declare variables.  Remove local
9392         definitions.
9393         (dbus-interface-dbus, dbus-interface-peer)
9394         (dbus-interface-introspectable, dbus-interface-properties)
9395         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
9396         Adapt docstring.
9397         (dbus-interface-objectmanager): New defconst.
9398         (dbus-call-method, dbus-call-method-asynchronously)
9399         (dbus-send-signal, dbus-method-return-internal)
9400         (dbus-method-error-internal, dbus-register-service)
9401         (dbus-register-signal, dbus-register-method): New defuns, moved
9402         from dbusbind.c
9403         (dbus-call-method-handler, dbus-setenv)
9404         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
9405         New defuns.
9406         (dbus-call-method-non-blocking): Make it an obsolete function.
9407         (dbus-unregister-object, dbus-unregister-service)
9408         (dbus-handle-event, dbus-register-property)
9409         (dbus-property-handler): Obey the new structure of
9410         `bus-registered-objects'.
9411         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
9412         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
9413         Use `dbus-call-method'.
9415 2012-04-22  Chong Yidong  <cyd@gnu.org>
9417         * cus-edit.el (custom-commands, custom-reset-menu)
9418         (Custom-reset-standard): Tweak labels.
9419         (custom-reset-button-menu): Change default to t.
9420         (custom-buffer-create-internal): For the custom-reset-button-menu
9421         case, put the revert button first.
9422         (custom-group-subtitle): New face.
9423         (custom-group-value-create): Align docstring to a specific column.
9425         * wid-edit.el (widget-documentation-link-add): Don't handle
9426         indentation in this function.
9427         (widget-documentation-string-indent-to): New function.
9428         (widget-documentation-string-value-create): Use it.
9430         * autorevert.el (auto-revert):
9431         * epg-config.el (epg):
9432         * ibuffer.el (ibuffer):
9433         * mpc.el (mpc):
9434         * ses.el (ses):
9435         * eshell/eshell.el (eshell):
9436         * net/ange-ftp.el (ange-ftp):
9437         * progmodes/ebnf2ps.el (postscript):
9438         * progmodes/flymake.el (flymake):
9439         * progmodes/prolog.el (prolog):
9440         * progmodes/verilog-mode.el (verilog-mode):
9441         * progmodes/which-func.el (which-func):
9442         * term/xterm.el (xterm):
9443         * textmodes/picture.el (picture):
9444         * textmodes/tildify.el (tildify):
9445         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
9446         customization buffers.
9448 2012-04-22  Alan Mackenzie  <acm@muc.de>
9450         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
9451         Adding a ) can hide the resulting (..) from searches.  Fix it.
9452         Bound the backward search to the position of the existing (.
9454 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
9456         * progmodes/verilog-mode.el (verilog-mode): Check whether
9457         which-func-modes is t before adding verilog-mode.
9458         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
9460 2012-04-21  Leo Liu  <sdl.web@gmail.com>
9462         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
9464 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
9466         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
9467         filling of the last column of a table (Bug#5635).
9468         (woman-find-next-control-line): New arg, specifying an additional
9469         regexp component for the control line.
9470         (woman2-roff-buffer): Use it.
9471         (woman-break-table): New function.
9472         (woman2-TS): Use it.
9474 2012-04-21  Chong Yidong  <cyd@gnu.org>
9476         * woman.el (woman-set-buffer-display-table, woman-decode-region)
9477         (woman-horizontal-escapes, woman-negative-vertical-space)
9478         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
9479         (WoMan-warn-ignored): Use ?\s instead of ?\ .
9481 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9483         * minibuffer.el (completion-file-name-table): Complete user names.
9485 2012-04-20  Leo Liu  <sdl.web@gmail.com>
9487         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
9488         and pcase-let*.
9490 2012-04-20  Chong Yidong  <cyd@gnu.org>
9492         * server.el (server-execute): Respect initial-buffer-choice if it
9493         is a string and there are no files to open (Bug#2825).
9494         (server-create-window-system-frame, server-create-tty-frame):
9495         Don't switch buffers here.
9496         (server-process-filter): Only try to open a window system frame if
9497         compiled with graphical support (Bug#8314).
9499 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
9501         * battery.el (battery-echo-area-format): Display remaining time
9502         for sysfs backend too (Bug#11269).
9503         (battery-linux-sysfs): Fix conditional for the charge.
9505 2012-04-20  Chong Yidong  <cyd@gnu.org>
9507         * progmodes/gdb-mi.el (gdb): Revert previous change.
9508         (gdb-inferior-io--init-proc): New function.
9509         (gdb-init-1): Use it.
9510         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
9511         responsible for allocating a new pty and hooking it to gdb when
9512         the old pty gets an EIO due to process exit.
9513         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
9514         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
9515         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
9517 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
9519         * window.el (window-min-size, window-sizable, window-min-delta)
9520         (window-max-delta, window--resizable, window-resizable)
9521         (window-total-size, window-full-height-p, window-full-width-p)
9522         (window-in-direction, window--resize-mini-window, window-resize)
9523         (window--resize-child-windows-normal)
9524         (window--resize-child-windows, window--resize-siblings)
9525         (window--resize-this-window, adjust-window-trailing-edge)
9526         (enlarge-window, shrink-window): Doc fixes.
9528 2012-04-20  Chong Yidong  <cyd@gnu.org>
9530         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
9531         New function to call delete-process on the gdb-inferior buffer's pty.
9532         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
9533         pty process (Bug#11273).
9534         (gdb-update): New arg to suppress talking to the gdb process.
9535         (gdb-done-or-error): Use it.
9536         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
9537         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
9538         sentinel not being called.
9540         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
9542         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
9544 2012-04-20  Glenn Morris  <rgm@gnu.org>
9546         * net/network-stream.el (open-network-stream): Doc fix.
9548 2012-04-20  Chong Yidong  <cyd@gnu.org>
9550         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
9552 2012-04-20  Alan Mackenzie  <acm@muc.de>
9554         Ensure searching for keywords is case sensitive.
9556         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
9557         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
9558         (c-defun-name, c-mark-function, c-cpp-define-name)
9559         (c-comment-indent, c-scan-conditionals, c-indent-defun)
9560         (c-context-line-break): Bind case-fold-search to nil.
9562         * progmodes/cc-mode.el (c-font-lock-fontify-region):
9563         Bind case-fold-search to nil.
9565 2012-04-20  Chong Yidong  <cyd@gnu.org>
9567         * mail/sendmail.el (mail-bury): Call return action with the right
9568         Rmail buffer (Bug#11242).
9570         * server.el (server-process-filter): Handle corner case where both
9571         tty and nowait options are present (Bug#11102).
9573 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
9575         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
9576         (top level): Put into the executable the ident-style '$Id:' tag on
9577         windows-nt as well.
9579 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9581         * electric.el (electric-indent-post-self-insert-function): Check that
9582         electric-indent-mode is enabled in current buffer.
9584 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
9586         * imenu.el (imenu-progress-message): Restore; it is "used" in
9587         erc/erc-imenu.el and net/snmp-mode.el.
9589 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
9591         * avoid.el (mouse-avoidance-mode): Mark unused arg.
9592         (mouse-avoidance-nudge-mouse): Remove unused binding.
9594         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
9596         * descr-text.el (describe-char):
9597         * progmodes/python.el (python-describe-symbol):
9598         Don't call `toggle-read-only', set `buffer-read-only'.
9600         * imenu.el (imenu-default-goto-function): Mark unused args.
9601         (imenu-progress-message): Remove obsolete macro; all callers changed.
9603         * subr.el (keymap-canonicalize): Remove unused binding.
9604         (read-passwd): Mark unused arg.
9606         * tutorial.el (tutorial--display-changes): Remove unused binding.
9607         (tutorial--save-tutorial-to): Remove unused variable.
9609         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
9610         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
9611         (package-generate-autoloads, package-menu--generate)
9612         (package-menu--find-upgrades): Remove unused bindings.
9614         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
9615         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
9616         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
9617         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
9618         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
9619         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
9620         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
9621         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
9622         (cua-delete-char-rectangle): Mark unused args.
9623         (cua-align-rectangle): Remove unused binding.
9625         * mail/rmail.el (compilation--message->loc)
9626         (epa--find-coding-system-for-mime-charset): Declare.
9628         * net/dbus.el (dbus-register-service): Declare.
9629         (dbus-name-owner-changed-handler): Remove unused binding.
9631         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
9632         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
9633         (nxml-scan-backward-within): Mark unused arg.
9634         (nxml-dynamic-markup-word): Remove unused binding.
9636         * mouse.el (mouse-menu-major-mode-map):
9637         * emacs-lisp/authors.el (authors-scan-change-log)
9638         (authors-add-to-author-list):
9639         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
9640         * emacs-lisp/smie.el (smie-auto-fill):
9641         * mail/sendmail.el (mail-bury):
9642         * mail/unrmail.el (unrmail):
9643         * net/tls.el (open-tls-stream):
9644         * textmodes/picture.el (picture-mouse-set-point):
9645         Remove unused bindings.
9647 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
9649         * net/tramp.el (tramp-action-password): Let-bind
9650         `enable-recursive-minibuffers' to t.
9652 2012-04-18  Sam Steingold  <sds@gnu.org>
9654         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
9655         instead of 'string to accommodate values like [f11].
9656         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
9657         * progmodes/gdb-mi.el: Likewise.
9659 2012-04-18  Leo Liu  <sdl.web@gmail.com>
9661         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
9662         current buffer.
9663         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
9664         LOCAL is nil.
9666 2012-04-18  Chong Yidong  <cyd@gnu.org>
9668         * simple.el (line-move): Use forward-line if in batch mode
9669         (Bug#11053).
9671 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
9673         * files.el (after-find-file): Do not try to add a final newline if
9674         the buffer is read-only (Bug#11156).
9676 2012-04-17  Richard Stallman  <rms@gnu.org>
9678         * mail/rmail.el (rmail-start-mail):
9679         Pass (rmail-mail-return...) for the return-action.
9680         Pass (rmail-yank-current-message...) for the yank-action.
9681         (rmail-yank-current-message): New function.
9682         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
9683         (rmail-reply): Likewise.
9684         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
9686         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
9687         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
9688         buffer, not newbuf.
9690 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
9692         * server.el (server-ensure-safe-dir): Simplify.
9694 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9696         * emacs-lisp/smie.el: Provide smarter auto-filling.
9697         (smie-auto-fill): New function.
9698         (smie-setup): Use it.
9700         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
9702 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
9704         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
9705         (comment-indent): Use it.
9707 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
9709         * ses.el: The overall change is to add cell renaming, that is
9710         setting fancy names for cell symbols other than name matching
9711         "\\`[A-Z]+[0-9]+\\'" regexp .
9712         (ses-localvars): Add ses--renamed-cell-symb-list.
9713         (ses-create-cell-variable): New defun.
9714         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
9715         (ses-relocate-formula): Relocate formulas only for cells the
9716         symbols of which are not renamed, i.e. symbols whose names do not
9717         match regexp "\\`[A-Z]+[0-9]+\\'".
9718         (ses-relocate-all): Relocate values only for cells the symbols of
9719         which are not renamed.
9720         (ses-load): Create cells variables as the (ses-cell ...) are read,
9721         in order to check row col consistency with cell symbol name only
9722         for cells that are not renamed.
9723         (ses-replace-name-in-formula): New defun.
9724         (ses-rename-cell): New defun.
9726 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
9728         * progmodes/perl-mode.el (perl-indent-parens-as-block):
9729         New option (bug#11118).
9730         (perl-calculate-indent): Respect it.
9732 2012-04-17  Glenn Morris  <rgm@gnu.org>
9734         * dired-aux.el (dired-mark-read-string): Doc fix.
9736 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
9738         * dired-aux.el (dired-mark-read-string): Offer optional completion.
9739         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
9741 2012-04-17  Glenn Morris  <rgm@gnu.org>
9743         * mouse.el (mouse-drag-track):
9744         * speedbar.el (speedbar-frame-mode):
9745         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
9747 2012-04-16  Leo Liu  <sdl.web@gmail.com>
9749         * progmodes/python.el: Trivial cleanup.
9751 2012-04-16  Glenn Morris  <rgm@gnu.org>
9753         * vc/vc.el (vc-string-prefix-p):
9754         * vc/pcvs-util.el (cvs-string-prefix-p):
9755         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
9756         * mpc.el (mpc-string-prefix-p):
9757         Make all of these into obsolete aliases for string-prefix-p.
9758         Update callers.
9759         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
9761         * textmodes/two-column.el: Move custom options to the start.
9762         (frame-width): Remove compat definition.
9763         (2C-associate-buffer, 2C-dissociate):
9764         Use with-current-buffer rather than save-excursion.
9765         (2C-dissociate): Force a mode-line update.
9766         (2C-autoscroll): Use ignore-errors.
9768         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
9769         Autoload trivia.
9771         * emacs-lisp/cl-extra.el (*random-state*):
9772         Remove unnecessary declaration.
9774         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
9776         * play/cookie1.el (cookie-snarf):
9777         Give an explicit error if input file cannot be read.
9779         * play/yow.el (yow-file): Use expand-file-name rather than concat.
9781         * progmodes/perl-mode.el (c-macro-expand):
9782         Remove unnecessary autoload (it is in loaddefs.el).
9784         * textmodes/picture.el (picture-desired-column)
9785         (picture-update-desired-column): Convert comments to doc-strings.
9786         (picture-substitute): Remove function.
9787         (picture-mode-map): Initialize in the defvar.
9789         * woman.el: Remove eval-after-load for tar-mode.
9790         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
9791         (woman-tar-extract-file): Autoload it.
9793         * frame.el (automatic-hscrolling): Make this alias obsolete.
9795 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9797         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
9798         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
9799         (ispell-dictionary-base-alist): Revert to original XEmacs
9800         friendly version for default.  [:alpha:] will be added in
9801         `ispell-set-spellchecker-params' if needed.
9803 2012-04-16  Chong Yidong  <cyd@gnu.org>
9805         * image.el (imagemagick--file-regexp): New variable.
9806         (imagemagick-register-types): Use it.
9807         (imagemagick-types-inhibit): Add :set function.  Allow new value
9808         of t to inhibit all types.
9810         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
9811         so we can preload it.
9813         * loadup.el (fboundp): Preload regexp-opt, needed by
9814         imagemagick-register-types.
9816 2012-04-15  Chong Yidong  <cyd@gnu.org>
9818         * frame.el (scrolling): Remove nearly unused customization group.
9820         * scroll-all.el (scroll-all-mode): Move to windows group.
9822 2012-04-15  Chong Yidong  <cyd@gnu.org>
9824         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
9826 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9828         Avoid the use of ((lambda ...) ...) in lexical-binding code.
9829         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
9831 2012-04-15  Glenn Morris  <rgm@gnu.org>
9833         * simple.el (process-file-side-effects): Doc fix.
9835 2012-04-15  Glenn Morris  <rgm@gnu.org>
9837         * international/mule-cmds.el (set-language-environment): Doc fix.
9839 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
9841         * server.el (server-auth-key, server-generate-key): Doc fixes.
9842         (server-get-auth-key): Doc fix.  Use `string-match-p'.
9843         (server-start): Reflow docstring.
9845 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
9847         * server.el (server-generate-key): `called-interactively-p'
9848         requires a parameter.
9850 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
9852         * server.el (server-auth-key): New variable.
9853         (server-generate-key, server-get-auth-key): New function.
9854         (server-start): Use the new variable and functions to allow
9855         setting a permanent server key (bug#9423).
9857 2012-04-14  Leo Liu  <sdl.web@gmail.com>
9859         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
9861 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
9863         Spelling fixes.
9864         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
9865         Emacs uses American spelling.
9867 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
9869         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
9870         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
9871         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
9872         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
9874 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9876         * progmodes/which-func.el (which-func-modes): Change default.
9878 2012-04-14  Kim F. Storm  <storm@cua.dk>
9880         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
9881         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
9883 2012-04-14  Chong Yidong  <cyd@gnu.org>
9885         * custom.el (custom-theme-set-variables): Doc fix.
9887 2012-04-14  Glenn Morris  <rgm@gnu.org>
9889         * international/mule.el (set-auto-coding-for-load): Doc fix.
9891 2012-04-14  Alan Mackenzie  <acm@muc.de>
9893         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
9894         imenu work again for Objective C Mode.  Correct the *-index values,
9895         these having been disturbed by a previous change in 2011-08.
9897         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
9898         Correct two search limits.
9900 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9902         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
9904 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
9906         * international/characters.el: Fix sorting.
9908 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
9910         * international/characters.el: Add more missing Latin case pairs.
9912 2012-04-14  Glenn Morris  <rgm@gnu.org>
9914         * files.el (dir-locals-set-class-variables): Doc fix.
9916 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
9918         * international/characters.el: Add set-case-syntax-pair call for
9919         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
9920         counterpart.  (Bug#11209)
9922         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
9924 2012-04-14  Glenn Morris  <rgm@gnu.org>
9926         * calendar/holidays.el (calendar-check-holidays): Doc fix.
9928 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
9930         * textmodes/ispell.el (ispell-dictionary-base-alist):
9931         Add data for Hebrew.
9933 2012-04-14  Chong Yidong  <cyd@gnu.org>
9935         * net/rcirc.el (rcirc-cmd-quit):
9936         Revert 2012-03-18 change (Bug#11192).
9938 2012-04-14  Glenn Morris  <rgm@gnu.org>
9940         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
9942 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
9944         * minibuffer.el (completion-in-region-mode-map):
9945         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
9947 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
9949         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
9951 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
9953         * minibuffer.el (minibuffer-local-filename-syntax): New variable
9954         to allow `C-M-f' and `C-M-b' to move to the nearest path
9955         separator (bug#9511).
9957 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
9959         * avoid.el: Require cl when compiling.  And also move the
9960         `provide' to the end.
9962 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9964         * avoid.el (mouse-avoidance-banish-position): New variable.
9965         (mouse-avoidance-banish-destination): Use it (bug#10165).
9967 2012-04-13  Leo Liu  <sdl.web@gmail.com>
9969         * progmodes/which-func.el (which-func-modes): Add objc-mode.
9971 2012-04-13  Ken Brown  <kbrown@cornell.edu>
9973         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
9974         this is no longer needed now that cygstart understands file:// URLs.
9975         (browse-url-filename-alist): For the same reason, don't modify
9976         file:// URLs on Cygwin.
9978 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9980         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
9981         the region on shift if the binding is already shifted (bug#11221).
9983 2012-04-12  Glenn Morris  <rgm@gnu.org>
9985         * mail/mailpost.el: Move to obsolete/.
9987 2012-04-12  Drew Adams  <drew.adams@oracle.com>
9989         * imenu.el (imenu--generic-function): Ignore invisible definitions
9990         (bug#10123).
9992 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
9994         * hexl.el (hexl-bits): New variable.
9995         (hexl-options): Mention the variable in the doc string.
9996         (hexl-rulerise, hexl-line-displen): New functions.
9997         (hexl-mode): Mention the new variable.
9998         (hexl-mode, hexl-current-address, hexl-current-address):
9999         Use the displen.
10000         (hexl-ascii-start-column): New function.
10001         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
10002         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
10004 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10006         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
10007         '("-i" ENCODING), in 2 separate command-line arguments, to specify
10008         the encoding, as expected by hunspell.
10010 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10012         * battery.el (battery--linux-sysfs-regexp): New const.
10013         (battery-status-function): Use it.  Remove yeeloong special case.
10014         (battery-yeeloong-sysfs): Remove.
10015         (battery-echo-area-format): Remove yeeloong special case.
10017 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10019         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
10020         Reported by Noah Friedman.
10022         * subr.el (read-passwd): Use read-string.
10024 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10026         * vcursor.el (vcursor-move): Increase the priority of the overlay
10027         (bug#9663).
10029 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
10031         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
10032         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
10034 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
10036         * textmodes/artist.el (artist-mode): Convert artist-mode to use
10037         define-minor-mode (bug#10760).
10039 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
10041         * progmodes/grep.el (rgrep): Tweak the find command line so
10042         that directories matching `grep-find-ignored-files' won't be
10043         pruned (bug#10351).
10045 2012-04-11  Chong Yidong  <cyd@gnu.org>
10047         * startup.el (command-line): Remove support for long-obsolete
10048         variable font-lock-face-attributes.
10050 2012-04-11  Glenn Morris  <rgm@gnu.org>
10052         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
10054 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10056         * window.el (window--state-get-1): Obey window-point-insertion-type.
10058 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
10060         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
10061         to previous function when point is on the first character of a
10062         function.  Take care of that in `narrow-to-defun' (bug#6157).
10064 2012-04-11  Glenn Morris  <rgm@gnu.org>
10066         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
10067         not just file-errors.
10069         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
10070         (vc-bzr-sha1): Use internal sha1.
10072 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
10074         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
10076 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
10078         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
10079         that start in the middle of the line (bug#10496).
10081 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
10083         * battery.el (battery-linux-proc-acpi): Only one battery is
10084         discharged at a time, but that seems to confuse battery.el when
10085         computing `rate-type' for the battery not being discharged
10086         (bug#10332).
10088 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10090         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
10092         * international/quail.el: Use dolist and simplify.
10093         (quail-define-package, quail-update-keyboard-layout)
10094         (quail-define-rules): Use dolist.
10095         (quail-insert-kbd-layout, quail-get-translation): CSE.
10097         * tmm.el: Use dolist, remove left over hook.
10098         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
10099         Use dolist.
10100         (calendar-load-hook): Don't mess with it.
10102         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
10103         Use derived-mode-p.  Run the diff asynchronously.
10105 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10107         * obsolete/mouse-sel.el: Add an Obsolete-since header.
10109 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
10111         * misc.el: Display absolute path of loaded DLLs (bug#10424).
10112         (list-dynamic-libraries--loaded): New function.
10113         (list-dynamic-libraries--refresh): Use it.
10115 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
10117         * progmodes/python.el (python-fill-paragraph):
10118         Make python-fill-region in a multiline string work when font-lock is
10119         disabled (bug#7018).
10121 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
10123         * language/european.el (cp775): Add oem/legacy (en)coding on
10124         DOS/MS Windows for the Baltic languages.  There are still plenty
10125         of texts written in this encoding/codepage (bug#6519).
10127 2012-04-10  Glenn Morris  <rgm@gnu.org>
10129         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
10130         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
10132 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
10134         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
10135         next-line "n" and previous-line "p" in order to make recentf more
10136         consistent with ibuffer, dired or org-mode (bug#9387).
10138 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10140         * image.el (put-image): Return the overlay created instead of the
10141         optional input string (bug#7834).  Note that this may break code
10142         that is (for some reason or other) depending on `put-image'
10143         returning the string.
10145         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
10147         * simple.el (zap-to-char): Allow zapping using input methods
10148         (bug#1580).
10150         * textmodes/fill.el (fill-region): Leave point and mark where they
10151         were before filling (bug#5399).
10153 2012-04-09  Glenn Morris  <rgm@gnu.org>
10155         * version.el (emacs-bzr-get-version):
10156         Handle lightweight checkouts of local branches.
10158 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
10160         * international/characters.el: Recover lost case pairs.  (Bug#11209)
10162 2012-04-09  Chong Yidong  <cyd@gnu.org>
10164         * custom.el (custom-variable-p): Return nil for non-symbol
10165         arguments instead of signaling an error.
10166         (user-variable-p): Obsolete alias for custom-variable-p.
10168         * apropos.el (apropos-variable):
10169         * files-x.el (read-file-local-variable):
10170         * simple.el (set-variable):
10171         * woman.el (woman-mini-help):
10172         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
10174 2012-04-09  Glenn Morris  <rgm@gnu.org>
10176         * startup.el (normal-top-level): Don't look for leim-list.el
10177         in places where it will not be found.  (Bug#910)
10179         * international/mule-cmds.el (set-default-coding-systems):
10180         * files.el (normal-mode):
10181         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
10182         This function was removed with ucs-tables.el in 2008.
10184 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
10186         * textmodes/ispell.el (ispell-check-version): For hunspell, set
10187         ispell-encoding8-command to "-i", without a trailing space.
10188         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
10189         separate command-line arguments, to specify the encoding, since
10190         that's how hunspell expects it.
10192 2012-04-08  Glenn Morris  <rgm@gnu.org>
10194         * loadup.el: Load bindings before cus-start.
10195         This reduces somewhat the number of "rogue" settings in emacs -Q.
10197 2012-04-07  Glenn Morris  <rgm@gnu.org>
10199         * version.el (emacs-bzr-get-version): New function.
10200         (emacs-bzr-version): New variable.
10201         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
10202         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
10204 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
10206         * international/uni-bidi.el, international/uni-category.el:
10207         * international/uni-combining.el, international/uni-decimal.el:
10208         * international/uni-decomposition.el, international/uni-digit.el:
10209         * international/uni-lowercase.el, international/uni-mirrored.el:
10210         * international/uni-name.el, international/uni-numeric.el:
10211         * international/uni-titlecase.el, international/uni-uppercase.el:
10212         Update for Unicode 6.1.
10214 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
10216         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
10218 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10220         * window.el (shrink-window): Mention the `window-min-height'
10221         variable in the doc string.
10223 2012-04-05  Bastien Guerry  <bzg@altern.org>
10225         * color.el (color-lighten-name): Fix typo.
10227 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10229         * server.el (server--on-display-p): New function.
10230         (server--on-display-p): Use it.
10232 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
10234         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
10235         (bug#11145).
10237 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10239         * comint.el (comint--common-quoted-suffix): Check string boundary
10240         before comparing (bug#11158).
10241         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
10243 2012-04-04  Chong Yidong  <cyd@gnu.org>
10245         * minibuffer.el (completion-extra-properties): Doc fix.
10247         * subr.el (delayed-warnings-hook): Doc fix.
10249 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
10251         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
10252         selection (Bug#11159).
10253         (epa-insert-keys): Inform that the default public key will be
10254         exported if no key is selected.
10256 2012-04-04  Richard Stallman  <rms@gnu.org>
10258         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
10260 2012-04-03  Chong Yidong  <cyd@gnu.org>
10262         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
10263         mail-insert-file, not its obsolete alias mail-attach-file.
10265 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
10267         * notifications.el (notifications-notify): Fix docstring.
10269 2012-04-02  Glenn Morris  <rgm@gnu.org>
10271         * emacs-lisp/authors.el (authors-aliases): Another addition.
10273 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
10275         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
10276         `tramp-compat-call-process' instead of `tramp-local-call-process'.
10277         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
10279 2012-04-01  Chong Yidong  <cyd@gnu.org>
10281         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
10282         Handle root directory properly.
10283         (copy-directory): Caller changed.
10285         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10286         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
10288 2012-03-31  Glenn Morris  <rgm@gnu.org>
10290         * term/xterm.el (xterm-extra-capabilities): Doc fix.
10292         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
10294         * calendar/calendar.el (calendar-window-list)
10295         (calendar-hide-window): Restore.  (Bug#11140)
10296         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
10298         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
10300 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10302         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
10303         Check if file is a symlink (Bug#10489).
10305         * files.el (copy-directory): Likewise.
10307 2012-03-30  Chong Yidong  <cyd@gnu.org>
10309         * image.el (imagemagick-types-inhibit)
10310         (imagemagick-register-types): Doc fix.
10312 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
10314         * textmodes/ispell.el (ispell-get-extended-character-mode):
10315         Disable extended-char-mode for hunspell.  hunspell does not support it
10316         and treats ~word as ordinary words in pipe mode.
10318 2012-03-30  Glenn Morris  <rgm@gnu.org>
10320         * tutorial.el (help-with-tutorial): Ensure local variables don't
10321         happen to make the buffer read-only.  (Bug#11127)
10323 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
10325         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
10326         (perl-calculate-indent): Return `noindent' in strings.
10328 2012-03-28  Sam Steingold  <sds@gnu.org>
10330         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
10331         instead of the broken adhockery which does not prevent calendar
10332         buffers from being displayed at random after exit.
10333         (calendar-window-list, calendar-hide-window): Remove the broken
10334         adhockery.
10336 2012-03-28  Glenn Morris  <rgm@gnu.org>
10338         * replace.el (query-replace-map): Doc fix.
10340 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
10342         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
10343         contents.  (Bug#11109)
10345 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
10347         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
10348         (bug#11077).
10349         (avl-tree--check, avl-tree--check-node): New funs.
10351 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
10353         * window.el (switch-to-visible-buffer): New option.
10354         (switch-to-prev-buffer, switch-to-next-buffer):
10355         Observe switch-to-visible-buffer.  Make sure that checking for a window
10356         showing a buffer already is done on the same frame.
10358 2012-03-27  Glenn Morris  <rgm@gnu.org>
10360         * startup.el (mail-host-address): Doc fix.
10362 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
10364         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
10365         than 197 variables.
10367 2012-03-26  Ami Fischman  <ami@fischman.org>
10369         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
10371 2012-03-26  Glenn Morris  <rgm@gnu.org>
10373         * files.el (save-buffers-kill-emacs): Doc fix.
10375         * startup.el (normal-top-level, command-line, command-line-1):
10376         Give them doc strings.
10378 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
10380         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
10381         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
10383 2012-03-25  Chong Yidong  <cyd@gnu.org>
10385         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
10386         theme if it was previously enabled before (Bug#11031).
10388         * cus-theme.el (custom-theme-write-faces): Retrieve current face
10389         spec with custom-face-get-current-spec if its :shown-value is not
10390         determined yet (Bug#9337).
10391         (customize-create-theme, custom-theme-revert): Doc fixes.
10393         * button.el (button-at): Minor addition to docstring.
10395 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
10397         * vc/vc.el (vc-merge): Fix a prompt.
10399 2012-03-24  Chong Yidong  <cyd@gnu.org>
10401         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
10402         point (Bug#9623).
10404         * button.el (button-at): Minor addition to docstring.
10406 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10408         * newcomment.el (comment-choose-indent): No space after BOL.
10410 2012-03-22  Sam Steingold  <sds@gnu.org>
10412         * window.el (switch-to-prev-buffer): Revert last patch because the
10413         bug turned out to be an advertised feature (Elisp manual 28.14).
10415 2012-03-22  Glenn Morris  <rgm@gnu.org>
10417         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
10418         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
10420 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10422         * net/network-stream.el (network-stream-open-starttls): Make error
10423         message under Windows be less misleading.
10425 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
10427         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
10428         understands (bug#9942).
10430 2012-03-22  Chong Yidong  <cyd@gnu.org>
10432         * simple.el (end-of-visible-line): Handle return value of
10433         next-single-property-change properly (Bug#9371).
10435 2012-03-22  Kenichi Handa  <handa@m17n.org>
10437         * international/quail.el (quail-insert-kbd-layout): Fix previous
10438         change.  To avoid unwanted bidi reordering, use
10439         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
10441 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
10443         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
10444         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
10445         (ruby-beginning-of-indent): Be more careful with the difference
10446         between word-boundary and symbol boundary.
10447         (ruby-mode-syntax-table): Make : a symbol constituent.
10449 2012-03-21  Andreas Politz  <politza@fh-trier.de>
10451         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
10453 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10455         * progmodes/etags.el (tags-completion-at-point-function):
10456         Improve last fix.
10458         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
10460 2012-03-21  Sam Steingold  <sds@gnu.org>
10462         * progmodes/etags.el (tags-completion-at-point-function):
10463         Avoid the error when point is inside the pattern.
10465 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
10467         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
10468         line (Bug#10855).
10470 2012-03-21  Drew Adams  <drew.adams@oracle.com>
10472         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
10474 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
10476         * ido.el (ido-set-current-directory, ido-read-internal)
10477         (ido-choose-completion-string, ido-completion-help): Handle nil
10478         value of ido-completion-buffer (Bug#11008).
10480 2012-03-21  Sam Steingold  <sds@gnu.org>
10482         * window.el (switch-to-prev-buffer): Do not switch to a visible
10483         window previous buffer, just like with the frame previous buffers.
10485 2012-03-21  Chong Yidong  <cyd@gnu.org>
10487         * faces.el (make-face, make-empty-face, copy-face):
10488         * face-remap.el (face-remap-add-relative, face-remap-set-base):
10489         Doc fixes.
10491 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10493         * wid-edit.el (widget-complete-field): Remove (bug#11051).
10494         (widget-complete): Remove broken use of it.
10496 2012-03-20  Chong Yidong  <cyd@gnu.org>
10498         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
10499         Use string-width and truncate-string-width to handle arbitrary
10500         characters.
10502 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
10504         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
10505         to draw rectangles, not squares.  (Regression introduced by revno
10506         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
10508 2012-03-18  Chong Yidong  <cyd@gnu.org>
10510         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
10511         it is not yet defined (for temacs).
10513 2012-03-18  Leo Liu  <sdl.web@gmail.com>
10515         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
10516         prefix.
10518 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
10520         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
10521         (ispell-choices-win-default-height, ispell-silently-savep)
10522         (ispell-dictionary-alist, ispell-encoding8-command)
10523         (ispell-check-version, ispell-aspell-find-dictionary)
10524         (ispell-valid-dictionary-list, ispell-words-keyword)
10525         (ispell-get-word, ispell-internal-change-dictionary)
10526         (ispell-region, ispell-skip-region-list)
10527         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
10528         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
10529         (ispell-message-text-end, ispell-message)
10530         (ispell-buffer-local-parsing): Doc fix.
10532 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
10534         * htmlfontify.el: Add support for code block fontification for ODT
10535         export (Bug #9914).
10536         (hfy-optimisations): Define new option
10537         `body-text-only'
10538         (hfy-fontify-buffer): Honor above setting.
10539         (hfy-begin-span, hfy-end-span): New routines factored out form
10540         `hfy-fontify-buffer'.
10541         (hfy-begin-span-handler, hfy-end-span-handler): New variables
10542         that permit insertion of custom tags.
10543         (hfy-fontify-buffer): Use above handlers.
10544         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
10545         (hfy-face-to-css): Re-defined to be a variable.
10546         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
10547         over multiple runs.  This is made possible by having the caller let
10548         bind a special variable `hfy-user-sheet-assoc'.
10549         (htmlfontify-string): New defun.
10550         (hfy-compile-face-map): Make sure that the last char in the
10551         buffer is correctly fontified.
10552         (hfy-face-resolve-face): Whitespace only change.
10554 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
10556         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
10557         message more clear.
10559 2012-03-16  Leo Liu  <sdl.web@gmail.com>
10561         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
10563 2012-03-16  Alan Mackenzie  <acm@muc.de>
10565         Further optimise the handling of large macros.
10567         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
10568         limit to a call of `c-literal-limits'.
10569         (c-determine-+ve-limit): New function.
10570         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
10571         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
10572         In CASE 5B, restrict a search limit to 500.
10573         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
10575         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
10576         Restrict macro bounds to +-500 from after-change's BEG END.
10578 2012-03-16  Leo Liu  <sdl.web@gmail.com>
10580         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
10582 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
10584         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
10585         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
10587 2012-03-16  Glenn Morris  <rgm@gnu.org>
10589         * view.el (view-buffer, view-buffer-other-window)
10590         (view-buffer-other-frame): Doc fixes re special mode-class.
10592         * subr.el (eval-after-load): If named feature is provided not from
10593         a file, run after-load forms.  (Bug#10946)
10595         * calendar/calendar.el (calendar-insert-at-column):
10596         Handle non-unit-width characters a bit better.  (Bug#10978)
10598 2012-03-15  Chong Yidong  <cyd@gnu.org>
10600         * emacs-lisp/ring.el (ring-extend): New function.
10601         (ring-insert+extend): Extend the ring correctly (Bug#11019).
10603         * comint.el (comint-read-input-ring)
10604         (comint-add-to-input-history): Grow comint-input-ring lazily.
10606 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10608         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
10609         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
10611         * imenu.el: Fix multiple inheritance breakage (bug#9199).
10612         (imenu-add-to-menubar): Don't add a redundant index.
10613         (imenu-update-menubar): Handle a dynamically composed keymap.
10615 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
10617         * mail/sendmail.el (mail-encode-header):
10618         Bind rfc2047-encode-encoded-words to nil.
10620 2012-03-13  Glenn Morris  <rgm@gnu.org>
10622         * calendar/calendar.el (calendar-string-spread):
10623         Handle non-unit-width characters a bit better.  (Bug#10978)
10625 2012-03-13  Leo Liu  <sdl.web@gmail.com>
10627         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
10628         directory and file as argument (Bug#10822).
10630 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
10632         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
10633         For dynamically generated code, follow $PC.
10634         (gdb-disassembly-handler-custom): Handle no function name case.
10636 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
10638         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
10639         * emulation/ws-mode.el (ws-query-replace):
10640         * sort.el (sort-regexp-fields):
10641         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
10643 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10645         * dabbrev.el: Fix cycle completion order (bug#10963).
10646         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
10647         (dabbrev-completion): Don't use an obarray; provide
10648         a cycle-sort-function.
10650 2012-03-12  Leo Liu  <sdl.web@gmail.com>
10652         * simple.el (kill-new): Use equal-including-properties for comparison.
10653         (kill-do-not-save-duplicates): Doc fix.
10655 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10657         * dabbrev.el: Fix cycle completion (bug#10963).
10658         Use lexical binding and wrap to 80 columns.
10659         (dabbrev-completion): Delay computing the list of completions.
10661 2012-03-12  Kenichi Handa  <handa@m17n.org>
10663         * international/quail.el (quail-insert-kbd-layout): Surround each
10664         row by LRO and PDF instead of inserting many LRMs.  Pad the left
10665         and right of each non-spacing marks.  Insert invisible space
10666         between lower and upper characters to prevent composition.
10668 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10670         * minibuffer.el (minibuffer-complete): Don't get confused when the
10671         function is run twice via different commands (bug#10958).
10672         (complete-with-action): Fix docstring.
10674 2012-03-12  Chong Yidong  <cyd@gnu.org>
10676         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
10677         (nxml-completion-at-point-function): New function.
10678         (nxml-mode): Use it.
10679         (nxml-bind-meta-tab-to-complete-flag): Default to t.
10681         * emacs-lisp/package.el (package-unpack, package-unpack-single):
10682         Load generated autoloads file before byte compiling (Bug#10970).
10683         (package--make-autoloads-and-compile): New helper fun.
10685 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
10687         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
10689 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
10691         * autorevert.el (auto-revert-handler): Ensure, that
10692         file-readable-p is applied only for local files or in
10693         auto-revert-tail-mode.
10695 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
10697         * server.el (server-eval-at): Handle non-tcp connections.
10698         Decode result string.
10700         * server.el (server-msg-size): New constant.
10701         (server-reply-print): New function.
10702         (server-eval-and-print): Use it.
10703         (server-eval-at): Use server-quote-arg and server-unquote-arg.
10704         Handle -print-nonl.
10706 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
10708         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
10709         (Bug#10987).
10711 2012-03-11  Chong Yidong  <cyd@gnu.org>
10713         * simple.el (goto-line): Doc fix (Bug#9938).
10715         * subr.el (save-window-excursion): Doc fix (Bug#9979).
10717         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
10718         when finished (Bug#10963).
10720 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
10722         * window.el (split-window-below): Fix bug in case where
10723         split-window-keep-point is nil (Bug#10971).
10725 2012-03-11  Juri Linkov  <juri@jurta.org>
10727         * replace.el (replace-highlight): Set isearch-word to nil
10728         unconditionally.  (Bug#10887)
10730 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
10732         * net/mairix.el (mairix-replace-invalid-chars): Rename from
10733         mairix-replace-illegal-chars; all callers changed.  Don't remove
10734         ^, ~, and = characters: they are meaningful in mairix search specs.
10735         (mairix-widget-create-query): Add usage information about mairix
10736         search forms: negating words, searching for substrings, etc.
10738 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
10740         * international/fontset.el (font-encoding-alist): Add an entry for
10741         ksx1001 (Bug#5667).
10743 2012-03-10  Richard Stallman  <rms@gnu.org>
10745         * mail/sendmail.el (mail-encode-header):
10746         Set rfc2047-encode-encoded-words.
10748         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
10750         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
10751         view buffer means not swapped.
10752         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
10753         (rmail-write-region-annotate): Error if real text has disappeared.
10755         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
10757 2012-03-10  Chong Yidong  <cyd@gnu.org>
10759         * emulation/cua-rect.el (cua--init-rectangles):
10760         * emulation/cua-base.el (cua--init-keymaps):
10761         Add delete-forward-char to remappings (Bug#9666).
10763 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
10765         * speedbar.el (speedbar-unhighlight-one-tag-line):
10766         Avoid unhighlighting due to frame switching (Bug#10275).
10768 2012-03-10  Chong Yidong  <cyd@gnu.org>
10770         * minibuffer.el (completion-in-region, completion-help-at-point):
10771         Give the completion field overlay a high priority (Bug#6830).
10773         * dired.el (dired-goto-file): Recognize absolute file name
10774         listings (Bug#7126).
10775         (dired-goto-file-1): New helper function.
10776         (dired-toggle-read-only): Inhibit warnings.
10778 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
10780         * net/dbus.el (dbus-property-handler): Return empty array if
10781         there are no properties.
10783 2012-03-09  Leo Liu  <sdl.web@gmail.com>
10785         * savehist.el (savehist-printable): Stricter check for string
10786         value (Bug#10937).
10788 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
10790         * mail/smtpmail.el (smtpmail-send-it):
10791         Bind coding-system-for-write to *-unix, so that FCC files are kept in
10792         valid mbox format.
10794 2012-03-09  Glenn Morris  <rgm@gnu.org>
10796         * files.el (dir-locals-find-file):
10797         Don't check result is regular, readable.
10798         (dir-locals-read-from-file): Demote errors.
10800 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
10802         * international/quail.el (quail-insert-kbd-layout):
10803         Insert invisible LRM characters before each character in a keyboard
10804         layout cell, to prevent their reordering by bidi display engine.
10805         For details, see the discussion in
10806         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
10808 2012-03-08  Alan Mackenzie  <acm@muc.de>
10810         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
10811         the starting position; make it extend the marked region when
10812         invoked repeatedly - all under appropriate circumstances.
10813         Fixes bugs #5525, #10906.
10815 2012-03-08  Glenn Morris  <rgm@gnu.org>
10817         * files.el (locate-dominating-file, dir-locals-find-file):
10818         Undo 2012-03-06 change.
10820 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
10822         * international/quail.el (quail-help):
10823         Force bidi-paragraph-direction be left-to-right.  See discussion in
10824         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
10825         for the reason.
10827 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
10829         Avoid superfluous registering of signals.  (Bug#10807)
10831         * notifications.el (notifications-on-action-object)
10832         (notifications-on-close-object): New defvars.
10833         (notifications-on-action-signal, notifications-on-closed-signal):
10834         Unregister the signal if not needed any longer.
10835         (notifications-notify): Register `notifications-action-signal' or
10836         `notifications-closed-signal', if :on-action or :on-close has been
10837         passed as argument.
10839 2012-03-07  Chong Yidong  <cyd@gnu.org>
10841         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
10842         non-X platforms.
10844 2012-03-06  Glenn Morris  <rgm@gnu.org>
10846         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10847         (x-disown-selection-internal, x-get-selection-internal):
10848         Doc fix (add arglist signatures).  (Bug#10783)
10850 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
10852         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10853         Handle breakpoints with no "type".
10855 2012-03-06  Glenn Morris  <rgm@gnu.org>
10857         * files.el (locate-dominating-file): Add optional predicate argument.
10858         (dir-locals-find-file): Make use of above change.
10860 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
10862         * info.el (Info-insert-dir): Also try "dir.gz".
10864 2012-03-06  Glenn Morris  <rgm@gnu.org>
10866         * files.el (dir-locals-find-file):
10867         Ignore non-readable or non-regular files.  (Bug#10928)
10869         * files.el (locate-dominating-file): Doc fix.
10871 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
10873         * calendar/calendar.el (calendar-set-mode-line):
10874         `getenv' returns a string.  (Bug#10951)
10876 2012-03-05  Leo Liu  <sdl.web@gmail.com>
10878         * simple.el (backward-delete-char-untabify): Constrain point to
10879         field (Bug#10939).
10881         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
10883 2012-03-05  Chong Yidong  <cyd@gnu.org>
10885         * simple.el (count-words): If called from Lisp, return the word
10886         count, for symmetry with `count-lines'.  Arglist changed.
10887         (count-words--message): Args changed.  Consolidate counting code
10888         from count-words and count-words-region.
10889         (count-words-region): Caller changed.
10890         (count-lines-region): Make it an obsolete alias.
10892 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
10894         * saveplace.el (save-place-to-alist)
10895         (save-place-ignore-files-regexp): Allow value nil to disable this
10896         feature.
10898 2012-03-04  Chong Yidong  <cyd@gnu.org>
10900         * faces.el (face-spec-reset-face): For the default face, reset the
10901         attributes to default values (Bug#10748).
10903 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10905         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
10906         previous patch: Check `message-send-mail-function', and not the
10907         default function (bug#10897).
10909 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
10911         * notifications.el (notifications-on-action-signal)
10912         (notifications-on-closed-signal): Check for unique service name of
10913         incoming event.  Fix error in removing entry.
10914         (top): Register for signals with wildcard service name.
10915         (notifications-notify): Use daemon unique service name for map entries.
10917 2012-03-04  Chong Yidong  <cyd@gnu.org>
10919         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
10921 2012-03-04  Glenn Morris  <rgm@gnu.org>
10923         * abbrev.el (copy-abbrev-table, abbrev-table-p)
10924         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
10925         (expand-abbrev, define-abbrev-table): Doc fixes.
10927 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10929         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
10930         `message-default-send-mail-function' and not `send-mail-function'
10931         when doing the prompting for `sendmail-query-once' before sending
10932         in Message buffers (bug#10897).
10934         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
10935         This is inconsistent with all the other stream functions, which leave
10936         the setting up to the higher levels (if so wanted) (bug#10931).
10938 2012-03-02  Alan Mackenzie  <acm@muc.de>
10940         Depessimize the handling of very large macros.
10942         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
10943         (c-macro-cache-syntactic): New variables to implement a one
10944         element macro cache.
10945         (c-invalidate-macro-cache): New function.
10946         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
10947         Adapt to use the new cache.
10948         (c-state-safe-place): Use better the cache of safe positions.
10949         (c-state-semi-nonlit-pos-cache)
10950         (c-state-semi-nonlit-pos-cache-limit):
10951         New variables for...
10952         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
10953         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
10954         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
10955         Use c-state-semi-safe-place.
10957         * progmodes/cc-langs.el (c-get-state-before-change-functions):
10958         Add c-invalidate-macro-cache to the C, C++, Obj entries.
10960 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
10962         * jka-compr.el (jka-compr-call-process):
10963         Apply `file-accessible-directory-p' only when the default directory is
10964         not remote.
10966 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
10968         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
10969         access of FILE2, if FILE1 does not exist.
10971         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
10972         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
10974         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
10975         Add "PAGER=" to `process-environment'.
10977 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
10979         * progmodes/sql.el: Bug fix
10980         (sql-get-login-ext): Save login values in globals.
10981         (sql-get-login): Use new version of `sql-get-login-ext'.
10982         (sql-interactive-mode): Set global `sql-connection' to nil.
10983         (sql-connect): Set global values for connection.
10984         (sql-product-interactive): Save global values as buffer local.
10986 2012-02-29  Leo Liu  <sdl.web@gmail.com>
10988         * abbrev.el (define-abbrevs): Reset sys to nil.
10990 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10992         * files.el (file-equal-p): Rename from `files-equal-p'.
10993         Return nil when one or both files don't exist.
10994         (file-subdir-of-p): Now only top directory must exists,
10995         return nil if it doesn't.
10996         (copy-directory): No need to test with `file-subdir-of-p' after
10997         creating dir.
10998         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
10999         to `file-equal-p'.
11001 2012-02-28  Glenn Morris  <rgm@gnu.org>
11003         * shell.el (shell-mode):
11004         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
11005         * play/landmark.el (landmark-font-lock-face-O):
11006         * play/handwrite.el (handwrite):
11007         * play/gomoku.el (gomoku-O):
11008         * net/browse-url.el (browse-url-browser-display):
11009         * international/mule.el (define-charset):
11010         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
11011         * filesets.el (filesets-find-file-delay):
11012         * eshell/em-xtra.el (eshell-xtra):
11013         * eshell/em-unix.el (eshell-grep):
11014         * emulation/viper.el (viper-mode):
11015         * emacs-lisp/regexp-opt.el (regexp-opt-group):
11016         * emacs-lisp/easymenu.el (easy-menu-define):
11017         * calendar/timeclock.el (timeclock-use-display-time):
11018         * bs.el (bs-mode):
11019         * bookmark.el (bookmark-save-flag):
11020         Doc fix (standardize possessive apostrophe usage).
11022 2012-02-27  Chong Yidong  <cyd@gnu.org>
11024         * emulation/viper-cmd.el (viper-intercept-ESC-key):
11025         Fix key-binding lookup for ESC key (Bug#9146).
11027         * font-lock.el (font-lock-specified-p): Rename from
11028         font-lock-spec-present.  Callers changed.
11030 2012-02-27  Daniel Hackney  <dan@haxney.org>
11032         * emacs-lisp/package.el (package-compute-transaction):
11033         Handle holding a package version to t in package-load-list.
11035 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
11037         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
11038         (tramp-get-inode, tramp-get-device): Use cached values.
11040 2012-02-26  Alan Mackenzie  <acm@muc.de>
11042         Check there is a font-lock specification before doing initial
11043         fontification.
11045         * font-core.el (font-lock-mode): Move the conditional from
11046         :after-hook to font-lock-initial-fontify.
11047         (font-lock-default-function): Move the check for a specification
11048         to font-lock-spec-present.
11050         * font-lock.el (font-lock-initial-fontify): Call ...
11051         (font-lock-spec-present): New function.
11053 2012-02-26  Jim Blandy  <jimb@red-bean.com>
11055         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
11056         (gdb-send): Apply it to the operand of the '-interpreter-exec
11057         console' command, so that we can pass arguments with (say) quotes
11058         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
11060 2012-02-26  Chong Yidong  <cyd@gnu.org>
11062         * help-fns.el (describe-function-1): Clarify description of
11063         remapping (Bug#10844).
11065         * files.el (files-equal-p): Doc fix.
11066         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
11067         and quit the loop once a mismatch is found.
11069 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
11071         * bs.el (bs--show-with-configuration): Don't throw an error
11072         if the window cannot be split; otherwise, subsequent calls to
11073         bs-show fail, restoring a stale window config.  (Bug#10882)
11075 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
11077         * term/ns-win.el (global-map): Bind ns-drag-file to
11078         ns-find-file (Bug#5855, Bug#10050).
11080 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
11082         * calendar/parse-time.el (parse-time-string): Allow extractor to
11083         return nil.
11085 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
11087         * net/tramp.el (tramp-file-name-for-operation):
11088         Add `files-equal-p' and `file-subdir-of-p'.
11090         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
11091         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
11092         Add COPY-CONTENTS argument.
11094 2012-02-25  Chong Yidong  <cyd@gnu.org>
11096         Add custom groups for VC backends, for consistency with vc-bzr.
11098         * vc/vc-arch.el (vc-arch):
11099         * vc/vc-cvs.el (vc-cvs):
11100         * vc/vc-git.el (vc-git):
11101         * vc/vc-hg.el (vc-hg):
11102         * vc/vc-mtn.el (vc-mtn):
11103         * vc/vc-rcs.el (vc-rcs):
11104         * vc/vc-sccs.el (vc-sccs):
11105         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
11106         All relevant defcustoms reassigned.
11108 2012-02-25  Chong Yidong  <cyd@gnu.org>
11110         * newcomment.el (comment-styles): Add autoload (Bug#10868).
11112         * term/x-win.el (x-initialize-window-system): Reduce default for
11113         x-selection-timeout to 5 seconds (Bug#8869).
11115 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11117         * files.el (files-equal-p, file-subdir-of-p): New functions.
11118         (copy-directory): Error when trying to copy a directory on itself.
11119         Add missing copy-contents arg to tramp handler.
11120         * dired-aux.el (dired-copy-file-recursive): Same.
11121         (dired-create-files): Modify destination when source is equal to
11122         dest when copying files.
11123         Return also when dest is a subdir of source.  (Bug#10489)
11125 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
11127         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
11128         (Bug#10874)
11130 2012-02-23  Alan Mackenzie  <acm@muc.de>
11132         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
11133         parameter "after-hook:" to allow the expansion to run code after
11134         the execution of the mode hooks.
11136         * font-lock.el (font-lock-initial-fontify): New function extracted
11137         from font-lock-mode-internal.
11139         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
11140         :after-hook.
11142 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11144         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
11145         (completion--cache-all-sorted-completions): New function.
11146         (completion-all-sorted-completions): Use it.
11147         (completion--do-completion, minibuffer-force-complete):
11148         Use it to re-instate the flush hook.
11150         * icomplete.el (icomplete-completions): Replace last fix with a better
11151         one (bug#10850).
11153 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
11155         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
11156         when it might call us back infinitely (bug#10797).
11158 2012-02-23  Glenn Morris  <rgm@gnu.org>
11160         * minibuffer.el (completion-category-overrides): Doc fix.
11162 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11164         * minibuffer.el (completion-table-with-context): Fix inf-loop.
11165         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
11167 2012-02-23  Glenn Morris  <rgm@gnu.org>
11169         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
11170         (authors-obsolete-files-regexps, authors-ignored-files)
11171         (authors-ambiguous-files, authors-renamed-files-alist):
11172         Add more entries.
11174 2012-02-23  Juri Linkov  <juri@jurta.org>
11176         * isearch.el (isearch-occur): Sync interactive spec with occur's
11177         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
11179         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
11181 2012-02-22  Juri Linkov  <juri@jurta.org>
11183         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
11184         (ucs-insert): Doc fix.  Check for hex digits in the string.
11185         Don't display `nil' in the error message.  (Bug#10857)
11187 2012-02-22  Alan Mackenzie  <acm@muc.de>
11189         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
11191 2012-02-22  Glenn Morris  <rgm@gnu.org>
11193         * ffap.el (ffap-c-path):
11194         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
11196 2012-02-22  Chong Yidong  <cyd@gnu.org>
11198         * custom.el (load-theme): Doc fix.
11200 2012-02-22  Glenn Morris  <rgm@gnu.org>
11202         * dired-x.el (dired-guess-shell-alist-default):
11203         Remove escape sequences from nroff output.  (Bug#172)
11205 2012-02-21  Glenn Morris  <rgm@gnu.org>
11207         * vc/emerge.el (emerge-defvar-local):
11208         Set `permanent-local' property rather than unused `preserved'.
11210         * textmodes/picture.el (picture-delete-char): New alias.
11211         (picture-mode-map): Use it.  (Bug#10860)
11212         (picture-mode): Doc fix.
11214 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
11216         * newcomment.el (uncomment-region-default): Remove unused binding.
11218 2012-02-21  Glenn Morris  <rgm@gnu.org>
11220         * textmodes/picture.el (picture-motion, picture-motion-reverse)
11221         (picture-self-insert, picture-tab-chars): Doc fix.
11222         (picture-mode-map): Fix C-a, C-e.
11224 2012-02-20  Glenn Morris  <rgm@gnu.org>
11226         * emacs-lisp/authors.el (authors-aliases): Add another entry.
11228 2012-02-20  Leo Liu  <sdl.web@gmail.com>
11230         * icomplete.el (icomplete-completions): Check FROM arg before
11231         passing to substring (Bug#10850).
11233 2012-02-19  Chong Yidong  <cyd@gnu.org>
11235         * comint.el: Require ansi-color.
11236         (comint-output-filter-functions): Add ansi-color-process-output.
11238         * ansi-color.el: Don't set comint-output-filter-functions; it is
11239         now in the initial value defined in comint.el.
11240         (ansi-color-apply-face-function): New variable.
11241         (ansi-color-apply-on-region): Use it.
11242         (ansi-color-apply-overlay-face): New function.
11244         * shell.el (shell): No need to require ansi-color.
11245         (shell-mode): Use ansi-color-apply-face-function to highlight
11246         color escapes using font-lock-face property (Bug#10835).
11248 2012-02-19  Chong Yidong  <cyd@gnu.org>
11250         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
11251         mode-line formats (Bug#10839).
11253 2012-02-18  Glenn Morris  <rgm@gnu.org>
11255         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
11257         * mail/undigest.el (unforward-rmail-message): Doc fix.
11259         * saveplace.el (save-place-ignore-files-regexp): Add :version.
11261 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
11263         * international/characters.el (script-list): Sync with the latest
11264         Unicode Character Database.
11266 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
11268         * international/titdic-cnv.el: Remove duplicate coding tag.
11269         * language/cham.el: Likewise.
11270         * language/tai-viet.el: Likewise.
11272 2012-02-18  Glenn Morris  <rgm@gnu.org>
11274         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
11275         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
11276         (calendar-bahai-all-holidays-flag, calendar-other-dates):
11277         * calendar/diary-lib.el (diary-abbreviated-year-flag):
11278         * calendar/holidays.el (holiday-bahai-holidays)
11279         (calendar-holidays, list-holidays):
11280         Use utf-8 Bahá'í in doc-strings, menus, etc.
11282 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
11284         * saveplace.el (save-place-ignore-files-regexp): New variable
11285         allowing for excluding files from saving their location of point.
11286         The default value matches the temporary commit message editing
11287         files from Git, SVN, Bazaar, and Mercurial.
11288         (save-place-to-alist): Use it.
11290 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
11291             Stefan Monnier  <monnier@iro.umontreal.ca>
11293         * newcomment.el (uncomment-region-default): Don't leave extra space
11294         when an arg is provided (bug#8150).
11296 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
11298         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
11300 2012-02-17  Glenn Morris  <rgm@gnu.org>
11302         * net/socks.el: Require network-stream.  (Bug#10599)
11304 2012-02-17  Kenichi Handa  <handa@m17n.org>
11306         * international/charprop.el:
11307         * international/uni-name.el:
11308         * international/uni-old-name.el:
11309         * international/uni-comment.el: Regenerate.
11311 2012-02-16  Glenn Morris  <rgm@gnu.org>
11313         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
11314         Interactively in calendar buffer, give an error if not on a date.
11316 2012-02-15  Glenn Morris  <rgm@gnu.org>
11318         * shell.el (shell-delimiter-argument-list):
11319         Revert 2011-02-17 change.  (Bug#8027)
11321 2012-02-15  Chong Yidong  <cyd@gnu.org>
11323         * minibuffer.el (completion-at-point-functions): Doc fix.
11325         * custom.el (defcustom): Doc fix; note use of defvar.
11327 2012-02-15  Glenn Morris  <rgm@gnu.org>
11329         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
11330         Doc fixes.
11332 2012-02-14  Glenn Morris  <rgm@gnu.org>
11334         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
11336 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
11338         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
11339         way the ports list is computed.
11340         (smtpmail-query-smtp-server): Prompt the user for a port number if
11341         we can't connect to any of the standard ports (bug#10810).
11343 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
11345         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
11347 2012-02-13  Glenn Morris  <rgm@gnu.org>
11349         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
11351 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
11353         * net/gnutls.el (gnutls-trustfiles): New variable.
11354         (gnutls-negotiate): Use it.
11356 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
11358         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
11359         does its stuff if Gnus is running.
11361 2012-02-13  Alan Mackenzie  <acm@muc.de>
11363         Fix a loop in c-set-fl-decl-start.
11365         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
11366         c-backward-syntactic-ws actually moves backwards.
11368 2012-02-13  Leo Liu  <sdl.web@gmail.com>
11370         * net/rcirc.el (rcirc-markup-attributes): Move point to the
11371         beginning so that all \C-o chars are removed.
11373 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
11375         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
11377 2012-02-12  Alan Mackenzie  <acm@muc.de>
11379         Fix infinite loop with long macros.
11380         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
11382 2012-02-12  Chong Yidong  <cyd@gnu.org>
11384         * window.el (display-buffer): Doc fix (Bug#10785).
11386 2012-02-12  Glenn Morris  <rgm@gnu.org>
11388         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
11389         (x-disown-selection-internal, x-get-selection-internal):
11390         Sync docs with the xselect.c versions.
11392         * allout-widgets.el: Add missing license notice.
11394 2012-02-11  Glenn Morris  <rgm@gnu.org>
11396         * select.el (x-get-selection-internal, x-own-selection-internal)
11397         (x-disown-selection-internal):
11398         * x-dnd.el (x-get-selection-internal): Update declarations.
11400         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
11402         * window.el (window-sides-slots):
11403         * tool-bar.el (tool-bar-position):
11404         * term/xterm.el (xterm-extra-capabilities):
11405         * ses.el (ses-self-reference-early-detection):
11406         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
11407         (verilog-auto-wire-type)
11408         (verilog-auto-delete-trailing-whitespace)
11409         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
11410         (verilog-auto-tieoff-declaration):
11411         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
11412         (sql-oracle-statement-starters, sql-oracle-scan-on):
11413         * progmodes/prolog.el (prolog-align-comments-flag)
11414         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
11415         (prolog-left-indent-regexp, prolog-paren-indent-p)
11416         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
11417         (prolog-types, prolog-mode-specificators)
11418         (prolog-determinism-specificators, prolog-directives)
11419         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
11420         (prolog-electric-dot-flag)
11421         (prolog-electric-dot-full-predicate-template)
11422         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
11423         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
11424         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
11425         (prolog-program-switches, prolog-prompt-regexp)
11426         (prolog-debug-on-string, prolog-debug-off-string)
11427         (prolog-trace-on-string, prolog-trace-off-string)
11428         (prolog-zip-on-string, prolog-zip-off-string)
11429         (prolog-use-standard-consult-compile-method-flag)
11430         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
11431         (prolog-imenu-max-lines, prolog-info-predicate-index)
11432         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
11433         (prolog-char-quote-workaround):
11434         * progmodes/cc-vars.el (c-defun-tactic):
11435         * net/tramp.el (tramp-encoding-command-interactive)
11436         (tramp-local-end-of-line):
11437         * net/soap-client.el (soap-client):
11438         * net/netrc.el (netrc-file):
11439         * net/gnutls.el (gnutls):
11440         * minibuffer.el (completion-category-overrides)
11441         (completion-cycle-threshold)
11442         (completion-pcm-complete-word-inserts-delimiters):
11443         * man.el (Man-name-local-regexp):
11444         * mail/feedmail.el (feedmail-display-full-frame):
11445         * international/characters.el (glyphless-char-display-control):
11446         * eshell/em-ls.el (eshell-ls-date-format):
11447         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
11448         (lisp-lambda-list-keyword-parameter-indentation)
11449         (lisp-lambda-list-keyword-parameter-alignment):
11450         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
11451         * dired-x.el (dired-omit-verbose):
11452         * cus-theme.el (custom-theme-allow-multiple-selections):
11453         * calc/calc.el (calc-highlight-selections-with-faces)
11454         (calc-lu-field-reference, calc-lu-power-reference)
11455         (calc-note-threshold):
11456         * battery.el (battery-mode-line-limit):
11457         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
11458         (archive-7z-update):
11459         * allout.el (allout-prefixed-keybindings)
11460         (allout-unprefixed-keybindings)
11461         (allout-inhibit-auto-fill-on-headline)
11462         (allout-flattened-numbering-abbreviation):
11463         * allout-widgets.el (allout-widgets-auto-activation)
11464         (allout-widgets-icons-dark-subdir)
11465         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
11466         (allout-widgets-theme-dark-background)
11467         (allout-widgets-theme-light-background)
11468         (allout-widgets-item-image-properties-emacs)
11469         (allout-widgets-item-image-properties-xemacs)
11470         (allout-widgets-run-unit-tests-on-load)
11471         (allout-widgets-time-decoration-activity)
11472         (allout-widgets-hook-error-post-time)
11473         (allout-widgets-track-decoration):
11474         Add missing :version tags to new defcustoms and defgroups.
11476         * progmodes/sql.el (sql-ansi-statement-starters)
11477         (sql-oracle-statement-starters): Add custom type.
11479         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
11480         (prolog-system-version): Give it a type.
11482 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
11484         * term/pc-win.el (x-select-text, x-selection-owner-p)
11485         (x-own-selection-internal, x-disown-selection-internal)
11486         (x-get-selection-internal): Sync doc strings and argument lists
11487         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
11489 2012-02-11  Leo Liu  <sdl.web@gmail.com>
11491         * progmodes/python.el (python-end-of-statement): Fix infinite
11492         loop.  (Bug#10788)
11494 2012-02-10  Glenn Morris  <rgm@gnu.org>
11496         * international/mule-cmds.el (unify-8859-on-encoding-mode)
11497         (unify-8859-on-decoding-mode): Properly mark as obsolete.
11499 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
11501         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
11502         about SMTP before checking the From header.
11504         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
11505         into own function for reuse by emacsbug.el.
11507 2012-02-10  Leo Liu  <sdl.web@gmail.com>
11509         * subr.el (condition-case-unless-debug): Rename from
11510         condition-case-no-debug.  All callers changed.
11511         (with-demoted-errors): Fix caller.
11513         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
11514         * nxml/rng-valid.el (rng-do-some-validation):
11515         * emacs-lisp/package.el (package-refresh-contents)
11516         (package-menu-execute):
11517         * desktop.el (desktop-create-buffer):
11518         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
11520 2012-02-10  Glenn Morris  <rgm@gnu.org>
11522         * textmodes/bibtex.el:
11523         Add missing :version tags for new/changed defcustoms.
11525         * files.el (remote-file-name-inhibit-cache): Doc fixes.
11527 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
11529         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
11530         (smtpmail-via-smtp): Use it, or fall back on the From address.
11531         (smtpmail-send-it): Ditto.
11533 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11535         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
11536         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
11537         (byte-compile-tmp-var): New const.
11538         (byte-compile-defvar): Use it to minimize .elc size.
11539         Just use `defvar' rather than simulate it (bug#10761).
11541 2012-02-09  Glenn Morris  <rgm@gnu.org>
11543         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
11545         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
11546         Add :version tags.
11548         * progmodes/compile.el (compilation-error-screen-columns)
11549         (compilation-first-column, compilation-filter-start): Doc fixes.
11551         * vc/log-view.el (log-view-toggle-entry-display):
11552         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
11554         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
11555         (report-emacs-bug-can-use-xdg-email):
11556         (report-emacs-bug-insert-to-mailer): Doc fixes.
11557         (report-emacs-bug): Message fix.
11559         * net/browse-url.el (browse-url-can-use-xdg-open)
11560         (browse-url-xdg-open): Doc fixes.
11562         * electric.el (electric-indent-mode, electric-pair-mode)
11563         (electric-layout-rules, electric-layout-mode): Doc fixes.
11564         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
11566 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
11568         * server.el (server-unselect-display): Don't inadvertently kill
11569         the current buffer.  (Bug#10729)
11571 2012-02-08  Glenn Morris  <rgm@gnu.org>
11573         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
11574         (sql-list-table): Doc fixes.
11576         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
11577         Comment out (does nothing).
11579         * completion.el (dynamic-completion-mode):
11580         * dirtrack.el (dirtrack-debug-mode):
11581         * electric.el (electric-layout-mode):
11582         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
11583         * face-remap.el (text-scale-mode, buffer-face-mode):
11584         * iimage.el (iimage-mode):
11585         * image-mode.el (image-transform-mode):
11586         * minibuffer.el (completion-in-region-mode):
11587         * scroll-lock.el (scroll-lock-mode):
11588         * simple.el (next-error-follow-minor-mode):
11589         * tar-mode.el (tar-subfile-mode):
11590         * tooltip.el (tooltip-mode):
11591         * vcursor.el (vcursor-use-vcursor-map):
11592         * wid-browse.el (widget-minor-mode):
11593         * emulation/tpu-edt.el (tpu-edt-mode):
11594         * emulation/tpu-extras.el (tpu-cursor-free-mode):
11595         * international/iso-ascii.el (iso-ascii-mode):
11596         * language/thai-util.el (thai-word-mode):
11597         * mail/supercite.el (sc-minor-mode):
11598         * net/goto-addr.el (goto-address-mode):
11599         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
11600         * progmodes/cwarn.el (cwarn-mode):
11601         * progmodes/flymake.el (flymake-mode):
11602         * progmodes/glasses.el (glasses-mode):
11603         * progmodes/hideshow.el (hs-minor-mode):
11604         * progmodes/pascal.el (pascal-outline-mode):
11605         * textmodes/enriched.el (enriched-mode):
11606         * vc/smerge-mode.el (smerge-mode):
11607         Doc fixes (minor mode argument).
11609 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
11611         * ls-lisp.el (ls-lisp-sanitize): New function.
11612         (ls-lisp-insert-directory): Use it to fix or remove any elements
11613         in file-alist with missing attributes.  (Bug#4673)
11615 2012-02-07  Alan Mackenzie  <acm@muc.de>
11617         Fix spurious recognition of c-in-knr-argdecl.
11619         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
11620         putative K&R region.
11622 2012-02-07  Alan Mackenzie  <acm@muc.de>
11624         * progmodes/cc-engine.el (c-forward-objc-directive):
11625         Prevent looping in "#pragma mark @implementation".
11627 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
11629         * notifications.el (notifications-on-closed-signal): Make `reason'
11630         optional.  (Bug#10744)
11632 2012-02-07  Glenn Morris  <rgm@gnu.org>
11634         * emacs-lisp/easy-mmode.el (define-minor-mode):
11635         Doc fixes for the macro and the mode it defines.
11637         * image.el (imagemagick-types-inhibit): Doc fix.
11639         * cus-start.el (imagemagick-render-type): Add it.
11641 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
11643         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
11644         Set the default at load time, too, so that `font-lock-fontify-buffer'
11645         can be called without setting up the entire mode first.  This fixes
11646         a bug in `mm-inline-text' with C MIME parts.
11648 2012-02-06  Chong Yidong  <cyd@gnu.org>
11650         * simple.el (list-processes--refresh): Delete exited processes
11651         (Bug#8094).
11653         * comint.el (comint-next-prompt): next-single-char-property-change
11654         and prev-single-char-property-change never return nil (Bug#8657).
11656         * custom.el (defcustom): Doc fix (Bug#9711).
11658 2012-02-05  Chong Yidong  <cyd@gnu.org>
11660         * cus-edit.el (custom-variable-reset-backup): Quote the value
11661         before storing it in the customized-value property (Bug#6712).
11662         (custom-display): Add a customization type tag.
11663         (custom-buffer-create-internal): Improve tooltip message.
11665         * wid-edit.el (widget-field-value-get): New optional arg to
11666         suppress trailing whitespace truncation.
11667         (character): Use it (Bug#2689).
11669 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
11671         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
11672         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
11674 2012-02-05  Chong Yidong  <cyd@gnu.org>
11676         * cus-edit.el (custom-variable-value-create): For mismatched
11677         types, show the current value (Bug#7600).
11679         * custom.el (defcustom): Doc fix.
11681 2012-02-05  Glenn Morris  <rgm@gnu.org>
11683         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
11685 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
11687         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
11688         (pp-buffer): Use `ignore-errors', `looking-at-p'.
11689         (pp-last-sexp): Use `looking-at-p'.
11691 2012-02-04  Glenn Morris  <rgm@gnu.org>
11693         * files.el (revert-buffer):
11694         Doc fix (mention revert-buffer-in-progress-p).
11696         * emacs-lisp/ert-x.el (ert-simulate-command):
11697         Check deferred-action-list (which is obsolete) is bound.
11699         * subr.el (with-wrapper-hook): Doc fixes.
11701         * simple.el (filter-buffer-substring-functions)
11702         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
11704 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
11706         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
11707         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
11709 2012-02-04  Leo Liu  <sdl.web@gmail.com>
11711         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
11713 2012-02-04  Glenn Morris  <rgm@gnu.org>
11715         * image.el (image-extension-data): Add obsolete alias.
11717         * isearch.el (isearch-update): Doc fix.
11719         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
11721         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
11723 2012-02-03  Glenn Morris  <rgm@gnu.org>
11725         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
11726         (image-animate-timeout): Doc fix.
11728         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
11730 2012-02-02  Glenn Morris  <rgm@gnu.org>
11732         * server.el (server-auth-dir): Doc fix.
11733         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
11735         * subr.el (run-mode-hooks): Doc fix.
11737 2012-02-02  Juri Linkov  <juri@jurta.org>
11739         * image-mode.el (image-toggle-display-image): Remove tautological
11740         `major-mode' from the `derived-mode-p' test.
11742 2012-02-02  Kenichi Handa  <handa@m17n.org>
11744         * composite.el (compose-region): Cancel previous change.
11746 2012-02-02  Kenichi Handa  <handa@m17n.org>
11748         * composite.el (compose-region, compose-string): Signal error for
11749         a null string component (Bug#6988).
11751 2012-02-01  Chong Yidong  <cyd@gnu.org>
11753         * view.el (view-buffer-other-window, view-buffer-other-frame):
11754         Handle special modes like view-buffer (Bug#10650).
11755         (view-buffer): Simplify.
11757         * frame.el (set-frame-font): Tweak meaning of third argument.
11759         * dynamic-setting.el (font-setting-change-default-font):
11760         Use set-frame-font (Bug#9982).
11762 2012-02-01  Glenn Morris  <rgm@gnu.org>
11764         * progmodes/compile.el (compilation-internal-error-properties):
11765         Respect compilation-first-column in the "*compilation*" buffer.
11767         * emacs-lisp/easy-mmode.el (define-minor-mode):
11768         Relax :variable's test for a named function.
11770 2012-01-31  Alan Mackenzie  <acm@muc.de>
11772         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
11773         off by one error.
11775 2012-01-31  Chong Yidong  <cyd@gnu.org>
11777         * frame.el (set-frame-font): New arg ALL-FRAMES.
11779         * menu-bar.el (menu-set-font): Use set-frame-font.
11781         * faces.el (face-spec-reset-face): Don't apply unspecified
11782         attribute values to the default face.
11784 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
11786         * progmodes/cwarn.el (cwarn): Remove dead link.
11787         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
11788         Remove * from defcustom docstrings.
11789         (turn-on-cwarn-mode): Make obsolete.
11790         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
11791         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
11793 2012-01-31  Glenn Morris  <rgm@gnu.org>
11795         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
11796         Fix :variable handling of mode a symbol not equal to modefun.
11797         Allow named functions to be used as the cdr of :variable.
11799 2012-01-30  Glenn Morris  <rgm@gnu.org>
11801         * emacs-lisp/authors.el (authors-fixed-entries):
11802         Remove reference to deleted file rnewspost.el.
11804 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
11806         * window.el (window-with-parameter): Remove unused variable `windows'.
11807         (window--side-check): Remove unused variable `code'.
11808         (window--resize-siblings): Remove unused variable `first'.
11809         (adjust-window-trailing-edge): Remove unused variable `failed'.
11810         (window-deletable-p, window--delete): Remove unused variable `buffer'.
11811         Use `let', not `let*'.
11812         (balance-windows-2): Remove unused variable `found'.
11813         (window--state-put-2): Remove unused variable `splits'.
11814         (window-state-put): Remove unused variable `selected'.
11815         (same-window-p): Use `string-match-p'.
11816         (display-buffer-assq-regexp): Remove unused variable `value'.
11817         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11818         Mark argument ALIST as ignored.
11819         (pop-to-buffer): Remove unused variable `old-window'.
11821 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
11823         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
11824         and .lzma compressed files.
11826 2012-01-29  Chong Yidong  <cyd@gnu.org>
11828         * frame.el (window-system-default-frame-alist): Doc fix.
11830         * dynamic-setting.el (font-setting-change-default-font): Don't
11831         change the default face if SET-FONT argument is non-nil (Bug#9982).
11833 2012-01-29  Samuel Bronson  <naesten@gmail.com>
11835         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
11837 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
11839         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
11840         breakpoints in files outside current directory (Bug#6098).
11842 2012-01-29  Chong Yidong  <cyd@gnu.org>
11844         * progmodes/python.el: Require ansi-color at top-level.
11846         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
11847         Define and use in Emacs Lisp mode (Bug#9360).
11848         (lisp-mode-abbrev-table): Add doc.
11849         (lisp-mode-variables): Don't set local-abbrev-table.
11850         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
11852 2012-01-28  Roland Winkler  <winkler@gnu.org>
11854         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
11856 2012-01-28  Roland Winkler  <winkler@gnu.org>
11858         * textmodes/bibtex.el (bibtex-entry-alist): New function.
11859         (bibtex-set-dialect): Use it.  Either set global values of
11860         dialect-dependent variables or bind these variables buffer-locally
11861         (Bug#10254).
11862         (bibtex-mode): Call bibtex-set-dialect via
11863         hack-local-variables-hook.
11864         (bibtex-dialect): Update docstring.
11865         Add safe-local-variable predicate.
11866         (bibtex-entry-alist, bibtex-field-alist): Initialize via
11867         bibtex-set-dialect.
11868         (bibtex-mode-map): Define menu for each dialect.
11869         (bibtex-entry): Fix docstring.
11871 2012-01-28  Chong Yidong  <cyd@gnu.org>
11873         * eshell/esh-arg.el (eshell-quote-argument): New function.
11875         * eshell/esh-ext.el (eshell-invoke-batch-file):
11876         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
11877         first arg to eshell-parse-command (Bug#10523).
11879 2012-01-28  Drew Adams  <drew.adams@oracle.com>
11881         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
11882         `default-directory' is non-nil.
11884 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
11886         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
11887         line that displays system-configuration-options.  (Bug#9924)
11889 2012-01-28  Drew Adams  <drew.adams@oracle.com>
11891         * descr-text.el (describe-char): Show information about POS, in
11892         addition to information about the character at POS.  Improve and
11893         update the doc string.  Change "code point" to "code point in
11894         charset", to avoid confusion with the character's Unicode code
11895         point shown above that.  (Bug#10129)
11897 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
11899         * descr-text.el (describe-char): Show the raw character, not only
11900         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
11901         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
11902         for the reasons.
11904 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
11906         * emacs-lisp/package.el (package-install):
11907         Run package-refresh-contents if there is no archive yet (Bug#9798).
11909 2012-01-28  Chong Yidong  <cyd@gnu.org>
11911         * emacs-lisp/package.el (package-maybe-load-descriptor):
11912         New function, split from package-maybe-load-descriptor.
11913         (package-maybe-load-descriptor): Use it.
11914         (package-download-transaction): Fully load required packages
11915         inside the loop, so that `require' calls work (Bug#10593).
11916         (package-install): No need to call package-initialize now.
11918 2012-01-28  Chong Yidong  <cyd@gnu.org>
11920         * simple.el (deactivate-mark): Doc fix (Bug#8614).
11922         * tooltip.el (tooltip-mode): Doc fix.
11923         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
11925         * frame.el (set-cursor-color): Doc fix (Bug#352).
11927         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
11928         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
11930         * cus-edit.el (custom-buffer-create-internal): Fix search button
11931         action (Bug#10542).
11932         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
11934 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
11936         * dired.el (dired-mark-files-regexp):
11937         Include any subdirectory components.  (Bug#10445)
11939 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
11941         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
11942         Handle [host]:port syntax.  (Bug#10533)
11944 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
11946         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
11948 2012-01-26  Glenn Morris  <rgm@gnu.org>
11950         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
11951         * term.el (term-raw-escape-map): Use Control-X-prefix.
11952         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
11954 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
11956         * window.el (window-state-get, window--state-get-1): Don't deal
11957         with fixed-sizeness of windows.  Simplify code.
11959 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
11961         * window.el (window--state-get-1, window--state-put-2):
11962         Don't save and restore the mark.
11964 2012-01-25  Chong Yidong  <cyd@gnu.org>
11966         * custom.el (custom-variable-p): Doc fix.
11968 2012-01-25  Glenn Morris  <rgm@gnu.org>
11970         * dired.el (dired-goto-file): Handle some of the more common
11971         characters that `ls -b' escapes.  (Bug#10596)
11973         * progmodes/compile.el (compilation-next-error-function):
11974         Respect compilation-first-column in the "*compilation*" buffer.
11975         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
11977         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
11979 2012-01-24  Glenn Morris  <rgm@gnu.org>
11981         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
11983 2012-01-24  Julien Danjou  <julien@danjou.info>
11985         * color.el (color-rgb-to-hsl): Fix value computing.
11986         (color-hue-to-rgb): New function.
11987         (color-hsl-to-rgb): New function.
11988         (color-clamp, color-saturate-hsl, color-saturate-name)
11989         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
11990         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
11992 2012-01-24  Glenn Morris  <rgm@gnu.org>
11994         * vc/vc-rcs.el (vc-rcs-create-tag):
11995         * vc/vc-sccs.el (vc-sccs-create-tag):
11996         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
11998 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
12000         * eshell/esh-util.el (eshell-read-hosts-file):
12001         Skip comment lines.  (Bug#10549)
12003         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
12005 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
12007         * subr.el (display-delayed-warnings): Doc fix.
12008         (collapse-delayed-warnings): New function to collapse identical
12009         adjacent warnings.
12010         (delayed-warnings-hook): Add it.
12012 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
12014         * net/tramp.el (tramp-action-login): Set connection property "login-as".
12016         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
12017         (tramp-default-user-alist): Don't add "pscp".
12018         (tramp-do-copy-or-rename-file-out-of-band): Use connection
12019         property "login-as", if set.  (Bug#10530)
12021 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
12023         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
12024         "plink1" and "psftp".  (Bug#10530)
12026 2012-01-21  Kenichi Handa  <handa@m17n.org>
12028         * international/mule-cmds.el (prefer-coding-system): Show a
12029         warning message if the default value of file-name-coding-system
12030         was not changed.
12032 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
12034         * windmove.el (windmove-reference-loc):
12035         Fix windmove-reference-loc miscalculation.
12037 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
12039         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
12040         default unit.
12042 2012-01-21  Glenn Morris  <rgm@gnu.org>
12044         * international/mule.el (auto-coding-alist): Add .tbz.
12046         * files.el (local-enable-local-variables): Doc fix.
12047         (inhibit-local-variables-regexps): Rename from
12048         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
12049         Doc fix.  Add some extensions from auto-coding-alist.
12050         (inhibit-local-variables-suffixes):
12051         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
12052         (inhibit-local-variables-p):
12053         New function, extracted from set-auto-mode-1.
12054         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
12055         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
12056         (hack-local-variables): Doc fix.  Make the mode-only case
12057         respect enable-local-variables and friends.
12058         Respect inhibit-local-variables-regexps for file-locals, but
12059         not for directory-locals.
12060         (set-visited-file-name):
12061         Take account of inhibit-local-variables-regexps.
12062         Whether it applies may change as the file name is changed.
12063         * jka-cmpr-hook.el (jka-compr-install):
12064         * jka-compr.el (jka-compr-uninstall):
12065         Update for inhibit-first-line-modes-suffixes name change.
12067 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
12069         * help-macro.el (make-help-screen): Temporarily restore original
12070         binding for minor-mode-map-alist (Bug#10454).
12072 2012-01-19  Julien Danjou  <julien@danjou.info>
12074         * color.el (color-name-to-rgb): Use the white color to find the max
12075         color component value and return correctly computed values.
12076         (color-name-to-rgb): Add missing float conversion for max value.
12078 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
12080         * window.el (window--state-get-1, window-state-get): Do not use
12081         special state value for window-persistent-parameters.
12082         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
12083         (window--state-put-2): Reset all window parameters to nil before
12084         assigning values of persistent parameters.
12086 2012-01-18  Alan Mackenzie  <acm@muc.de>
12088         Eliminate sluggishness and hangs in fontification of "semicolon
12089         deserts".
12091         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
12092         Change value 10000 -> 3000.
12093         (c-state-safe-place): Reformulate so it doesn't stack up an
12094         infinite number of wrong entries in c-state-nonlit-pos-cache.
12095         (c-determine-limit-get-base, c-determine-limit): New functions to
12096         determine backward search limits disregarding literals.
12097         (c-find-decl-spots): Amend commenting.
12098         (c-cheap-inside-bracelist-p): New function which detects "={".
12100         * progmodes/cc-fonts.el
12101         (c-make-font-lock-BO-decl-search-function): Give a limit to a
12102         backward search.
12103         (c-font-lock-declarations): Fix an occurrence of point being
12104         undefined.  Check additionally for point being in a bracelist or
12105         near a macro invocation without a semicolon so as to avoid a
12106         fruitless time consuming search for a declarator.  Give a more
12107         precise search limit for declarators using the new
12108         c-determine-limit.
12110 2012-01-18  Glenn Morris  <rgm@gnu.org>
12112         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
12113         (set-auto-mode): Doc fixes.
12115 2012-01-17  Glenn Morris  <rgm@gnu.org>
12117         * isearch.el (search-nonincremental-instead): Fix doc typo.
12119         * dired.el (dired-insert-directory): Handle newlines in directory name.
12120         (dired-build-subdir-alist): Unescape newlines in directory name.
12122 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
12124         * net/tramp.el (tramp-local-end-of-line): New defcustom.
12125         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
12126         (tramp-action-terminal): Use it.  (Bug#10530)
12128 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12130         * minibuffer.el (completion--replace): Strip properties (bug#10062).
12132 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
12134         * window.el (window-state-ignored-parameters): Remove variable.
12135         (window--state-get-1): Rename argument MARKERS to IGNORE.
12136         Handle persistent window parameters.  Make copy of clone-of
12137         parameter only if requested.  (Bug#10348)
12138         (window--state-put-2): Install a window parameter only if it has
12139         a non-nil value or an existing parameter shall be overwritten.
12141 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
12143         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
12145 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
12147         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
12148         don't pass the (nil) value of `upnode' to string-match.
12150 2012-01-14  Chong Yidong  <cyd@gnu.org>
12152         * startup.el (command-line): Fix X resource class for cursorColor.
12153         Fix values recognized by the cursorBlink resource.
12155 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
12157         * epg.el (epg--make-temp-file): Avoid permission race condition
12158         when running on old Emacs versions (bug#10403).
12160 2012-01-14  Glenn Morris  <rgm@gnu.org>
12162         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
12164 2012-01-13  Alan Mackenzie  <acm@muc.de>
12166         Fix filling for when filladapt mode is enabled.
12168         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
12169         c-mask-paragraph, pass in `fill-paragraph' rather than
12170         `fill-region-as-paragraph'.  (This is a reversion of a previous
12171         change.)
12172         * progmodes/cc-mode.el (c-basic-common-init):
12173         Make fill-paragraph-handle-comment buffer local and set it to nil.
12175 2012-01-13  Glenn Morris  <rgm@gnu.org>
12177         * dired.el (dired-switches-escape-p): New function.
12178         (dired-insert-directory): Use dired-switches-escape-p.
12179         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
12181         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
12183 2012-01-12  Glenn Morris  <rgm@gnu.org>
12185         * mail/sendmail.el (mail-mode): Update paragraph-separate for
12186         changes in adaptive-fill-regexp.  (Bug#10276)
12188 2012-01-11  Alan Mackenzie  <acm@muc.de>
12190         Fix Emacs bug #10463 - put `widen's around the critical spots.
12192         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
12193         widen around each invocation of c-state-pp-to-literal.  Remove an
12194         unused let variable.
12196 2012-01-11  Glenn Morris  <rgm@gnu.org>
12198         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
12199         Doc fix.
12201 2012-01-10  Chong Yidong  <cyd@gnu.org>
12203         * net/network-stream.el (network-stream-open-starttls):
12204         Avoid emitting a confusing error message when the server gives a bad
12205         response to the capability command.
12207 2012-01-10  Glenn Morris  <rgm@gnu.org>
12209         * mail/unrmail.el (unrmail): Tweak previous change.
12211 2012-01-09  Chong Yidong  <cyd@gnu.org>
12213         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
12215 2012-01-08  Alan Mackenzie  <acm@muc.de>
12217         Optimise font locking in long enum definitions.
12219         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
12220         arm to a cond form to handle enums.
12221         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
12222         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
12224 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
12226         * files.el (move-file-to-trash): Preserve default file modes on error.
12227         (Bug#10401)
12229 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12231         * faces.el (set-face-attribute): Clarify the meaning of the nil
12232         frame (bug#10294).
12234         * subr.el (with-selected-frame): Mention that the selected frame
12235         is restored (bug#9980).
12237         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
12238         (bug#9759).
12240         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
12241         (password-read): Don't autoload unused function.
12243 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
12245         * progmodes/which-func.el (which-func-mode): Turn into a
12246         non-interactive function and mark as obsolete (bug#10428).
12248 2012-01-06  Chong Yidong  <cyd@gnu.org>
12250         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
12251         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
12252         functions, along with 1 and -1.
12254 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
12256         * time.el (display-time-load-average)
12257         (display-time-default-load-average): Doc fixes.  See the thread
12258         starting at
12259         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
12260         for the details.
12262 2012-01-06  Glenn Morris  <rgm@gnu.org>
12264         * mail/unrmail.el (unrmail): Give an explicit error if the input file
12265         has no messages.  (Bug#10377)
12267         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
12268         than Info-edit.  (Bug#10385)
12270         * time.el (display-time-load-average, display-time-next-load-average):
12271         Doc fixes.
12273         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
12274         local setting of buffer-read-only to the input buffer.  (Bug#10419)
12276         * calendar/calendar.el (calendar-mode):
12277         Locally set scroll-margin to 0.  (Bug#10379)
12279 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
12281         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
12283 2012-01-05  Glenn Morris  <rgm@gnu.org>
12285         * eshell/em-unix.el (diff-no-select): Autoload it.
12286         (eshell/diff): Use diff-no-select.  (Bug#10420)
12288 2012-01-05  Chong Yidong  <cyd@gnu.org>
12290         * shell.el (shell-dynamic-complete-functions): Revert last change.
12291         (shell-command-completion-function): New function.
12292         (shell-completion-vars): Use it to implement
12293         shell-completion-execonly (Bug#10417).
12295         * custom.el (enable-theme): Don't set custom-safe-themes.
12297         * cus-theme.el (custom-theme-merge-theme):
12298         Ignore custom-enabled-themes and custom-safe-themes.
12300 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
12302         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
12303         first prompt in `sql-interacive-mode'.
12304         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
12305         keywords.
12306         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
12307         (sql-product-interactive): Bug fix: Set `sql-buffer' in
12308         context of original buffer.  Invoke `sql-login-hook'.
12310 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
12312         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
12313         letters in cite-prefix.
12315 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12317         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
12319 2012-01-03  Chong Yidong  <cyd@gnu.org>
12321         * shell.el (shell-dynamic-complete-functions):
12322         Put pcomplete-completions-at-point, so as to try
12323         comint-filename-completion first (Bug#10417).
12325 2012-01-02  Richard Stallman  <rms@gnu.org>
12327         * battery.el (battery-status-function):
12328         Detect when to use battery-yeeloong-sysfs.
12329         (battery-echo-area-format): Add string for Yeeloong.
12330         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
12331         (battery-yeeloong-sysfs): New function.
12333 2012-01-02  Chong Yidong  <cyd@gnu.org>
12335         * dirtrack.el (dirtrack-list): Eliminate unused third element.
12336         (dirtrack): Merge code for handling relative filenames in prompt
12337         from shell-dir-cookie-watcher.
12338         (dirtrack-debug-message): New arg to avoid excess format calls.
12340         * shell.el (shell-dir-cookie-re): Variable deleted.
12341         (shell-dir-cookie-watcher): Function deleted.
12342         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
12343         with dirtrack-mode.
12345 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
12347         * term/w32-win.el (dynamic-library-alist) <gnutls>:
12348         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
12349         libgnutls-26.dll.
12351 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
12353         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
12355 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
12357         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
12358         headers of non-MIME messages, when rmail-enable-mime is non-nil.
12360 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
12362         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
12363         also for alternative shells.
12364         (tramp-open-connection-setup-interactive-shell): Check, whether
12365         the shell is a busybox.
12366         (tramp-send-command): Don't suppress multiple prompts for
12367         busyboxes, it hurts.
12369 2011-12-28  Chong Yidong  <cyd@gnu.org>
12371         * progmodes/gdb-mi.el (gdb-get-source-file-list)
12372         (gdb-get-source-file): Move mode line update to
12373         gdb-get-source-file (Bug#10087).
12375 2011-12-25  Chong Yidong  <cyd@gnu.org>
12377         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
12378         gud-gdb-marker-filter without taking it as an argument.
12379         (gud-gdb-run-command-fetch-lines): Caller changed.
12380         (gud-gdb-completion-function): New variable.
12381         (gud-gdb-completion-at-point): Use it.
12382         (gud-gdb-completions-1): Split from gud-gdb-completions.
12384         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
12385         function as separate arguments.
12386         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
12387         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
12388         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
12389         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
12390         (gdb-stopped, def-gdb-auto-update-trigger)
12391         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
12392         (gdb-get-changed-registers, gdb-get-main-selected-frame):
12393         Callers changed.
12394         (gud-gdbmi-completions): New function.
12395         (gdb): Use it for generating the completion table.
12397 2011-12-24  Alan Mackenzie  <acm@muc.de>
12399         Introduce a mechanism to widen the region used in context font
12400         locking.  Use this to protect declarations from losing their contexts.
12402         * progmodes/cc-langs.el (c-before-font-lock-functions):
12403         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
12404         (c-before-context-fontification-functions): New defvar, a list of
12405         functions to be run just before context (etc.) font locking.
12407         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
12408         New, functionality extracted from
12409         c-neutralize-syntax-in-and-mark-CPP.
12410         (c-in-after-change-fontification): New variable.
12411         (c-after-change): Set c-in-after-change-fontification.
12412         (c-set-fl-decl-start): Rejig its interface, so it can be called
12413         from both after-change and context fontifying.
12414         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
12415         New functions.
12416         (c-standard-font-lock-fontify-region-function): New variable.
12417         (c-font-lock-fontify-region): New function.
12419 2011-12-24  Juri Linkov  <juri@jurta.org>
12421         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
12422         (Bug#10348)
12424 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
12426         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
12427         existence of source file.  (Bug#10325)
12429 2011-12-23  Alan Mackenzie  <acm@muc.de>
12431         Fix unstable fontification inside templates.
12433         * progmodes/cc-langs.el (c-before-font-lock-functions):
12434         Newly created from the singular version.  The (c c++ objc) entry now
12435         additionally has c-set-fl-decl-start.  The other languages (apart
12436         from AWK) have that as a single entry.
12438         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
12439         The functionality for "local" declarations has been extracted to
12440         c-set-fl-decl-start.
12442         * progmodes/cc-mode.el (c-common-init, c-after-change):
12443         Changes due to pluralisation of c-before-font-lock-functions.
12444         (c-set-fl-decl-start): New function, extracted from
12445         c-font-lock-enclosing-decls and enhanced.
12447 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
12449         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
12451 2011-12-22  Juri Linkov  <juri@jurta.org>
12453         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
12455 2011-12-22  Chong Yidong  <cyd@gnu.org>
12457         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
12459 2011-12-21  Drew Adams  <drew.adams@oracle.com>
12461         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
12463 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
12465         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
12467 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
12469         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
12470         highlighting and support.  Fix up comments for capitalization.
12471         (cfengine-mode-debug): New var.
12472         (cfengine3-mode): Change the modeline indicator to "CFE3".
12473         (cfengine3-font-lock-keywords): Improve defun highlighting.
12474         (cfengine2-actions): Rename from `cfengine-actions'.
12475         (cfengine2-font-lock-keywords): Rename from
12476         `cfengine-font-lock-keywords'.
12477         (cfengine2-imenu-expression): Rename from
12478         `cfengine-imenu-expression'.
12479         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
12480         (cfengine2-beginning-of-defun): Rename from
12481         `cfengine-beginning-of-defun'.
12482         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
12483         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
12484         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
12485         modeline indicator to "CFE2".
12486         (cfengine-mode): Defalias to `cfengine-auto-mode'.
12487         (cfengine-mode-abbrevs): Mark obsolete.
12489 2011-12-21  Chong Yidong  <cyd@gnu.org>
12491         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
12492         filename argument.
12494 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
12496         * window.el (window-normalize-buffer-to-display): Remove.
12497         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
12499 2011-12-19  Chong Yidong  <cyd@gnu.org>
12501         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
12502         Don't signal an error in a predicate function; return non-nil.
12503         (vc-dir-mark-file): Move the error here.
12504         (vc-dir-mark-unmark): If acting on the region, keep going if one
12505         of the entries cannot be marked/unmarked.
12506         (vc-dir-mark-all-files): If current entry is a directory, mark
12507         only child files, as documented.
12509 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12511         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
12512         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
12513         addition.
12515 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
12517         * term/ns-win.el (ns-get-selection-internal)
12518         (ns-store-selection-internal): Declare.
12519         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
12520         Declare as obsolete.
12521         (ns-get-pasteboard, ns-paste-secondary):
12522         Use ns-get-selection-internal.
12523         (ns-set-pasteboard, ns-copy-including-secondary):
12524         Use ns-store-selection-internal.
12526 2011-12-17  Chong Yidong  <cyd@gnu.org>
12528         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
12529         (vc-deduce-fileset): Doc fix.
12531 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
12533         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
12535 2011-12-13  Sam Steingold  <sds@gnu.org>
12537         * man.el (Man-getpage-in-background): When running under a
12538         window-system, ignore $MANWIDTH and $COLUMNS.
12540 2011-12-15  Kenichi Handa  <handa@m17n.org>
12542         * language/ethio-util.el: Change coding tag to utf-8-emacs.
12543         (setup-ethiopic-environment-internal): Comment out key-binding for
12544         ethio-toggle-punctuation.
12546 2011-12-13  Alan Mackenzie  <acm@muc.de>
12548         Add the switch statement to AWK Mode.
12550         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
12551         "default" to the keywords regexp.
12553         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
12554         expression as the rest.
12555         (c-nonlabel-token-key): Allow string literals for AWK.
12556         Refactor for the other modes.
12558         Large brace-block initialisation makes CC Mode slow: Fix.
12559         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
12560         routines.  Limit backward searching in c-font-lock-enclosing.decl.
12562         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
12563         pp-state and literal type in addition to the limits.
12564         (c-state-safe-place): New defun, extracted from c-state-literal-at.
12565         (c-state-literal-at): Use the above new defun.
12566         (c-slow-in-literal, c-fast-in-literal): Remove.
12567         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
12569         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
12570         being in a literal.  Add a limit for backward searching.
12572         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
12573         c-slow-in-literal.
12575 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12577         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
12579 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
12581         * window.el (delete-other-windows): Use correct frame in call to
12582         window-with-parameter.
12584 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
12586         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
12587         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
12588         (makefile-gmake-statements, makefile-makepp-statements):
12589         Use it and add new makepp keywords.
12590         (makefile-makepp-font-lock-keywords): Add new patterns.
12591         (makefile-match-function-end): Match new [...] and [[...]].
12593 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
12595         * ses.el (ses-call-printer-return, ses-cell-property-get)
12596         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
12597         (ses-create-cell-variable, ses-reset-header-string)
12598         (ses-cell-set-formula, ses-repair-cell-reference-all)
12599         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
12600         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
12601         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
12602         (ses-aset-with-undo, ses-load, ses-truncate-cell)
12603         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
12604         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
12605         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
12606         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
12607         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
12608         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
12609         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
12610         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
12612 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
12614         * ses.el: The overall change is to add cell renaming, that is
12615         setting fancy names for cell symbols other than name matching
12616         "\\`[A-Z]+[0-9]+\\'" regexp .
12617         (ses-create-cell-variable): New defun.
12618         (ses-relocate-formula): Relocate formulas only for cells the
12619         symbols of which are not renamed, i.e. symbols whose names do not
12620         match regexp "\\`[A-Z]+[0-9]+\\'".
12621         (ses-relocate-all): Relocate values only for cells the symbols of
12622         which are not renamed.
12623         (ses-load): Create cells variables as the (ses-cell ...) are read,
12624         in order to check row col consistency with cell symbol name only
12625         for cells that are not renamed.
12626         (ses-replace-name-in-formula): New defun.
12627         (ses-rename-cell): New defun.
12629 2011-12-11  Chong Yidong  <cyd@gnu.org>
12631         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
12632         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
12634 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
12636         * window.el (other-window): Fix docstring.
12638 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
12640         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
12641         `from' or `to' address before taking its substring.
12642         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
12643         encoded name is chopped in the middle of the encoded string, and
12644         thus displayed encoded.
12646 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
12648         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
12650 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
12652         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
12653         to use texinfo-update-node and commands that call it if the
12654         Texinfo file uses @node lines without next/prev/up pointers.
12655         Correct outdated description about texinfo-master-menu.
12656         (texinfo-all-menus-update, texinfo-master-menu)
12657         (texinfo-update-node, texinfo-every-node-update)
12658         (texinfo-multiple-files-update): Doc fix.  Warn against updating
12659         all the @node lines.
12660         (texinfo-master-menu): Only call texinfo-update-node if the prefix
12661         argument is numeric.  Explain better in the doc string what the
12662         function really does.
12663         (texinfo-insert-master-menu-list): Improve the error message
12664         displayed if there's no menu in the Top node.
12665         (Bug#2975)  See also this thread:
12666         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
12668 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
12670         * speedbar.el (speedbar-supported-extension-expressions):
12671         Add .adb and .ads, commonly used for Ada source code (bug#10256).
12673 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
12675         * printing.el (pr-mode-alist):
12676         * simple.el (filter-buffer-substring-functions)
12677         (completion-list-insert-choice-function):
12678         * window.el (window-with-parameter, window-atom-root)
12679         (window-sides-slots, window-size-fixed, window-min-delta)
12680         (window-max-delta, window--resize-mini-window)
12681         (window--resize-child-windows-normal, window-tree)
12682         (delete-other-windows, quit-window, split-window)
12683         (display-buffer-record-window, special-display-buffer-names)
12684         (special-display-regexps, special-display-popup-frame)
12685         (same-window-p, split-window-sensibly)
12686         (display-buffer-overriding-action, display-buffer-alist)
12687         (display-buffer-base-action, display-buffer, switch-to-buffer)
12688         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
12689         (fit-window-to-buffer, recenter-positions)
12690         (mouse-autoselect-window-state, mouse-autoselect-window-select):
12691         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
12692         and remove unneeded backslashes in docstrings.
12694 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12696         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
12698         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
12699         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
12700         end in ".mk".
12701         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
12702         when reading the makefile (bug#10116).
12704 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
12706         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
12707         (bug#10116).
12709 2011-12-06  Glenn Morris  <rgm@gnu.org>
12711         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
12713 2011-12-06  Chong Yidong  <cyd@gnu.org>
12715         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
12717 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
12719         * textmodes/table.el (table-shorten-cell): Fix typo.
12721 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
12723         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
12725 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
12727         * descr-text.el (describe-char): Fix display of strong
12728         right-to-left characters and directional embeddings and overrides.
12730         * simple.el (what-cursor-position): Fix display of codepoints of
12731         strong right-to-left characters.
12733 2011-12-05  Chong Yidong  <cyd@gnu.org>
12735         * faces.el (read-color): Doc fix.
12737 2011-12-05  Glenn Morris  <rgm@gnu.org>
12739         * align.el (align--set-marker): Add doc-string.
12740         Don't try to move something that is not a marker.  (Bug#10216)
12742 2011-12-04  Glenn Morris  <rgm@gnu.org>
12744         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
12745         overly zealous deletion of trailing whitespace.
12747 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
12749         * server.el (server-delete-client): On Windows, do not try to delete
12750         the only terminal.
12751         (server-process-filter): On Windows, treat requests for a tty frame as
12752         if they were for a GUI frame if the running server is in GUI mode.
12754 2011-12-03  Glenn Morris  <rgm@gnu.org>
12756         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
12758 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12760         * electric.el: Streamline electric-indent's hook.
12761         (electric-indent-chars): Revert to simple list.
12762         (electric-indent-functions): New var.
12763         (electric-indent-post-self-insert-function): Use it.
12765         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
12766         there's no inferior buffer (bug#10196).
12767         (prolog-consult-compile): Don't use toggle-read-only.
12769 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
12771         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
12772         interrupt.  (Bug#10187)
12774 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12776         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
12777         (bug#9160).
12779         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
12780         (bug#10191).
12782 2011-12-02  Juri Linkov  <juri@jurta.org>
12784         * info.el (Info-search): Display "end of manual" when Isearch
12785         reaches the end of single-file Info manual.  (Bug#9918)
12787 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
12789         * isearch.el (isearch-message-prefix): Run the input method part
12790         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
12792 2011-12-02  Juri Linkov  <juri@jurta.org>
12794         * isearch.el (isearch-occur): Use `word-search-regexp' for
12795         `isearch-word'.
12796         (isearch-search-and-update): Add condition for `isearch-word' and
12797         call `word-search-regexp'.  (Bug#10145)
12799 2011-12-01  Glenn Morris  <rgm@gnu.org>
12801         * eshell/em-hist.el (eshell-hist-initialize):
12802         Handle eshell-history-size nil and HISTSIZE set or unset.
12803         (eshell-history-file-name, eshell-history-size): Fix custom type.
12805 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12807         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
12809 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
12811         * progmodes/verilog-mode.el (verilog-pretty-expr):
12812         Rework verilog-pretty-expr to handle new assignment operators in system
12813         verilog, such as += *= and the like.
12814         (verilog-assignment-operator-re): Regular expression to find the
12815         assigment operator in a verilog assignment.
12816         (verilog-assignment-operation-re): Regular expression to find an
12817         assignment statement for pretty-expr.
12818         (verilog-in-attribute-p): Query returns true if point is in an
12819         attribute context; used to skip these for expression line up from
12820         pretty-expr.
12821         (verilog-in-parameter-p): Query returns true if point is in an
12822         parameter definition context; used to skip these for expression
12823         line up from pretty-expr.
12824         (verilog-in-parenthesis-p): Query returns true if point is in a
12825         parenthetical expression, specifically ( ) but not [ ] or { };
12826         used by pretty-expr.
12827         (verilog-just-one-space): If there is no space, don't add one.
12828         (verilog-get-lineup-indent-2): Specifically skip just attribute
12829         contexts for expression lineup, rather than skipping all
12830         parenthetical expressions.
12831         (verilog-calculate-indent): Fix comment, and fix indent.
12832         (verilog-do-indent): Indent declarations in lists (suggested by
12833         Joachim Lechner).
12834         (verilog-mode-abbrev-table): Populate abbrev mode with the various
12835         skeleton items.
12836         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
12837         by Alain Mellan).
12839 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
12841         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
12842         parameters with embedded comments.  Reported by Ray Stevens.
12843         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
12844         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
12845         Reported by Tim Holt.
12846         (verilog-auto): Fix AUTOing a upper module then AUTOing module
12847         instantiated by upper module causing wrong expansion until AUTOed a
12848         second time.  Reported by K C Buckenmaier.
12849         (verilog-diff-auto): Fix showing .* as a difference when
12850         `verilog-auto-star-save' off.  Reported by Dan Dever.
12851         (verilog-auto-reset, verilog-read-always-signals)
12852         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
12853         temporary signals in reset list if
12854         verilog-auto-reset-blocking-in-non is nil, and match assignment
12855         style to each signal's assignment type, bug381.
12856         Reported by Thomas Esposito.
12857         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
12858         (verilog-uvm-statement-re): Support UVM indentation and
12859         highlighting, with old OVM keywords only.
12860         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
12861         Support AUTOTIEOFF creating non-wire data types.
12862         Suggested by Jonathan Greenlaw.
12863         (verilog-auto-insert-lisp, verilog-delete-to-paren)
12864         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
12865         (verilog-inject-sense, verilog-read-inst-pins)
12866         (verilog-read-sub-decls, verilog-read-sub-decls-line):
12867         Fix mismatching parenthesis inside commented out code when deleting
12868         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
12869         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
12870         non-numeric vector width.  Reported by Alex Reed.
12871         (verilog-auto-ascii-enum): Add "onehot" option to work around not
12872         detecting signals with parameter widths.  Reported by Alex Reed.
12873         (verilog-auto-delete-trailing-whitespace):
12874         With `verilog-auto-delete-trailing-whitespace' remove trailing
12875         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
12876         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
12877         Fix verilog-scan-cache corruption when running user AUTO expansion
12878         hooks that call indentation routines.
12879         (verilog-simplify-range-expression): Fix typo ignoring lower case
12880         identifiers.
12881         (verilog-delete-auto): Fix delete-autos to also remove user created
12882         automatics, as long as they start with AUTO.
12883         (verilog-batch-diff-auto, verilog-diff-auto)
12884         (verilog-diff-function): Add `verilog-diff-auto' and bind to
12885         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
12886         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
12887         (verilog-in-paren-quick, verilog-re-search-backward-quick)
12888         (verilog-re-search-forward-quick, verilog-syntax-ppss):
12889         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
12890         is disabled and its cache will get corrupt, causing AUTOS not to
12891         expand.  Instead use only -quick functions.
12892         (verilog-scan-region): Fix scanning over escaped quotes.
12893         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
12894         (verilog-re-search-backward-quick)
12895         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
12896         related functions now ignore strings, to fix misparsing of strings
12897         with magic comments embedded in them.
12898         (verilog-read-auto-template):
12899         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
12900         Reported by Brad Dobbie.
12901         (verilog-read-auto-template):
12902         Fix 'verilog-auto-inst-template-numbers' with comments.
12903         Reported by Brad Dobbie.
12904         (verilog-auto-inst, verilog-auto-inst-param)
12905         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
12906         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
12907         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
12908         debugging templates without merge conflicts, bug357.
12909         Reported by Brad Dobbie.
12910         (verilog-read-auto-template):
12911         Fix verilog-auto-inst-template-numbers with multiple templates.
12912         Reported by Brad Dobbie.
12913         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
12914         abbrevs so user won't be asked to save.
12915         (verilog-read-auto-lisp-present): Fix to start at beginning of
12916         buffer in case called outside of verilog-auto.
12917         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
12918         to "X-2".  Reported by Matthew Myers.
12919         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
12920         all inputs from module templates.  Reported by Leith Johnson.
12921         (verilog-module-inside-filename-p): Fix locating programs as with
12922         modules.
12923         (verilog-auto-inst-port): Fix vl-width expressions when using
12924         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
12925         (verilog-decls-get-regs, verilog-decls-get-signals,
12926         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
12927         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
12928         verilog-read-decls): Combine reg and wire structures into one var
12929         structure to represent SystemVerilog concepts.
12930         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
12931         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
12932         (verilog-auto-wire-type, verilog-insert-definition):
12933         Add verilog-auto-wire-type and AUTOLOGIC to support using
12934         SystemVerilog "logic" keyword instead of "wire"/"reg".
12935         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
12936         to declares outputs that also have assignments (presumably in an
12937         ifdef or generate if so there's not a driver conflict).
12938         Reported by Matthew Myers.
12939         (verilog-auto-declare-nettype, verilog-insert-definition):
12940         Add verilog-auto-declare-nettype to fix declarations using
12941         `default_nettype none.  Reported by Julian Gorfajn.
12942         (verilog-read-always-signals-recurse, verilog-read-decls)
12943         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
12944         malformed end statement, bug325.  Reported by Joshua Wise and
12945         Andrew Drake.
12946         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
12947         (verilog-inst-comment-re): Fix not deleting Interfaced comment
12948         when expanding .* in interfaces, bug320.
12949         Reported by Pierre-David Pfister.
12950         (verilog-read-module-name): Fix import statements between module
12951         name and open parenthesis, bug317.
12952         Reported by Pierre-David Pfister.
12953         (verilog-simplify-range-expression): Fix simplification of
12954         multiplications inside AUTOWIRE connections, bug303.
12955         (verilog-auto-inst-port): Support parameter expansion in
12956         multidimensional arrays.
12957         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
12958         after "assert property".  Reported by Julian Gorfajn.
12959         (verilog-simplify-range-expression): Fix "couldn't merge" errors
12960         with multiplication, bug303.
12961         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
12962         Reported by Jan Frode Lonnum.
12964 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
12966         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
12967         (hfy-shell-file-name, hfy-shell):
12968         * international/fontset.el (x-decompose-font-name): Fix typos.
12970 2011-11-29  Ken Brown  <kbrown@cornell.edu>
12972         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
12973         (gdb-version): Remove defvar.
12974         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
12975         (gdb-gud-context-command, gdb-non-stop-handler)
12976         (gdb-current-context-command, gdb-stopped): Use it.
12977         (gdb-init-1): Enable pretty printing here.
12978         (gdb-non-stop-handler): Don't enable pretty-printing here.
12979         Check to see if the target supports non-stop mode; if not, turn off
12980         non-stop mode.  Use the following.
12981         (gdb-check-target-async): New defun.
12982         (gud-watch, gdb-stopped): Fix whitespace.
12983         (gdb-get-source-file): Don't try to display the source file if
12984         `gdb-main-file' is nil.
12986 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12988         * align.el: Try to generate fewer markers (bug#10047).
12989         (align--set-marker): New macro.
12990         (align-region): Use it.
12992 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12994         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
12996 2011-11-29  Chong Yidong  <cyd@gnu.org>
12998         * indent.el (indent-for-tab-command, indent-according-to-mode):
12999         Doc fix.
13000         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
13002 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
13004         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
13005         aware of remote file names.  (Bug#10124)
13007 2011-11-29  Chong Yidong  <cyd@gnu.org>
13009         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
13011 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13013         * files.el (find-file): Don't use force-same-window (bug#10144).
13014         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
13015         use pop-to-buffer if the selected window can't be used.
13016         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
13018 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
13020         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
13021         special-mode-map.
13023 2011-11-28  Chong Yidong  <cyd@gnu.org>
13025         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
13027 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
13029         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
13030           gdb-get-source-file-list on gdb-create-source-file-list.
13032 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
13034         * whitespace.el (whitespace-newline): Use a different foreground
13035         color for 16-color light-background displays.
13037 2011-11-24  Chong Yidong  <cyd@gnu.org>
13039         * window.el (display-buffer--special-action): Doc fix.
13041 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
13043         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
13044         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
13045         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
13046         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
13047         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
13048         (avl-tree-stack-first):
13049         * emacs-lisp/cconv.el (cconv--analyse-use):
13050         * net/gnutls.el (gnutls-negotiate): Fix typos.
13052 2011-11-24  Glenn Morris  <rgm@gnu.org>
13054         * lpr.el (lpr-windows-system, lpr-lp-system):
13055         * mail/binhex.el (binhex-begin-line):
13056         * progmodes/grep.el (grep-history, grep-find-history):
13057         * textmodes/flyspell.el:
13058         * vc/pcvs-defs.el (cvs-global-menu):
13059         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
13060         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
13061         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
13063         * net/tls.el: Fix case of "GnuTLS".
13065         * paths.el (rmail-file-name): Format doc-string for make-docfile.
13067         * version.el (emacs-build-system): Give it a doc-string.
13069 2011-11-24  Juri Linkov  <juri@jurta.org>
13071         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
13073 2011-11-24  Glenn Morris  <rgm@gnu.org>
13075         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
13076         if called on a non-mime message just toggle the headers.  (Bug#8006)
13078 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
13080         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
13081         (allout-lead-with-comment-string, allout-structure-deleted-hook)
13082         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
13083         (allout-rebullet-heading, allout-open-sibtopic)
13084         (allout-toggle-current-subtree-encryption)
13085         (allout-toggle-subtree-encryption, allout-encrypt-string)
13086         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
13087         (allout-distinctive-bullets-string, allout-auto-activation):
13088         * window.el (window-normalize-buffer-to-display):
13089         * progmodes/verilog-mode.el (verilog-batch-indent):
13090         * textmodes/bibtex.el (bibtex-field-braces-opt)
13091         (bibtex-field-strings-opt):
13092         * vc/cvs-status.el (cvs-tree-merge):
13093         Fix typos.
13095 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
13097         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
13098         `non-essential' to t, in order to avoid remote connections.
13100 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
13102         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13103         On MS-DOS and MS-Windows, compare with loaddefs.el
13104         case-insensitively.
13106 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
13108         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
13110 2011-11-23  Glenn Morris  <rgm@gnu.org>
13112         * paths.el (rmail-file-name): Reformat the doc-string so that it
13113         is picked up.
13115         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
13116         (rmail-auto-file): Ignore case in the "special" field names,
13117         as mail-fetch-field does for all others.
13119         * mail/rmail.el (rmail-forward):
13120         * mail/rmailkwd.el (rmail-set-label):
13121         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
13122         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
13124         * mail/rmail.el (rmail-current-message): Doc fix.
13126         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
13128 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13130         * server.el (server-eval-and-print): Allow C-g (bug#6585).
13132 2011-11-22  Glenn Morris  <rgm@gnu.org>
13134         * mail/rmailmm.el (test-rmail-mime-handler)
13135         (test-rmail-mime-bulk-handler)
13136         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
13138 2011-11-21  Juri Linkov  <juri@jurta.org>
13140         * calc/calc.el (calc-read-key-sequence):
13141         Let-bind `input-method-function' to nil.  (Bug#10018)
13143 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13145         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
13146         Tell the caller that the next line needs recomputation, even
13147         though it doesn't start a sexp (bug#10094).
13149 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13151         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
13153 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13155         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13156         Use force-same-window.
13158 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
13160         * descr-text.el (describe-char-unicode-data):
13161         * json.el (json-string-escape):
13162         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
13163         (Footnote-unicode, Footnote-style-p):
13164         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
13166 2011-11-20  Chong Yidong  <cyd@gnu.org>
13168         * window.el (replace-buffer-in-windows): Restore interactive spec.
13170 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13172         * electric.el (electric-indent-mode): Fix last change (too optimistic).
13174         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
13175         (byte-compile-global-not-obsolete-vars): New var.
13176         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
13177         Use it.
13178         (byte-compile-warn-obsolete): Align text with the one in *Help*.
13180 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
13182         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
13183         * progmodes/pascal.el (electric-pascal-equal):
13184         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
13185         * xml.el (xml-substitute-special): Fix typos.
13187 2011-11-20  Glenn Morris  <rgm@gnu.org>
13189         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
13190         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
13191         Doc fixes.
13192         (rmail-decode-mime-charset): Mark as obsolete.
13194         * mail/rmailsum.el (rmail-message-regexp-p-1):
13195         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
13196         Before using mime functions, check they are set.  (Bug#10077)
13198 2011-11-19  Juri Linkov  <juri@jurta.org>
13200         * info.el (Info-finder-find-node): Use `package--builtins' instead
13201         of `package-alist'.  Use node names formed by the pattern "Keyword "
13202         and the keyword name.
13204 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
13206         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
13208 2011-11-19  Juri Linkov  <juri@jurta.org>
13210         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
13211         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
13212         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
13213         `old-history', `old-history-forward'.  Add let-binding
13214         `window-selected'.  Remove calls to `kill-buffer',
13215         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
13216         before calling `Info-find-node', so `Info-find-node-2' will reread
13217         the Info file.  Restore window positions only when `window-selected'
13218         is non-nil.
13220 2011-11-19  Juri Linkov  <juri@jurta.org>
13222         * isearch.el (isearch-lazy-highlight-new-loop):
13223         Remove condition `(not isearch-error)'.  (Bug#9918)
13225         * misearch.el (multi-isearch-search-fun): Add condition
13226         `(not bound)' to ignore lazy-highlighting search.
13227         Add the search-failed message "end of multi" when the end of
13228         multi-sequence is reached.  Uncapitalize the search-failed
13229         message "Repeat for next buffer".
13231         * info.el (Info-search): Add the search-failed message
13232         "end of the manual" when the end of the manual is reached
13233         in Isearch mode.
13235 2011-11-19  Juri Linkov  <juri@jurta.org>
13237         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
13238         Use non-destructive `remove' instead of `delete' because
13239         `Info-history-list' stored to `Info-isearch-initial-history-list' in
13240         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
13242 2011-11-19  Juri Linkov  <juri@jurta.org>
13244         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
13245         to nil instead of binding `search-ring' and `regexp-search-ring'.
13246         (Bug#9185)
13248 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
13250         * simple.el (line-move): Force movement by logical lines for any
13251         hscrolled window, not only when auto-hscroll-mode is on.
13252         (line-move-visual): Update doc string to that effect.  (Bug#10076)
13254 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
13256         * language/european.el (macintosh): Define as alias for mac-roman.
13258 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
13260         * mail/rmailmm.el (rmail-mime-display-header)
13261         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
13262         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
13263         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
13264         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
13265         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
13266         of a raw aref.
13267         (rmail-mime-entity-segment): To get past the tagline, move forward
13268         2 more lines, to account for the 2 empty lines that precede and
13269         follow the line with the buttons.
13270         (rmail-mime-update-tagline): Move one more line, to get past the
13271         empty line that follows the buttons in the tagline.  (Bug#9520)
13273 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
13275         * window.el (window-max-delta-1, window-min-delta-1)
13276         (window-min-size-1, window-state-get-1, window-state-put-1)
13277         (window-state-put-2): Use "window--" prefix.
13279 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13281         * emacs-lisp/smie.el: Improve warnings and conflict detection.
13282         (smie-warning-count): New var.
13283         (smie-set-prec2tab): Use it.
13284         (smie-bnf->prec2): Improve warnings.  Add docstring.
13285         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
13286         (smie-bnf--set-class): New function.
13287         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
13288         corner case.
13290         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
13291         (compilation-error-properties, compilation-move-to-column):
13292         Handle compilation-first-column while in the target buffer.
13294         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
13295         Don't hardcode point-min==1.
13297         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
13298         (eshell-rewrite-for-command): Remove workaround.
13299         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
13300         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
13301         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
13303         * files-x.el (modify-file-local-variable): Obey commenting conventions.
13305 2011-11-17  Glenn Morris  <rgm@gnu.org>
13307         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13308         Ignore buffer-local generated-autoload-file if it is the same
13309         as the global value.  (Bug#10049)
13311 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
13313         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
13314         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
13315         (reftex-toc-previous-heading, reftex-toc-max-level)
13316         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
13317         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
13318         (reftex-toc-do-promote, reftex-toc-promote-prepare)
13319         (reftex-toc-promote-action, reftex-toc-extract-section-number)
13320         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
13321         (reftex-toc-rename-label, reftex-toc-visit-location)
13322         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
13323         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
13324         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
13325         leaving "*toc*" only for references to the buffer.
13327 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
13329         * window.el (window-resize, delete-window, split-window):
13330         Replace window-splits by window-combination-resize.
13331         * cus-start.el (window-splits): Replace by window-combination-resize.
13333 2011-11-17  Glenn Morris  <rgm@gnu.org>
13335         * progmodes/sh-script.el (sh-font-lock-keywords-var):
13336         Make bash entry derive from sh entry, not shell entry.
13338 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
13340         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
13341         local file name.
13343 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
13345         * menu-bar.el (menu-bar-file-menu):
13346         * printing.el (pr-ps-utility):
13347         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
13348         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
13349         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
13350         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
13351         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
13352         (icalendar--convert-cyclic-to-ical)
13353         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
13354         (icalendar--convert-ical-to-diary)
13355         (icalendar--convert-recurring-to-diary)
13356         (icalendar--convert-non-recurring-all-day-to-diary)
13357         (icalendar-import-format-sample):
13358         * progmodes/idlw-shell.el (idlwave-shell-mode):
13359         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
13360         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
13361         (vhdl-ps-print-init): Fix typos.
13363 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
13365         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
13366         FSF and collapse date sequence, obscure author/maintainer email address
13367         better, remove extra version line, track relocation of author's webpage.
13369         * progmodes/python.el (python-pdbtrack-input-prompt)
13370         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
13371         regular python pdb prompts.  Adjustments shamelessly taken exactly as
13372         suggested in EmacsWiki page (tiny change):
13373         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
13375 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
13377         * expand.el (expand-pos, expand-index, expand-point):
13378         Remove redundant info from docstring.
13379         (expand-add-abbrevs): Doc fix.
13380         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
13381         (expand-sample-perl-mode-expand-list): Fix typos.
13383         * net/dbus.el (dbus-event-member-name):
13384         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
13385         * term/pc-win.el (msdos-create-frame-with-faces):
13386         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
13388 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
13390         * window.el (split-window, window-state-get-1)
13391         (window-state-put-1, window-state-put-2): Rename occurrences of
13392         window-nest to window-combination-limit.
13393         * cus-start.el (window-nest): Rename to window-combination-limit.
13395 2011-11-16  Chong Yidong  <cyd@gnu.org>
13397         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
13398         regexp (Bug#10033).
13400 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13402         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
13403         `completing-read' will remove *Completions* and will preserve
13404         current-buffer for us.
13405         (tmm-add-prompt): Users of *Completions* will always (re)set its
13406         major mode.
13407         (tmm-old-comp-map): Remove.
13409 2011-11-16  Glenn Morris  <rgm@gnu.org>
13411         * mail/rmailedit.el: Require rmailmm when compiling.
13412         (rmail-old-mime-state): New declaration.
13413         (rmail-edit-current-message): If editing a mime message,
13414         edit the "raw" message from the mbox buffer.
13415         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
13417 2011-11-15  Glenn Morris  <rgm@gnu.org>
13419         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
13420         which wasn't being used.  Add optional arg to force given state.
13421         (rmail-mime): Add optional arg to force given state.
13423 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
13425         * allout.el (allout-encryption-plaintext-sanitization-regexps):
13426         * frame.el (display-mm-dimensions-alist):
13427         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
13428         (outline-move-subtree-down):
13429         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
13430         (newsticker--treeview-do-get-node):
13431         * net/quickurl.el (quickurl-list-buffer-name):
13432         * progmodes/dcl-mode.el (dcl-mode):
13433         * progmodes/gdb-mi.el (gdb-mapcar*):
13434         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
13436 2011-11-15  Glenn Morris  <rgm@gnu.org>
13438         * mail/rmail.el (rmail-file-coding-system): It's only ever used
13439         in a boolean sense, so just make it a boolean, and fix the doc.
13440         (rmail-show-mime-function, rmail-mime-feature)
13441         (rmail-require-mime-maybe): Doc fixes.
13442         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
13444         * mail/rmailmm.el (rmail-show-mime): Doc fix.
13446 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
13448         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
13449         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
13450         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
13451         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
13453 2011-11-15  Glenn Morris  <rgm@gnu.org>
13455         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
13456         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
13457         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
13458         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
13459         (rmail-mime, rmail-show-mime): Doc fixes.
13461         * term/ns-win.el (mode-line-frame-identification):
13462         Leave it alone.  (Bug#10051)
13464         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
13466         * mail/rmailout.el (rmail-output-to-rmail-buffer):
13467         Handle empty buffers.  (Bug#9978)
13469 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
13471         * international/mule.el (define-charset):
13472         * mail/rmailmm.el (rmail-mime-find-header-encoding):
13473         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
13474         * progmodes/verilog-mode.el (verilog-backward-token):
13475         * textmodes/ispell.el (lookup-words):
13476         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
13478 2011-11-14  Glenn Morris  <rgm@gnu.org>
13480         * progmodes/executable.el
13481         (executable-make-buffer-file-executable-if-script-p):
13482         Handle file-modes returning nil.
13484         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
13485         message - not necessary, and causes problems.  (Bug#9831)
13487         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
13489         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
13491         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
13492         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
13493         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
13495 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
13497         * window.el (window-resize, delete-window): Use window-splits
13498         variable instead of function.
13499         (window-state-get-1, window-state-put-2, window-state-put):
13500         Don't deal with windows' splits status.
13502 2011-11-12  Glenn Morris  <rgm@gnu.org>
13504         * apropos.el (apropos-do-all, apropos-library, apropos-value)
13505         (apropos-documentation): Doc fixes.
13507 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
13509         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
13510         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
13512 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13514         * electric.el (electric-indent-post-self-insert-function): Make it
13515         possible for a char to only indent in some circumstances.
13516         (electric-indent-mode): Simplify.
13518 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
13520         * window.el (windows-with-parameter): Remove unused function.
13521         (windows-at-side): Rename to window-at-side-list.
13522         (window-check, window-atom-check, window-atom-check-1)
13523         (window-side-check, window-size-ignore, window-size-fixed-1)
13524         (window-in-direction-2): Prefix with "window--".
13525         (window-tree-1): Rename to window--subtree, fix doc-string.
13527 2011-11-11  Glenn Morris  <rgm@gnu.org>
13529         * subr.el (eval-after-load): If FILE is already loaded,
13530         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
13532 2011-11-10  Glenn Morris  <rgm@gnu.org>
13534         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
13535         Call svn via vc-svn-command rather than vc-do-command.
13536         (vc-svn-command): Add --non-interactive.  (Bug#9993)
13537         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
13539         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
13540         Add toggle-read-only.  (Bug#7292)
13541         * files.el (toggle-read-only): Mention that it should only
13542         be used interactively.  (Bug#10006)
13544 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13546         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13547         Adjust regexp for OCaml warnings.
13549         * electric.el (electric-pair-post-self-insert-function): Let user
13550         turn it off buffer-locally (bug#9932).
13552         * progmodes/python.el (python-beginning-of-statement):
13553         Rewrite (bug#2703).
13555         * progmodes/compile.el: Better handle TABs (bug#9749).
13556         (compilation-internal-error-properties)
13557         (compilation-next-error-function): Obey the target buffer's
13558         compilation-error-screen-columns.
13560 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
13562         * progmodes/meta-mode.el: Remove obsolete comments.
13563         (meta-right-comment-regexp, meta-ignore-comment-regexp):
13564         Fix typos in docstrings.
13566 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
13568         * window.el (window-size-fixed-p): Rewrite doc-string.
13569         (window-resizable-p): Rename to window--resizable-p.  Update callers.
13570         (window--resizable): New function.  Make all callers of
13571         window-resizable call window--resizable instead.
13572         (window-resizable): Rewrite in terms of window--resizable.
13574 2011-11-08  Glenn Morris  <rgm@gnu.org>
13576         * progmodes/delphi.el (delphi-mode-syntax-table):
13577         Let define-derived-mode define a proper syntax table.  (Bug#9994)
13579 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13581         * window.el: Stay away from defsubst.
13582         (window-list-no-nils): Remove.
13583         (window-state-get-1, window-state-get): Use backquote instead.
13585 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13587         * emacs-lisp/find-func.el (find-function-read):
13588         Fix incorrect use of default argument in `completing-read'.
13590 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
13592         * window.el (display-buffer-function, special-display-function):
13593         Mention display-buffer-record-window but do not mention
13594         help-setup parameter in doc-strings.
13595         (window-min-delta): Fix doc-string typo.
13597 2011-11-08  Chong Yidong  <cyd@gnu.org>
13599         * window.el (window-total-height, window-total-width): Doc fix.
13600         (window-body-size): Move from C.
13601         (window-body-height, window-body-width): Move to C.
13603 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
13605         * window.el: Make special-display like display-buffer-alist (bug#9532).
13606         (display-buffer--special-action): New function, morphed
13607         from display-buffer--special.
13608         (display-buffer): Use it to handle special-display-buffers at higher
13609         priority (just after display-buffer-alist).
13610         (display-buffer-fallback-action, display-buffer--other-frame-action)
13611         (pop-to-buffer-same-window): Remove display-buffer--special.
13613 2011-11-07  Glenn Morris  <rgm@gnu.org>
13615         * calendar/cal-menu.el (cal-menu-set-date-title):
13616         Do nothing if not in a calendar.  (Bug#9976)
13618 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13620         * files.el (find-file): Always use selected-window.
13622 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
13624         * window.el (window-combinations): Make WINDOW argument
13625         mandatory.  Rewrite doc-string.
13626         (walk-window-subtree, window-atom-check, window-min-delta)
13627         (window-max-delta, window--resize-this-window)
13628         (window--resize-root-window-vertically, window-tree)
13629         (balance-windows, window-state-put): Rewrite doc-strings as to
13630         not mention the term "subwindow".
13631         (window--resize-subwindows-skip-p): Rename to
13632         window--resize-child-windows-skip-p.
13633         (window--resize-subwindows-normal): Rename to
13634         window--resize-child-windows-normal.
13635         (window--resize-subwindows): Rename to
13636         window--resize-child-windows.
13637         (window-or-subwindow-p): Rename to window--in-subtree-p.
13639 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
13641         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
13642         Ensure that mbox format messages end in two newlines (Bug#9974).
13644 2011-11-06  Chong Yidong  <cyd@gnu.org>
13646         * window.el (window-combination-p): Function deleted; its
13647         side-effect is not used in any existing code.
13648         (window-combinations, window-combined-p): Call window-*-child
13649         directly.
13651 2011-11-05  Chong Yidong  <cyd@gnu.org>
13653         * window.el (window-valid-p): Rename from window-any-p.
13654         (window-size-ignore, window-state-get): Callers changed.
13655         (window-normalize-window): Rename from window-normalize-any-window.
13656         New arg LIVE-ONLY, replacing window-normalize-live-window.
13657         (window-normalize-live-window): Delete.
13658         (window-combination-p, window-combined-p, window-combinations)
13659         (walk-window-subtree, window-atom-root, window-min-size)
13660         (window-sizable, window-sizable-p, window-size-fixed-p)
13661         (window-min-delta, window-max-delta, window-resizable)
13662         (window-resizable-p, window-full-height-p, window-full-width-p)
13663         (window-current-scroll-bars, window-point-1, set-window-point-1)
13664         (window-at-side-p, window-in-direction, window-resize)
13665         (adjust-window-trailing-edge, maximize-window, minimize-window)
13666         (window-deletable-p, delete-window, delete-other-windows)
13667         (record-window-buffer, unrecord-window-buffer)
13668         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
13669         (quit-window, split-window, window-state-put)
13670         (set-window-text-height, fit-window-to-buffer)
13671         (shrink-window-if-larger-than-buffer): Callers changed.
13673 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
13675         * mail/rmail.el (rmail-simplified-subject): Decode subject with
13676         rfc2047-decode-string.
13677         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
13678         warnings.
13680         * window.el (window-body-height, window-body-width): Mention in
13681         the doc string that the return values are in frame's canonical
13682         units.  (Bug#9949)
13684 2011-11-03  Alan Mackenzie  <acm@muc.de>
13686         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
13687         change in cc-engine.el.
13689 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13691         * window.el (switch-to-buffer): Use `force-same-window' interactively.
13693 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
13695         * window.el (quit-window): Call unrecord-window-buffer after
13696         showing another buffer in the window.  (Bug#9937)
13697         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
13699 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
13701         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
13702         Accept status with more than 9 shelves.  (Bug#9935)
13703         Reported by Colin D Bennett <colin@gibibit.com>.
13705 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
13707         * help.el (with-help-window): Don't reference
13708         temp-buffer-show-specifiers in doc-string.
13710 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
13712         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
13713         menu-item.
13715 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
13717         * whitespace.el: New version 13.2.2.
13718         (whitespace-newline-mode): Disable properly.  Reported by Sarah
13719         <EmacsWiki>.
13721 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
13723         * net/newst-treeview.el: Remove "Time-stamp".
13724         (newsticker--group-manage-orphan-feeds): Do not call
13725         newsticker--treeview-tree-update.
13726         (newsticker-treeview-update, newsticker-treeview):
13727         Call newsticker--treeview-tree-update if necessary.
13729 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
13731         * window.el (window-iso-combination-p, window-iso-combined-p)
13732         (window-iso-combinations): Remove "iso-" infix.
13733         Suggested by Chong Yidong.
13734         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
13735         (window-max-delta-1, window-resize, window--resize-siblings)
13736         (window--resize-this-window, adjust-window-trailing-edge)
13737         (split-window, balance-windows-1)
13738         (shrink-window-if-larger-than-buffer):
13739         * calendar/calendar.el (calendar-generate-window):
13740         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
13742 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13744         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
13745         in place (bug#9907).
13746         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
13747         (eshell-rewrite-if-command, eshell-rewrite-for-command)
13748         (eshell-structure-basic-command, eshell-rewrite-while-command)
13749         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
13750         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
13751         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
13752         (eshell-do-pipelines-synchronously, eshell-eval-command):
13753         Use backquotes and prefer setq to set.
13754         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
13755         (eshell-macrop): Use functionp.
13756         (eshell-do-eval): Handle multiple expressions in `while' body.
13758 2011-10-30  Chong Yidong  <cyd@gnu.org>
13760         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
13761         instead of set-mark (Bug#9810).
13763 2011-10-30  Chong Yidong  <cyd@gnu.org>
13765         * window.el (split-window-below, split-window-right): Rename from
13766         split-window-above-each-other and split-window-side-by-side
13767         respectively.  All callers changed.
13768         (split-window-sensibly, split-window-sensibly): Use them.
13769         (split-window-keep-point): Doc fix.
13771         * isearch.el: Add isearch-scroll property to split-window-below
13772         and split-window-right.
13774         * follow.el (follow-mode):
13775         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
13776         * progmodes/ada-xref.el (ada-gdb-application):
13777         * emulation/vip.el (vip-buffer-in-two-windows):
13778         * image-dired.el (image-dired-dired-with-window-configuration):
13779         * dired-x.el (dired-do-find-marked-files):
13780         * dired.el (dired-pop-to-buffer):
13781         * bs.el (bs--show-with-configuration):
13782         * vc/emerge.el (emerge-setup-windows):
13783         * textmodes/two-column.el (2C-two-columns):
13784         * textmodes/reftex-toc.el (reftex-toc):
13785         * progmodes/gdb-mi.el (gdb-setup-windows):
13786         * progmodes/fortran.el (fortran-window-create):
13787         * net/newst-treeview.el (newsticker--treeview-window-init):
13788         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
13789         * emulation/tpu-edt.el (tpu-gold-map):
13790         * emulation/crisp.el (crisp-mode-map):
13791         * calendar/calendar.el (calendar-basic-setup): Callers changed.
13793 2011-10-29  Chong Yidong  <cyd@gnu.org>
13795         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
13797         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
13799         * textmodes/flyspell.el (flyspell-word): Fix char offset for
13800         forged Ispell output (Bug#7904).
13802         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
13804 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13806         * doc-view.el: Avoid ugly errors about not finding nil.
13807         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
13808         (doc-view-dvipdf-program, doc-view-unoconv-program)
13809         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
13810         Avoid nil or absolute file name as default value.
13811         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
13813 2011-10-28  Alan Mackenzie  <acm@muc.de>
13815         * progmodes/cc-defs.el (c-version): -> 5.32.2.
13817 2011-10-28  Alan Mackenzie  <acm@muc.de>
13819         Amend the handling of c-beginning/end-of-defun in nested declaration
13820         scopes.
13822         * progmodes/cc-vars.el (c-defun-tactic): Move here from
13823         cc-langs.el.  Change it to a defcustom.
13825         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
13826         cc-vars.el.
13828         * progmodes/cc-engine.el (c-beginning-of-statement-1):
13829         Prevent "class foo : bar" being spuriously recognized as a label.
13831         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
13832         Add parameter `inclusive' (to include enclosing braces in the region).
13833         (c-widen-to-enclosing-decl-scope): New function.
13834         (c-while-widening-to-decl-block): New macro.
13835         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
13836         outward for defun boundaries, and correspondingly change symbol
13837         `respect-enclosure' to `go-outward'.
13838         (c-declaration-limits): Change algorithm to report only the "innermost"
13839         defun's boundaries.
13841 2011-10-28  Deniz Dogan  <deniz@dogan.se>
13843         * net/rcirc.el (rcirc-mode): Use hard newlines.
13845 2011-10-28  Alan Mackenzie  <acm@muc.de>
13847         Amend to indent and fontify macros "which include their own semicolon"
13848         correctly, using the "virtual semicolon" mechanism.
13850         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
13852         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
13853         Recode to scan one line at a time rather than having \n and \r
13854         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
13855         (c-forward-label): Amend for virtual semicolons.
13856         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
13858         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
13859         of the new C macros.
13861         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
13862         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
13863         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
13864         (c-opt-cpp-macro-define): Make into a full language variable.
13865         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
13866         AWK Mode (including \n, \r) removed, no longer needed.
13868         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
13869         Invoke c-make-macro-with-semi-re.
13871         * progmodes/cc-vars.el (c-macro-with-semi-re):
13872         (c-macro-names-with-semicolon): New variables.
13873         (c-make-macro-with-semi-re): New function.
13875 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13877         * vc/log-edit.el: Fill empty field rather than adding new one.
13878         (log-edit-add-field): New function.
13879         (log-edit-insert-changelog): Use it.
13881 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
13883         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
13885 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13887         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
13888         (gdb--check-interpreter): New function.
13889         (gdb): Use it.
13891 2011-10-27  Glenn Morris  <rgm@gnu.org>
13893         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
13894         (least-positive-float, least-negative-float)
13895         (least-positive-normalized-float, least-negative-normalized-float)
13896         (float-epsilon, float-negative-epsilon):
13897         Remove unnecessary declarations.
13899         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
13900         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
13901         (least-positive-float, least-negative-float)
13902         (least-positive-normalized-float, least-negative-normalized-float)
13903         (float-epsilon, float-negative-epsilon): Add doc-strings,
13904         based on those in cl.texi.
13906         * files.el (set-visited-file-name): If the major-mode changed,
13907         reload the local variables.  (Bug#9796)
13909 2011-10-27  Chong Yidong  <cyd@gnu.org>
13911         * subr.el (change-major-mode-after-body-hook): New hook.
13912         (run-mode-hooks): Run it.
13914         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
13915         Use change-major-mode-before-body-hook.
13917         * simple.el (fundamental-mode):
13918         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
13919         change introducing fundamental-mode-hook.
13921 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
13923         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
13925 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
13927         * ido.el (ido-file-name-all-completions-1): Do not require
13928         tramp.el explicitly.  (Bug#7583)
13930 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13932         * progmodes/octave-mod.el:
13933         * progmodes/octave-inf.el: Update maintainer.
13935 2011-10-26  Chong Yidong  <cyd@gnu.org>
13937         * subr.el (with-wrapper-hook): Rewrite doc.
13939 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
13941         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
13942         filenames "/method:foo:".  (Bug#9793)
13944 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13946         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
13947         (bug#9865).
13949 2011-10-24  Glenn Morris  <rgm@gnu.org>
13951         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
13953 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
13955         * notifications.el: Add the requirement of a running D-Bus session
13956         bus to the Commentary.
13958 2011-10-24  Juri Linkov  <juri@jurta.org>
13960         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
13961         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
13962         (Bug#9364)
13964 2011-10-24  Juri Linkov  <juri@jurta.org>
13966         * info.el (Info-following-node-name-re): Add newline to the list
13967         of allowed characters for leading space.  (Bug#9824)
13969 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13971         * progmodes/octave-inf.el (inferior-octave-mode-map):
13972         Fix C-c C-h binding.
13973         * progmodes/octave-mod.el (octave-help): Remove.
13975 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
13977         Sync with Tramp 2.2.3.
13979         * net/tramp-cache.el (top): Pacify byte-compiler using
13980         `init-file-user' and `site-run-file'.
13982         * net/trampver.el: Update release number.
13984 2011-10-23  Chong Yidong  <cyd@gnu.org>
13986         * files.el (toggle-read-only): Remove obsolete comment about
13987         version control.
13989         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
13990         for toggle-read-only.  Note that this hasn't called vc-next-action
13991         since 2008-05-02, though it wasn't documented at the time.
13993         * vc/ediff-init.el (ediff-toggle-read-only-function):
13994         Use toggle-read-only.
13996 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
13998         Fix bug #9560, sporadic wrong indentation; improve instrumentation
13999         of c-parse-state.
14001         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
14002         correct faulty logical expression.
14003         (c-parse-state-state, c-record-parse-state-state):
14004         (c-replay-parse-state-state): New defvar/defuns.
14005         (c-debug-parse-state): Use new functions.
14007 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
14009         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
14010         last fix.  Use window-in-direction correctly.
14012 2011-10-21  Chong Yidong  <cyd@gnu.org>
14014         * progmodes/idlwave.el (idlwave-mode):
14015         * progmodes/vera-mode.el (vera-mode): No need to set
14016         require-final-newline; that's done in prog-mode.
14017         Suggested by Stefan Monnier.
14019 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
14021         * mouse.el (mouse-drag-window-above)
14022         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
14023         (mouse-drag-mode-line-1, mouse-drag-header-line)
14024         (mouse-drag-vertical-line-rightward-window): Remove.
14025         (mouse-drag-line): New function.
14026         (mouse-drag-mode-line, mouse-drag-header-line)
14027         (mouse-drag-vertical-line): Call mouse-drag-line.
14028         * window.el (window-at-side-p, windows-at-side): New functions.
14030 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
14032         * tar-mode.el (tar-grind-file-mode):
14033         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
14035 2011-10-21  Chong Yidong  <cyd@gnu.org>
14037         * progmodes/idlwave.el (idlwave-mode):
14038         * progmodes/vera-mode.el (vera-mode):
14039         Use mode-require-final-newline.
14041 2011-10-20  Glenn Morris  <rgm@gnu.org>
14043         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
14045 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
14047         * emulation/cua-base.el (cua-set-mark): Fix case of string.
14049 2011-10-20  Chong Yidong  <cyd@gnu.org>
14051         * emulation/cua-base.el (cua-mode):
14052         * mail/footnote.el (footnote-mode):
14053         * mail/mailabbrev.el (mail-abbrevs-mode):
14054         * net/xesam.el (xesam-minor-mode):
14055         * progmodes/bug-reference.el (bug-reference-mode):
14056         * progmodes/cap-words.el (capitalized-words-mode):
14057         * progmodes/compile.el (compilation-minor-mode)
14058         (compilation-shell-minor-mode):
14059         * progmodes/gud.el (gud-tooltip-mode):
14060         * progmodes/hideif.el (hide-ifdef-mode):
14061         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
14062         * progmodes/subword.el (subword-mode):
14063         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
14064         * progmodes/which-func.el (which-function-mode):
14065         * term/tvi970.el (tvi970-set-keypad-mode):
14066         * term/vt100.el (vt100-wide-mode):
14067         * textmodes/flyspell.el (flyspell-mode):
14068         * textmodes/ispell.el (ispell-minor-mode):
14069         * textmodes/nroff-mode.el (nroff-electric-mode):
14070         * textmodes/paragraphs.el (use-hard-newlines):
14071         * textmodes/refill.el (refill-mode):
14072         * textmodes/reftex.el (reftex-mode):
14073         * textmodes/rst.el (rst-minor-mode):
14074         * textmodes/sgml-mode.el (html-autoview-mode)
14075         (sgml-electric-tag-pair-mode):
14076         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
14077         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
14078         * emulation/crisp.el (crisp-mode):
14079         * emacs-lisp/eldoc.el (eldoc-mode):
14080         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
14081         minor mode behavior.
14083 2011-10-19  Juri Linkov  <juri@jurta.org>
14085         * descr-text.el (describe-char): Add #x2010 and #x2011 to
14086         the list of hard-coded chars with escape-glyph face.
14088 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14090         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
14092 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
14094         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
14095         running process.
14097 2011-10-19  Glenn Morris  <rgm@gnu.org>
14099         * vc/vc-bzr.el (vc-bzr-after-dir-status):
14100         Ignore ignored files.  (Bug#9726)
14102 2011-10-19  Chong Yidong  <cyd@gnu.org>
14104         Doc fix for minor modes, stating that an omitted argument enables
14105         the mode unconditionally when called from Lisp.
14107         * abbrev.el (abbrev-mode):
14108         * allout.el (allout-mode):
14109         * autoinsert.el (auto-insert-mode):
14110         * autoarg.el (autoarg-mode, autoarg-kp-mode):
14111         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
14112         (global-auto-revert-mode):
14113         * battery.el (display-battery-mode):
14114         * composite.el (global-auto-composition-mode)
14115         (auto-composition-mode):
14116         * delsel.el (delete-selection-mode):
14117         * desktop.el (desktop-save-mode):
14118         * dired-x.el (dired-omit-mode):
14119         * dirtrack.el (dirtrack-mode):
14120         * doc-view.el (doc-view-minor-mode):
14121         * double.el (double-mode):
14122         * electric.el (electric-indent-mode, electric-pair-mode):
14123         * emacs-lock.el (emacs-lock-mode):
14124         * epa-hook.el (auto-encryption-mode):
14125         * follow.el (follow-mode):
14126         * font-core.el (font-lock-mode):
14127         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
14128         * help.el (temp-buffer-resize-mode):
14129         * hilit-chg.el (highlight-changes-mode)
14130         (highlight-changes-visible-mode):
14131         * hi-lock.el (hi-lock-mode):
14132         * hl-line.el (hl-line-mode, global-hl-line-mode):
14133         * icomplete.el (icomplete-mode):
14134         * ido.el (ido-everywhere):
14135         * image-file.el (auto-image-file-mode):
14136         * image-mode.el (image-minor-mode):
14137         * iswitchb.el (iswitchb-mode):
14138         * jka-cmpr-hook.el (auto-compression-mode):
14139         * linum.el (linum-mode):
14140         * longlines.el (longlines-mode):
14141         * master.el (master-mode):
14142         * mb-depth.el (minibuffer-depth-indicate-mode):
14143         * menu-bar.el (menu-bar-mode):
14144         * minibuf-eldef.el (minibuffer-electric-default-mode):
14145         * mouse-sel.el (mouse-sel-mode):
14146         * msb.el (msb-mode):
14147         * mwheel.el (mouse-wheel-mode):
14148         * outline.el (outline-minor-mode):
14149         * paren.el (show-paren-mode):
14150         * recentf.el (recentf-mode):
14151         * reveal.el (reveal-mode, global-reveal-mode):
14152         * rfn-eshadow.el (file-name-shadow-mode):
14153         * ruler-mode.el (ruler-mode):
14154         * savehist.el (savehist-mode):
14155         * scroll-all.el (scroll-all-mode):
14156         * scroll-bar.el (scroll-bar-mode):
14157         * server.el (server-mode):
14158         * shell.el (shell-dirtrack-mode):
14159         * simple.el (auto-fill-mode, transient-mark-mode)
14160         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
14161         (line-number-mode, column-number-mode, size-indication-mode)
14162         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
14163         * strokes.el (strokes-mode):
14164         * time.el (display-time-mode):
14165         * t-mouse.el (gpm-mouse-mode):
14166         * tool-bar.el (tool-bar-mode):
14167         * tooltip.el (tooltip-mode):
14168         * type-break.el (type-break-mode-line-message-mode)
14169         (type-break-query-mode):
14170         * view.el (view-mode):
14171         * whitespace.el (whitespace-mode, whitespace-newline-mode)
14172         (global-whitespace-mode, global-whitespace-newline-mode):
14173         * xt-mouse.el (xterm-mouse-mode): Doc fix.
14175         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
14176         Fix autogenerated docstring.
14178 2011-10-19  Juri Linkov  <juri@jurta.org>
14180         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
14181         by checking environment variables "DESKTOP_SESSION" and
14182         "XDG_CURRENT_DESKTOP".  (Bug#9779)
14184 2011-10-19  Juri Linkov  <juri@jurta.org>
14186         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
14187         (browse-url-chromium-program, browse-url-chromium-arguments):
14188         New defcustoms.
14189         (browse-url-default-browser): Check for `browse-url-chromium' and
14190         call `browse-url-chromium-program'.
14191         (browse-url-chromium): New command.  (Bug#9779)
14193 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
14195         * facemenu.el (list-colors-duplicates): On Windows, detect more
14196         duplicates by assuming that only colors matching "^System" are
14197         special "system colors".  (Bug#9722)
14199 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14201         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
14202         to distinguish the author from the committer.
14204 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
14206         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
14208 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
14210         * international/mule.el (sgml-html-meta-auto-coding-function):
14211         Add support for detecting encoding in HTML5 specified only as
14212         <meta charset="UTF-8">.  Implementation just makes http-equiv and
14213         content-type parts from HTML4 encoding string optional.  (Bug#9716)
14215 2011-10-18  Glenn Morris  <rgm@gnu.org>
14217         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
14219 2011-10-18  Chong Yidong  <cyd@gnu.org>
14221         * faces.el (cursor): Doc fix.
14223 2011-10-17  Chong Yidong  <cyd@gnu.org>
14225         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
14227 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
14229         * dirtrack.el (dirtrack): Support shell buffers with path
14230         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
14232 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
14234         * json.el: Bump version to 1.3 and note change in History.
14235         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
14237 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14239         * comint.el (comint-insert-input, comint-send-input)
14240         (comint-get-old-input-default, comint-backward-matching-input)
14241         (comint-next-prompt): Use nil instead of `input' for field property of
14242         past user input (bug#114).
14244         * minibuffer.el (completion--replace): Inherit surrounding properties
14245         (bug#114).
14246         (minibuffer-complete-and-exit): Use it.
14248         * comint.el (comint--table-subvert): Quote the all-completions output
14249         (bug#9160).
14251 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
14253         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
14255         * menu-bar.el (menu-bar-file-menu): Add entry for making new
14256         window on right of selected.  (Bug#9350) Reword other window
14257         entries and separate them from frame entries.
14259 2011-10-15  Glenn Morris  <rgm@gnu.org>
14261         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
14262         Doc fixes.
14264 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
14266         * net/network-stream.el (network-stream-open-starttls):
14267         Improve detection of failure due to lack of TLS support.
14269         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
14270         putting the input text in front and in bold.
14272 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14274         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
14276         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
14277         empty buffer.
14279         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
14280         unread-command-events rather than pushing yet-another event.
14282 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
14284         * mail/sendmail.el (sendmail-query-once): Improve the wording of
14285         the explanation of the possible choices.  Make the options passed
14286         to completing-read shorter.
14288 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
14290         * textmodes/flyspell.el (flyspell-large-region): Make sure
14291         extended character mode is used if defined (Bug#1339).
14293 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
14295         * simple.el (what-cursor-position): Fix the display of the
14296         character info for LRE, LRO, RLE, and RLO characters by appending
14297         an invisible PDF.
14299 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14301         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
14302         even in case of error; add debug spec; simplify data flow.
14303         (with-timeout-handler): Remove.
14305 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
14307         Fix Bug#6019, Bug#9315.
14309         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
14310         complete `buffer-file-name', the local file name part could look
14311         remotely (for example on VMS).
14313         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
14314         `tramp-run-real-handler'.
14315         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
14316         already quoted by '"'.
14318         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
14319         Let `file-name-handler-alist' be nil, the local file name part
14320         could look remotely (for example on VMS).
14322 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14324         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
14325         from here...
14326         (flyspell-post-command-hook): ...to here.
14328 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14330         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
14331         if not needed.
14332         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
14333         using completion.  Protect against "slow" callers.
14334         Remove the "message hack".
14336 2011-10-11  Juri Linkov  <juri@jurta.org>
14338         * isearch.el (isearch-lazy-highlight-word): New variable.
14339         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
14340         Use it.  (Bug#9727)
14342 2011-10-11  Glenn Morris  <rgm@gnu.org>
14344         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
14345         like f90-previous-statement does.
14347 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14349         * eshell/eshell.el (eshell-command): History should be saved
14350         only in interactive use, to avoid error.
14352 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
14354         * minibuffer.el (completion-file-name-table): Fix last change,
14355         i.e. ignore normal errors but not the other ones.
14357 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
14359         * window.el (special-display-buffer-names)
14360         (special-display-regexps): Remove some remnants of earlier
14361         changes from doc-strings.
14362         (quit-windows-on): New function.
14364         * vc/vc.el (vc-revert, vc-rollback):
14365         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
14366         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
14367         (Bug#6183) (Bug#7074) (Bug#7447)
14369 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
14371         * window.el (frame-auto-hide-function): Add version tag.
14372         (Bug#9699)
14374 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
14376         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
14377         condition.
14379 2011-10-09  Leo Liu  <sdl.web@gmail.com>
14381         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
14382         (Bug#9701)
14384 2011-10-08  Glenn Morris  <rgm@gnu.org>
14386         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
14387         before the first code statement zero indent.  (Bug#9690)
14389 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
14391         * simple.el (count-words-region): Always count in the region.
14392         Report the number of lines and characters too.
14393         (count-words): New command, which counts in the buffer if the
14394         region is inactive, as count-words-region used to.
14395         (count-words--message): New function.  Handle plurals.
14396         (count-lines-region): Make it an alias for count-words-region.
14398         * bindings.el (esc-map): Replace count-lines-region with
14399         count-words-region.
14401 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
14403         * window.el (window--delete): Delete dedicated frame
14404         unconditionally when argument KILL is non-nil.  (Bug#9699)
14405         (switch-to-buffer): Fix doc-string typo.
14407 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14409         * eshell/eshell.el (eshell-command): Avoid using hooks.
14411 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
14413         * bindings.el ([M-left],[M-right]): Bind to left-word and
14414         right-word respectively.
14416 2011-10-07  Glenn Morris  <rgm@gnu.org>
14418         * cus-start.el (debug-on-quit): Fix custom type.
14420 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14422         * subr.el (define-key-after): Clarify that the function is not
14423         useful for non-menu keymaps.
14425         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
14427 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14429         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
14430         in current minibuffer (Fix bug with recursive minibuffers).
14432 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
14434         * progmodes/gdb-mi.el (gdb): Doc fix.
14436 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
14438         * window.el (frame-auto-hide-function): New option replacing
14439         frame-auto-delete.  Suggested by Stefan Monnier.
14440         (window--delete): Call frame-auto-hide-function instead of
14441         investigating frame-auto-delete.
14442         (window-point-1, set-window-point-1): New functions.
14443         (window-in-direction, record-window-buffer, window-state-get-1)
14444         (display-buffer-record-window): Use window-point-1 instead of
14445         window-point.
14446         (set-window-buffer-start-and-point): Use set-window-point-1.
14448 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14450         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
14452 2011-10-05  Glenn Morris  <rgm@gnu.org>
14454         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
14455         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
14457 2011-10-05  Leo Liu  <sdl.web@gmail.com>
14459         * subr.el (read-char-choice): Fix argument to buffer-live-p which
14460         works with buffer object.
14462 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14464         * mpc.el (mpc-tool-bar-map): Add labels.
14466 2011-10-04  Glenn Morris  <rgm@gnu.org>
14468         * calendar/holidays.el (calendar-check-holidays): Doc fix.
14470 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
14472         * window.el (window--delete): New function.
14473         (frame-auto-delete): Resuscitate option.
14474         (bury-buffer, replace-buffer-in-windows)
14475         (quit-window): Rewrite using window--delete.
14476         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14477         Pass display-buffer-mark-dedicated to window--display-buffer-2
14478         (Bug#9639).
14480 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14482         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
14483         returns a list (bug#9554).  Add remote file name completion.
14484         * comint.el (comint--table-subvert): Curry and get quote&unquote
14485         functions as arguments.
14486         (comint--complete-file-name-data): Adjust call accordingly.
14487         * pcomplete.el (pcomplete--table-subvert): Remove.
14488         (pcomplete-completions-at-point): Use comint--table-subvert instead.
14490         * minibuffer.el (completion-table-case-fold): Use currying.
14491         (completion--styles-type, completion--cycling-threshold-type):
14492         New constants.
14493         (completion-styles, completion-category-overrides)
14494         (completion-cycle-threshold): Use them.
14495         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
14496         completion-table-case-fold.
14498 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
14500         * minibuffer.el (completion-category-overrides): Fix type of styles
14501         and add more user friendly tags (bug#9660).
14503 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14505         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
14506         (mule-input-method-string): New widget.
14507         (default-input-method, language-info-custom-alist): Use it.
14509 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14511         * pcomplete.el: Require comint.
14512         (pcomplete--common-suffix): Remove.
14513         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
14514         (pcomplete--table-subvert): Sync with comint--table-subvert.
14515         (pcomplete--entries): Use comint-completion-file-name-table.
14516         * comint.el (comint-unquote-filename): Simplify.
14517         (comint-completion-file-name-table): New function (bug#9616).
14518         (comint--complete-file-name-data): Use it.
14520         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
14521         (pcmpl-gnu-tar-buffer): Remove.
14522         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
14523         around.  Make sure pcomplete-suffix-list is only changed temporarily.
14524         Don't look inside the tar's file if it's too large.
14526 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
14528         * cus-edit.el (custom-mode-map):
14529         * epa.el (epa-key-list-mode-map):
14530         * man.el (Man-mode-map):
14531         * startup.el (splash-screen-keymap):
14532         * simple.el (special-mode-map): Use scroll-up-command and
14533         scroll-down-command.
14535         * progmodes/idlw-help.el (idlwave-help-mode-map):
14536         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
14537         * net/newst-plainview.el (newsticker-mode-map):
14538         * emulation/ws-mode.el (wordstar-mode-map):
14539         * emulation/vi.el (vi-com-map):
14540         * calc/calc-graph.el (calc-graph-show-dumb):
14541         * term/sun.el (terminal-init-sun):
14542         * term/ns-win.el (global-map):
14543         * progmodes/grep.el (grep-mode-map):
14544         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
14545         * mail/rmail.el (rmail-mode-map):
14546         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
14548         * custom.el (custom-safe-themes, load-theme): Treat value of t for
14549         custom-safe-themes as special.
14551 2011-10-01  Julien Danjou  <julien@danjou.info>
14553         * notifications.el (notifications-notify): Fix docstring.
14555 2011-10-01  Per Starbäck  <per@starback.se>
14557         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
14559 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
14561         * startup.el (command-line-1): Fix last fix by inserting
14562         initial-scratch-message into *scratch* before displaying it.
14563         (Bug#9605) and (Bug#9636)
14565 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
14567         * simple.el (line-move): If auto-hscroll-mode is disabled and the
14568         window is hscrolled, move by logical lines.  (Bug#9607)
14569         (line-move-visual): Update the doc string to the above effect.
14571 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
14573         * window.el (display-buffer-record-window): When WINDOW is the
14574         selected window use `point' instead of `window-point'.  (Bug#9626)
14576         * startup.el (command-line-1): Use insert-before-markers when
14577         inserting initial-scratch-message.  (Bug#9605)
14579         * help.el (help-window): Remove variable.
14581 2011-09-29  Glenn Morris  <rgm@gnu.org>
14583         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
14585 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
14587         * descr-text.el (describe-char-categories): Accept category
14588         descriptions more than one line long.
14590 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14592         * simple.el (delete-trailing-whitespace): Fix last change.
14594         * progmodes/perl-mode.el (perl-syntax-propertize-function):
14595         Don't confuse "y => 3" as the beginning of a `y' operation.
14597         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
14598         object has more than 4 slots (bug#9613).
14600 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
14602         * subr.el (with-output-to-temp-buffer):
14603         * net/quickurl.el (quickurl, quickurl-browse-url):
14604         Fix typos in docstrings.
14606 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
14608         * minibuffer.el (completion-styles)
14609         (completion-category-overrides): Cross reference each other in doc
14610         strings.
14612 2011-09-27  Glenn Morris  <rgm@gnu.org>
14614         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
14615         to split-string.  (Bug#9606)
14617 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14619         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
14620         (bug#9615).
14622 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
14624         * emacs-lisp/package.el (list-packages): Fix echo area message.
14626 2011-09-27  Leo Liu  <sdl.web@gmail.com>
14628         * ido.el (ido-read-internal): Accept cons cell HIST arg.
14630 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
14632         * net/dbus.el (dbus-unregister-object): Don't release services for
14633         registered signals.  (Bug#9581)
14635 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
14637         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
14638         function that picks between cfengine 2 and 3 support
14639         automatically.  Update docs accordingly.
14641 2011-09-22  Kenichi Handa  <handa@m17n.org>
14643         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
14644         ZERO.
14645         (indian-itrans-v5-table-for-tamil): New variable.
14646         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
14648 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
14650         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
14651         that's true if the current command involved collapsing of text.
14652         It's reset to false at the beginning of the next command.
14653         (allout-post-command-business): Move the cursor to the beginning
14654         of entry if the cursor is hidden and collapsing activity just
14655         happened.
14657 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
14659         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
14660         tracking (Bug#9541).
14662 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
14664         * net/newst-reader.el (newsticker-html-renderer)
14665         (newsticker-show-news): Automatically load html rendering package
14666         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
14667         because w3m-fill-column is let-bound" and the error "Symbol's value
14668         as variable is void: w3m-fill-column".
14670 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
14672         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
14673         Release services only if they are defined.  (Bug#9581)
14675 2011-09-23  Richard Stallman  <rms@gnu.org>
14677         * textmodes/paragraphs.el (forward-sentence): For backwards case,
14678         distinguish start of paragraph from start of its text.
14680         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
14682         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
14683         (rmail-generate-viewer-buffer): Put that hook on view buffer.
14684         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
14686 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
14688         * international/mule-diag.el (mule-diag): Insert a newline after
14689         each fontset description.
14691 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14693         * simple.el (delete-trailing-whitespace):
14694         Document last change; simplify.
14696 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
14698         * simple.el (delete-trailing-whitespace): Also delete
14699         extra newlines at the end of the buffer.
14701         * textmodes/picture.el: Make motion commands obey shift-select-mode.
14702         (picture-newline): Use forward-line so as to ignore fields.
14704 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14706         * subr.el (with-wrapper-hook): Fix edebug spec.
14708 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14710         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
14711         (bug#4538).
14713 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
14715         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
14716         Fix nasty bug using wrong cached values.
14718 2011-09-23  Alan Mackenzie  <acm@muc.de>
14720         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
14722 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
14724         * window.el (pop-to-buffer): Ensure right window is selected if we
14725         chose another frame.
14727 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
14729         * simple.el (what-cursor-position): Use get-char-property-change
14730         and next-single-char-property-change, to be able to show display
14731         properties that come from overlays as well as text properties.
14733 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
14735         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
14737         * cmuscheme.el (run-scheme, switch-to-scheme):
14738         * cus-edit.el (customize-group, custom-buffer-create)
14739         (customize-browse):
14740         * info.el (info):
14741         * shell.el (shell):
14742         * mail/sendmail.el (mail):
14743         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
14745 2011-09-22  Richard Stallman  <rms@gnu.org>
14747         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
14748         move back only to line beg, don't move back over blank lines.
14750 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
14752         * files.el (copy-directory): Set directory attributes only in case
14753         they could be retrieved from the source directory.  (Bug#9565)
14755 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
14757         * progmodes/hideshow.el (hs-looking-at-block-start-p)
14758         (hs-find-block-beginning, hs-hide-level-recursive):
14759         Ignore strings as well as comments.  (Bug#9502)
14761 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
14763         * progmodes/sql.el (sql-comint-postgres):
14764         Convert port number to a string.  (Bug#9566)
14766 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
14768         * window.el (quit-window): Undedicate window when switching to
14769         previous buffer.  Reported by Thierry Volpiatto
14770         <thierry.volpiatto@gmail.com>.
14771         (special-display-popup-frame): When popping up a new frame reset
14772         its previous buffers to nil.  Simplify code.
14774 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
14776         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
14777         and process filter, as done also in `shell-command'.
14779 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
14781         * window.el (set-window-buffer-start-and-point):
14782         Call set-window-start with NOFORCE argument t.
14783         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
14784         (quit-window): Reword doc-string.  Handle new format of
14785         quit-restore parameter.  Don't delete window if it has a
14786         previous buffer we can show instead of the present one.
14787         (display-buffer-record-window): Rewrite using a new format for
14788         the quit-restore window parameter
14789         (special-display-popup-frame, display-buffer-same-window)
14790         (display-buffer-reuse-window, display-buffer-pop-up-frame)
14791         (display-buffer-pop-up-window, display-buffer-use-some-window):
14792         Adapt symbol passed to display-buffer-record-window.
14793         * help.el (help-window-setup): Handle new format of quit-restore
14794         parameter.
14796 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14798         * faces.el (face-list): Fix docstring (bug#9564).
14800         * window.el (display-buffer--action-function-custom-type):
14801         Don't include internal functions in the Custom interface.
14803 2011-09-20  Juri Linkov  <juri@jurta.org>
14805         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
14806         (Info-forward-node, Info-backward-node, Info-next-preorder)
14807         (Info-last-preorder): Use it.  (Bug#9528)
14809 2011-09-20  Juri Linkov  <juri@jurta.org>
14811         * info.el (Info-last-preorder): Visit last menu item only when
14812         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
14814 2011-09-20  Julien Danjou  <julien@danjou.info>
14816         * password-cache.el (password-cache-remove): Remove entries even if the
14817         value is nil, so that password with a nil value (negative caching) is
14818         possible to invalidate.
14820 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
14822         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
14823         all whitespace around breakpoint.  (Bug#9553)
14824         (f90-find-breakpoint): Only break at whitespace inside a comment.
14826 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14828         * minibuffer.el (completion-file-name-table): Keep track of errors.
14829         (completion-table-with-predicate): Handle the case where pred1 is nil.
14830         * pcomplete.el (pcomplete-completions-at-point): Simplify.
14832 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14834         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
14835         (debugger-return-value): Signal an error if the debugging context does
14836         not await any return value.
14838         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
14839         * image-mode.el (image-toggle-display-text)
14840         (image-toggle-display-image): Stay away from evil `intangible'.
14842 2011-09-19  Leo Liu  <sdl.web@gmail.com>
14844         * replace.el (occur-revert-arguments): Make it permanent-local.
14845         (occur-mode): Don't call font-lock-defontify.
14847 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
14849         * net/ldap.el (ldap-search-internal): Don't push empty search
14850         result (Bug#9508).
14852 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14854         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
14856 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
14858         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
14859         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
14861 2011-09-18  Juri Linkov  <juri@jurta.org>
14863         * buff-menu.el (Buffer-menu-mode-map):
14864         * dired.el (dired-mode-map):
14865         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
14866         (lisp-interaction-mode-map):
14867         * emacs-lisp/package.el (package-menu-mode-map):
14868         * epa.el (epa-key-list-mode-map):
14869         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
14870         (menu-bar-options-menu):
14871         * outline.el (outline-mode-menu-bar-map):
14872         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
14873         * vc/vc-dir.el (vc-dir-menu-map):
14874         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
14875         Capitalize non-function content words in menu item strings.
14877         * dired.el (dired-mode-map): Add menu item for
14878         `image-dired-dired-toggle-marked-thumbs'.
14880 2011-09-18  Juri Linkov  <juri@jurta.org>
14882         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
14883         to `isearch-case-fold-search' and restore its original value
14884         after the `isearch-mode' call.
14886 2011-09-18  Juri Linkov  <juri@jurta.org>
14888         * progmodes/grep.el (grep-process-setup): Don't check code for 1
14889         because `zgrep' returns 1 for successful matches (bug#9226).
14891 2011-09-18  Juri Linkov  <juri@jurta.org>
14893         * info.el (Info-extract-menu-node-name): Check the second match
14894         for empty string (second test-case of bug#9528).
14895         (Info-last-preorder): Let-bind `Info-history' to nil to not add
14896         intermediate nodes to the history (first test-case of bug#9528).
14898 2011-09-18  Juri Linkov  <juri@jurta.org>
14900         * info.el (Info-mode-syntax-table): New variable.
14901         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
14903 2011-09-18  Juri Linkov  <juri@jurta.org>
14905         * info.el (Info-file-supports-index-cookies):
14906         Increment line-beginning-position's arg from 3 to 4 because makeinfo
14907         outputs one more line for long file names (bug#4142).
14909 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
14911         * newcomment.el (comment-normalize-vars): If prompting for
14912         comment-start, set comment-start-skip too (Bug#8424).
14914 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
14916         * icomplete.el: Fix previous fix of Bug#5849.
14917         (icomplete-mode): Don't set completion-show-inline-help.
14918         (icomplete-minibuffer-setup): Set completion-show-inline-help
14919         locally during icompletion.
14921 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
14923         * woman.el (woman2-process-escapes): Don't delete unrecognized
14924         escapes (Bug#7843).
14926         * files.el (inhibit-first-line-modes-regexps): Add image files.
14927         (hack-local-variables-prop-line): Return nil for malformed
14928         prop-lines (Bug#9044).
14930 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
14932         * net/tramp.el (top): Don't require 'shell.
14933         (tramp-methods): Fix docstring.
14934         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
14935         Return complete remote file name.  Handle "smb" case.
14936         Use `tramp-tmpdir', if defined for the respective method.
14937         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
14939         * net/tramp-compat.el (top): Require 'shell.
14941         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
14942         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
14943         `tramp-current-host'.
14944         (tramp-get-remote-tmpdir): Remove.
14946         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
14947         `tramp-tmpdir' entries.
14948         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
14949         (tramp-smb-handle-file-attributes): Ignore errors.
14950         (tramp-smb-wait-for-output): Check also for process end.
14952 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14954         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
14955         when sending QUIT (bug#9312).
14957 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
14959         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
14960         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
14961         occur-mode-display-occurrence.
14962         (occur-edit-mode): Add usage message.
14963         (occur-cease-edit): New command.
14964         (occur-after-change-function): Use text properties to find the
14965         position of the prefix text.
14966         (occur-engine): Set stickiness of prefix text properties.
14968 2011-09-17  Glenn Morris  <rgm@gnu.org>
14970         * progmodes/etags.el (complete-tag):
14971         Fix call to completion-in-region.  (Bug#9526)
14973 2011-09-17  Juri Linkov  <juri@jurta.org>
14975         * textmodes/ispell.el (ispell-word): Add to the error message
14976         the word, ispell program name and current dictionary (bug#9121).
14977         (ispell-tex-arg-end): Capitalize "error" in the error message.
14979 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
14981         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
14982         check.  (Bug#4251)
14984 2011-09-17  Juri Linkov  <juri@jurta.org>
14986         * window.el (window-safe-min-height, window-safe-min-width):
14987         Fix typos (followup to bug#9522).
14989 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
14991         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
14993 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
14995         * simple.el (line-move): If goal-column is set, move by logical
14996         lines, not by display lines.  (Bug#971)
14997         (next-line, previous-line, goal-column, line-move-visual): Doc fix
14998         to reflect the above change.
15000 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15002         * image.el (imagemagick-register-types): Use regexp-opt.
15004 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
15006         * window.el (display-buffer-base-action): Rename from
15007         display-buffer-default-action.  Make default value empty.
15008         (display-buffer-overriding-action): Convert to defvar.
15009         (display-buffer-fallback-action): New var.
15011 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
15013         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
15014         declaration.
15015         (package--add-to-archive-contents): If there is a duplicate entry
15016         with an older version, remove it.
15017         (package-menu-mark-delete, package-menu-mark-install)
15018         (package-menu-mark-unmark): Make unused args optional.
15019         (package-menu-mark-obsolete-for-deletion):
15020         Use package-menu-get-status instead of a regexp search.
15021         (package-menu-get-status): Use tabulated-list-entry.
15022         (package-menu-mark-upgrades): New command.
15023         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
15024         (package-menu-execute): Do installation before deletion.
15025         (package-menu-refresh, package-menu-execute): Use derived-mode-p
15026         instead of checking major-mode.
15027         (package-menu--find-upgrades): New function.
15029 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15031         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
15032         passwords in the log buffer.
15033         (smtpmail-process-filter): Update the process marker so that the
15034         "broken by peer" status message is inserted in the right place.
15036 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15038         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
15039         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
15040         bibtex-completion-at-point-function.
15041         (bibtex-completion-at-point-function): Use them.
15043         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
15045         * mpc.el (mpc-constraints-tag-lookup): New function.
15046         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
15047         also to browser "album|playlist".
15049 2011-09-14  Juri Linkov  <juri@jurta.org>
15051         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
15052         (isearch-edit-string): Use length of `isearch-string' when
15053         `isearch-fail-pos' returns nil.
15054         (isearch-message): Remove duplicate code and call
15055         `isearch-fail-pos' with arg `t'.
15057 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
15059         * replace.el (occur-mode-goto-occurrence): Don't force using other
15060         window (Bug#9499).
15062         * dired-aux.el (dired-do-chmod): Don't provide initial input.
15064 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
15066         * window.el (display-buffer-window): Remove.
15067         (display-buffer-record-window): Use help-setup window parameter
15068         instead of variable display-buffer-window.
15069         (display-buffer-function, special-display-buffer-names)
15070         (special-display-function): Mention help-setup parameter instead
15071         of display-buffer-window in doc-string.
15072         * help.el (help-window-setup): New argument help-window.
15073         Use help-window-setup parameter instead of display-buffer-window.
15074         Reword some messages.
15075         (with-help-window): Pass window used for displaying the buffer
15076         to help-window-setup.  Don't set display-buffer-window.
15078 2011-09-13  Glenn Morris  <rgm@gnu.org>
15080         * emacs-lisp/debug.el (debugger-make-xrefs):
15081         Preserve point.  (Bug#9462)
15083 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
15085         * window.el (window-deletable-p): Use next-frame.
15087 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
15089         * window.el (window-auto-delete): Remove.
15090         (window-deletable-p): Remove argument FORCE.  Don't deal with
15091         dedication and previous buffers.
15092         (switch-to-prev-buffer): Don't delete window.
15093         (delete-windows-on): Delete a window's frame if and only if the
15094         window is dedicated.
15095         (replace-buffer-in-windows): Delete buffer's window or frame if
15096         and only if window is dedicated.
15097         (quit-window): Handle quit-restore as before last change.
15098         (bury-buffer): Delete window only if window-deletable-p returns t.
15100 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
15102         * window.el (window-deletable-p): Never delete the last frame on a
15103         given terminal.
15105 2011-09-13  Glenn Morris  <rgm@gnu.org>
15107         * help.el (describe-key-briefly): Copy previous standard-output change.
15109 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
15111         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
15113 2011-09-13  Glenn Morris  <rgm@gnu.org>
15115         * emacs-lisp/lisp-mode.el (lisp-indent-function):
15116         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
15118 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
15120         * dired-aux.el (dired-mark-read-string): Don't return default
15121         value on empty input (Bug#9361).
15122         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
15123         Omit initial minibuffer contents.
15124         (dired-do-chmod): Signal an error on empty input.
15125         (dired-mark-read-string): Don't return default on empty input.
15127         * files.el (file-modes-symbolic-to-number): Doc fix.
15129 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15131         * international/mule-cmds.el (ucs-completions): Remove.
15132         (read-char-by-name): Use complete-with-action instead; add metadata.
15134 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
15136         * window.el (display-buffer--action-function-custom-type)
15137         (display-buffer--action-custom-type): New vars.
15138         (display-buffer-alist, display-buffer-default-action)
15139         (display-buffer-overriding-action): Add defcustom types.
15141         * frame.el (delete-other-frames): Doc fix (Bug#276).
15143 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15145         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
15147 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
15149         Change modes that used same-window-* vars to use switch-to-buffer.
15151         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
15152         Use switch-to-buffer.
15154         * cus-edit.el (customize-group, custom-buffer-create)
15155         (customize-browse, custom-buffer-create-other-window):
15156         Use switch-to-buffer or switch-to-buffer-other-window.
15158         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
15159         (Info-prev, Info-up, Info-speedbar-goto-node)
15160         (info-display-manual): Use switch-to-buffer.
15161         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
15163         * mail/sendmail.el (mail): Use switch-to-buffer.
15164         (mail-recover): Use switch-to-buffer-other-window.
15166         * cmuscheme.el (run-scheme, switch-to-scheme):
15167         * ielm.el (ielm):
15168         * shell.el (shell):
15169         * net/rlogin.el (rlogin):
15170         * net/telnet.el (telnet, rsh):
15171         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
15173 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
15175         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
15177 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15179         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
15180         so don't mention it (bug#9301).
15181         (dired-sort-toggle-or-edit): Clarify string further.
15183         * faces.el (face-spec-set-match-display): Make `(type graphic)'
15184         match `x', `w32' and `ns', like the manual says (bug#9029).
15186         * subr.el (eval-after-load): Doc string clarification (bug#9125).
15187         (process-kill-buffer-query-function): Mention the buffer name in
15188         the query.
15190         * image-mode.el (image-next-line): The line parameter is mandatory
15191         (bug#9258).
15193         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
15194         which can be useful (bug#9301).
15196         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
15198         * subr.el (match-string): Mention that the current buffer should
15199         be the same as the search was done in (bug#9282).
15201         * facemenu.el: Disable the remove-* commands if the mark isn't
15202         active (bug#9162).
15204 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
15206         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
15207         of display-buffer.
15208         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
15210         * replace.el (occur-mode-goto-occurrence)
15211         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
15212         and display-buffer.
15214         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
15215         display-buffer.
15217         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
15218         special-display and same-window variables.
15219         (mail-other-window): Use switch-to-buffer-other-window.
15220         (mail-other-frame): USe switch-to-buffer-other-frame.
15222         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
15223         Use display-buffer-other-frame.
15224         (gdb-display-gdb-buffer): Use pop-to-buffer.
15226         * progmodes/gud.el (gud-goto-info): Use info-other-window.
15228         * progmodes/python.el: Don't set same-window-buffer-names.
15230         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
15232         * window.el (display-buffer-alist): Add *Python*.
15234 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
15236         * window.el (display-buffer-alist): Add entry for buffers
15237         previously handled same-window-*.
15238         (display-buffer-alist, display-buffer-default-action)
15239         (display-buffer-overriding-action): Mark as risky.
15240         (display-buffer-alist): Document action function changes.
15241         (display-buffer--same-window-action)
15242         (display-buffer--other-frame-action): New variables.
15243         (switch-to-buffer, display-buffer-other-frame): Use them.
15244         (display-buffer): Rename reuse-frame entry to reusable-frames.
15245         (display-buffer-reuse-selected-window): Function deleted.
15246         (display-buffer-reuse-window): Handle reusable-frames alist entry.
15247         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
15248         (display-buffer-special): New function.
15249         (display-buffer--maybe-pop-up-frame-or-window): Rename from
15250         display-buffer-reuse-or-pop-window.  Split off special-display
15251         part into display-buffer-special.
15252         (display-buffer-use-some-window): Don't perform any special
15253         pop-up-frames handling.
15254         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
15255         (display-buffer--maybe-same-window): Rename from
15256         display-buffer-maybe-same-window.
15258         * info.el: Don't set same-window-regexps.
15259         (info-setup): New function.
15260         (info-other-window, info): Call it.
15262         * cus-edit.el: Don't set same-window-regexps.
15263         (customize-group): New argument.
15264         (customize-group-other-window): Use it.
15265         (customize-face, customize-face-other-window): Likewise.
15266         (custom-buffer-create-other-window): Use pop-to-buffer directly.
15268         * net/rlogin.el:
15269         * net/telnet.el:
15270         * progmodes/gud.el: Don't set same-window-regexps.
15272         * cmuscheme.el:
15273         * ielm.el:
15274         * shell.el:
15275         * mail/sendmail.el:
15276         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
15278 2011-09-10  Juri Linkov  <juri@jurta.org>
15280         * isearch.el (isearch-edit-string): Remove obsolete mention of
15281         `C-w' (`isearch-yank-word-or-char') from docstring.
15282         (isearch-query-replace): Fix typo in docstring (bug#9466).
15284 2011-09-10  Juri Linkov  <juri@jurta.org>
15286         * paren.el (show-paren-function): Don't show escaped parens.
15287         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
15289 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
15291         * mail/sendmail.el (mml-to-mime, mml-attach-file)
15292         (mm-default-file-encoding): Remove autoload forms, they are
15293         replaced with autoload cookies in mml.el and mm-encode.el.
15294         (mail-add-attachment): New command.
15295         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
15296         (mail-mode): Mention mail-insert-file and mail-add-attachment in
15297         the doc string.
15298         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
15300 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
15302         * simple.el (count-words-region): Use buffer if there's no region
15303         (bug#9429).
15305 2011-09-09  Juri Linkov  <juri@jurta.org>
15307         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
15308         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
15309         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
15311 2011-09-09  Alan Mackenzie  <acm@muc.de>
15313         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
15314         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
15316 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
15318         Fix for Savannah bug#9392.
15319         * simple.el (mail-encode-mml): New defvar.
15321         * mail/rmail.el (mail-encode-mml): Add a defvar.
15322         (rmail-enable-mime-composing): Default to t.
15323         (rmail-forward): Use MIME method of forwarding only if both
15324         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
15325         Set mail-encode-mml non-nil if the MIME method was used.
15327         * mail/sendmail.el (mml-to-mime): Add autoload form.
15328         (mail-encode-mml): Add a defvar.
15329         (mail-mode): Make mail-encode-mml buffer-local and initialize it
15330         to nil.
15331         (mail-send): If mail-encode-mml is non-nil, run the outgoing
15332         message through mml-to-mime, and reset mail-encode-mml to nil.
15334 2011-09-09  Glenn Morris  <rgm@gnu.org>
15336         * woman.el (woman-if-body): When processing an .el block,
15337         do not delete the next .el block as well.  (Bug#9447)
15338         (woman-special-characters): Add oq, cq, and hy characters.
15340 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
15342         * window.el (window-deletable-p): Make sure window is live before
15343         invoking window-prev-buffers.
15345 2011-09-08  Leo Liu  <sdl.web@gmail.com>
15347         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
15349 2011-09-08  Juri Linkov  <juri@jurta.org>
15351         * progmodes/compile.el (compilation-environment): Make it
15352         a defcustom (bug#8340).
15354 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
15356         * window.el (frame-auto-delete): Rename to window-auto-delete.
15357         Make it control auto-deletion of windows and/or frames.
15358         (window-deletable-p): New argument FORCE.  Rewrite conditions
15359         for deleting window/frame.  (Bug#9419)
15360         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
15361         Rewrite handling of case when window/frame can be deleted.
15362         (delete-windows-on): Call window-deletable-p with new FORCE
15363         argument t.  (Bug#9456)
15365 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
15367         * help-mode.el (help-mode): Restore autoload.
15369 2011-09-07  Juri Linkov  <juri@jurta.org>
15371         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
15372         `compilation-environment'.  Set buffer-local
15373         `compilation-environment' to `thisenv' later after (funcall mode).
15374         (Bug#8340)
15376         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
15377         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
15378         instead of replacing its value.  (Bug#8340)
15380 2011-09-07  Juri Linkov  <juri@jurta.org>
15382         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
15383         based on text properties put by `grep-filter' instead of matching
15384         escape sequences.
15385         (grep-mode): Set buffer-local `compilation-error-screen-columns'
15386         to the value of `grep-error-screen-columns' (bug#9438).
15388 2011-09-07  Juri Linkov  <juri@jurta.org>
15390         * simple.el (next-error-highlight, next-error-highlight-no-select):
15391         Doc fix (bug#9432).
15393 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
15395         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15396         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
15398 2011-09-07  Leo Liu  <sdl.web@gmail.com>
15400         * net/rcirc.el (rcirc-mode): Conditionally initialize
15401         rcirc-input-ring.
15403 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
15405         * emacs-lisp/find-func.el (find-function-C-source): Only set
15406         find-function-C-source-directory after checking that we found a source
15407         file there (bug#9440).
15409 2011-09-06  Alan Mackenzie  <acm@muc.de>
15411         * isearch.el (isearch-other-meta-char): Wherever a key list is
15412         unread, "unread" the prefix arg, too.  This fixes bug #8901.
15414 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
15416         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
15418 2011-09-05  Juri Linkov  <juri@jurta.org>
15420         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
15422 2011-09-05  Juri Linkov  <juri@jurta.org>
15424         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
15425         keeping point where processing of grep matches begins, and
15426         continue to delete remaining escape sequences from the same point.
15427         (grep-filter): Make leading zero optional in "0?1;31m" because
15428         git-grep emits "\033[1;31m" escape sequences unlike expected
15429         "\033[01;31m" as GNU Grep does (bug#9408).
15430         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
15432 2011-09-05  Juri Linkov  <juri@jurta.org>
15434         * subr.el (y-or-n-p): Capitalize "yes".
15436 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
15438         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
15439         `tramp-cache-unload-hook' where appropriate.
15440         (tramp-methods): Rename `tramp-remote-sh' to
15441         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
15442         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
15444         * net/tramp-sh.el (top): Don't require 'shell.
15445         (tramp-methods): Add `tramp-remote-shell' and
15446         `tramp-remote-shell-args' entries.
15447         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
15448         (tramp-sh-handle-shell-command): Remove.
15449         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
15450         Use `tramp-remote-shell'.
15452 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
15454         * mail/sendmail.el (sendmail-query-once-function): Delete.
15455         (sendmail-query-once): Save directly to send-mail-function.
15456         Update message-send-mail-function too.
15458         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
15460 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
15462         * progmodes/python.el (python-mode-map): Use correct function to
15463         start python interpreter from menu-bar (as reported by Geert
15464         Kloosterman).
15465         (inferior-python-mode-map): Fix typo.
15466         (python-shell-map): Remove.
15468 2011-09-03  Deniz Dogan  <deniz@dogan.se>
15470         * net/rcirc.el (rcirc-print): Simplify code for
15471         rcirc-scroll-show-maximum-output.  There is no need to walk
15472         through all windows to find the right one.
15474 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
15476         * help.el (help-return-method): Doc fix.
15478 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
15480         * window.el (window-deletable-p): Don't return a non-nil value
15481         when there's a buffer that was shown in the window before.
15482         (Bug#9419)
15483         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15484         Set window's previous buffers to nil.
15486 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
15488         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
15489         newline before and after the tag line, so it doesn't interfere
15490         with determining the paragraph direction of bidirectional text.
15492 2011-09-03  Leo Liu  <sdl.web@gmail.com>
15494         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
15496 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
15498         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
15499         (pop-to-buffer): Change interactive spec.  Pass second argument
15500         directly to display-buffer.
15501         (display-buffer): Fix interactive spec.  Use functionp to
15502         distinguish between a function and a list of functions.
15504         * abbrev.el (edit-abbrevs):
15505         * arc-mode.el (archive-extract):
15506         * autoinsert.el (auto-insert):
15507         * bookmark.el (bookmark-bmenu-list):
15508         * files.el (find-file):
15509         * view.el (view-buffer):
15510         * progmodes/compile.el (compilation-goto-locus):
15511         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
15513 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
15515         * window.el (display-buffer-alist): Doc fix.
15516         (display-buffer): Add docstring.  Don't treat
15517         display-buffer-default specially.
15518         (display-buffer-reuse-selected-window)
15519         (display-buffer-same-window, display-buffer-maybe-same-window)
15520         (display-buffer-reuse-window, display-buffer-pop-up-frame)
15521         (display-buffer-pop-up-window)
15522         (display-buffer-reuse-or-pop-window)
15523         (display-buffer-use-some-window): New functions.
15524         (display-buffer-default-action): Use them.
15525         (display-buffer-default): Delete.
15526         (pop-to-buffer-1): Fix choice of actions.
15528 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15530         * minibuffer.el (completion--insert-strings): Don't get confused by
15531         completion entries that end with an LF char.
15533 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
15535         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
15537 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
15539         * window.el (display-buffer): Restore interactive spec.
15540         (display-buffer-same-window, display-buffer-other-window):
15541         New functions.
15542         (pop-to-buffer-1): New function.  Use the above.
15543         (pop-to-buffer, pop-to-buffer-same-window): Use it.
15544         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
15546         * view.el (view-buffer-other-window, view-buffer-other-frame):
15547         Just use pop-to-buffer.
15549 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
15551         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
15553 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
15555         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
15557 2011-08-31  Richard Stallman  <rms@gnu.org>
15559         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
15560         of the separation of rmail-view-buffer from rmail-buffer.
15561         If you say no to "replace original", the decrypt is in the
15562         view buffer.  If you say yes, the decrypt goes into the
15563         rmail buffer also.
15565 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
15567         * window.el (display-buffer-window): Rewrite doc-string.
15568         (display-buffer-record-window): New function.
15569         (display-buffer-macro-specifiers)
15570         (display-buffer-even-window-sizes, display-buffer-set-height)
15571         (display-buffer-set-width, display-buffer-in-window)
15572         (display-buffer-reuse-window, display-buffer-split-specifiers)
15573         (display-buffer-side-specifiers, display-buffer-split-window-1)
15574         (display-buffer-split-window, display-buffer-split-atom-window)
15575         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
15576         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
15577         (display-buffer-other-window-means-other-frame)
15578         (display-buffer-normalize-special)
15579         (display-buffer-normalize-default)
15580         (display-buffer-normalize-argument)
15581         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
15582         (display-buffer-normalize-specifiers, display-buffer-frame)
15583         (display-buffer-same-window, display-buffer-same-frame)
15584         (display-buffer-other-window)
15585         (display-buffer-same-frame-other-window)
15586         (display-buffer-other-frame, pop-to-buffer-same-window)
15587         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
15588         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
15589         (switch-to-buffer-same-frame)
15590         (switch-to-buffer-other-window-same-frame)
15591         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
15592         (display-buffer-alist-set-1, display-buffer-alist-set-2)
15593         (display-buffer-alist-set): Remove.
15594         (display-buffer-function, special-display-buffer-names)
15595         (special-display-regexps, special-display-function):
15596         In doc-string refer to display-buffer-window and quit-restore
15597         parameter.
15598         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
15599         (special-display-frame-alist, special-display-popup-frame)
15600         (same-window-buffer-names, same-window-regexps, same-window-p)
15601         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15602         (split-window-preferred-function, split-height-threshold)
15603         (split-width-threshold, window-splittable-p)
15604         (split-window-sensibly, window--try-to-split-window)
15605         (window--frame-usable-p, even-window-heights)
15606         (window--even-window-heights, window--display-buffer-1)
15607         (window--display-buffer-2, display-buffer-other-frame):
15608         Restore old Emacs 23 code, order and doc-strings where applicable.
15609         (display-buffer-default, display-buffer-assq-regexp): New functions.
15610         (display-buffer-alist): Rewrite doc-string.
15611         (display-buffer-default-action)
15612         (display-buffer-overriding-action): New variables.
15613         (display-buffer, switch-to-buffer): Rewrite.
15614         (pop-to-buffer): Restore Emacs 23 behavior but use
15615         window-normalize-buffer-to-display.
15616         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
15617         Restore Emacs 23 behavior but use
15618         window-normalize-buffer-to-switch-to.
15619         (pop-to-buffer-same-window): Rewrite.
15620         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
15621         Rewrite using Emacs 23 options.
15623 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
15625         * net/tramp.el (tramp-root-regexp): Remove.
15626         (tramp-completion-file-name-regexp-unified)
15627         (tramp-completion-file-name-regexp-separate)
15628         (tramp-completion-file-name-regexp-url): Don't use leading volume
15629         letter on w32 systems.  (Bug#5303, Bug#9311)
15630         (tramp-drop-volume-letter): Simplify definition.
15631         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
15633 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15635         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
15636         (bug#9356).
15638 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
15640         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
15642 2011-08-29  Juri Linkov  <juri@jurta.org>
15644         * isearch.el (isearch-done): Don't display message "Mark saved"
15645         when arg `edit' is non-nil to prevent its flicker in the echo area.
15647 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
15649         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
15650         obsolete packages for deletion.
15652 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
15654         * help-mode.el (help-mode-map): Add special-mode-map to parent.
15655         (help-mode): Derive help-mode from special-mode.  Don't invoke
15656         view-mode from help-mode.
15657         (help-xref-override-view-map): Remove.
15658         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
15659         view-mode is not used anymore.
15661 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
15663         * server.el (server-port): Doc fix.
15665         * cus-theme.el (custom-theme-choose-mode): Inherit from
15666         special-mode (Bug#9124).
15667         (custom-theme-choose-mode-map): Add special-mode to parent.
15669 2011-08-28  Alan Mackenzie  <acm@muc.de>
15671         * progmodes/cc-fonts.el
15672         (c-make-font-lock-BO-decl-search-function): New function.
15673         (c-basic-matchers-after - "Fontify the clauses after various
15674         keywords"): Extract the three keyword lists for the 3 erroneous
15675         constructs from the list of four, and use the new function above
15676         in place of an old one.
15678 2011-08-28  Deniz Dogan  <deniz@dogan.se>
15680         * net/rcirc.el (rcirc-insert-prev-input)
15681         (rcirc-insert-next-input): Remove unused argument.
15683 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15685         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
15687 2011-08-27  Alan Mackenzie  <acm@muc.de>
15689         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
15690         handle function pointer parameters properly.
15692 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
15694         * window.el (display-buffer-reuse-window): Fix case where
15695         selected window was reused with non-nil OTHER-WINDOW argument.
15696         (Bug#9381)
15698 2011-08-27  Deniz Dogan  <deniz@dogan.se>
15700         * net/rcirc.el (rcirc-check-auth-status): Adding support for
15701         oftc's NickServ messages.
15703 2011-08-27  Glenn Morris  <rgm@gnu.org>
15705         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
15707 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
15709         * emacs-lisp/package.el (package-install): Call package-initialize
15710         if called interactively.
15712 2011-08-26  Leo Liu  <sdl.web@gmail.com>
15714         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
15716 2011-08-25  Juri Linkov  <juri@jurta.org>
15718         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
15719         `search-whitespace-regexp' (bug#9364).
15721 2011-08-25  Juri Linkov  <juri@jurta.org>
15723         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
15724         `regexp-search-ring' to their global values to protect from
15725         updating by `read-from-minibuffer' (bug#9185).
15727 2011-08-25  Juri Linkov  <juri@jurta.org>
15729         * textmodes/ispell.el (ispell-command-loop): Add newline
15730         at the end of the "Use option `i'..." line.
15732 2011-08-25  Juri Linkov  <juri@jurta.org>
15734         * battery.el (display-battery-mode): If `battery-status-function'
15735         or `battery-mode-line-format' is nil, display the message and set
15736         `display-battery-mode' to nil (bug#9363).
15738 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
15740         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
15741         bidi-string-mark-left-to-right; they are unnecessary now.
15743 2011-08-25  Deniz Dogan  <deniz@dogan.se>
15745         * net/quickurl.el: Documentation typo fixes.
15747 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
15749         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
15751 2011-08-25  Glenn Morris  <rgm@gnu.org>
15753         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
15755         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
15756         (smtpmail-via-smtp): Handle nil response from smtp.
15758 2011-08-24  Juri Linkov  <juri@jurta.org>
15760         * proced.el (proced-marked): Inherit from `error' instead of
15761         `font-lock-warning-face'.
15763         * ibuffer.el (ibuffer-marked-face): Change default face from
15764         `font-lock-warning-face' to `warning'.
15765         (ibuffer-deletion-face): Change default face from
15766         `font-lock-type-face' to `error'.
15768         * battery.el (battery-update): Use the face `error' instead of
15769         `font-lock-warning-face' (bug#6117).
15771 2011-08-24  Juri Linkov  <juri@jurta.org>
15773         * faces.el (success): Change face color from "Green3" to
15774         "ForestGreen" on light background (bug#9353).
15776 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
15778         * window.el (quit-window): Rename from quit-restore-window.
15779         Use same arglist as old quit-window.
15780         (frame-auto-delete): Doc fix.
15782         * view.el (view-mode-exit): Use quit-window.
15784 2011-08-24  Juri Linkov  <juri@jurta.org>
15786         * isearch.el (isearch-ring-adjust1): Start visiting previous
15787         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
15788         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
15789         for empty search string (when the last search string is reused
15790         automatically) to adjust the isearch ring to the last element and
15791         prepare the correct index for further M-p commands (bug#9185).
15793 2011-08-24  Kenichi Handa  <handa@m17n.org>
15795         * international/ucs-normalize.el: If decomposition property of
15796         CHAR is the default one (i.e. a list of CHAR itself), treat it as
15797         nil.
15798         (nfd, nfkd): Likewise.
15800 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15802         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
15803         from process filters aren't reliably transmitted to the surrounding
15804         accept-process-output.
15805         (mpc-proc-check): New function.
15806         (mpc-proc-sync): Use it (bug#8293)
15808 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15810         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
15811         Add compatibility functions (bug#9313).
15813 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
15815         * cus-start.el (all): Add entry for bidi-paragraph-direction.
15817         * international/uni-bidi.el: Regenerate.
15819 2011-08-23  Kenichi Handa  <handa@m17n.org>
15821         * international/charprop.el:
15822         * international/uni-bidi.el:
15823         * international/uni-category.el:
15824         * international/uni-combining.el:
15825         * international/uni-comment.el:
15826         * international/uni-decimal.el:
15827         * international/uni-decomposition.el:
15828         * international/uni-digit.el:
15829         * international/uni-lowercase.el:
15830         * international/uni-mirrored.el:
15831         * international/uni-name.el:
15832         * international/uni-numeric.el:
15833         * international/uni-old-name.el:
15834         * international/uni-titlecase.el:
15835         * international/uni-uppercase.el: Regenerate.
15837 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
15839         * help.el (help-window-setup): Fix message displayed when other
15840         window is reused.  (Bug#9341)
15842 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15844         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
15845         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
15847         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
15848         Mark obsolete.
15849         * shell.el (shell-parse-pcomplete-arguments): New function.
15850         (shell-completion-vars): Use it instead (bug#9160).
15852 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15854         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
15855         strings and comments (bug#9333).
15857         * emacs-lisp/debug.el (debug-arglist): New function.
15858         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
15859         (debug-on-entry-1): Handle interpreted closures (bug#9120).
15861 2011-08-22  Juri Linkov  <juri@jurta.org>
15863         * progmodes/compile.el (compilation-mode-font-lock-keywords):
15864         Revert regexp that highlights output switches to its old
15865         pre-2010-10-28 value and remove one `?' from it (bug#9319).
15867         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
15868         to check for empty output (bug#9226).
15870 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
15872         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
15873         symbol-constituent as the default, as that stops font-lock from
15874         working properly (Bug#8843).
15876 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15878         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
15879         `coding-system-for-*' around the process open call to avoid
15880         auth-source side effects.
15881         (smtpmail-try-auth-methods): Expand the secret password.
15882         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
15883         probe hangs.
15885 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
15887         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
15889         * emacs-lisp/find-func.el (find-function-noselect): New arg
15890         lisp-only.
15892         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
15893         signal an error for built-in functions (Bug#6664).
15895 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15897         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
15898         (smtpmail-try-auth-methods): Use it.
15900 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
15902         * font-lock.el (font-lock-fontify-region)
15903         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
15904         (font-lock-default-unfontify-buffer)
15905         (font-lock-default-fontify-region)
15906         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
15908         * progmodes/compile.el (compilation-error-properties):
15909         Fix confusion between file struct and message struct (Bug#9319).
15910         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
15911         `ant' regexp.
15913         * net/browse-url.el (browse-url-firefox): Don't call
15914         browse-url-firefox-sentinel unless using -remote (Bug#9328).
15916 2011-08-20  Glenn Morris  <rgm@gnu.org>
15918         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
15920         * tutorial.el (tutorial--default-keys): Update some default bindings.
15922         * files.el (hack-local-variables): Fully ignore case for "mode:".
15924 2011-08-20  Alan Mackenzie  <acm@muc.de>
15926         Resolve invalid use of a regexp in regexp-opt.
15928         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
15929         detection for a java annotation.
15931         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
15932         detection for a java annotation.
15934         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
15935         handling for java.
15936         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
15938 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
15940         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
15941         (Bug#9274).
15943 2011-08-20  Alan Mackenzie  <acm@muc.de>
15945         Fontify CPP expressions correctly when starting in the middle of
15946         such a construct.  Mainly for when jit-lock etc. starts a chunk
15947         here.
15949         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
15950         variable.
15951         (c-make-font-lock-search-form): New function, extracted from
15952         c-make-font-lock-search-function.
15953         (c-make-font-lock-search-function): Use the above function.
15954         (c-make-font-lock-context-search-function): New function.
15955         (c-cpp-matchers): Enhance the preprocessor expression case with
15956         the above function
15957         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
15958         which takes an expression.
15960         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
15962 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
15964         * window.el (display-buffer-reuse-window)
15965         (display-buffer-pop-up-window): Don't reuse or split a side
15966         window.
15968 2011-08-19  Glenn Morris  <rgm@gnu.org>
15970         * files.el (hack-local-variables-prop-line, hack-local-variables):
15971         Downcase "Mode:".  (Bug#9331)
15973 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
15975         * international/characters.el: Add L and R categories.
15977         * subr.el (bidi-string-mark-left-to-right): Rename from
15978         string-mark-left-to-right.  Use category search.
15980         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
15982 2011-08-18  Juri Linkov  <juri@jurta.org>
15984         * faces.el (error, warning, success): New faces with definitions
15985         copied from old default values of `font-lock-warning-face',
15986         `compilation-warning', `compilation-info' (bug#6117).
15988         * font-lock.el (font-lock-warning-face): Inherit from `error'.
15990         * progmodes/compile.el (compilation-error): Inherit from `error'.
15991         (compilation-warning): Inherit from `warning'.
15992         (compilation-info): Inherit from `success'.
15994         * dired.el (dired-marked): Inherit from `warning'.
15995         (dired-flagged): Inherit from `error'.
15997 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15999         * mail/smtpmail.el (auth-source): Require to avoid problems with
16000         binding variables (bug#9298).  Also clean up some unused
16001         autoloads.
16003         * net/network-stream.el (network-stream-open-starttls):
16004         Support using starttls.el without using gnutls-cli.
16006 2011-08-17  Juri Linkov  <juri@jurta.org>
16008         * progmodes/grep.el (rgrep): Handle the case when
16009         `grep-find-command' is a cons cell (bug#9278).
16011 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
16013         * window.el (display-buffer-pop-up-frame): Run frame creation
16014         function with BUFFER current (as special-display-popup-frame
16015         does).  Reported by Drew Adams.
16017 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
16019         * epa-mail.el: Simplify GnuPG group expansion using
16020         epg-expand-group.
16021         (epa-mail-group-alist, epa-mail-group-modtime)
16022         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
16023         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
16024         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
16025         Remove.
16027 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
16029         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
16031 2011-08-16  Alan Mackenzie  <acm@muc.de>
16033         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
16034         Correct, to avoid the inside of macros.
16036 2011-08-16  Richard Stallman  <rms@gnu.org>
16038         * epa-mail.el: Handle GnuPG group definitions.
16039         (epa-mail-group-alist, epa-mail-group-modtime)
16040         (epa-mail-gnupg-conf-file): New variables.
16041         (epa-mail-parse-groups, epa-mail-sync-groups)
16042         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
16043         (epa-mail-expand-recipients): New functions.
16044         (epa-mail-encrypt): Call epa-mail-expand-recipients.
16046         * mail/rmail.el (rmail-epa-decrypt): New command.
16048         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
16049         Don't bind buffer-read-only, just inhibit-read-only.
16050         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
16051         (epa-decrypt-armor-in-region): Make error message clearer.
16053 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16055         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
16056         and "a2b" to "ab" for `prefix'.
16058 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
16060         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
16061         filter groups.
16062         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
16063         Fourquet (Bug#8804).
16065 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
16067         * startup.el (argi): Declare as global variable (bug#9275).
16069 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
16071         * subr.el (string-mark-left-to-right): Search the entire string
16072         for RTL script, not just the terminating character.  Doc fix.
16074 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16076         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
16077         New function.
16078         (js--regexp-literal, js-syntax-propertize-function): Remove.
16079         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
16080         (js-mode-map): Don't rebind electric keys.
16081         (js-insert-and-indent): Remove.
16082         (js-mode): Setup electric-layout and electric-indent instead.
16084         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
16086 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
16088         * epa.el (epa-progress-callback-function): Fix the logic of
16089         displaying progress.
16090         * epa-file.el (epa-file-insert-file-contents): Make progress
16091         display more user-friendly.
16092         (epa-file-write-region): Ditto.
16094 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
16096         * subr.el (string-mark-left-to-right): New function.
16098         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
16099         Use string-mark-left-to-right.
16100         (list-buffers-noselect): Caller changed.
16102         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16103         Use string-mark-left-to-right.
16104         (tabulated-list-print): Recenter after moving point.
16106 2011-08-10  Juri Linkov  <juri@jurta.org>
16108         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
16109         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
16110         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
16112 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
16114         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
16115         (Bug#7554).
16117 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16119         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
16120         character.  (Bug#6594)
16122 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
16124         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
16125         (image-dired--with-db-file): New macro.
16126         (image-dired-write-tags, image-dired-remove-tag)
16127         (image-dired-create-gallery-lists, image-dired-write-comments)
16128         (image-dired-get-comment, image-dired-mark-tagged-files)
16129         (image-dired-list-tags, image-dired-gallery-generate): Use it.
16130         (image-dired-gallery-generate): Use insert-file-contents.
16132         * time.el (display-time-world-list, display-time-world-display):
16133         * time-stamp.el (time-stamp-string):
16134         * vc/add-log.el (add-change-log-entry): Use setenv instead of
16135         set-time-zone-rule (Bug#7337).
16137 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
16139         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
16140         (epg-error-to-string, epg-errors-to-string): New function.
16141         (epg-wait-for-completion): Reverse errors list.
16142         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
16143         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
16144         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
16145         (epg-sign-keys, epg-generate-key-from-file)
16146         (epg-generate-key-from-string): Format errors by using
16147         epg-errors-to-string (bug#9255).
16148         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
16150 2011-08-07  Juri Linkov  <juri@jurta.org>
16152         * faces.el (list-faces-display): Remove extra angle bracket
16153         from `help-mode-map'.
16155         * info.el (Info-history-toc-nodes): Doc fix.
16157         * longlines.el (longlines-mode): Doc fix.
16159 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16161         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
16162         of statements and in a few more cases (bug#9183).
16164         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
16165         New functions.
16166         (cl-transform-lambda): Use them (bug#9239).
16168 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
16170         * window.el (display-buffer-same-window)
16171         (display-buffer-same-frame, display-buffer-other-window)
16172         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16173         (pop-to-buffer-other-window)
16174         (pop-to-buffer-same-frame-other-window)
16175         (pop-to-buffer-other-frame): Make them defuns.
16176         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
16178 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16180         * subr.el (make-composed-keymap): Move from C.  Change calling
16181         convention, and improve docstring to bring attention to a subtle point.
16182         * minibuffer.el (completing-read-default): Adjust accordingly.
16184 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
16186         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
16187         (tramp-open-shell): Use `tramp-shell-quote-argument'.
16189         * net/trampver.el: Update release number.
16191 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
16193         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
16194         "in" (bug#9190).
16196 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16198         * mail/sendmail.el (sendmail-query-once): Restore the current
16199         buffer after querying (bug#9074).
16201         * dired.el (dired-flagged): Use different faces for marked and
16202         flagged files (bug#6117).
16204         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
16205         (bug#4433).
16207         * ido.el (ido-mode): Switch off the message if called
16208         non-interactively.
16210         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
16211         before 587, since it appears that that's more likely to work for
16212         more people.
16214         * cus-edit.el (custom-file): When running under emacs -q, always
16215         refuse to save the customizations, even if the .emacs file doesn't
16216         exist.
16218         * info.el: Remove the `Info-beginning-of-buffer' function
16219         (bug#8325).
16221         * net/network-stream.el (network-stream-open-starttls):
16222         Use `starttls-available-p' to see whether starttls.el can be used.
16224 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
16226         * window.el (display-buffer-in-window): Don't set dedicated status
16227         of window here (Bug#9215).
16228         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
16229         (display-buffer-pop-up-side-window)
16230         (display-buffer-in-side-window): Set dedicated status of window here.
16232 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16234         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
16235         before binding generated-autoload-file.
16237 2011-08-01  Deniz Dogan  <deniz@dogan.se>
16239         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
16241 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
16243         Sync with Tramp 2.2.2.
16245         * net/trampver.el: Update release number.
16247 2011-07-30  Juri Linkov  <juri@jurta.org>
16249         * dired-aux.el (dired-touch-initial): Remove function.
16250         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
16251         current time, and `default' to the last modification time of the
16252         current marked file (bug#6887).
16254 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
16256         * simple.el (goto-line): Use string-to-number to provide a
16257         numeric argument to read-number (bug#9163).
16259 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
16261         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
16262         connection process, it could be nil.
16264 2011-07-27  Leo Liu  <sdl.web@gmail.com>
16266         Simplify url handling in rcirc-mode.
16268         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
16269         (rcirc-browse-url-at-mouse): Remove.
16270         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
16272 2011-07-26  Alan Mackenzie  <acm@muc.de>
16274         Fontify bitfield declarations properly.
16276         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
16277         (c-symbol-chars): Now exported as a lang variable.
16278         (c-not-primitive-type-keywords): New lang variable.
16280         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
16281         QT keyword "more" to prevent "more slots: ...." being spuriously
16282         parsed as a bitfield declaration.
16284         * progmodes/cc-engine.el (c-beginning-of-statement-1):
16285         Refactor and enhance to handle bitfield declarations.
16286         (c-punctuation-in): New function.
16287         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
16288         declarations properly.
16290 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
16292         * calendar/icalendar.el (icalendar--all-events): Take care of
16293         multiple vcalendars in a single file.
16294         (icalendar--convert-float-to-ical): Checkdoc fixes.
16296 2011-07-25  Deniz Dogan  <deniz@dogan.se>
16298         * image.el (insert-image): Clarifying docstring.
16300 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
16302         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
16303         `tramp-send-command-and-check' if there is no error.
16304         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
16306 2011-07-22  Alan Mackenzie  <acm@muc.de>
16308         Prevent cc-langs.elc being loaded at run time.
16310         * progmodes/cc-mode.el: Remove two autoload forms which loaded
16311         cc-langs.
16313         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
16314         "(require 'cc-langs)".  Quote a form so it will evaluate at
16315         (cc-mode's) compilation time.
16317 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
16319         * net/tramp.el (tramp-file-name-handler): Avoid recursive
16320         loading.  (Bug#9114)
16322 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
16324         * window.el (display-buffer-pop-up-window)
16325         (display-buffer-pop-up-side-window)
16326         (display-buffer-in-side-window): Call display-buffer-set-height
16327         and display-buffer-set-width after setting the new window's
16328         buffer so `fit-window-to-buffer' and friends work on the right buffer.
16330 2011-07-20  Sam Steingold  <sds@gnu.org>
16332         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
16333         (etags-tags-included-tables): Call `convert-standard-filename' on
16334         the file names contained in TAGS so that windows Emacs can handle
16335         TAGS files created by cygwin ctags.
16337 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16339         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
16340         which apparently didn't work.
16342 2011-07-19  Roland Winkler  <winkler@gnu.org>
16344         * proced.el (proced-send-signal): For *Marked Processes* buffer
16345         put point at beginning of buffer.
16347 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
16349         * proced.el (proced-format): Make header lines align with the text
16350         (bug#1779).
16352 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16354         * view.el (view-buffer): Allow running in `special' modes if we're
16355         visiting a file (bug#8615).
16357 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
16359         * window.el (display-buffer-alist-of-strings-p)
16360         (display-buffer-alist-set-1, display-buffer-alist-set-2):
16361         New functions.
16362         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
16363         more accurately.
16365 2011-07-18  Alan Mackenzie  <acm@muc.de>
16367         Fontify declarators properly when, e.g., a jit-lock chunk begins
16368         inside a declaration.
16370         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
16372         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16373         New function.
16374         (c-complex-decl-matchers): Insert reference to
16375         c-font-lock-enclosing-decls.
16377         * progmodes/cc-engine.el (c-backward-single-comment):
16378         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
16379         to nil around calls to (forward-comment -1).
16381 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16383         * image.el (put-image): Doc typo fix.
16385         * progmodes/etags.el (tags-search): Doc typo fix.
16387         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
16388         password if we get errors 550 to 554.
16390 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16392         * net/gnutls.el (gnutls-log-level): Remove.
16394         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
16395         indentation character (bug#6380).
16397         * files.el (buffer-offer-save): Made permanently local (bug#6241).
16399         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
16400         to clarify what the problem is (bug#4291).
16402         * simple.el (current-kill): Clarify what
16403         `interprogram-paste-function' does (bug#7500).
16404         (auto-fill-mode): Document `auto-fill-function' in relation to
16405         `auto-fill-mode' (bug#2470).
16407 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
16409         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
16410         method if slot is read-only (bug#9035).
16412 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
16414         * frame.el (select-frame-set-input-focus): New argument NORECORD.
16415         * window.el (pop-to-buffer): Select window used even if it was
16416         selected before, see discussion of (Bug#8615), (Bug#6954).
16417         Pass argument NORECORD on to select-frame-set-input-focus.
16419 2011-07-15  Glenn Morris  <rgm@gnu.org>
16421         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
16422         Respect help-form.
16424 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
16426         * net/gnutls.el (gnutls-min-prime-bits): New variable.
16427         (gnutls-negotiate): Use it.
16429 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16431         * net/gnutls.el (gnutls-negotiate):
16432         Upcase `gnutls-algorithm-priority'.
16434 2011-07-15  Glenn Morris  <rgm@gnu.org>
16436         * jka-compr.el (jka-compr-verbose): Move from here...
16437         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
16438         Add missing :version tag.
16439         * info.el: No need to require jka-compr when compiling.
16441 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16443         * net/gnutls.el (gnutls-algorithm-priority): New variable.
16444         (gnutls-negotiate): Use it.
16446         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
16448         * info.el (Info-beginning-of-buffer): New command.
16449         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
16450         announcing `b' as the key (bug#8325).
16451         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
16453         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
16455         * international/mule-cmds.el
16456         (describe-specified-language-support): Make the error message
16457         clearer (bug#8905).
16459         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
16461         * isearch.el (isearch-barrier): Add a doc string, since it's
16462         mentioned in a function doc string (bug#8678).
16464 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
16466         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
16467         buffer argument (Bug#9083) and self-identifying label argument.
16469 2011-07-15  Glenn Morris  <rgm@gnu.org>
16471         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
16473 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16475         * man.el (Man-fontify-manpage): Fix message when formatting the
16476         man page (bug#7929).
16478 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
16480         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
16481         argument LRM; if non-nil, append an invisible LRM character to the
16482         buffer name.
16483         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
16484         last argument non-nil, when formatting buffer names.
16485         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
16486         paragraph direction.
16488 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16490         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
16491         the man page name (bug#7929).
16493         * image.el (put-image): Mention the `put-image' overlay property
16494         (bug#7834).
16496         * scroll-bar.el (set-scroll-bar-mode): Mention that
16497         `scroll-bar-mode' lists the values (bug#7772).
16499         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
16500         command (bug#7729).
16502         * rect.el (apply-on-rectangle): Return the point after the last
16503         operation.
16504         (string-rectangle): Go to the point after the last operation
16505         (bug#7522).
16507         * printing.el (pr-toggle-region): Clarify the documentation
16508         slightly (bug#7493).
16510         * time.el (display-time-update):
16511         Allow `display-time-mail-function' to return nil (bug#7158).
16512         Fix suggested by Detlev Zundel.
16514         * vc/diff.el (diff): Clarify the order the file names are read
16515         (bug#7111).
16517         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
16518         the doc string (bug#7015).
16520         * font-lock.el (font-lock-maximum-decoration): Mention what
16521         numeric levels mean (bug#6935).
16523         * startup.el (initial-buffer-choice): Don't mention the `none'
16524         selection, which is against policy.
16526 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
16528         * window.el (display-buffer-normalize-special):
16529         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
16531 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
16533         * subr.el (version<, version<=, version=): Mention "-CVS" and
16534         "-12345" alpha version numbers.
16536 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
16538         * bindings.el: Add advertised binding for set-mark-command
16539         (Bug#5772).
16541 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
16543         * bindings.el (mode-line-other-buffer):
16544         * bookmark.el (bookmark-bmenu-2-window):
16545         * bs.el (bs-cycle-next, bs-cycle-previous):
16546         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
16547         switch-to-buffer.
16549         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16550         Delete.
16552 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
16554         * follow.el (follow-debug-message, follow-redisplay):
16555         * jka-cmpr-hook.el (with-auto-compression-mode):
16556         Fix typos in docstrings.
16558 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16560         * subr.el (with-silent-modifications): Clarify somewhat what the
16561         macro inhibits (bug#6525).
16563         * simple.el (eval-expression): Note what it does if called
16564         interactively (bug#6495).
16566 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
16568         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
16569         Use pop-to-buffer buffer-or-name if it is nil.
16571         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16572         Remove switch-to-buffer.
16574 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16576         * files.el (make-directory): Clarify that an error will be raised
16577         if there's an error (bug#6397).
16579         * startup.el (initial-buffer-choice): Add `none' as a choice
16580         (bug#6234).
16582         * subr.el (add-hook): Clarify section about buffer-local hooks
16583         (bug#6218).
16585         * dired.el (dired-flagged): Clarify doc string (bug#6117).
16587 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
16589         * tabify.el (untabify): Preserve the current column so that point
16590         doesn't move (bug#6032).
16592 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16594         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
16595         Rewrite to avoid awkward possessive "s" (bug#5986).
16597 2011-07-13  Glenn Morris  <rgm@gnu.org>
16599         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
16600         (dired-insert-directory): Give a message the first time
16601         if ls is found not to support --dired.
16603 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16605         * simple.el (toggle-truncate-lines): Clarify what is toggled
16606         (bug#5580).  Text by Drew Adams.
16608 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
16610         * simple.el (blink-matching-open): Make the error message from the
16611         last change less verbose.
16613 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
16615         * font-lock.el (font-lock-comment-face): Use the high contrast
16616         "yellow" color for font-lock-comment-face on low color terminals
16617         using a dark background color (bug#4221).
16619 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16621         * dired.el (dired-insert-set-properties): Make the doc string
16622         reflect what it does now (bug#5325).
16624         * simple.el (blink-matching-open): Say that we were unable to find
16625         the match within the limit, if we're limited (bug#5122).
16627         * international/mule-cmds.el (prefer-coding-system): Add an
16628         example (bug#4869).
16630         * progmodes/etags.el (tags-search): Document `file-list-form'
16631         (bug#4731).
16633 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
16635         * net/browse-url.el (browse-url-default-browser)
16636         (browse-url-browser-function): Make the default browser choice a
16637         bit more logical (bug#4300).  Also clean up the doc string.
16639 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
16641         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
16642         binary endings (bug#4440).
16644 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16646         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
16647         which can be pretty annoying (bug#8971).
16649         * jka-compr.el (jka-compr-verbose): New variable, and use
16650         throughout (bug#8971).
16652         * info.el (Info-find-file): Fall back on the installation
16653         directory if we can't find the info node anywhere else.
16655 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
16657         * vc/vc.el (vc-revert-file):
16658         Don't set file time-stamp in the past.  (Bug#5181)
16660 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16662         * files.el (after-find-file): Give a better error message when
16663         trying to find a symlink that points to a file that doesn't exist
16664         (bug#4398).
16666         * progmodes/cc-vars.el: Remove (probably) misleading comment
16667         (bug#4396).
16669 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
16671         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
16673 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
16675         * mouse-sel.el: Hack restoring functionality, while keeping
16676         compatibility with 2010-07-03 changes to mouse selection.
16677         (mouse-sel-primary-overlay): New var.
16678         (mouse-sel-selection-alist): Use it.
16679         (mouse-sel-mode): Doc fix; remove points that are default features
16680         of mouse.el.
16682 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
16684         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16685         Fix previous fix (bug#2490).
16687 2011-07-12  Roland Winkler  <winkler@gnu.org>
16689         * textmodes/bibtex.el (bibtex-initialize):
16690         Use pop-to-buffer-same-window.
16691         (bibtex-search-entries): Fix interactive call.
16693 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16695         * progmodes/compile.el (compilation-error-regexp-alist-alist):
16696         Fontise bytecomp Error lines more correctly (bug#2490).
16697         Fix suggested by Johan Bockgård.
16699         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
16701         * dired-x.el (dired-guess-default): Use `delete-dups'.
16703 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
16705         * dired.el (dired-mark-prompt):
16706         * dired-aux.el (dired-read-shell-command): Doc fix.
16708 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16710         * mail/sendmail.el (sendmail-query-once):
16711         Use `customize-save-variable' unconditionally, now that it works under
16712         emacs -Q.
16714         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16716         * cus-edit.el (custom-file): Take an optional no-error variable.
16717         (customize-save-variable): Set the variable, and give a warning if
16718         running under "emacs -q".
16720 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
16722         * loadhist.el (unload-feature-special-hooks):
16723         Add `auto-coding-functions', `fill-nobreak-predicate' and
16724         `find-directory-functions' (bug#5327).
16726 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16728         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
16730         * cus-edit.el (custom-guess-name-alist): -alist variables should
16731         use the `alist' type (bug#3120).  Suggested by Drew Adams.
16733         * printing.el: Add documentation to all the `pr-toggle-' commands.
16735 2011-07-11  Leo Liu  <sdl.web@gmail.com>
16737         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
16738         backends where it makes sense (bug#2623).
16740 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16742         * dired-x.el (dired-guess-default): Remove duplicate shell command
16743         entries (bug#2028).
16744         (dired-guess-default): Fix grammar in doc string (bug#2028).
16745         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
16747         * subr.el (remove-duplicates): New conveniency function.
16749 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16751         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
16752         (bug#1526).
16754 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
16756         * window.el (display-buffer-normalize-default): Don't invert
16757         meaning of even-window-heights.  Reported by Eli Zaretskii
16758         <eliz@gnu.org>.
16760 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
16762         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
16764 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
16766         * window.el (display-buffer): Fix arguments to
16767         display-buffer-reuse-window in last change.
16769         * faces.el (link): Use a less saturated blue on light backgrounds.
16771         * startup.el (fancy-startup-text, fancy-about-text)
16772         (fancy-startup-tail): Use font-lock faces, for background safety.
16774 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
16776         * emulation/viper-cmd.el (viper-change-state-to-vi):
16777         Limit triggering of abbrev expansion (Bug#9038).
16779 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
16781         * window.el (display-buffer-default-specifiers): Remove.
16782         (display-buffer-macro-specifiers): Remove default specifiers.
16783         (display-buffer-alist): Default to nil.
16784         (display-buffer-reuse-window): New optional argument other-window.
16785         (display-buffer-pop-up-window): Allow splitting internal
16786         windows.  Check whether a live window was created.
16787         (display-buffer-other-window-means-other-frame)
16788         (display-buffer-normalize-arguments): Rename to
16789         display-buffer-normalize-argument and rewrite.  Set the
16790         other-window specifier.
16791         (display-buffer-normalize-special): New function.
16792         (display-buffer-normalize-options): Rename to
16793         display-buffer-normalize-default and rewrite.
16794         (display-buffer-normalize-options-inhibit): Remove.
16795         (display-buffer-normalize-specifiers): Rewrite.
16796         (display-buffer): Process other-window specifier and call
16797         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
16798         more faithfully.
16799         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
16800         (display-buffer-alist-set): Don't handle 'unset default values.
16801         (display-buffer-in-window, display-buffer-alist-set):
16802         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
16803         <tassilo@member.fsf.org>.
16805 2011-07-09  Leo Liu  <sdl.web@gmail.com>
16807         * register.el (insert-register): Restore accidental change on
16808         2011-06-26.  (Bug#9028)
16810 2011-07-09  Glenn Morris  <rgm@gnu.org>
16812         * subr.el (remq): Handle the empty list.  (Bug#9024)
16814 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
16816         * mail/sendmail.el (send-mail-function): No longer delay custom
16817         initialization.
16818         * custom.el (custom-initialize-delay): Doc fix.
16820 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16822         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
16824 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
16826         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
16827         human-friendly prompt.
16829 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16831         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
16832         provided by a particular plugin.
16834 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16836         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
16837         save customizations (with "emacs -Q"), just set the variable
16838         instead of erroring out.
16840         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
16842 2011-07-08  Juri Linkov  <juri@jurta.org>
16844         * arc-mode.el (archive-zip-expunge, archive-zip-update)
16845         (archive-zip-update-case): Use 7z if found by `executable-find'.
16846         The order of searching the available programs is the same as in
16847         `archive-zip-extract' (bug#8968).
16849 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
16851         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
16852         (menu-bar-options-menu): Tweak descriptions.
16854 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16856         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
16857         menu items into verb phrases (bug#1421).  Also refill to fit under
16858         80 columns.
16860 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
16862         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
16863         (Info-read-node-name): Doc fix (Bug#1084).
16865         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
16866         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
16867         (end-of-sexp, beginning-of-sexp)
16868         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
16869         (forward-symbol, forward-same-syntax, word-at-point)
16870         (sentence-at-point): Doc fix (Bug#1144).
16872 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16874         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
16875         should cover it (bug#1281).
16877         * cus-edit.el (custom-show): Mark as obsolete.
16879         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
16880         negotiation fails, then possibly try again with a non-encrypted
16881         connection (bug#9017).
16883         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
16884         be used.
16886 2011-07-07  Richard Stallman  <rms@gnu.org>
16888         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
16889         property, and handle its changed format.
16890         Look for the correct line number.
16891         Use file's line contents (but not past first =) to find
16892         correct line in message.
16894 2011-07-07  Kenichi Handa  <handa@m17n.org>
16896         * international/characters.el (build-unicode-category-table):
16897         Delete it.
16898         (unicode-category-table): Set it by unicode-property-table-internal.
16900         * international/mule-cmds.el (char-code-property-alist): Move to
16901         to src/chartab.c.
16902         (get-char-code-property): Call unicode-property-table-internal to
16903         load a file.  Call get-unicode-property-internal where necessary.
16904         (put-char-code-property): Call unicode-property-table-internal to
16905         load a file.  Call put-unicode-property-internal where necessary.
16906         put-unicode-property-internal where necessary.
16907         (char-code-property-description):
16908         Call unicode-property-table-internal to load a file.
16910         * international/charprop.el:
16911         * international/uni-bidi.el:
16912         * international/uni-category.el:
16913         * international/uni-combining.el:
16914         * international/uni-comment.el:
16915         * international/uni-decimal.el:
16916         * international/uni-decomposition.el:
16917         * international/uni-digit.el:
16918         * international/uni-lowercase.el:
16919         * international/uni-mirrored.el:
16920         * international/uni-name.el:
16921         * international/uni-numeric.el:
16922         * international/uni-old-name.el:
16923         * international/uni-titlecase.el:
16924         * international/uni-uppercase.el: Regenerate.
16926         * loadup.el: Load international/charprop.el before
16927         international/characters.
16929 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
16931         * window.el (next-buffer, previous-buffer): Signal an error if
16932         called from a minibuffer window.
16934         * bindings.el: Revert 2011-07-04 change.
16936 2011-07-06  Richard Stallman  <rms@gnu.org>
16938         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
16939         (rmail-mime-insert-bulk, rmail-mime-insert-text):
16940         Treat markers like ints.
16941         (rmail-mime-entity): Doc fix.
16943 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16945         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
16946         defcustom again for backwards compatibility.
16948         * simple.el (shell-command-on-region): Fill.
16950         * dired-aux.el (dired-kill-line): Add a doc string.
16952         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
16953         to "\\sw\\|\\s_" (bug#358).
16955         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
16956         (dired-unmark-backward): Ditto.
16957         (dired-flag-backup-files): Ditto.
16959         * dired-x.el (dired-mark-sexp): Ditto.
16961 2011-07-06  Richard Stallman  <rms@gnu.org>
16963         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
16964         (rmail-mime-entity): New arg TRUNCATED.
16965         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
16966         New functions.
16967         (rmail-mime-save): Warn if entity is truncated.
16968         (rmail-mime-toggle-hidden): Likewise, for showing.
16969         (rmail-mime-process-multipart): Record when an entity is truncated.
16971         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
16972         if ENTITY is a string.
16974 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16976         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
16977         of faces when `M-C-x'-ing their definitions (bug#8378).
16978         Also clean up the code slightly.
16980         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
16981         because that makes the colors go away.
16983         * mail/sendmail.el (send-mail-function): Change the default to
16984         `sendmail-query-once'.
16985         (sendmail-query-once): Add an autoload cookie.
16987         * net/network-stream.el (network-stream-open-starttls): Try using
16988         a plain connection even if the server offered STARTTLS, and we
16989         kinda wanted to use it, if Emacs doesn't have any STARTTLS
16990         capability.  This should make smtpmail.el work in slightly more
16991         configurations.
16993 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
16995         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
16996         New defun.
16997         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
16999 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
17001         * progmodes/sql.el: Version 3.0
17002         (sql-product-alist): Add product :completion-object,
17003         :completion-column, and :statement attributes.
17004         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
17005         (sql-mode-syntax-table): Mark all punctuation.
17006         (sql-font-lock-keywords-builder): Temporarily remove fallback on
17007         ansi keywords.
17008         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
17009         (sql-mode-oracle-font-lock-keywords): Improve.
17010         (sql-oracle-show-reserved-words): New function for development.
17011         (sql-product-font-lock): Simplify for source code buffers.
17012         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
17013         New functions.
17014         (sql-highlight-product): Set product specific syntax table.
17015         (sql-mode-map): Add statement movement functions.
17016         (sql-ansi-statement-starters, sql-oracle-statement-starters):
17017         New variable.
17018         (sql-statement-regexp, sql-beginning-of-statement)
17019         (sql-end-of-statement, sql-signum): New functions.
17020         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
17021         (sql-show-sqli-buffer): Bug fix.
17022         (sql-interactive-mode): Store connection data as buffer local.
17023         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
17024         with sql-interactive-mode.
17025         (sql-save-connection): Save buffer local settings.
17026         (sql-connection-menu-filter): Change menu entry name.
17027         (sql-product-interactive): Bug fix.
17028         (sql-preoutput-hold): New variable.
17029         (sql-interactive-remove-continuation-prompt): Bug fixes.
17030         (sql-debug-redirect): New variable.
17031         (sql-str-literal): New function.
17032         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
17033         Redesign.
17034         (sql-oracle-save-settings, sql-oracle-restore-settings)
17035         (sql-oracle-list-all, sql-oracle-list-table): New functions.
17036         (sql-completion-object, sql-completion-column)
17037         (sql-completion-sqlbuf): New variables.
17038         (sql-build-completions-1, sql-build-completions)
17039         (sql-try-completion): New functions.
17040         (sql-read-table-name): Use them.
17041         (sql-contains-names): New buffer local variable.
17042         (sql-list-all, sql-list-table): Use it.
17043         (sql-oracle-completion-types): New variable.
17044         (sql-oracle-completion-object, sql-sqlite-completion-object)
17045         (sql-postgres-completion-object): New functions.
17047 2011-07-06  Glenn Morris  <rgm@gnu.org>
17049         * window.el (pop-to-buffer): Doc fix.
17051 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
17053         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
17055 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
17057         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
17059         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
17061 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
17063         * button.el (button): Inherit from link face.  Suggested by Dan
17064         Nicolaescu.
17066 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17068         * progmodes/gdb-mi.el: Fit in 80 columns.
17069         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
17070         switch-to-buffer.
17072         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
17073         if imenu is simply not configured (bug#8941).
17075 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
17077         * allout.el (allout-post-undo-hook): New allout outline-change
17078         event hook to signal undo activity.
17079         (allout-post-command-business): Run allout-post-undo-hook if an
17080         undo just occurred.
17081         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
17082         * allout-widgets.el (allout-widgets-after-undo-function):
17083         Ensure the integrity of the current item's decoration after it has been
17084         in the vicinity of an undo.
17085         (allout-widgets-mode): Include allout-widgets-after-undo-function
17086         on the new allout-post-undo-hook.
17088 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17090         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
17091         Let define-derived-mode define it.
17092         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
17093         cycles of abbrev-table inheritance (bug#8998).
17095 2011-07-05  Roland Winkler  <winkler@gnu.org>
17097         * textmodes/bibtex.el: Add support for biblatex.
17098         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
17099         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
17100         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
17101         (bibtex-entry-alist, bibtex-field-alist): New variables.
17102         (bibtex-entry-field-alist): Obsolete alias for
17103         bibtex-BibTeX-entry-alist.
17104         (bibtex-entry-alist, bibtex-field-alist): New widgets.
17105         (bibtex-set-dialect): New command.
17106         (bibtex-entry-type, bibtex-entry-head)
17107         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
17108         Bind via bibtex-set-dialect.
17109         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
17110         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
17111         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
17112         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
17113         Define via bibtex-set-dialect.
17114         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
17115         Obey bibtex-no-opt-remove-re.
17116         (bibtex-vec-push, bibtex-vec-incr): New functions.
17117         (bibtex-format-entry, bibtex-field-list)
17118         (bibtex-print-help-message, bibtex-validate)
17119         (bibtex-search-entries): Use new format of bibtex-entry-alist.
17121 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
17123         * progmodes/compile.el (compilation-goto-locus):
17124         * net/tramp-cmds.el (tramp-append-tramp-buffers):
17125         * bs.el (bs-cycle-next, bs-cycle-previous):
17126         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
17127         * bindings.el (mode-line-other-buffer):
17128         * autoinsert.el (auto-insert):
17129         * arc-mode.el (archive-extract):
17130         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
17132 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17134         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
17135         Fix check of `emacs-lock-unlockable-modes'.
17136         Coerce true values of `emacs-lock--try-unlocking' to t.
17138 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17140         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
17141         * emacs-lock.el: New file.
17143 2011-07-05  Julien Danjou  <julien@danjou.info>
17145         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
17146         than `boundp' to check if face is set.
17148 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
17150         * register.el (registerv-make):
17151         * window.el (window-min-height): Fix typos in docstrings.
17153 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
17155         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
17156         Update doc string.
17158 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
17160         * server.el (server-execute): Catch quit and call
17161         `server-return-error' to pass the error back to emacsclient and
17162         close the connection (bug#8942).
17164 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
17166         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
17167         insecure exception for current topic.  Also note that auto-saves
17168         are handled differently.
17170         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
17171         State variables for tracking auto-save inhibition situation.
17173         (allout-write-contents-hook-handler): Rename from
17174         'allout-write-file-hook-handler', and describe how it depends on
17175         write-contents-functions sensitivity to non-nil value to prevent
17176         file write.
17178         (allout-auto-save-hook-handler): Remove.  auto-save does not check
17179         this in individual buffers, only in the starting buffer, so this
17180         is not the right way for us to inhibit auto-save in a buffer
17181         according to its condition.
17183         (allout-mode): Use new allout-write-contents-hook-handler, and
17184         only with write-contents-functions.  Remove auto-save provisions -
17185         they're implemented elsewhere.
17187         (allout-before-change-handler): If undo is in progress, note that
17188         for attention of allout-post-command-business.
17190         (allout-post-command-business): If the command we're following was
17191         an undo, check for change in the status of encrypted items and
17192         adjust auto-save inhibitions accordingly.
17194         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
17195         according to whether there are or aren't any plain-text topics
17196         pending encryption.
17198         (allout-inhibit-auto-save-info-for-decryption):
17199         Adjust buffer-saved-size and some allout state to inhibit auto-saves
17200         if there are plain-text topics pending encryption.
17202         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
17203         buffer-saved-size and some allout state to not inhibit auto-saves
17204         if there are no longer any plain-text topics pending encryption.
17206         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
17207         No longer provide for exemption of the current topic.
17209 2011-07-04  Juri Linkov  <juri@jurta.org>
17211         Add 7z operations to delete and save changed members (bug#8968).
17212         * arc-mode.el (archive-7z-expunge, archive-7z-update):
17213         New defcustoms.
17214         (archive-7z-write-file-member): New function.
17215         (archive-7z-summarize): Fix the number of dashes in the
17216         listing output.
17218 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17220         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
17221         (bug#8958).
17223 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
17225         * bindings.el: Ignore next-buffer and previous-buffer in
17226         minibuffer-local-map.
17228         * font-lock.el (font-lock-builtin-face): Change light background
17229         color to dark slate blue (Bug#6693).
17231 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
17233         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
17235 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17237         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
17238         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17239         Add switch-to-buffer.
17241 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17243         * isearch.el (isearch-search-fun-function): Clarify further the
17244         meaning of the function returned.
17246 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
17248         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
17250         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
17251         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
17252         Use it.
17253         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
17254         `tramp-default-remote-path' does not exist.
17255         (tramp-send-command-and-read): New optional argument NOERROR.
17256         (tramp-open-connection-setup-interactive-shell)
17257         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
17258         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
17259         (tramp-process-sentinel): Flush also process' connection property.
17260         (tramp-sh-handle-start-file-process): Do not set process
17261         sentinel.  It is done now ...
17262         (tramp-maybe-open-connection): ... here.  (Bug#8929)
17264 2011-07-04  MON KEY  <monkey@sandpframing.com>
17266         * play/animate.el (animate-string): Doc fixes and allow changing
17267         the buffer name (bug#5417).
17269 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17271         * play/animate.el (animation-buffer-name): Rename from *animate*.
17273 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
17275         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
17276         This is simpler and helps future-proof the code.
17277         (timer-until): Use time-subtract and float-time.
17278         (timer--time-less-p): Use time-less-p.
17280 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
17282         * type-break.el (timep): Use the value of `float-time' to avoid a
17283         byte-compiler warning.
17285         * server.el (server-eval-and-print): Return any result, even nil.
17287 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
17289         * type-break.el: Accept time formats that the builtins accept.
17290         (timep, type-break-time-difference): Accept any format that
17291         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
17292         This is simpler and helps future-proof the code.
17293         (type-break-time-difference): Round rather than ignoring
17294         subseconds components.
17296 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17298         * info.el (Info-apropos-matches): Make non-interactive, since it
17299         doesn't seem to do anything useful as a command (bug#8829).
17301 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
17303         * frame.el (frame-background-mode, frame-set-background-mode):
17304         Move from faces.el.
17305         (frame-default-terminal-background): New function.
17307         * custom.el (custom-push-theme): Don't record faces in `changed'
17308         theme; this doesn't work correctly for per-frame face settings.
17309         (disable-theme): Use face-set-after-frame-default to reset faces.
17310         (custom--frame-color-default): New function.
17312 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17314         * dired.el (dired-flagging-regexp): Remove unused variable
17315         (bug#8769).
17317 2011-03-29  Kevin Ryde  <user42@zip.com.au>
17319         * progmodes/compile.el (compilation-error-regexp-alist-alist):
17320         `perl-Test2' extend to match possible "fail #N" rep count
17321         (bug#8377).
17323 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17325         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
17326         `smtpmail-via-smtp' now returns the error instead of nil.
17328         * isearch.el (isearch-search-fun-function): Clarify the doc string
17329         (bug#8101).
17331 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
17333         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
17334         unnecessary spaces (bug#8987).
17336 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17338         * net/network-stream.el (open-network-stream): Use the
17339         :end-of-capability command thoughout.
17341 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
17343         * net/network-stream.el (open-network-stream): Add the
17344         :end-of-capability command parameter, used by pop3.el.
17346 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17348         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
17350         * fringe.el (fringe-query-style): Remove redundant text " (type ?
17351         for list)" (bug#6475).
17353         * files.el (file-expand-wildcards): Ignore non-readable
17354         sub-directories while trying to find matches instead of signaling
17355         an error (bug#6297).
17357         * man.el (Man-reference-regexp): Allow matching possible
17358         word-wrapped references (bug#6289).
17360         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
17361         for consistency with the other vc buffers (bug#6197).
17362         (vc-checkin): Ditto.
17364         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
17366         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
17368 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17370         * custom.el (defcustom): Clarify that :set is only used in the
17371         Customize user interface (bug#6089).
17373         * progmodes/flymake.el (flymake-mode): If the buffer isn't
17374         associated with a file, refuse to run instead of erroring out
17375         (bug#6084).
17377         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
17378         the doc string, since it appears that using `fill-column' always
17379         controls the width (bug#7845).
17381         * simple.el (shell-command-on-region): Say where the error output
17382         went if `shell-command-default-error-buffer' is set (bug#6857).
17384 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
17386         * allout.el (allout-yank-processing): Adjust cursor position for
17387         backwards-deleted space.
17389         (allout-rebullet-heading): Register changes with
17390         allout-exposure-changed-hook, so the modified topic is properly
17391         decorated.
17393 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17395         * minibuffer.el (completion-in-region): Document PREDICATE
17396         (bug#7136).
17398         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
17399         of keyword/argument pairs (bug#6904).
17401         * replace.el (multi-occur):
17402         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
17404 2011-07-02  Drew Adams  <drew.adams@oracle.com>
17406         * dired.el (dired-mark-if): Make the message about whether it's
17407         marking or unmarking clearer (bug#8523).
17409 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17411         * disp-table.el (display-table-print-array): New function.
17412         (describe-display-table): Use it to print the vectors more pretty
17413         (Bug#8859).
17415 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
17417         * window.el (window-state-get-1): Don't assign clone numbers.
17418         Add clone-of item to list of window parameters.
17419         (window-state-put-2): Don't process clone numbers.
17420         (display-buffer-alist): Fix doc-string.
17422 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17424         * subr.el (remq): Don't allocate if it's not needed.
17425         (keymap--menu-item-binding, keymap--menu-item-with-binding)
17426         (keymap--merge-bindings): New functions.
17427         (keymap-canonicalize): Use them to refine the canonicalization.
17428         * minibuffer.el (minibuffer-local-completion-map)
17429         (minibuffer-local-must-match-map): Move initialization from C.
17430         (minibuffer-local-filename-completion-map): Move initialization from C;
17431         don't inherit from anything here.
17432         (minibuffer-local-filename-must-match-map): Make obsolete.
17433         (completing-read-default): Use make-composed-keymap to combine
17434         minibuffer-local-filename-completion-map with either
17435         minibuffer-local-must-match-map or
17436         minibuffer-local-filename-completion-map.
17438 2011-07-01  Glenn Morris  <rgm@gnu.org>
17440         * type-break.el (type-break-time-sum): Use dolist.
17442         * textmodes/flyspell.el (flyspell-word-search-backward):
17443         Replace CL function.
17445 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17447         * mouse.el (mouse--strip-first-event): New function.
17448         (function-key-map): Use it to map fringe clicks to normal clicks
17449         by default.
17451         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
17452         (vc-bzr-revision-completion-table): Add support for annotate and date.
17454         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
17455         inherit from parent.
17457 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17459         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
17460         (dired-show-file-type): Doc fixup (bug#8818).
17462         * dired.el (dired-mode): Fix up the doc string as suggested by
17463         Drew Adams (bug#8817).
17465         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
17466         cookie, since the manual says that it should be possible to add
17467         this function to `find-file-hook' (bug#8709).
17469 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
17471         * progmodes/cfengine.el: Moved all cfengine3.el functionality
17472         here.  Noted Ted Zlatanov as the maintainer.
17473         (cfengine-common-settings, cfengine-common-syntax): New functions
17474         to set up common things between `cfengine-mode' and
17475         `cfengine3-mode'.
17476         (cfengine3-mode): New mode.
17477         (cfengine3-defuns cfengine3-defuns-regex
17478         (cfengine3-class-selector-regex cfengine3-category-regex)
17479         (cfengine3-vartypes cfengine3-font-lock-keywords)
17480         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
17481         (cfengine3-indent-line): Add from cfengine3.el.
17483 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
17485         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
17487         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
17489 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
17491         * window.el (same-window-buffer-names, same-window-regexps)
17492         (same-window-p, special-display-frame-alist)
17493         (special-display-popup-frame, special-display-function)
17494         (special-display-buffer-names, special-display-regexps)
17495         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
17496         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17497         (split-window-preferred-function, split-height-threshold)
17498         (split-width-threshold, even-window-heights)
17499         (display-buffer-mark-dedicated, window-splittable-p)
17500         (split-window-sensibly, window-safely-shrinkable-p):
17501         Un-obsolete.
17502         (display-buffer): Don't spread args with function specifier
17503         because special-display-popup-frame won't like it.
17505 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
17507         Time-stamp simplifications and fixes.
17508         These improve accuracy slightly, and future-proof the code
17509         against some potential changes to current-time format.
17511         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
17512         by using time-since and float-time.
17514         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
17515         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
17516         + NNN microseconds".
17518         * type-break.el (type-break-time-sum): Rewrite using time-add.
17520         * play/hanoi.el (hanoi-current-time-float): Remove.
17521         All uses replaced by float-time.
17523         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
17524         This yields a more-accurate answer.
17525         (rng-time-to-float): Remove; no longer needed.
17527         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
17529         * calendar/timeclock.el (timeclock-seconds-to-time):
17530         Defalias to seconds-to-time, since they're the same thing.
17532         * emacs-lisp/elp.el (elp-elapsed-time):
17533         * emacs-lisp/benchmark.el (benchmark-elapse):
17534         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
17536 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17538         * window.el (bury-buffer): Don't iconify the only frame.
17539         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
17540         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
17542 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
17544         * eshell/em-smart.el (eshell-smart-display-navigate-list):
17545         Add mouse-yank-primary.
17547 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
17549         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
17551 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17553         * emacs-lisp/find-func.el (find-library--load-name): New fun.
17554         (find-library-name): Use it to find relative load names when provided
17555         absolute file name (bug#8803).
17557 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17559         * textmodes/flyspell.el (flyspell-word): Consider words that
17560         differ only in case as potential doublons (bug#5687).
17562         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
17563         Remove two rather uninteresting debugging-like messages to make
17564         debbugs.el more silent.
17566         * comint.el (comint-password-prompt-regexp): Accept "Response" as
17567         a password-like phrase.
17569 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
17571         * progmodes/cc-guess.el: New file.
17573         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
17575         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
17576         derived from `c-basic-common-init'.
17578         * progmodes/cc-mode.el (top-level): Require cc-guess.
17579         (c-basic-common-init): Use `cc-choose-style-for-mode'.
17581 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
17583         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
17585 2011-06-30  Alan Mackenzie  <acm@muc.de>
17587         * progmodes/cc-engine.el (c-guess-continued-construct):
17588         Correct the handling of template-args-cont, particularly for when font
17589         lock is disabled.  Name this case as "CASE G".
17591 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
17593         * allout.el (allout-yank-processing): Fix injection of extra space
17594         between bullet and non-whitespace character in first topic when
17595         pasting, ensuring that the actual spacing in the pasted topic
17596         following the bullet char is preserved.  This extra space was
17597         causing pasted encrypted topics to get a decrypted status even
17598         when the content was actually still encrypted.  Now the decryption
17599         status from before the paste is preserved.
17601         (allout-flag-region): Set all allout overlays so they evaporate
17602         when reduced to zero length (evanescent), to prevent overlay
17603         leakage.
17605 2011-06-30  Glenn Morris  <rgm@gnu.org>
17607         * w32-fns.el (w32-charset-info-alist): Declare.
17609         * find-dired.el (find-grep-options): Simplify.
17611         * term/ns-win.el (ns-set-resource): Declare.
17613         * ses.el (row, col): Declare dynamic variables honestly.
17615         * textmodes/reftex-parse.el (index-tags): Declare.
17617 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
17619         * cus-edit.el (customize-push-and-save): New function.
17621         * files.el (hack-local-variables-confirm): Use it.
17623         * custom.el (load-theme): New arg NO-CONFIRM.
17624         Use customize-push-and-save (Bug#8720).
17625         (custom-enabled-themes): Doc fix.
17627         * cus-theme.el (customize-create-theme)
17628         (custom-theme-merge-theme): Callers to load-theme changed.
17630 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17632         * thingatpt.el (thing-at-point-short-url-regexp): Require that
17633         short URLs have at least one dot in them (bug #7614).
17635         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
17636         nil, because using a pty is apparently too slow (bug #895).
17638 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17640         * mail/sendmail.el (sendmail-query-once): New function.
17641         (sendmail-query-once-function): New variable.
17643 2011-06-29  Glenn Morris  <rgm@gnu.org>
17645         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
17647         * ses.el (top-level): Require cl when compiling.
17648         (ses-set-localvars): Fix error statement.
17649         Call it at compile time to silence a storm of warnings.
17651 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
17653         * window.el (normalize-live-buffer): Rename to
17654         window-normalize-buffer.
17655         (normalize-live-frame): Rename to window-normalize-frame.
17656         (normalize-any-window): Rename to window-normalize-any-window.
17657         (normalize-live-window): Rename to window-normalize-live-window.
17658         (make-window-atom): Rename to window-make-atom.
17659         (window-resize-reset): Rename to window--resize-reset.
17660         (window-resize-reset-1): Rename to window--resize-reset-1.
17661         (resize-mini-window): Rename to window--resize-mini-window.
17662         (resize-subwindows-skip-p): Rename to
17663         window--resize-subwindows-skip-p.
17664         (resize-subwindows-normal): Rename to
17665         window--resize-subwindows-normal.
17666         (resize-subwindows): Rename to window--resize-subwindows.
17667         (resize-other-windows): Rename to window--resize-siblings.
17668         (resize-this-window): Rename to window--resize-this-window.
17669         (resize-root-window): Rename to window--resize-root-window.
17670         (resize-root-window-vertically): Rename to
17671         window--resize-root-window-vertically.
17672         (normalize-buffer-to-display): Rename to
17673         window-normalize-buffer-to-display.
17674         (normalize-buffer-to-switch-to): Rename to
17675         window-normalize-buffer-to-switch-to.
17676         Correspondingly update all callers of the functions listed
17677         above.
17678         (display-buffer-alist, display-buffer-normalize-arguments)
17679         (display-buffer-normalize-options, display-buffer)
17680         (display-buffer-alist-set): Use "function" instead of
17681         "fun-with-args".
17683 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
17685         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
17686         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
17687         debbugs.gnu.org.  Mention acknowledgment email.
17689 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17691         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
17692         buffer multibyteness, since it shouldn't matter.
17694 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
17696         * window.el (display-buffer-in-side-window): Handle dedicated
17697         windows as in display-buffer-reuse-window.
17698         (display-buffer-normalize-alist): Use value of override
17699         specifier.
17700         (display-buffer-normalize-specifiers): Use value of
17701         other-window-means-other-frame specifier.
17702         (display-buffer-alist): Rewrite some texts in widgets.
17703         (display-buffer): Spread arguments when calling function
17704         specified by fun-with-args.
17706 2011-06-28  Deniz Dogan  <deniz@dogan.se>
17708         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17709         Unnest `let'.
17711         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
17712         selectors (Bug#5732).
17713         (css-proprietary-nmstart-re): Use `regexp-opt'.
17715 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
17717         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
17718         (eshell-ls-date-format): New defcustom.
17719         (eshell-ls-file): Use it.
17721 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17723         * help-fns.el (describe-variable): Fix message for terminal-local vars.
17725 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
17727         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
17728         (ange-ftp-make-tmp-name): New arg.
17729         (ange-ftp-file-local-copy): Use it.
17731 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
17733         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
17734         no-conversion (Bug#8870).
17736 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
17738         * window.el (window-right, window-left, window-child)
17739         (window-child-count, window-last-child)
17740         (window-iso-combination-p, walk-window-tree-1)
17741         (window-atom-check-1, window-tree-1, delete-window)
17742         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
17743         new naming conventions - window-vchild, window-hchild,
17744         window-next and window-prev are now called window-top-child,
17745         window-left-child, window-next-sibling and window-prev-sibling
17746         respectively.
17747         (resize-window-reset): Rename to window-resize-reset.
17748         (resize-window-reset-1): Rename to window-resize-reset-1.
17749         (resize-window): Rename to window-resize.
17750         (window-min-height, window-min-width)
17751         (resize-mini-window, resize-this-window, resize-root-window)
17752         (resize-root-window-vertically, adjust-window-trailing-edge)
17753         (enlarge-window, shrink-window, maximize-window)
17754         (minimize-window, delete-window, quit-restore-window)
17755         (split-window, balance-windows, balance-windows-area-adjust)
17756         (balance-windows-area, window-state-put-2)
17757         (display-buffer-even-window-sizes, display-buffer-set-height)
17758         (display-buffer-set-width, set-window-text-height)
17759         (fit-window-to-buffer): Rename all "resize-window" prefixed
17760         calls to use the "window-resize" prefix convention.
17761         (display-buffer-alist): Fix symbol for label specifier.
17762         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
17763         corresponding specifier.
17764         Reported by Juanma Barranquero <lekktu@gmail.com>.
17766 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17768         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
17769         convention.
17770         (ses-call-printer): Does not pass an empty string to formatter when the
17771         cell is empty to keep from barking printer Calc math-format-value.
17773 2011-06-27  Richard Stallman  <rms@gnu.org>
17775         * battery.el (battery-mode-line-limit): New variable.
17776         (battery-update): Handle it.
17778         * mail/rmailmm.el (rmail-mime-process-multipart):
17779         Handle truncated messages.
17781 2011-06-27  Glenn Morris  <rgm@gnu.org>
17783         * progmodes/flymake.el (flymake-err-line-patterns):
17784         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
17786 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17788         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
17789         (ses--clean-!, ses--clean-_): New functions.
17790         (ses-range): Add configurability of readout order, and conversion
17791         to Calc vector.
17793         * ses.el (ses-repair-cell-reference-all): New function.
17794         (ses-cell-symbol): Set macro as safe, so that it can be used in
17795         formulas.
17797         * ses.el: Update cycle detection algorithm.
17798         (ses-localvars): Add ses--Dijkstra-attempt-nb and
17799         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
17800         (ses-set-localvars): New function.
17801         (ses-make-cell): Add property-list as a cell element.
17802         (ses-cell-property-get-fun, ses-cell-property-get)
17803         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
17804         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
17805         New functions.
17806         (ses-cell-property-set, ses-cell-property-pop)
17807         (ses-cell-property-get-handle): New macro.
17808         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
17809         New aliases, used for code readability.
17810         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
17811         cycle detection.
17812         (ses-self-reference-early-detection): New defcustom.
17813         (ses-formula-references): Robustify against self-referring cells.
17814         (ses-mode): Use ses-set-localvars.
17815         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
17816         before lauching the update processing.
17817         (ses-initialize-Dijkstra-attempt): New function.
17818         (ses-recalculate-cell): Update for cycle detection based on
17819         Dijkstra algorithm.
17821         * ses.el: Fix commenting and indenting convention.
17823 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17825         * bs.el (bs-cycle-next): Complete last change.
17827 2011-06-27  Drew Adams  <drew.adams@oracle.com>
17829         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
17831 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17833         * net/network-stream.el (network-stream-open-starttls):
17834         Don't re-get capabilities unless we've reestablished connection.
17835         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
17837         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
17838         to binary to possibly avoid line encoding issues on Windows (among
17839         other things).
17841 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17843         * net/network-stream.el (open-network-stream): Return an :error
17844         saying what the problem was, if possible.
17846         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
17847         server.
17849         * net/network-stream.el (network-stream-open-starttls): If we
17850         wanted to use STARTTLS, and the server offered it, but we weren't
17851         able to because we had no STARTTLS support, then close the connection.
17852         (open-network-stream): Return an :error element, if present.
17854 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
17856         * hl-line.el (hl-line-sticky-flag): Doc fix.
17857         (global-hl-line-sticky-flag): New option (Bug#8323).
17858         (global-hl-line-highlight): Obey it.
17860         * vc/vc.el (vc-revert-show-diff): Default to t.
17862 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
17864         * allout-widgets.el (allout-widgets-post-command-business):
17865         Stop decorating intermediate isearch matches.  They're not being
17866         undecorated when an isearch is continued past, and isearch
17867         automatically collapses them.  This leads to "widget leaks", where
17868         decorated items accumulate in collapsed areas.  Lines with lots of
17869         hidden widgets can slow down cursor travel, substantially.
17870         Too much complicated machinery would be needed to ensure undecoration,
17871         so we're doing without this nicety.
17873         (allout-widgets-tally-string): Don't try to do a hash-table-count
17874         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
17875         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
17876         *Messages* when allout-widgets-maintain-tally is t.
17878 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
17880         * window.el (display-buffer-normalize-argument): Rename to
17881         display-buffer-normalize-arguments.  Handle special meaning of
17882         LABEL argument.  Respect special-display-function when popping up
17883         a new frame.  Fix code searching for a window showing the buffer
17884         on another frame.
17885         (display-buffer-normalize-specifiers):
17886         Call display-buffer-normalize-arguments.
17887         (display-buffer-in-window): Don't undedicate the window if its
17888         buffer remains the same.
17889         Reported by Drew Adams <drew.adams@oracle.com>.
17890         (display-buffer-alist): Add choice for same-window macro
17891         specfier.
17892         (display-buffer): Mention special meaning of LABEL argument in
17893         doc-string.  Fix quoting.  Don't pop up a new frame even as
17894         fallback.
17896 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
17898         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
17899         avoid deleting the current window in some cases (bug#8911).
17901 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
17903         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
17904         (Bug#8934)
17906 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17908         * net/network-stream.el (network-stream-open-starttls):
17909         Use built-in TLS support if `gnutls-available-p' is true.
17910         (network-stream-open-tls): Ditto.
17912 2011-06-26  Leo Liu  <sdl.web@gmail.com>
17914         * register.el (registerv): New struct.
17915         (registerv-make): New function.
17916         (jump-to-register, describe-register-1, insert-register):
17917         Support the jump-func, print-func and insert-func slot of a registerv
17918         struct.  (Bug#8415)
17920 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
17922         * vc/vc.el (vc-revert-show-diff): New defcustom.
17923         (vc-diff-internal): New arg specifying diff buffer.
17924         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
17925         reuse an existing *vc-diff* buffer (Bug#8927).
17927         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
17929 2011-06-26  Glenn Morris  <rgm@gnu.org>
17931         * progmodes/f90.el (f90-critical-indent): New option.
17932         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
17933         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
17934         (f90-mode): Doc fix.
17935         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
17936         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
17937         (f90-beginning-of-block, f90-next-block, f90-indent-region)
17938         (f90-match-end): Handle block, critical.
17940 2011-06-25  Glenn Morris  <rgm@gnu.org>
17942         * calendar/diary-lib.el (diary-included-files): Doc fix.
17943         (diary-include-files): New function, extracted from
17944         diary-include-other-diary-files and diary-mark-included-diary-files.
17945         (diary-include-other-diary-files, diary-mark-included-diary-files):
17946         Just call diary-include-files.
17947         (diary-mark-entries): Reset diary-included-files on first call.
17949         * calendar/diary-lib.el (diary-mark-entries)
17950         (diary-mark-included-diary-files):
17951         Visit included diary-files in temp buffers.
17953         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
17954         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
17955         (f90-start-block-re, f90-imenu-generic-expression)
17956         (f90-looking-at-program-block-start, f90-no-block-limit):
17957         Add support for submodules.
17959         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
17960         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
17962 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
17964         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
17965         buffer-file-type before setting its value, to avoid disastrous
17966         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
17968 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
17970         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
17972         * ses.el (ses-unload-function):
17973         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
17975         * proced.el (proced-unload-function):
17976         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
17978 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
17980         * server.el (server-create-window-system-frame): Add parameters arg.
17981         (server-process-filter): Doc fix.  Handle frame-parameters.
17983 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
17985         Fix bug#8730, bug#8781.
17987         * loadhist.el (unload--set-major-mode): New function.
17988         (unload-feature): Use it.
17990         * progmodes/python.el (python-after-info-look): Add autoload cookie.
17991         (python-unload-function): New function.
17993 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17995         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
17997 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
17999         * net/browse-url.el (browse-url-firefox-program): Add icecat to
18000         the candidates list.
18002 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
18004         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
18006 2011-06-23  Richard Stallman  <rms@gnu.org>
18008         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
18009         (rmail-variables): Set next-error-move-function.
18010         (rmail-what-message): Take argument POS.
18011         (rmail-next-error-move): New function.
18013 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
18015         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
18016         messages for adjacent non-terminals.
18018 2011-06-23  Richard Stallman  <rms@gnu.org>
18020         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
18021         (rmail-show-message-1): Preserve buffer modified flag.
18022         (rmail-start-mail): Don't specify use of rmail-mail-return;
18023         that's done by mail-bury now.
18024         (rmail-mail-return): Handle arg NEWBUF.
18026 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
18028         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
18029         SIZE is a number.
18031 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
18033         * window.el (get-lru-window, get-mru-window)
18034         (get-largest-window): Never return a minibuffer window.
18035         (display-buffer-pop-up-window): Fix a bug that could lead to
18036         reusing the minibuffer window.
18037         (display-buffer): Pass original specifier argument to
18038         display-buffer-function instead of the normalized one.
18039         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18041 2011-06-22  Leo Liu  <sdl.web@gmail.com>
18043         * minibuffer.el (completing-read-function)
18044         (completing-read-default): Move from minibuf.c.
18046 2011-06-22  Richard Stallman  <rms@gnu.org>
18048         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
18049         to Rmail even if not started by a special Rmail command.
18051         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
18052         Copy the buffer currently showing just one message.
18054 2011-06-22  Roland Winkler  <winkler@gnu.org>
18056         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
18057         (bibtex-clean-entry): First delete the old key so that a
18058         customized algorithm for generating the new key does not get
18059         confused by the old key.
18060         (bibtex-url): Obey regexp of first step.
18061         (bibtex-search-entries): Do not use add-to-list with local
18062         list-var.
18064 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18066         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
18067         stored a user name, then query for the password first, instead of
18068         waiting for SMTP to give an error message and the trying again.
18070 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
18072         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
18073         BUFFER in call-process.
18075 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18077         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
18078         QUIT twice.
18079         (smtpmail-try-auth-methods): Require user name and password from
18080         auth-source.
18082 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
18084         * window.el (display-buffer-default-specifiers)
18085         (display-buffer-alist): Remove entries for pop-up-frame-alist.
18086         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
18087         (split-window): Normalize SIDE argument (Bug#8916).
18089         * frame.el (pop-up-frame-alist, pop-up-frame-function)
18090         (special-display-frame-alist, special-display-popup-frame):
18091         Remove duplicate declarations.  These are now in window.el.
18093 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18095         * mail/smtpmail.el (smtpmail-via-smtp):
18096         Set :use-starttls-if-possible so that we always use STARTTLS if the
18097         server supports it.  SMTP servers that support STARTTLS commonly
18098         require it.
18100         * net/network-stream.el (network-stream-open-starttls): Support
18101         upgrading to STARTTLS always, even if we don't have built-in support.
18102         (open-network-stream): Add the :always-query-capabilities keyword.
18104         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
18105         upgrades with `open-network-stream', and rely solely on
18106         auth-source for all credentials.  Big changes throughout the file,
18107         but in particular:
18108         (smtpmail-auth-credentials): Remove.
18109         (smtpmail-starttls-credentials): Remove.
18110         (smtpmail-via-smtp): Check for servers saying they want AUTH after
18111         MAIL FROM, too.
18113         * net/network-stream.el (network-stream-open-starttls):
18114         Provide support for client certificates both for external and built-in
18115         STARTTLS.
18116         (auth-source): Require.
18117         (open-network-stream): Document the :client-certificate keyword.
18118         (network-stream-certificate): Change cert-cert to cert and
18119         cert-key to key.
18121 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
18123         * net/tramp-cache.el (top): Don't load the persistency file when
18124         "emacs -Q" has been called.
18126 2011-06-21  Tim Harper  <timcharper@gmail.com>
18128         * term/ns-win.el (ns-initialize-window-system):
18129         Set application-specific `ApplePressAndHoldEnabled' system
18130         resource to NO as it is not yet supported by the NS port.
18132 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
18134         * misc.el (list-dynamic-libraries--refresh): Compute header here...
18135         (list-dynamic-libraries): ...not here.
18137 2011-06-21  Leo Liu  <sdl.web@gmail.com>
18139         * subr.el (sha1): Implement sha1 using secure-hash.
18141 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
18143         * window.el (display-buffer-alist): In default value do not
18144         enforce searching a window on any but the selected frame.
18145         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
18146         (display-buffer-select-window): Remove function.
18147         (display-buffer-in-window): When a window on another frame gets
18148         reused, do not select it any more but just raise its frame if
18149         necessary (Bug#8851) and (Bug#8856).
18150         (display-buffer-normalize-options): Handle pop-up-frames related
18151         options more faithfully.
18152         (pop-to-buffer): Don't rely on `display-buffer' selecting the
18153         window if it is on another frame.
18154         (display-buffer-alist, display-buffer-default-specifiers):
18155         Don't make new frame unsplittable by default.
18156         (display-buffer-normalize-argument): Fix doc-string typo and use
18157         'same-frame-other-window instead of 'other-window when associating
18158         with display-buffer-macro-specifiers.
18160 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
18162         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
18163         New functions.
18164         (5x5-mode-map, 5x5-mode-menu): Bind them.
18165         (5x5-draw-grid): Tweak the solver's rendering.
18167 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18169         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
18170         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
18172 2011-06-21  Drew Adams  <drew.adams@oracle.com>
18174         * menu-bar.el: Use function variable instead of switch-to-buffer.
18175         (menu-bar-select-buffer-function): New variable.
18176         (menu-bar-update-buffers): Use it (bug#8876).
18178 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18180         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
18181         variable's status.
18183 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
18185         * x-dnd.el (x-dnd-version-from-flags)
18186         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
18187         and long as number (Bug#8899).
18188         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
18190 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18192         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
18193         (completion-try-completion, completion-all-completions): Compute the
18194         metadata argument if it's missing; make it optional (bug#8795).
18196         * wid-edit.el: Use lex-bind and move towards completion-at-point.
18197         (widget-complete): Use new :completion-function property.
18198         (widget-completions-at-point): New function.
18199         (default): Use :completion-function instead of :complete.
18200         (widget-default-completions): Rename from widget-default-complete;
18201         Rewrite.
18202         (widget-string-complete, widget-file-complete, widget-color-complete):
18203         Remove functions.
18204         (file, symbol, function, variable, coding-system, color):
18205         * international/mule-cmds.el (default-input-method, charset)
18206         (language-info-custom-alist):
18207         * cus-edit.el (face): Use new property :completions.
18209         * progmodes/pascal.el (pascal-completions-at-point): New function.
18210         (pascal-mode): Use it.
18211         (pascal-mode-map): Use completion-at-point.
18212         (pascal-toggle-completions): Make obsolete.
18213         (pascal-complete-word, pascal-show-completions):
18214         * progmodes/octave-mod.el (octave-complete-symbol):
18215         Redefine as obsolete alias.
18216         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
18217         Signal absence of completion info for old Octave,
18218         (inferior-octave-complete): Redefine as obsolete alias.
18219         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
18220         (meta-completions-at-point): Rename from meta-complete-symbol and
18221         adapt it for use on completion-at-point-functions.
18222         (meta-common-mode): Use it.
18223         (meta-looking-at-backward, meta-match-buffer): Remove.
18224         (meta-complete-symbol): Redefine as obsolete alias.
18225         (meta-common-mode-map): Use completion-at-point.
18226         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
18227         (makefile-mode-map): Use completion-at-point.
18228         (makefile-completions-at-point): Rename from makefile-complete and
18229         adapt it for use on completion-at-point-functions.
18230         (makefile-mode): Use it.
18231         (makefile-complete): Redefine as obsolete alias.
18233 2011-06-20  Deniz Dogan  <deniz@dogan.se>
18235         * net/rcirc.el: Delete trailing whitespaces once and for all.
18237 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
18239         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
18241 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
18243         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
18245         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
18247 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
18249         * window.el (display-buffer-other-window-means-other-frame):
18250         Call display-buffer-normalize-alist.
18251         (display-buffer-normalize-specifiers-1): Rename to
18252         display-buffer-normalize-argument.  New argument other-frame.
18253         Rewrite.
18254         (display-buffer-normalize-specifiers-2): Rename to
18255         display-buffer-normalize-options.
18256         (display-buffer-normalize-alist-1): New function.
18257         (display-buffer-normalize-specifiers-3): Rename to
18258         display-buffer-normalize-alist.
18259         Call display-buffer-normalize-alist-1.
18260         (display-buffer-normalize-options-inhibit): New variable.
18261         (display-buffer-normalize-specifiers): Rewrite calling
18262         display-buffer-normalize-alist,
18263         display-buffer-normalize-argument, and
18264         display-buffer-normalize-options.  Don't call the latter if
18265         display-buffer-normalize-options-inhibit is non-nil.
18266         (frame-auto-delete): New option.
18267         (window-deletable-p): Use frame-auto-delete.
18268         (window-list-no-nils, window-state-ignored-parameters)
18269         (window-state-get-1, window-state-get, window-state-put-list)
18270         (window-state-put-1, window-state-put-2, window-state-put):
18271         New functions.
18272         (display-buffer-normalize-options): Move special-display-p group
18273         after pop-up-frame group (Bug#8851) and (Bug#8856).
18275 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
18277         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
18278         groups (Bug#8776).
18279         (rx-submatch-n): New function.
18280         (rx): Document it.
18282         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
18283         (Bug#8768).
18285         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
18287         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
18289         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
18290         anytime existing face settings are present (Bug#8889).
18292         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
18293         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
18294         Remove unused argument.
18296 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
18298         * window.el (display-buffer-default-specifiers):
18299         Remove pop-up-frame.  Add pop-up-window-min-height,
18300         pop-up-window-min-width, and another reuse-window specifier
18301         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
18302         (display-buffer-normalize-specifiers-2):
18303         Handle split-height-threshold and split-width-threshold also when
18304         pop-up-windows is unset.  Add a reuse-window specifier for the
18305         case popping up a new window fails.
18306         (special-display-popup-frame): Remove double quoting.
18307         (display-buffer-normalize-specifiers-1): Fix thinko.
18309 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18311         * shell.el (shell-completion-vars): Set pcomplete-termination-string
18312         according to comint-completion-addsuffix.
18314         * pcomplete.el: Convert to lexical binding and fix bug#8819.
18315         (pcomplete-suffix-list): Mark as obsolete.
18316         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
18317         pcomplete-seen in the closure.
18318         (pcomplete-comint-setup): Setup completion-at-point as well.
18319         (pcomplete--entries): New function.
18320         (pcomplete--env-regexp): New var.
18321         (pcomplete-entries): Rewrite to work with partial-completion and
18322         without relying on pcomplete-suffix-list.
18323         (pcomplete-pare-list): Remove, unused.
18325 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
18327         * window.el (display-buffer-alist): Set pop-up-window-min-height
18328         and pop-up-window-min-width in default value.  Reported by
18329         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
18330         other-window-means-other-frame.
18331         (display-buffer-macro-specifiers): Comment out entry for
18332         other-window specifier.
18333         (display-buffer-other-window-means-other-frame): New function.
18334         (display-buffer-normalize-specifiers-1): New arguments
18335         buffer-name and label.  Treat other-window case specially.
18336         (display-buffer-normalize-specifiers-2): Treat other-window case
18337         specially.
18338         (display-buffer-normalize-specifiers-3): New function.
18339         (display-buffer-normalize-specifiers):
18340         Call display-buffer-normalize-specifiers-3.
18342 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
18344         * window.el (same-window-p): Fix two typos introduced when
18345         adding with-no-warnings.
18346         (display-buffer-normalize-specifiers-1): Don't check
18347         pop-up-frames for 'unset initialization.
18348         (display-buffer-normalize-specifiers-2): Major rewrite using
18349         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
18350         (pop-up-frames, display-buffer-reuse-frames)
18351         (display-buffer-mark-dedicated): Don't initialize to 'unset.
18352         Suggested by David Engster <deng@randomsample.de>.
18353         (even-window-heights): Initialize to 'unset.
18354         (display-buffer-alist-set): Handle new 'unset initializations.
18355         (display-buffer-macro-specifiers): Don't pop up a new frame in the
18356         other window case.
18358 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
18360         * window.el (display-buffer-normalize-specifiers-1):
18361         Respect current value of pop-up-frames for most reasonable values of
18362         second argument of display-buffer (Bug#8865).
18363         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
18364         (switch-to-buffer-other-window-same-frame)
18365         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
18366         Adams (Bug#8875).
18367         (display-buffer): Don't check noninteractive when calling
18368         display-buffer-pop-up-frame.
18369         (display-buffer-pop-up-frame): Never pop up a frame in
18370         noninteractive mode (Bug#8857).
18371         (enlarge-window, shrink-window): Don't report an error when the
18372         window can't be resized as requested (Bug#8862).
18374 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18376         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
18378         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
18380         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
18382 2011-06-15  Alan Mackenzie  <acm@muc.de>
18384         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
18385         for declarators, disable knr checking to speed up for normal files.
18386         2: Refactor, replacing a sequence of nested if forms by a cond form.
18388 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18390         * net/network-stream.el (open-network-stream): Add the keyword
18391         :always-query-capabilities for the case where you want to force a
18392         `plain' network connection, but the protocol still requires the
18393         capabilitiy command (i.e., SMTP and EHLO).
18395         * subr.el (process-live-p): Rename from `process-alive-p' for
18396         consistency with other `-live-p' functions.
18398 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18400         * window.el (same-window-buffer-names, same-window-regexps)
18401         (special-display-frame-alist, special-display-popup-frame)
18402         (special-display-function, special-display-buffer-names)
18403         (special-display-regexps, pop-up-frame-alist)
18404         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
18405         (pop-up-windows, split-window-preferred-function)
18406         (split-height-threshold, split-width-threshold, even-window-heights)
18407         (display-buffer-mark-dedicated): Don't encourage the use of
18408         display-buffer-alist from Elisp code.
18410 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
18412         * progmodes/python.el (python-mode): Derive from prog-mode.
18413         * progmodes/ps-mode.el (ps-mode):
18414         * progmodes/mixal-mode.el (mixal-mode):
18415         * progmodes/cfengine.el (cfengine-mode):
18416         * progmodes/ld-script.el (ld-script-mode): Likewise.
18418 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
18420         * window.el (display-buffer-alist): Trim default value to avoid
18421         popping up a new frame (Bug#8857) or reusing an arbitrary window
18422         on another frame.
18423         (display-buffer): Do not fall back on popping up a new frame in
18424         batch mode (Bug#8857).
18426 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
18428         * cus-theme.el (describe-theme-1): Use custom-theme-p.
18429         (custom-theme-summary): New function.
18430         (customize-themes): Use it.
18432 2011-06-13  Glenn Morris  <rgm@gnu.org>
18434         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
18436 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
18438         * help.el (help-window): Remove variable.
18439         (help-window-point-marker, temp-buffer-max-height)
18440         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
18441         (help-print-return-message): Don't set help-window.
18442         (resize-temp-buffer-window): Rewrite cod eand doc-string.
18443         (help-window-setup-finish): Remove.
18444         (help-window-display-message, help-window-setup)
18445         (with-help-window): Major rewrite based on new
18446         display-buffer-window variable.
18448         * help-mode.el (help-mode-finish): Remove help-window related
18449         code.
18451         * view.el (view-exits-all-viewing-windows): Remove reference to
18452         view-return-to-alist in doc-string.
18453         (view-return-to-alist): Make obsolete.
18454         (view-buffer): Call pop-to-buffer-same-window and remove
18455         undo-window code.
18456         (view-buffer-other-window): Call pop-to-buffer-other-window and
18457         simplify code.  Ignore second argument.
18458         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
18459         simplify code.  Ignore second argument.
18460         (view-return-to-alist-update): Make obsolete.
18461         (view-mode-enter): Rename second argument to QUIT-RESTORE.
18462         Rewrite using quit-restore window parameters.
18463         (view-mode-exit): Rename second argument to EXIT-ONLY.
18464         Rewrite using quit-restore-window.
18465         (View-exit, View-exit-and-edit, View-leave, View-quit)
18466         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
18467         appropriate arguments.
18468         (view-end-message): Use quit-restore window parameter.
18470         * window.el (display-buffer-function): Rewrite doc-string.
18471         (display-buffer-window, display-buffer-alist): New variables.
18472         (display-buffer-split-specifiers)
18473         (display-buffer-side-specifiers)
18474         (display-buffer-macro-specifiers): New constants.
18475         (display-buffer-even-window-sizes, display-buffer-set-height)
18476         (display-buffer-set-width, display-buffer-select-window)
18477         (display-buffer-in-window, display-buffer-reuse-window)
18478         (display-buffer-split-window-1, display-buffer-split-window)
18479         (display-buffer-split-atom-window, display-buffer-pop-up-window)
18480         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
18481         (display-buffer-in-side-window, normalize-buffer-to-display)
18482         (display-buffer-normalize-specifiers-1)
18483         (display-buffer-normalize-specifiers-2)
18484         (display-buffer-normalize-specifiers, display-buffer-frame):
18485         New functions.
18486         (display-buffer): Major rewrite.
18487         (display-buffer-other-window, display-buffer-other-frame)
18488         (pop-to-buffer, switch-to-buffer-other-window)
18489         (switch-to-buffer-other-frame): Rewrite.
18490         (display-buffer-same-window, display-buffer-same-frame)
18491         (display-buffer-same-frame-other-window)
18492         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
18493         (pop-to-buffer-other-window)
18494         (pop-to-buffer-same-frame-other-window)
18495         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
18496         (switch-to-buffer-other-window-same-frame): New functions.
18497         (same-window-p, special-display-p): Rewrite disabling warnings.
18498         Make obsolete.
18499         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
18500         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
18501         Make obsolete
18502         (same-window-buffer-names, same-window-regexps)
18503         (special-display-frame-alist, special-display-popup-frame)
18504         (special-display-function, special-display-buffer-names)
18505         (special-display-regexps, pop-up-frame-alist)
18506         (pop-up-frame-function, split-window-preferred-function)
18507         (split-height-threshold, split-width-threshold)
18508         (even-window-heights): Make obsolete.
18510 2011-06-12  Glenn Morris  <rgm@gnu.org>
18512         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
18513         Misc simplifications.
18515 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
18517         * window.el (window-safely-shrinkable-p): Restore function which
18518         was inadvertently removed in change from 2011-06-11.  Declare as
18519         obsolete.
18521         * calendar/calendar.el (calendar-generate-window):
18522         Use window-iso-combined-p instead of combination of one-window-p and
18523         window-safely-shrinkable-p.
18525 2011-06-12  Glenn Morris  <rgm@gnu.org>
18527         * progmodes/fortran.el (fortran-mode-syntax-table):
18528         * progmodes/f90.el (f90-mode-syntax-table):
18529         Set % to punctuation.  (Bug#8820)
18530         (f90-find-tag-default): Remove, no longer needed.
18532 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
18534         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
18536 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
18538         * image.el (image-animated-p): Return animation delay in seconds.
18539         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
18540         (image-animate-timeout): Remove DELAY argument.  Don't assume
18541         every subimage has the same delay; get it from image-animated-p.
18542         (image-animate): Caller changed.
18544 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
18546         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
18547         to ignored backtrace functions.
18549 2011-06-11  Glenn Morris  <rgm@gnu.org>
18551         * calendar/appt.el (appt-disp-window-function): Doc fix.
18552         (appt-check): Handle overlapping appointments.  (Bug#8337)
18554 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
18556         * window.el (window-tree-1, window-tree): New functions, moving
18557         the latter to window.el.
18558         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
18559         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
18560         (bw-refresh-edges): Remove.
18561         (balance-windows-1, balance-windows-2): New functions.
18562         (balance-windows): Rewrite in terms of window tree functions,
18563         balance-windows-1 and balance-windows-2.
18564         (bw-adjust-window): Remove.
18565         (balance-windows-area-adjust): New function with functionality of
18566         bw-adjust-window but using resize-window.
18567         (set-window-text-height): Rewrite doc-string.
18568         Use normalize-live-window and resize-window.
18569         (enlarge-window-horizontally, shrink-window-horizontally):
18570         Rename argument to DELTA.
18571         (window-buffer-height): New function.
18572         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
18573         Rewrite using new window resize routines.
18574         (kill-buffer-and-window, mouse-autoselect-window-select):
18575         Use ignore-errors instead of condition-case.
18576         (quit-window): Call delete-frame instead of delete-windows-on
18577         for the only buffer on frame.
18579 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
18581         * loadup.el (top-level): Load window before files for the sake
18582         of replace-buffer-in-windows.
18584         * files.el (read-buffer-to-switch)
18585         (switch-to-buffer-other-window)
18586         (switch-to-buffer-other-frame, display-buffer-other-frame):
18587         Move to window.el.
18589         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
18590         (previous-buffer): Move to window.el.
18592         * bindings.el (unbury-buffer): Move to window.el.
18594         * window.el (delete-other-windows-vertically): Move after
18595         definition of delete-other-windows.
18596         (other-window, delete-windows-on, replace-buffer-in-windows):
18597         Move here from window.c.
18598         (record-window-buffer, unrecord-window-buffer)
18599         (set-window-buffer-start-and-point, switch-to-prev-buffer)
18600         (switch-to-next-buffer): New functions.
18601         (get-next-valid-buffer, last-buffer, next-buffer): Move here
18602         from simple.el.  Call switch-to-next-buffer.
18603         (previous-buffer): Move here from simple.el.
18604         Call switch-to-prev-buffer.
18605         (bury-buffer): Move here from buffer.c.  Switch to previous
18606         buffer when window cannot be deleted.
18607         (unbury-buffer): Move here from bindings.el.
18608         (ctl-x-map): Move binding for other-window from window.c to
18609         here.
18610         (read-buffer-to-switch, switch-to-buffer-other-window)
18611         (switch-to-buffer-other-frame): Move here from files.el.
18612         (normalize-buffer-to-switch-to): New functions.
18613         (switch-to-buffer): Move here from buffer.c.
18614         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
18616 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
18618         * window.el (window-min-height, window-min-width): Move here
18619         from window.c.  Add defcustoms and rewrite doc-strings.
18620         (resize-mini-window, resize-window): New functions.
18621         (adjust-window-trailing-edge, enlarge-window, shrink-window):
18622         Move here from window.c.
18623         (maximize-window, minimize-window): New functions.
18624         (delete-window, delete-other-windows, split-window): Move here
18625         from window.c.
18626         (window-split-min-size): New function.
18627         (split-window-keep-point): Mention split-window-above-each-other
18628         instead of split-window-vertically.
18629         (split-window-above-each-other, split-window-vertically):
18630         Rename split-window-vertically to split-window-above-each-other
18631         and provide defalias for old definition.
18632         (split-window-side-by-side, split-window-horizontally):
18633         Rename split-window-horizontally to split-window-side-by-side
18634         and provide defalias for the old definition.
18635         (ctl-x-map): Move bindings for delete-window,
18636         delete-other-windows and enlarge-window here from window.c.
18637         Replace bindings for split-window-vertically and
18638         split-window-horizontally by bindings for
18639         split-window-above-each-other and split-window-side-by-side.
18641         * cus-start.el (all): Remove entries for window-min-height and
18642         window-min-width.  Add entries for window-splits and
18643         window-nest.
18645 2011-06-09  Glenn Morris  <rgm@gnu.org>
18647         * calendar/appt.el (appt-mode-line): New function.
18648         (appt-check, appt-disp-window): Use it.
18650         * files.el (hack-one-local-variable-eval-safep):
18651         Allow minor-modes with explicit +/-1 arguments.
18653 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
18655         * term/xterm.el (xterm): Add defgroup.
18656         (xterm-extra-capabilities): Add defcustom to supply known xterm
18657         capabilities, skip querying them, or query them (default).
18658         (terminal-init-xterm): Use it.
18659         (terminal-init-xterm-modify-other-keys): New function to set up
18660         modifyOtherKeys support to simplify `terminal-init-xterm'.
18662 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
18664         * window.el (resize-window-reset, resize-window-reset-1)
18665         (resize-subwindows-skip-p, resize-subwindows-normal)
18666         (resize-subwindows, resize-other-windows, resize-this-window)
18667         (resize-root-window, resize-root-window-vertically)
18668         (window-deletable-p, window-or-subwindow-p)
18669         (frame-root-window-p): New functions.
18671 2011-06-09  Glenn Morris  <rgm@gnu.org>
18673         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
18674         (ange-ftp-get-files): Use it.
18676 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
18678         * mail/sendmail.el (mail-recover-1, mail-recover):
18679         * files.el (recover-file, recover-session):
18680         Handle dired-listing-switches not being just a single short option.
18682 2011-06-09  Glenn Morris  <rgm@gnu.org>
18684         * calendar/appt.el (appt-display-message, appt-disp-window):
18685         Handle lists of appointments.
18687 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
18689         * window.el (one-window-p): Move down in code.
18690         Rewrite doc-string.
18691         (window-current-scroll-bars): Rewrite doc-string.
18692         Normalize live window argument.
18693         (walk-windows, get-window-with-predicate, count-windows):
18694         Rewrite doc-string.  Use window-list-1.
18695         (window-in-direction-2, window-in-direction, get-mru-window):
18696         New functions.
18698 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
18700         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
18701         Doc fix (Bug#8713).
18703 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
18705         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
18707 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
18709         * loadhist.el (unload-feature-special-hooks):
18710         Add `comint-output-filter-functions'.
18712 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
18714         * calendar/appt.el (appt-check): Move some initializations into the let.
18716 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
18718         * window.el (window-height): Defalias to window-total-height.
18719         (window-width): Defalias to window-body-width.
18721 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
18723         * image-mode.el (image-toggle-animation): New command.
18724         (image-mode-map): Bind it to RET.
18725         (image-mode): Update message.
18726         (image-toggle-display-image): Avoid a spurious cache flush.
18727         (image-transform-rotation): Doc fix.
18728         (image-transform-properties): Return quickly in the normal case.
18729         (image-animate-loop): Rename from image-animate-max-time.
18731         * image.el (image-animate-max-time): Move to image-mode.el.
18732         (create-animated-image): Remove unnecessary function.
18733         (image-animate): Rename from image-animate-start.  New arg.
18734         (image-animate-stop): Remove; just use image-animate-timer.
18735         (image-animate-timer): Use car-safe.
18736         (image-animate-timeout): Rename argument.
18738 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
18740         * window.el (get-lru-window, get-largest-window): Move here from
18741         window.c.  Rename first argument to ALL-FRAMES.
18742         Rephrase doc-strings.
18743         (get-buffer-window-list): Rewrite using window-list-1.
18744         Rephrase doc-string.
18745         (window-safe-min-height, window-safe-min-width): New constants.
18746         (window-size-ignore, window-min-size, window-min-size-1)
18747         (window-sizable, window-sizable-p, window-size-fixed-1)
18748         (window-size-fixed-p, window-min-delta-1, window-min-delta)
18749         (window-max-delta-1, window-max-delta, window-resizable)
18750         (window-resizable-p, window-total-height, window-total-width)
18751         (window-body-width): New functions.
18752         (window-full-height-p, window-full-width-p): Rewrite using
18753         window-total-size.
18754         (window-body-height): Rewrite using window-body-size.
18756 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
18758         * window.el (window-right, window-left, window-child)
18759         (window-child-count, window-last-child, window-any-p)
18760         (normalize-live-buffer, normalize-live-frame)
18761         (normalize-any-window, normalize-live-window)
18762         (window-iso-combination-p, window-iso-combined-p)
18763         (window-iso-combinations)
18764         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
18765         (windows-with-parameter, window-with-parameter)
18766         (window-atom-root, make-window-atom, window-atom-check-1)
18767         (window-atom-check, window-side-check, window-check):
18768         New functions.
18769         (ignore-window-parameters, window-sides, window-sides-vertical)
18770         (window-sides-slots): New variables.
18771         (window-size-fixed): Move down in code.  Minor doc-string fix.
18773 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
18775         * comint.el (comint-dynamic-complete-as-filename)
18776         (comint-dynamic-complete-filename): Correctly call
18777         completion-in-region.
18779 2011-06-05  Deniz Dogan  <deniz@dogan.se>
18781         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
18782         in last change.
18784 2011-06-05  Deniz Dogan  <deniz@dogan.se>
18786         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
18787         (rcirc): Use it to prompt for encryption.
18789 2011-06-05  Roland Winkler  <winkler@gnu.org>
18791         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
18792         (bibtex-search-entries): New command bound to C-c C-a.
18793         (bibtex-display-entries): New function.
18795 2011-06-05  Roland Winkler  <winkler@gnu.org>
18797         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
18798         (bibtex-insert-kill): After yanking insert newline if necessary.
18799         (bibtex-initialize): Call bibtex-string-files-init only once.
18800         (bibtex-mode): Do not call easy-menu-add.
18801         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
18802         (bibtex-yank): Set arg properly if nil.
18804 2011-06-05  Roland Winkler  <winkler@gnu.org>
18806         * textmodes/bibtex.el (bibtex-search-entry-globally):
18807         New variable.
18808         (bibtex-search-entry): Use it.
18810 2011-06-05  Roland Winkler  <winkler@gnu.org>
18812         * textmodes/bibtex.el (bibtex-entry-format): New option
18813         sort-fields.
18814         (bibtex-format-entry, bibtex-reformat): Honor this option.
18815         (bibtex-parse-entry): Return fields in proper order.
18817 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
18819         * doc-view.el (doc-view-remove-if): Move computation of result out
18820         of `dolist' to silence misleading lexical-binding warning.
18822 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
18824         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
18825         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
18827 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
18829         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
18830         "SunOS 5.10".
18832 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
18834         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
18835         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
18836         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
18837         (tramp-parse-putty):
18838         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
18839         (tramp-completion-function-alist-ssh)
18840         (tramp-completion-function-alist-telnet)
18841         (tramp-completion-function-alist-su)
18842         (tramp-completion-function-alist-putty): Set `tramp-autoload'
18843         cookie.
18845         * net/tramp-ftp.el:
18846         * net/tramp-sh.el:
18847         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
18848         load "tramp.el" `tramp-set-completion-function'.
18850 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18852         * shell.el: Require and use pcomplete.
18853         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
18854         (shell-completion-vars): Set pcomplete-default-completion-function.
18856 2011-06-04  Deniz Dogan  <deniz@dogan.se>
18858         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
18859         `memq' (Bug#8799).
18861 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18863         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
18865 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
18867         * bs.el (bs--mark-unmark, bs--nth-wrapper):
18868         * mpc.el (mpc-select-extend, mpc-songpointer-context):
18869         * vc/log-view.el (log-view-beginning-of-defun):
18870         * vc/smerge-mode.el (smerge-apply-resolution-patch)
18871         (smerge-refine-forward, smerge-refine-chopup-region):
18872         Silence warning for unused `dotimes' counter variables.
18874 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
18876         * net/tramp.el (tramp-with-progress-reporter): Rename from
18877         with-progress-reporter.  Use `declare'.
18878         * net/tramp-smb.el:
18879         * net/tramp-sh.el:
18880         * net/tramp-gvfs.el: Update all uses.
18882 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
18884         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
18885         buffer isn't killed before making it current.
18887 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18889         Silence various byte-compiler warnings.
18890         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
18891         `access-type' and new obsolescence format.
18892         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
18893         new format.
18894         (byte-compile-check-variable): New `access-type' argument.
18895         Only warn if the access-type is obsolete.
18896         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
18897         (byte-compile-variable-set): Adjust callers.
18898         * help-fns.el (describe-variable): Adjust to new obsolescence format.
18899         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
18900         setting it as obsolete.
18901         * simple.el (minibuffer-completing-symbol):
18902         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
18903         access as obsolete.
18904         * minibuffer.el (minibuffer-completing-file-name): Don't make it
18905         obsolete yet.
18906         * international/quail.el (quail-mouse-choose-completion): Remove unused
18907         code referring to obsolete var.
18908         (quail-choose-completion-string): Remove.
18909         * server.el (server-clients-with, server-kill-buffer-query-function)
18910         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
18911         * proced.el (proced-send-signal):
18912         * emacs-lisp/lisp.el (lisp-complete-symbol):
18913         Replace completion-annotate-function with completion-extra-properties.
18915 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18917         * simple.el (goto-line): Use read-number.
18918         (overriding-map-is-bound): Remove.
18919         (saved-overriding-map): Change default.
18920         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
18921         Take the map as argument.
18922         (universal-argument, negative-argument, digit-argument): Use it.
18923         (restore-overriding-map): Adjust.
18924         (do-auto-fill): Use fill-forward-paragraph.
18925         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
18927         * minibuffer.el (minibuffer-inactive-mode-map): New var.
18928         (minibuffer-inactive-mode): New major mode.
18929         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
18930         the *Messages* buffer" hack.
18931         (mouse-popup-menubar): Don't burp if the event is a normal key.
18933         Miscellaneous tweaks.
18934         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
18935         lexical scoping as in subr.el's dolist and dotimes.
18936         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
18937         Silence compiler warning.
18938         * thingatpt.el (forward-whitespace): Trivial coding style fix.
18939         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
18940         * international/ccl.el (ccl-compile): Trivial simplification.
18941         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
18942         * emacs-lisp/testcover.el (testcover-end): Remove spurious
18943         `printflag' argument.
18944         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
18945         Purecopy the whole obsolescence data.
18947 2011-06-01  Leo Liu  <sdl.web@gmail.com>
18949         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
18950         improve doc-string as suggested by Marco Pessotto
18951         <melmothx@gmail.com>.
18952         (rcirc-print): Fix last change.
18954 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18956         * minibuffer.el (complete-with-action): Return nil for the metadata and
18957         boundaries of non-functional tables.
18958         (completion-table-dynamic): Return nil for the metadata.
18959         (completion-table-with-terminator): Add default case, using
18960         complete-with-action.
18961         (completion--metadata): New function.
18962         (completion-all-sorted-completions, minibuffer-completion-help): Use it
18963         to try and avoid pathological performance problems.
18964         (completion--embedded-envvar-table): Return `category' metadata.
18966 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18968         * subr.el (process-alive-p): New tiny convenience function.
18970 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18972         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
18973         content but also its previous major mode.
18975 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
18977         * emacs-lisp/debug.el (debug): Restore the previous content of the
18978         *Backtrace* buffer when we exit with C-M-c.
18980 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18982         * minibuffer.el: Add metadata method to completion tables.
18983         (completion-category-overrides): New defcustom.
18984         (completion-metadata, completion--field-metadata)
18985         (completion-metadata-get, completion--styles)
18986         (completion--cycle-threshold): New functions.
18987         (completion-try-completion, completion-all-completions):
18988         Add `metadata' argument to choose completion-styles.
18989         (completion--do-completion): Use metadata to choose cycling.
18990         (completion-all-sorted-completions): Use metadata for sorting.
18991         Remove :completion-cycle-penalty which is not needed any more.
18992         (completion--try-word-completion): Add `metadata' argument.
18993         (minibuffer-completion-help): Check metadata for annotation function
18994         and sorting.
18995         (completion-file-name-table): Return `category' metadata.
18996         (minibuffer-completing-file-name): Make obsolete.
18997         * simple.el (minibuffer-completing-symbol): Make obsolete.
18998         * icomplete.el (icomplete-completions): Pass new `metadata' param to
18999         completion-try-completion.
19001 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19003         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
19005 2011-05-30  Leo Liu  <sdl.web@gmail.com>
19007         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
19008         (rcirc-print): Decode all incoming messages (bug#8744).
19009         (rcirc-decode-coding-system): Allow value nil for automatic coding
19010         system detection.
19012 2011-06-01  Glenn Morris  <rgm@gnu.org>
19014         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
19016 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19018         * image.el (image-animate-max-time): Allow nil and t values.
19019         Default to nil.
19020         (create-animated-image): Doc fix.
19021         (image-animate-start): Remove second arg; just use
19022         image-animate-max-time.
19023         (image-animate-timeout): Doc fix.  Args changed.
19025         * image-mode.el (image-toggle-display-image): Ensure that the
19026         image spec passed to the animate timer is the same object as in
19027         the buffer's display property (Bug#6981).
19028         (image-transform-properties): Doc fix.
19030         * image.el (image-animate-max-time): Default to nil.
19032 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
19034         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
19035         entire buffer list (Bug#8184).
19037 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19039         * image.el (imagemagick-types-inhibit)
19040         (imagemagick-register-types): Doc fix.
19042 2011-05-29  Deniz Dogan  <deniz@dogan.se>
19044         * net/rcirc.el (rcirc): Use the user's stored encryption method by
19045         default.
19047 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
19049         * select.el: Don't perform clipboard-manager saving in hooks;
19050         leave the hooks empty.
19052 2011-05-28  Leo Liu  <sdl.web@gmail.com>
19054         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
19055         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
19056         (occur-edit-mode): New major mode (Bug#8463).
19057         (occur-after-change-function): New function.
19058         (occur-engine): Give Occur tags a read-only property.
19060 2011-05-28  Kevin Ryde  <user42@zip.com.au>
19062         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
19064 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19066         * bindings.el (help-echo): Make the initial non-indicator dash
19067         empty on graphical terminals (Bug#7295).
19069         * files.el (auto-mode-alist): Move config rule after the
19070         in-stripping one (Bug#8547).
19072         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
19074         * startup.el (normal-splash-screen): Remove gratuitous mode-line
19075         setting (Bug#8740).
19077 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
19079         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
19080         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
19081         (Bug#8539).
19083 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19085         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
19087 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
19089         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
19090         (hs-hide-block-at-point, hs-find-block-beginning)
19091         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
19092         (Bug#8279).
19094 2011-05-28  Glenn Morris  <rgm@gnu.org>
19096         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
19098 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
19100         * help-fns.el (describe-function-1): If the function is a derived
19101         major mode, print the parent mode.
19103         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
19104         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
19106 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19108         * minibuffer.el (completion--capf-wrapper): Check applicability before
19109         returning non-nil for non-exclusive completion data.
19110         * progmodes/etags.el (tags-completion-at-point-function):
19111         * info-look.el (info-lookup-completions-at-point): Mark as
19112         non-exclusive.
19113         (info-complete): Adjust accordingly.
19115         * info-look.el: Convert to lexical-binding and completion-at-point.
19116         (info-lookup-completions-at-point): New function.
19117         (info-complete): Use it and completion-in-region.
19119 2011-05-28  Drew Adams  <drew.adams@oracle.com>
19121         * isearch.el: Let M-e start with point at the first mismatched char.
19122         (isearch-fail-pos): New function.
19123         (isearch-edit-string): Use it.
19125 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
19127         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19129 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
19131         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
19132         traversal functions for avl-trees.
19133         (avl-tree--stack): New struct.
19134         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
19135         (avl-tree-enter): Add optional `updatefun' arg.
19136         (avl-tree--do-enter): Add optional `updatefun' arg.
19137         Change return value.
19138         (avl-tree-delete): Add optional `test' and `nilflag' args.
19139         (avl-tree--do-delete): Add `test' and `nilflag' args.
19140         Change return value.
19141         (avl-tree-member): Add optional `nilflag'
19142         (avl-tree-member-p): New function.
19143         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
19144         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
19145         (avl-tree-stack-empty-p): New functions.
19147         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
19148         avl-tree--del-balance1 and make it work both ways.
19149         (avl-tree--del-balance2): Remove.
19150         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
19151         make it work both ways.
19152         (avl-tree--enter-balance2): Remove.
19153         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
19154         New macros.
19155         (avl-tree--mapc, avl-tree-map): Add direction argument.
19157 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
19159         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
19161 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
19163         * select.el: Support clipboard managers with built-in function
19164         x-clipboard-manager-save, via delete-frame-functions and
19165         kill-emacs-hook.
19166         (xselect-convert-to-targets): Add MULTIPLE target to list.
19167         (xselect-convert-to-save-targets): New function.
19169 2011-05-27  Kenichi Handa  <handa@m17n.org>
19171         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
19172         let-binding rfc2047-encode-encoded-words to nil.
19174 2011-05-27  Glenn Morris  <rgm@gnu.org>
19176         * mail/emacsbug.el: Don't require url-util.
19178         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
19180         * files.el (set-auto-mode):
19181         Also respect mode: entries at the end of the file.  (Bug#8586)
19183 2011-05-26  Glenn Morris  <rgm@gnu.org>
19185         * files.el (hack-local-variables-prop-line, hack-local-variables):
19186         Downcase mode names, as seems to be traditional.
19187         (hack-local-variables, hack-local-variables-apply): Doc fixes.
19189         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
19190         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
19192 2011-05-25  Julien Danjou  <julien@danjou.info>
19194         * textmodes/rst.el (rst-define-level-faces): Do not define face
19195         symbol if it is already defined.
19197 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
19199         * play/5x5.el (5x5-new-game, 5x5-randomize):
19200         Reset 5x5-solver-output to nil when a new grid is cast.
19201         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
19202         these debugging traces, as defmacro breaks the compiled code.
19204 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
19206         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
19208 2011-05-24  Leo Liu  <sdl.web@gmail.com>
19210         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
19211         (vc-bzr-sha1): Adapt.
19213         * sha1.el: Remove.  Function `sha1' is now builtin.
19215         * bindings.el: Provide sha1 feature.
19217 2011-05-24  Kenichi Handa  <handa@m17n.org>
19219         * mail/sendmail.el: Require `rfc2047'.
19220         (mail-insert-from-field): Do not perform RFC2047 encoding.
19221         (mail-encode-header): New function.
19222         (sendmail-send-it): Set buffer-file-coding-system of the work
19223         buffer to the return value of select-message-coding-system.
19224         Call mail-encode-header.
19226         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
19228 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
19230         * mail/supercite.el (sc-default-cite-frame):
19231         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
19233 2011-05-24  Glenn Morris  <rgm@gnu.org>
19235         * progmodes/python.el (brm-menu): Declare.
19237         * emulation/viper.el (viper-set-hooks): Declare.
19239         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
19240         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
19241         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
19242         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
19243         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
19244         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
19246 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19248         Add an :exit-function for completion-at-point.
19250         * minibuffer.el (completion--done): New fun.
19251         (completion--do-completion): Use it.  New arg `expect-exact'.
19252         (minibuffer-complete, minibuffer-complete-word): Don't output message,
19253         since completion--do-completion does it for us now.
19254         (minibuffer-force-complete): Use completion--done and
19255         completion--replace.  Handle sole-completion case with more care.
19256         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
19257         (completion-extra-properties): New var.
19258         (completion-annotate-function): Make obsolete.
19259         (minibuffer-completion-help): Adjust accordingly.
19260         Use completion-list-insert-choice-function.
19261         (completion-at-point, completion-help-at-point):
19262         Bind completion-extra-properties.
19263         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
19264         * simple.el (completion-list-insert-choice-function): New var.
19265         (completion-setup-function): Preserve it.
19266         (choose-completion): Pay attention to it, shuffle the code a bit.
19267         (choose-completion-string): New arg `insert-function'.
19269         * textmodes/bibtex.el: Convert to lexical binding.
19270         (bibtex-mode-map): Use completion-at-point.
19271         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
19272         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
19273         (bibtex-complete): Define as obsolete alias.
19274         (bibtex-complete-internal): Remove.
19275         (bibtex-format-entry): Remove unused sub-group in regexp.
19276         * shell.el (shell--command-completion-data)
19277         (shell-environment-variable-completion):
19278         * pcomplete.el (pcomplete-completions-at-point):
19279         * comint.el (comint--complete-file-name-data): Use :exit-function
19280         instead of completion-table-with-terminator so it also works for
19281         choose-completion.
19283 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19285         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
19287         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
19288         (bug#8710).
19290         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
19292 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
19294         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
19295         customization variable and implement: If non-nil, auto-fill will
19296         be inhibited while on topic's header line.
19298 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
19300         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
19301         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
19302         always have a solution in grid size = 5 cases.
19303         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
19304         (5x5-solver-output, 5x5-log-buffer): New vars.
19305         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
19306         Make these variables buffer local to achieve 5x5 multi-session-ness.
19307         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
19308         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
19309         (5x5-solve-suggest): New funs.
19310         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
19311         randomize a grid so that we ensure that there is always a solution.
19312         (5x5-make-random-grid): Allow other movement than flipping.
19314 2011-05-23  Kevin Ryde  <user42@zip.com.au>
19316         * emacs-lisp/advice.el (ad-read-advised-function):
19317         Use `function-called-at-point' as the default, if it has
19318         advice and passes PREDICATE.
19320 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
19322         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
19323         byte-compile-lambda if it's actually a lambda.
19325         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
19326         Fix function quoting.  Use backquote better.
19328 2011-05-22  Yuanle Song  <sylecn@gmail.com>
19330         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
19331         matching (Bug#8516).
19333 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
19335         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
19336         different face (Bug#8178).
19338 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
19340         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
19341         defface (Bug#8144).
19343 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
19345         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
19346         funcall as well (bug#8712).  Warn when performing those conversions.
19347         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
19349         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
19351 2011-05-22  Glenn Morris  <rgm@gnu.org>
19353         * files.el (hack-local-variables-prop-line): Small simplifications.
19354         (hack-local-variables, hack-local-variables-prop-line):
19355         If MODE-ONLY, return the mode, rather than just `t'.
19357 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19359         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
19361 2011-05-21  Glenn Morris  <rgm@gnu.org>
19363         * files.el (hack-local-variables-prop-line, hack-local-variables):
19364         If only interested in the mode, don't bother doing the other stuff.
19366         * image-mode.el (image-after-revert-hook):
19367         Redraw all frames on which the image is visible.  (Bug#8567)
19369         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
19371         * wid-edit.el (widget-checklist-match-inline):
19372         Fix 2011-04-19 change.  (Bug#8649)
19374 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19376         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
19377         Also allow singlespace after single-letter capitals followed by a dot.
19379         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
19380         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
19382 2011-05-20  Nix  <nix@esperi.org.uk>
19384         * files.el (basic-save-buffer-2):
19385         Fix handling of break-hardlink-on-save with non-existent files.
19387 2011-05-19  Deniz Dogan  <deniz@dogan.se>
19389         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
19390         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
19392 2011-05-19  Glenn Morris  <rgm@gnu.org>
19394         * progmodes/f90.el (f90-type-def-re):
19395         Handle "type, bind(c)".  (Bug#8691)
19397         * emacs-lisp/autoload.el (batch-update-autoloads):
19398         Set autoload-excludes by parsing loadup.el rather than Makefiles.
19400 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
19402         * net/tramp.el (tramp-process-actions): Set "first-password-request"
19403         property for the correct connection in case of multihops.
19405 2011-05-18  Glenn Morris  <rgm@gnu.org>
19407         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
19408         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
19410         Rationalize calendar handling of day and month abbrev-arrays.
19411         * calendar/calendar.el (calendar-customized-p): New function.
19412         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
19413         (calendar-day-name-array, calendar-month-name-array): Doc fix.
19414         Add :set function.
19415         (calendar-abbrev-length, calendar-day-abbrev-array)
19416         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
19417         (calendar-day-abbrev-array, calendar-month-abbrev-array):
19418         Elements may no longer be nil.
19419         (calendar-day-name, calendar-month-name):
19420         Update for changed nature of abbrev arrays.
19421         * calendar/diary-lib.el (diary-name-pattern):
19422         Update for changed nature of abbrev arrays.
19423         (diary-mark-entries-1): Update calendar-make-alist calls.
19424         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
19425         * calendar/cal-html.el (cal-html-day-abbrev-array):
19426         Simply inherit from calendar-day-abbrev-array.
19428 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
19430         * progmodes/grep.el (grep-mode): Disable default
19431         compilation-directory-matcher setting (bug#8684).
19433 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
19435         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
19436         instead of "head" and "tail".  There were problems with SunOS 5.9,
19437         and it performs better.
19439 2011-05-17  Glenn Morris  <rgm@gnu.org>
19441         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
19443         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
19444         Replace obsolete function.
19446         * shell.el (pcomplete-parse-arguments-function): Declare.
19448         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
19449         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
19450         (appt-check): Doc fixes.
19451         (appt-disp-window-function, appt-delete-window-function):
19452         Remove needless special case in custom :type.
19453         (appt-display-count): Default to 0, not nil.
19454         (appt-check): Reset appt-display-count to 0, not nil.
19456 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
19458         * progmodes/python.el (python-font-lock-keywords):
19459         Add the Python 3.X keyword "nonlocal" (bug#8639).
19461 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19463         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
19465 2011-05-16  Kevin Ryde  <user42@zip.com.au>
19467         * info-look.el (makefile-automake-mode): New setups, looking in
19468         automake manual, then makefile-mode.
19469         (makefile-mode): Remove automake manual, have it just in
19470         makefile-automake-mode since there's various things different or
19471         not relevant to plain make.
19472         (makefile-mode): Remove "other-modes" non-existent automake-mode,
19473         believe a hypothetical automake-mode would go to makefile-mode,
19474         not the other way around.
19476 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
19478         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
19479         hunk-end tags (Bug#8672).
19481         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
19482         vc-annotate-show-diff-revision-at-line (Bug#8671).
19484 2011-05-14  Glenn Morris  <rgm@gnu.org>
19486         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
19487         in the middle of an existing one with multiple authors.  (Bug#8645)
19488         (change-log-font-lock-keywords): Also handle multiple author lines
19489         with leading tabs.  (Bug#8644)
19491         * calendar/appt.el (appt-check): Rename some local variables.
19492         Some simplification/reordering.
19494         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
19495         (feedmail-sendmail-f-doesnt-sell-me-out)
19496         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19497         (feedmail-debug-sit-for, feedmail-queue-express-hook)
19498         (feedmail-queue-runner-message-sender): Set :version.
19499         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
19500         (bbdb-dwim-net-address, vm-mail): Declare.
19501         (feedmail-binmail-gnulinuxish-template):
19502         Rename from feedmail-binmail-linuxish-template.
19503         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
19504         Use insert-buffer-substring.
19506 2011-05-14  Bill Carpenter  <bill@carpenter.org>
19508         * mail/feedmail.el (feedmail-patch-level): Increase.
19509         (feedmail-debug): New custom group.
19510         (feedmail-confirm-outgoing-timeout)
19511         (feedmail-sendmail-f-doesnt-sell-me-out)
19512         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
19513         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
19514         (feedmail-sender-line, feedmail-from-line)
19515         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
19516         (feedmail-spray-this-address)
19517         (feedmail-spray-address-fiddle-plex-list)
19518         (feedmail-queue-use-send-time-for-date)
19519         (feedmail-queue-use-send-time-for-message-id)
19520         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
19521         (feedmail-buffer-eating-function):
19522         Doc fixes.
19523         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
19524         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
19525         (feedmail-message-action-scroll-down): New functions.
19526         (feedmail-queue-directory, feedmail-queue-draft-directory):
19527         Use expand-file-name.
19528         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
19529         Remove C-v help entry.
19530         (feedmail-queue-buffer-file-name): New variable.
19531         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
19532         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
19533         (feedmail-message-action-send-strong, feedmail-message-action-edit)
19534         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
19535         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
19536         (feedmail-message-action-toggle-spray)
19537         (feedmail-run-the-queue-no-prompts)
19538         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
19539         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
19540         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
19541         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
19542         (feedmail-envelope-deducer, feedmail-fiddle-from)
19543         (feedmail-fiddle-sender, feedmail-default-date-generator)
19544         (feedmail-fiddle-date, feedmail-fiddle-message-id)
19545         (feedmail-fiddle-spray-address)
19546         (feedmail-fiddle-list-of-spray-fiddle-plexes)
19547         (feedmail-fiddle-list-of-fiddle-plexes)
19548         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
19549         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
19550         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
19551         Change default.  Doc fix.
19552         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
19553         (feedmail-binmail-linuxish-template): New constant.
19554         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
19555         Respect feedmail-sendmail-f-doesnt-sell-me-out.
19556         (feedmail-send-it): Add debug call.
19557         Use feedmail-queue-buffer-file-name, and
19558         feedmail-send-it-immediately-wrapper.
19559         (feedmail-message-action-send): Add debug call.
19560         Use feedmail-send-it-immediately-wrapper.
19561         (feedmail-queue-express-to-queue): Add debug call.
19562         Run feedmail-queue-express-hook.
19563         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
19564         (feedmail-message-action-help-blat):
19565         Rename from feedmail-queue-send-edit-prompt-help-first.
19566         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
19567         Check line-endings.  Handle errors better.
19568         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
19569         Doc fix.  Add debug call.
19570         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
19571         Use feedmail-queue-send-edit-prompt-inner.
19572         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
19573         (feedmail-queue-send-edit-prompt-inner): New function, extracted
19574         from feedmail-queue-send-edit-prompt.
19575         (feedmail-queue-send-edit-prompt-help)
19576         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
19577         (feedmail-tidy-up-slug): Add debug call.
19578         Respect feedmail-queue-slug-suspect-regexp.
19579         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
19580         (feedmail-dump-message-to-queue): Add debug call.
19581         Expand queue-directory.
19582         (feedmail-dump-message-to-queue): Change message slightly.
19583         Use feedmail-say-chatter.
19584         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
19585         (feedmail-send-it-immediately-wrapper): New function.
19586         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
19587         Insert empty string rather than newline.  Handle full-frame case.
19588         Use catch/throw.  Use feedmail-say-chatter.
19589         (feedmail-fiddle-from): Try mail-host-address.
19590         (feedmail-default-message-id-generator): Doc fix.
19591         Bind system-time-locale.  Handle missing end.
19592         (feedmail-fiddle-x-mailer): Add debug call.
19593         Handle feedmail-x-mailer-line being nil.
19594         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
19595         Add debug call.  Use buffer-substring-no-properties.
19596         (feedmail-say-debug, feedmail-say-chatter): New functions.
19597         (feedmail-find-eoh): Give an explicit error.
19599 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
19601         * net/newst-treeview.el (newsticker-treeview-face): Change default
19602         family from helvetica to sans.
19603         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
19604         etc/images/newsticker.
19606         * net/newst-reader.el (newsticker-feed-face): Change default
19607         family from helvetica to sans.
19609         * net/newst-plainview.el (newsticker-new-item-face)
19610         (newsticker-old-item-face, newsticker-immortal-item-face)
19611         (newsticker-obsolete-item-face, newsticker-date-face)
19612         (newsticker-statistics-face): Change default family from
19613         helvetica to sans.
19614         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
19615         etc/images/newsticker.
19617         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
19618         (newsticker--process-auto-mark-filter-match): Tell user about
19619         auto-marking.
19621 2011-05-13  Didier Verna  <didier@xemacs.org>
19623         Common Lisp indentation improvements on defmethod and lambda-lists.
19624         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
19625         TODO entries.
19626         (lisp-lambda-list-keyword-parameter-indentation)
19627         (lisp-lambda-list-keyword-parameter-alignment)
19628         (lisp-lambda-list-keyword-alignment): New customizable user options.
19629         (lisp-indent-defun-method): Improve docstring.
19630         (extended-loop-p): Fix comment.
19631         (lisp-indent-lambda-list-keywords-regexp): New variable.
19632         (lisp-indent-lambda-list): New function.
19633         (lisp-indent-259): Use it.
19634         (lisp-indent-defmethod): Support for more than one
19635         method qualifier and properly indent methods lambda-lists.
19636         (defgeneric): Provide a missing common-lisp-indent-function property.
19638 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
19640         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
19641         bounds for the empty string (bug#8667).
19643 2011-05-13  Glenn Morris  <rgm@gnu.org>
19645         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
19647         * mail/sendmail.el (sendmail-program): Try executable-find first.
19648         (sendmail-send-it): `sendmail-program' cannot be unbound.
19650         * calendar/appt.el (appt-make-list): Simplify.
19651         (appt-time-msg-list): Doc fix.
19652         (appt-check): Change mode-line message at the time of the appointment.
19654 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
19656         * progmodes/ld-script.el (ld-script-keywords)
19657         (ld-script-builtins): Update keywords list.
19659 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19661         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
19663         * shell.el (shell-completion-vars): New function.
19664         (shell-mode):
19665         * simple.el (read-shell-command): Use it.
19666         (blink-matching-open): No need for " [...]" in minibuffer-message.
19668 2011-05-12  Glenn Morris  <rgm@gnu.org>
19670         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
19671         (appt-check): Simplify.
19673 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
19675         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
19676         literal "/dev/null".
19678 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19680         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
19681         Fix typo.
19683 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
19685         * progmodes/which-func.el (which-function):
19686         Use add-log-current-defun instead of add-log-current-defun-function,
19687         which might not be defined (Bug#8260).
19689 2011-05-12  Glenn Morris  <rgm@gnu.org>
19691         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
19692         Let byte-compile-initial-macro-environment always take precedence.
19694 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
19696         * net/rcirc.el: Add support for SSL/TLS connections.
19697         (rcirc-server-alist): New field `encryption'.
19698         (rcirc): Check `encryption' settings.
19699         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
19700         Merge make-local-variable into `set'.
19701         (rcirc--connection-open-p): New function.
19702         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
19703         the process is not a network process (e.g. running gnutls-cli).
19704         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
19705         Make rcirc-(en|de)code-coding-system local here.
19706         (rcirc-mode): Merge make-local-variable into `set'.
19707         (rcirc-parent-buffer): Make permanent buffer-local.
19708         (rcirc-multiline-minor-mode): Don't do it here.
19709         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
19710         there's no server buffer.
19712 2011-05-11  Glenn Morris  <rgm@gnu.org>
19714         * newcomment.el (comment-kill): Prefix "unused" local.
19716         * term/w32console.el (get-screen-color): Declare.
19718         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
19719         Handle symbol elements of byte-compile-initial-macro-environment.
19721 2011-05-10  Leo Liu  <sdl.web@gmail.com>
19723         * bookmark.el (bookmark-bmenu-mode-map):
19724         Bind bookmark-bmenu-search to `/'.
19726         * mail/footnote.el: Convert to utf-8 encoding.
19727         (footnote-unicode-string, footnote-unicode-regexp): New variable.
19728         (Footnote-unicode): New function.
19729         (footnote-style-alist): Add unicode style to the list.
19730         (footnote-style): Doc fix.
19732 2011-05-10  Jim Meyering  <meyering@redhat.com>
19734         Fix doubled-word typos.
19735         * international/quail.el (quail-insert-kbd-layout): and and -> and
19736         * kermit.el: and and -> and
19737         * net/ldap.el (ldap-search-internal): to to -> to
19738         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
19739         * progmodes/js.el (js-mode): and and -> and
19740         * textmodes/artist.el (artist-move-to-xy): at at -> at
19741         (artist-draw-region-trim-line-endings): if if -> if
19742         And Safetyc -> Safety.
19743         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
19745 2011-05-10  Glenn Morris  <rgm@gnu.org>
19746             Stefan Monnier  <monnier@iro.umontreal.ca>
19748         * files.el (hack-one-local-variable-eval-safep):
19749         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
19751 2011-05-10  Glenn Morris  <rgm@gnu.org>
19753         * calendar/diary-lib.el (diary-list-entries-hook)
19754         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
19755         (diary-nongregorian-marking-hook, diary-list-entries)
19756         (diary-include-other-diary-files, diary-mark-entries)
19757         (diary-mark-included-diary-files): Doc fixes.
19759 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
19761         * misc.el: Require tabulated-list.el during compilation.
19763 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
19765         * progmodes/compile.el (compilation-start):
19766         Run compilation-filter-hook for the async case too.
19767         (compilation-filter-hook): Doc fix.
19769 2011-05-09  Deniz Dogan  <deniz@dogan.se>
19771         * wdired.el: Remove outdated installation comment.  Fix usage
19772         comment.
19774 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
19776         * misc.el: Implement new command `list-dynamic-libraries'.
19777         (list-dynamic-libraries--loaded-only-p): New variable.
19778         (list-dynamic-libraries--refresh): New function.
19779         (list-dynamic-libraries): New command.
19781 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
19783         * progmodes/compile.el (compilation-error-regexp-alist-alist):
19784         Fix the ant regexp to handle end-line and end-column info from jikes.
19785         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
19786         higher priority to avoid clobbering by gnu.
19788 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
19790         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
19791         if the face has existing theme settings (Bug#8454).
19793 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
19795         * progmodes/perl-mode.el (perl-imenu-generic-expression):
19796         Only match variables declared via `my' or `our' (Bug#8261).
19798         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
19799         special file names `.' and `..' (Bug#8259).
19801 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
19803         * progmodes/grep.el (grep-mode-font-lock-keywords):
19804         Remove buffer-changing entries.
19805         (grep-filter): New function.
19806         (grep-mode): Add it to compilation-filter-hook.
19808         * progmodes/compile.el (compilation-filter-hook)
19809         (compilation-filter-start): New defvars.
19810         (compilation-filter): Call compilation-filter-hook prior to
19811         updating the process mark.
19813 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
19815         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
19817 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
19819         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
19820         mailclient-send-it even if window-system is nil.  (Bug#8595)
19822         * term/w32console.el (terminal-init-w32console):
19823         Call get-screen-color and use its output to set the frame
19824         background-mode.  (Bug#8597)
19826 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
19828         Make bytecomp.el understand that defmethod defines funs (bug#8631).
19829         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
19830         New functions.
19831         (defgeneric, eieio--defmethod): Use them.
19832         (eieio-defgeneric): Remove.
19833         (defmethod): Call defgeneric in a way visible to the byte-compiler.
19835 2011-05-07  Glenn Morris  <rgm@gnu.org>
19837         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
19838         Use let rather than let*.
19839         (timeclock-find-discrep): Remove unused local.
19841         * calendar/diary-lib.el (diary-comment-start): Doc fix.
19843         * calendar/appt.el (appt-time-msg-list): Doc fix.
19845 2011-05-06  Noah Friedman  <friedman@splode.com>
19847         * apropos.el (apropos-print-doc): Only use
19848         emacs-lisp-docstring-fill-column when it is bound to an integer,
19849         per that variable's documentation.
19851 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
19853         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
19854         and warnings are not silently discarded (e.g. use -d instead of -P).
19856 2011-05-06  Glenn Morris  <rgm@gnu.org>
19858         * calendar/appt.el (appt-message-warning-time): Doc fix.
19859         (appt-warning-time-regexp): New option.
19860         (appt-make-list): Respect appt-message-warning-time.
19862         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
19863         New options.
19864         (diary-add-to-list): Strip comments from the displayed string.
19865         (diary-mode): Set comment-start and comment-end.
19867         * vc/diff-mode.el (smerge-refine-subst): Declare.
19868         (diff-refine-hunk): Don't require smerge-mode when compiling.
19870 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
19872         * simple.el (list-processes): Return nil as the docstring says.
19874 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
19876         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
19877         to "".
19878         (ange-ftp-write-region, ange-ftp-insert-file-contents)
19879         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
19880         determining of binary transfer.  (Bug#7383)
19882 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
19884         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
19885         Fix port computation bug.  (Bug#8618)
19887 2011-05-05  Glenn Morris  <rgm@gnu.org>
19889         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
19891         * simple.el (shell-dynamic-complete-functions)
19892         (comint-dynamic-complete-functions): Declare.
19894         * net/network-stream.el (gnutls-negotiate):
19895         * simple.el (tabulated-list-print): Fix declarations.
19897         * progmodes/gud.el (syntax-symbol, syntax-point):
19898         Remove unnecessary and incorrect declarations.
19900         * emacs-lisp/check-declare.el (check-declare-scan):
19901         Handle byte-compile-initial-macro-environment in bytecomp.el.
19903 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19905         Fix earlier half-done eieio-defmethod change (bug#8338).
19906         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
19907         Streamline and change calling convention.
19908         (defmethod): Adjust accordingly and simplify.
19909         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
19910         new eieio--defmethod.
19911         (slot-boundp): Minor CSE simplification.
19913 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
19915         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
19916         (glasses-make-readable): Use glasses-separate-capital-groups.
19918 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
19920         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
19921         (warning-series): Doc fix.
19922         (display-warning): Don't try to create the buffer if we just found it.
19924 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
19926         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
19927         (autoload-find-generated-file): New function.
19928         (generate-file-autoloads): Bind generated-autoload-file to
19929         buffer-file-name.
19930         (update-file-autoloads, update-directory-autoloads):
19931         Use autoload-find-generated-file.  If called interactively, prompt for
19932         output file (Bug#7989).
19933         (batch-update-autoloads): Doc fix.
19935 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
19937         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
19939 2011-05-04  Glenn Morris  <rgm@gnu.org>
19941         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
19942         function, so it follows changes in calendar-date-style.
19943         (diary-fancy-date-matcher): New function.
19944         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
19945         (diary-fancy-font-lock-fontify-region-function):
19946         Use diary-fancy-date-pattern as a function.
19948         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
19949         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
19951 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
19953         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
19954         instead of positional arguments.  Allow :keylist and :crlfiles
19955         arguments.
19956         (open-gnutls-stream): Call it.
19958         * net/network-stream.el (network-stream-open-starttls): Adjust to
19959         call `gnutls-negotiate' with :process and :hostname arguments.
19961 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
19963         * minibuffer.el (completion--message): New function.
19964         (completion--do-completion, minibuffer-complete)
19965         (minibuffer-force-complete, minibuffer-complete-word): Use it.
19966         (completion--do-completion): Don't ignore completion-auto-help when in
19967         icomplete-mode.
19969         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
19970         internal encoding (e.g. tibetan zero is not whitespace).
19971         (global-whitespace-mode): Prefer save-current-buffer.
19972         (whitespace-trailing-regexp): Remove useless save-match-data.
19973         (whitespace-empty-at-bob-regexp): Minor simplification.
19975 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
19977         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
19979 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
19981         * textmodes/ispell.el (ispell-add-per-file-word-list):
19982         Use `concat' to create string for insertion.
19984 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
19986         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
19987         Avoid open-line which runs post-self-insert-hook.
19988         (bibtex-fill-entry): Remove unused `end' var.
19990 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
19992         * textmodes/ispell.el (ispell-add-per-file-word-list):
19993         Protect against `nil' value of `comment-start' (Bug#8579).
19995 2011-05-03  Leo Liu  <sdl.web@gmail.com>
19997         * isearch.el (isearch-yank-pop): New command.
19998         (isearch-mode-map): Bind it to `M-y'.
19999         (isearch-forward): Mention it.
20001 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
20003         * simple.el (minibuffer-complete-shell-command): Remove.
20004         (minibuffer-local-shell-command-map): Use completion-at-point.
20005         (read-shell-command): Setup completion vars here instead.
20006         (read-expression-map): Bind TAB to symbol completion.
20008         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
20009         error directly rather via storing it into `results'.
20011 2011-05-02  Leo Liu  <sdl.web@gmail.com>
20013         * vc/diff.el: Fix description.
20015 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20017         * server.el (server-eval-at): New function.
20019 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20021         * net/network-stream.el (open-network-stream): Take a :nowait
20022         parameter and pass it on to `make-network-process'.
20023         (network-stream-open-plain): Ditto.
20025 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
20027         * faces.el (face-spec-set-match-display): Don't match toolkit
20028         options on terminal frames.
20030 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
20032         * progmodes/pascal.el: Use lexical binding.
20033         (pascal-mode-map): Remove author preferences.
20035         * pcomplete.el (pcomplete-std-complete): Don't abuse
20036         completion-at-point.
20038 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
20040         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
20041         removing code that has been dead since 1991 or so.
20043         * startup.el (command-line): When warning about "_emacs", use a
20044         delayed warning to allow the user to filter it out.
20046 2011-04-28  Deniz Dogan  <deniz@dogan.se>
20048         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
20049         user has not joined.
20051 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20053         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
20054         aren't any completions at point.
20056 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
20058         * subr.el (display-delayed-warnings): New function.
20059         (delayed-warnings-hook): New variable.
20061 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
20063         * minibuffer.el (completion-at-point, completion-help-at-point):
20064         Don't presume that a given completion-at-point-function will always
20065         use the same calling convention.
20067         * pcomplete.el (pcomplete-completions-at-point):
20068         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
20069         pcomplete-seen is non-nil.
20070         (pcomplete-comint-setup): Also recognize the new comint/shell
20071         completion functions.
20072         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
20073         pcomplete-seen is non-nil.
20075 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
20077         * calendar/icalendar.el (diary-lib): Add require statement.
20078         (icalendar--create-uid): Read out a uid from a text-property on
20079         the first character in the entry.  This allows for code to add its
20080         own uid to the entry.
20081         (icalendar--convert-float-to-ical): Add export of
20082         `diary-float'-entries save for those with the optional DAY
20083         argument.
20085 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
20087         * subr.el (shell-quote-argument): Use alternate escaping strategy
20088         when we spot a variable reference in a string.
20090 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
20092         * cus-start.el (all): Define customization for debug-on-event.
20094 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
20096         * subr.el (shell-quote-argument): Escape correctly under Windows.
20098 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20100         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
20102 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
20104         * net/tramp.el (tramp-process-actions): Add POS argument.
20105         Delete region between POS and (pos).
20107         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20108         Use `nil' position in `tramp-process-actions' call.
20109         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
20111         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
20112         position in `tramp-process-actions' call.
20114         * net/trampver.el: Update release number.
20116 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
20118         * custom.el (defcustom): Obey lexical-binding.
20120         Fix octave-inf completion problems reported by Alexander Klimov.
20121         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
20122         Inherit from octave-mode-syntax-table.
20123         (inferior-octave-mode): Set info-lookup-mode.
20124         (inferior-octave-completion-at-point): New function.
20125         (inferior-octave-complete): Use it and completion-in-region.
20126         (inferior-octave-dynamic-complete-functions): Use it as well, and use
20127         comint-filename-completion.
20128         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
20129         symbol elements which shouldn't be word elements.
20130         (octave-font-lock-keywords, octave-beginning-of-defun)
20131         (octave-function-header-regexp): Adjust regexps accordingly.
20132         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
20134 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
20136         * net/gnutls.el (gnutls-errorp): Declare before first use.
20138 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
20140         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
20141         verify-error, and verify-hostname-error parameters.  Check whether
20142         default trustfile exists before going to use it.  Add missing
20143         argument to gnutls-message-maybe call.  Return value.
20144         Reported by Claudio Bley <claudio.bley@gmail.com>.
20145         (open-gnutls-stream): Add usage example.
20147         * net/network-stream.el (network-stream-open-starttls): Give host
20148         parameter to `gnutls-negotiate'.
20149         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
20150         * subr.el (shell-quote-argument): Escape correctly under Windows.
20152 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
20154         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
20155         Use correct match group (bug#8438).
20157 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
20159         * emacs-lisp/package.el (package-built-in-p): Fix typo.
20160         (package-menu--generate): New arg specifying packages to show.
20161         (package-menu-refresh, package-menu-execute, list-packages):
20162         Callers changed.
20163         (package-show-package-list): New function, replacing deleted
20164         package--list-packages (renamed because it is non-internal).
20166         * finder.el (finder-list-matches): Use package-show-package-list
20167         instead of deleted package--list-packages.
20169         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
20170         Based on a previous implementation by Juanma Barranquero (Bug#8366).
20171         (vc-annotate-mode-map): Bind it to RET.
20173 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
20175         * progmodes/etags.el (next-file): Don't use set-buffer to change
20176         buffers (Bug#8478).
20178 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
20180         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
20182         * apropos.el (apropos-label-face): Avoid variable-pitch face.
20183         (apropos-accumulator): Doc fix.
20184         (apropos-function, apropos-macro, apropos-command)
20185         (apropos-variable, apropos-face, apropos-group, apropos-widget)
20186         (apropos-plist): Add face property.
20187         (apropos-symbols-internal): Fix indentation.
20188         (apropos-print): Simplify help, and recognize apropos-multi-type.
20189         (apropos-print-doc): Use button-type-get to extract the button's
20190         face property.  Fill docstring (Bug#8352).
20192 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
20194         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
20196         * play/mpuz.el (mpuz-silent): Doc fix.
20197         (mpuz-mode-map): Use mapc.
20198         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
20199         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
20200         Fix typos in docstrings.
20202         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
20203         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
20205         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
20207 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
20209         * minibuffer.el (completion--do-completion): Avoid the "Next char
20210         not unique" prompt if icomplete-mode is enabled (Bug#5849).
20212         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
20213         mouse-2 into unread-command-events, it is interpreted correctly.
20215         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
20216         (image-toggle-display): Doc fix.
20218 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
20220         * textmodes/page.el (what-page): Use line-number-at-pos to
20221         calculate line number (Bug#6825).
20223 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
20225         * eshell/esh-mode.el (find-tag-interactive): Declare function.
20226         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
20227         Pass argument NO-DEFAULT to `find-tag-interactive'.
20229 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
20231         Lexical-binding cleanup.
20233         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
20234         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
20235         * progmodes/ada-prj.el (ada-prj-initialize-values)
20236         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
20237         (ada-prj-show-value):
20238         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
20239         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
20240         (antlr-invalidate-context-cache, antlr-options-menu-filter)
20241         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
20242         * progmodes/bug-reference.el (bug-reference-push-button):
20243         * progmodes/fortran.el (fortran-line-length):
20244         * progmodes/glasses.el (glasses-change):
20245         * progmodes/octave-mod.el (octave-fill-paragraph):
20246         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
20247         (python-pdbtrack-grub-for-buffer, python-sentinel):
20248         * progmodes/sql.el (sql-save-connection):
20249         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
20250         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
20251         Mark unused parameters.
20253         * progmodes/compile.el (compilation--flush-directory-cache)
20254         (compilation--flush-parse, compile-internal): Mark unused parameters.
20255         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
20256         (compilation-next-error-function): Remove unused variable `timestamp'.
20258         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
20259         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
20261         * progmodes/dcl-mode.el (dcl-end-of-command):
20262         Remove unused variable `start'.
20263         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
20264         (dcl-option-value-basic, dcl-option-value-offset)
20265         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
20266         Mark unused parameters.
20267         (dcl-save-local-variable): Remove unused variable `val'.
20268         (mode): Declare.
20270         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
20271         Mark unused parameters.
20272         (delphi-ignore-changes): Move before first use.
20273         (delphi-charset-token-at): Remove unused variable `start'.
20274         (delphi-else-start): Remove unused variable `if-count'.
20275         (delphi-comment-block-start, delphi-comment-block-end):
20276         Remove unused variable `kind'.
20277         (delphi-indent-line): Remove unused variable `new-point'.
20279         * progmodes/ebrowse.el (ebrowse-files-list)
20280         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
20281         Mark unused parameters.  Don't quote `lambda'.
20282         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
20283         Don't quote `lambda'.
20284         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
20285         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
20286         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
20287         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
20288         Use `ignore-errors'.
20289         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
20290         (ebrowse-view/find-file-and-search-pattern)
20291         (ebrowse-view/find-member-declaration/definition):
20292         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
20293         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
20294         Rename parameter PREFIX-ARG to PREFIX.
20295         (ebrowse-tags-read-name): Remove unused variables `start' and
20296         `member-info'.
20297         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
20298         to `tags-file'.
20300         * progmodes/etags.el (local-find-tag-hook): Declare.
20301         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
20302         Mark unused parameters.
20304         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
20305         (executable-interpret): Mark unused parameter.
20307         * progmodes/flymake.el (flymake-process-sentinel)
20308         (flymake-after-change-function)
20309         (flymake-create-temp-with-folder-structure)
20310         (flymake-get-include-dirs-dot): Mark unused parameters.
20311         (flymake-safe-delete-directory): Remove unused variable `err'.
20313         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
20314         (speedbar-timer-fn, speedbar-line-text)
20315         (speedbar-change-expand-button-char, speedbar-delete-subblock)
20316         (speedbar-center-buffer-smartly): Declare functions.
20317         (gdb-find-watch-expression): Remove unused variable `array'.
20318         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
20319         (gdb-starting): Mark unused parameters.
20320         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
20321         (gdb-table-string): Remove unused variable `res'.
20322         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
20323         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
20324         (gdb-display-buffer): Remove unused variable `cur-size'.
20326         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
20327         allow lexical-binding compilation.
20328         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
20329         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
20330         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
20331         Mark unused parameters.
20332         (gud-gdb-marker-filter): Remove unused variable `match'.
20333         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
20334         lambda expressions and funcall them, instead of using `fset'.
20336         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
20337         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
20339         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
20340         variable `header-beg'; use `let'.
20342         * progmodes/icon.el (indent-icon-exp): Remove unused variables
20343         `restart', `last-sexp' and `at-do'.
20345         * progmodes/js.el (js--debug): Mark unused parameter.
20346         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
20347         (js--splice-into-items): Remove unused variable `item'.
20348         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
20350         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
20351         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
20352         (makefile-complete): Remove unused variable `try'.
20353         (makefile-fill-paragraph, makefile-match-function-end):
20354         Mark unused parameters.
20356         * progmodes/octave-inf.el (inferior-octave-complete):
20357         Remove unused variable `proc'.
20358         (inferior-octave-output-digest): Mark unused parameter.
20360         * progmodes/perl-mode.el (perl-calculate-indent):
20361         Remove unused variable `err'.
20363         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
20364         (prolog-indent-line): Mark unused parameters.
20365         (prolog-indent-line): Remove unused variable `beg'.
20367         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
20368         (reporter-dont-compact-list): Declare.
20370         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
20371         Remove unused variable `char'.
20372         (sh-debug): Mark unused parameter.
20373         (sh-get-indent-info): Remove unused variable `start'.
20374         (sh-calculate-indent): Remove unused variable `var'.
20376         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
20377         (simula-electric-keyword): Remove unused variable `null'.
20378         (simula-search-backward, simula-search-forward): Remove unused
20379         variables `begin' and `end'.
20381         * progmodes/vera-mode.el (vera-guess-basic-syntax):
20382         Remove unused variable `pos'.
20383         (vera-electric-tab, vera-comment-uncomment-region):
20384         Mark unused parameters.
20385         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
20387 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
20389         * emacs-lisp/package.el (package--builtins, package-alist)
20390         (package-load-descriptor, package-built-in-p, package-activate)
20391         (define-package, package-installed-p)
20392         (package-compute-transaction, package-buffer-info)
20393         (package--push): Doc fix.  Distinguish more clearly between
20394         version strings and version lists.
20396 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
20398         Lexical-binding cleanup.
20400         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
20401         (5x5-make-mutate-best):
20402         * play/fortune.el (fortune-in-buffer):
20403         * play/gomoku.el (gomoku-init-display):
20404         * play/solitaire.el (solitaire, solitaire-do-check):
20405         * play/tetris.el (tetris-default-update-speed-function):
20406         Mark unused parameters.
20408         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
20409         (bubbles--shift): Remove unused variable `char-org'.
20410         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
20411         (bubbles--show-images): Remove unused variable `char'.
20413         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
20414         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
20415         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
20416         (decipher-analyze-buffer): Use ?\s.
20417         (decipher-make-checkpoint): Remove unused variable `mapping'.
20419         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
20421         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
20422         Remove unused variable `result'; use `let'.
20424         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
20425         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
20426         (gametree-children-shown-p, gametree-compute-reduced-score):
20427         Use `ignore-errors'.
20429         * play/handwrite.el (ps-lpr-switches): Declare.
20430         (handwrite): Remove unused variables `pmin' and `lastp'.
20432         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
20434         * play/landmark.el (landmark-init-display)
20435         (landmark-update-naught-weights): Mark unused parameters.
20436         (landmark-y): Remove unused variable `noise'.  Simplify.
20437         (landmark-human-plays): Remove unused variable `score'.
20439         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
20440         (mpuz-try-proposal): Remove unused variable `game'.
20442         * play/zone.el (life-patterns): Declare.
20444 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
20446         * vc/vc.el (ediff-vc-internal): Declare function.
20448 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20450         * shell.el: Use lexical-binding and std completion UI.
20451         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
20452         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
20453         comint-preoutput-filter-functions rather than on
20454         comint-output-filter-functions.
20455         (shell-command-completion, shell--command-completion-data)
20456         (shell-filename-completion, shell-environment-variable-completion)
20457         (shell-c-a-p-replace-by-expanded-directory): New functions.
20458         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
20459         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
20460         (shell-dynamic-complete-environment-variable): Use them.
20461         (shell-dynamic-complete-as-environment-variable)
20462         (shell-dynamic-complete-as-command): Remove.
20463         (shell-match-partial-variable): Match past point.
20464         * comint.el: Clean up use of completion-at-point-functions.
20465         (comint-completion-at-point): New function.
20466         (comint-mode): Use it completion-at-point-functions.
20467         (comint-dynamic-complete): Make it obsolete.
20468         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
20469         (comint-c-a-p-replace-by-expanded-history): New function.
20470         (comint-dynamic-complete-functions)
20471         (comint-replace-by-expanded-history): Use it.
20472         * minibuffer.el (completion-table-with-terminator): Allow dynamic
20473         termination strings.  Try harder to avoid second try-completion.
20474         (completion-in-region-mode-map): Disable bindings that don't work yet.
20476         * comint.el: Use lexical-binding.  Require CL.
20477         (comint-dynamic-complete-functions): Use comint-filename-completion.
20478         (comint-completion-addsuffix): Tweak custom type.
20479         (comint-filename-completion, comint--common-suffix)
20480         (comint--common-quoted-suffix, comint--table-subvert)
20481         (comint--complete-file-name-data): New functions.
20482         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
20483         (comint-dynamic-list-filename-completions): Use them.
20484         (comint-dynamic-simple-complete): Make obsolete.
20486         * minibuffer.el (completion-in-region-mode):
20487         Keep completion-in-region-mode--predicate global.
20488         (completion-in-region--postch):
20489         Assume completion-in-region-mode--predicate is not null.
20491         * progmodes/flymake.el (flymake-start-syntax-check-process):
20492         Obey `dir'.  Simplify.
20494         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
20495         we're in VC after all.
20497 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
20499         * vc/vc.el (vc-diff-build-argument-list-internal)
20500         (vc-version-ediff, vc-ediff): New commands.
20501         (vc-version-diff): Use vc-diff-build-argument-list-internal.
20503 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
20505         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
20506         add sanity check.
20508         * obsolete/erc-hecomplete.el: Make obsolete.
20509         * obsolete/: Standardize obsolescence info in the header.
20511 2011-04-20  Glenn Morris  <rgm@gnu.org>
20513         * calendar/solar.el (solar-horizontal-coordinates):
20514         Use the longitude argument rather than `calendar-longitude'.
20515         (solar-date-next-longitude): Remove unused locals.
20517 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
20519         * whitespace.el: New version 13.2.1.
20521 2011-04-20  felix  <EmacsWiki>  (tiny change)
20523         * whitespace.el (global-whitespace-mode): Keep highlight when
20524         switching between major modes on a file.
20526 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
20528         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
20529         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
20530         multi-line comments as well.
20532 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
20534         Lexical-binding cleanup.
20536         * arc-mode.el (archive-mode-revert):
20537         * cmuscheme.el (scheme-interactively-start-process):
20538         * custom.el (custom-initialize-delay):
20539         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
20540         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
20541         * emacs-lock.el (emacs-lock-clear-sentinel):
20542         * ezimage.el (defezimage):
20543         * follow.el (follow-avoid-tail-recenter):
20544         * fringe.el (set-fringe-mode-1):
20545         * generic-x.el (bat-generic-mode-compile):
20546         * help-mode.el (help-info-variable, help-do-xref)
20547         (help-mode-revert-buffer):
20548         * help.el (view-emacs-todo):
20549         * iswitchb.el (iswitchb-completion-help):
20550         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
20551         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
20552         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
20553         * locate.el (locate-update):
20554         * longlines.el (longlines-encode-region)
20555         (longlines-after-change-function):
20556         * outline.el (outline-isearch-open-invisible):
20557         * ps-def.el (declare-function, charset-dimension, char-width)
20558         (encode-char):
20559         * ps-mule.el (ps-mule-plot-string):
20560         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
20561         (recentf-edit-list-select, recentf-edit-list-validate)
20562         (recentf-open-files-action):
20563         * rect.el (delete-whitespace-rectangle-line)
20564         (rectangle-number-line-callback):
20565         * register.el (window-configuration-to-register)
20566         (frame-configuration-to-register):
20567         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
20568         * select.el (xselect-convert-to-string, xselect-convert-to-length)
20569         (xselect-convert-to-targets, xselect-convert-to-delete)
20570         (xselect-convert-to-filename, xselect-convert-to-charpos)
20571         (xselect-convert-to-lineno, xselect-convert-to-colno)
20572         (xselect-convert-to-os, xselect-convert-to-host)
20573         (xselect-convert-to-user, xselect-convert-to-class)
20574         (xselect-convert-to-name, xselect-convert-to-integer)
20575         (xselect-convert-to-atom, xselect-convert-to-identity):
20576         * subr.el (declare, ignore, process-kill-without-query)
20577         (text-clone-maintain):
20578         * terminal.el (te-get-char, te-tic-sentinel):
20579         * tool-bar.el (tool-bar-make-keymap):
20580         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
20581         * type-break.el (type-break-mode, type-break-noninteractive-query):
20582         * view.el (View-back-to-mark):
20583         * wid-browse.el (widget-browse-action, widget-browse-widget)
20584         (widget-browse-widgets, widget-browse-sexp):
20585         * widget.el (define-widget-keywords):
20586         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
20587         Mark unused parameters.
20589         * align.el (align-adjust-col-for-rule): Mark unused parameter.
20590         (align-areas): Remove unused variable `look'.
20591         (align-region): Remove unused variables `real-end' and `pos-list'.
20593         * apropos.el (apropos-score-doc): Remove unused variable `i'.
20595         * bindings.el (mode-line-modified, mode-line-remote):
20596         Mark unused parameters.
20597         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
20599         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
20600         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
20602         * comint.el (comint-history-isearch-pop-state)
20603         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
20604         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
20605         (comint-substitute-in-file-name): Doc fix.
20607         * completion.el (cmpl-statistics-block): Mark unused parameter.
20608         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
20609         (save-completions-to-file, load-completions-from-file):
20610         Remove unused local variable `e'.
20612         * composite.el (compose-chars): Remove unused variable `len'.
20613         (lgstring-insert-glyph): Remove unused variable `g'.
20614         (compose-glyph-string): Remove unused variables `ascent',
20615         `descent', `lbearing' and `rbearing'.
20616         (compose-glyph-string-relative): Remove unused variables
20617         `lbearing', `rbearing' and `wadjust'.
20618         (compose-gstring-for-graphic): Remove unused variables `header',
20619         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
20620         (compose-gstring-for-terminal): Remove unused variables `header'
20621         and `nchars'.  Use `let', not `let*'.
20623         * cus-edit.el (Custom-set, Custom-save, custom-reset)
20624         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
20625         (Custom-buffer-done, custom-buffer-create-internal)
20626         (custom-browse-visibility-action, custom-browse-group-tag-action)
20627         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
20628         (widget-magic-mouse-down-action, custom-toggle-parent)
20629         (custom-add-parent-links, custom-toggle-hide-variable)
20630         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
20631         (custom-toggle-hide-face, face, hook, custom-group-link-action)
20632         (custom-face-menu-create, custom-variable-menu-create, get)
20633         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
20634         (custom-reset-standard-save-and-update): Remove unused variable `value'.
20635         (customize-apropos): Remove unused variable `tests'.
20636         (custom-group-value-create): Remove unused variable `hidden-p'.
20637         (sort-fold-case): Declare.
20639         * cus-theme.el (custom-reset-standard-faces-list)
20640         (custom-reset-standard-variables-list): Declare.
20641         (customize-create-theme, custom-theme-revert, custom-theme-write)
20642         (custom-theme-choose-mode, customize-themes, custom-theme-save):
20643         Mark unused parameters.
20645         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
20647         * delim-col.el (delimit-columns-max): Move defvar before first use.
20649         * descr-text.el (describe-char-categories): Don't quote `lambda'.
20650         (describe-char): Don't quote `lambda'.  Mark unused parameter.
20652         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
20653         (auto-insert): Declare.
20654         (desktop-restore-file-buffer): Rename desktop-* parameters;
20655         mark unused ones.
20656         (desktop-create-buffer): Rename desktop-* parameters and bind them.
20657         (desktop-buffer): Rename desktop-* parameters.
20659         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
20660         (dframe-reposition-frame-xemacs, dframe-help-echo)
20661         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
20662         Mark unused parameters.
20664         * dired-aux.el (backup-extract-version-start, overwrite-query)
20665         (overwrite-backup-query, rename-regexp-query)
20666         (rename-non-directory-query): Declare.
20667         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
20668         (dired-add-entry): Remove unused variable `orig-file-name'.
20669         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
20670         Use parameter PRESERVE-TIME instead of accessing dynamic variable
20671         `dired-copy-preserve-time' directly.
20672         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
20673         (dired-insert-subdir-newpos): Rename unused variable `pos'.
20675         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
20676         (dired-virtual-revert, dired-make-relative-symlink):
20677         Mark unused parameters.
20678         (manual-program): Declare.
20679         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
20680         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
20681         wrapped in `with-no-warnings' to avoid replacing one warning by another.
20683         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
20685         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
20687         * echistory.el (electric-history-in-progress, Helper-return-blurb):
20688         Declare.
20690         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
20692         * electric.el (Electric-command-loop): Rename parameter
20693         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
20695         * expand.el (expand-in-literal): Remove unused variable `here'.
20697         * facemenu.el (facemenu-add-new-color):
20698         Remove unused variable `docstring'.
20700         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
20701         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
20702         (face-attr-construct): Mark unused parameter.  Doc fix.
20703         (read-color): Remove unused variable `hex-string'.
20705         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
20706         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
20707         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
20708         (display-buffer-other-frame): Remove unused variable `old-window'.
20709         (kill-buffer-hook): Declare.
20710         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
20711         Mark unused parameters.
20712         (after-find-file): Pass 1 to `auto-save-mode', not t.
20714         * files-x.el (auto-insert): Declare.
20715         (modify-file-local-variable-prop-line): Remove unused variable `val'.
20717         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
20718         variable `buf'.  Mark unused parameter.
20719         (find-lisp-insert-directory): Mark unused parameter.
20721         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
20722         (format-encode-region): Remove unused variables `cur-buf' and `result'.
20723         (format-common-tail): Remove, unused.
20724         (format-deannotate-region): Remove unused variable `loc'.
20725         (format-annotate-region): Remove unused variable `p'.
20726         (format-annotate-single-property-change): Remove unused variables
20727         `default' and `tail'.
20729         * forms.el (read-file-filter): Declare.
20730         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
20732         * frame.el (frame-creation-function-alist): Mark unused parameter.
20733         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
20735         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
20736         Remove unused parameters.
20737         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
20738         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
20740         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
20741         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
20742         (hfy-prepare-tag-map): Mark unused parameters.
20743         (htmlfontify-buffer): Use `called-interactively-p'.
20745         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
20746         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
20747         (ibuffer-do-occur): Mark unused parameters.
20748         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
20749         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
20751         * ibuffer.el: Don't quote `lambda'.
20752         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
20753         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
20754         Mark unused parameters.
20756         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
20757         (ido-completing-read): Mark unused parameters.
20758         (ido-copy-current-word): Mark unused parameters;
20759         remove unused variable `name'.
20760         (ido-sort-merged-list): Remove unused parameter `dirs'.
20762         * ielm.el (ielm-input-sender): Mark unused parameter.
20763         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
20764         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
20765         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
20766         `ielm-string' as a dynamic variable accessible from the IELM prompt.
20767         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
20769         * image-dired.el (image-dired-display-thumbs): Remove unused
20770         variables `curr-file' and `count'.
20771         (image-dired-remove-tag): Remove unused variable `start'.
20772         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
20773         variable `curr-file'
20774         (image-dired-rotate-original): Remove unused variable `temp-file'.
20775         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
20776         Remove unused variable `file'.
20777         (image-dired-gallery-generate): Remove unused variable `curr'.
20778         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
20780         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
20782         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
20784         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
20786         * isearch.el (minibuffer-history-symbol): Declare.
20787         (isearch-edit-string): Remove unused variable `err'.
20788         (isearch-message-prefix, isearch-message-suffix):
20789         Mark unused parameters.
20791         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
20793         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
20795         * makesum.el (double-column): Remove unused variable `cnt'.
20797         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
20798         (ido-ignore-item-temp-list): Declare.
20800         * mouse-drag.el (mouse-drag-throw): Remove unused variables
20801         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
20802         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
20803         (mouse-drag-drag): Remove unused variables `mouse-delta' and
20804         `mouse-col-delta'.
20806         * mouse-sel.el (mouse-extend-internal):
20807         Remove unused variable `orig-window-frame'.
20809         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
20810         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
20811         Move declarations before first use.
20812         (pcomplete-opt): Mark unused parameters; doc fix.
20814         * proced.el (proced-revert): Mark unused parameter.
20815         (proced-send-signal): Remove unused variable `err'.
20817         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
20818         Rename parameter PREFIX-ARG to ARG.
20819         (ps-basic-plot-string, ps-basic-plot-whitespace):
20820         Mark unused parameters.
20822         * replace.el (replace-count): Define.
20823         (occur-revert-function): Mark unused parameters.
20824         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
20825         (isearch-case-fold-search, isearch-string): Declare.
20826         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
20827         bind `case-fold-search'.  Remove unused variables `beg' and `end',
20828         and simplify.
20829         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
20830         COUNT and bind `replace-count'.
20831         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
20832         to COUNT.
20834         * savehist.el (print-readably, print-string-length): Declare.
20836         * shadowfile.el (shadow-expand-cluster-in-file-name):
20837         Remove unused variable `cluster'.
20838         (shadow-copy-file): Remove unused variable `i'.
20839         (shadow-noquery, shadow-clusters, shadow-site-cluster)
20840         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
20841         (shadow-define-literal-group, shadow-define-regexp-group)
20842         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
20844         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
20845         (shell): Use `called-interactively-p'.
20846         (shell-directory-tracker): Remove unused variable `chdir-failure'.
20848         * simple.el (compilation-context-lines, comint-file-name-quote-list)
20849         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
20850         (delete-backward-char): Remove unused variable `ocol'.
20851         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
20852         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
20853         (event-apply-hyper-modifier, event-apply-shift-modifier)
20854         (event-apply-control-modifier, event-apply-meta-modifier):
20855         Mark unused parameters.
20856         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
20857         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
20859         * speedbar.el (speedbar-ignored-directory-expressions)
20860         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
20861         (speedbar-find-file, speedbar-dir-follow)
20862         (speedbar-directory-buttons-follow, speedbar-tag-find)
20863         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
20864         (speedbar-buffers-line-directory, speedbar-buffer-click):
20865         Mark unused parameters.
20866         (speedbar-tag-file): Remove unused variable `mode'.
20867         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
20869         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
20871         * talk.el (talk): Remove unused variable `display'.
20873         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
20874         (tar-write-region-annotate): Mark unused parameter.
20876         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
20877         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
20878         Declare them, wrapped in `with-no-warnings' to avoid replacing one
20879         warning by another.
20881         * time-stamp.el (time-stamp-string-preprocess):
20882         Remove unused variable `require-padding'.
20884         * tree-widget.el (widget-glyph-enable): Declare.
20885         (tree-widget-action): Mark unused parameter.
20887         * w32-fns.el (x-get-selection): Mark unused parameter.
20888         (autoload-make-program, generated-autoload-file): Declare.
20890         * wdired.el (wdired-revert): Mark unused parameters.
20891         (wdired-xcase-word): Remove unused variable `err'.
20893         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
20894         (whitespace-help-scroll): Remove unused variable `data-help'.
20896         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
20897         (widget-image-insert, widget-after-change, default)
20898         (widget-default-format-handler, widget-default-notify)
20899         (widget-default-prompt-value, widget-info-link-action)
20900         (widget-url-link-action, widget-function-link-action)
20901         (widget-variable-link-action, widget-file-link-action)
20902         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
20903         (widget-field-prompt-internal, widget-field-action, widget-field-match)
20904         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
20905         (widget-insert-button-action, widget-delete-button-action, visibility)
20906         (widget-documentation-link-action, widget-documentation-string-action)
20907         (widget-const-prompt-value, widget-regexp-match, symbol)
20908         (widget-coding-system-prompt-value)
20909         (widget-key-sequence-value-to-external, sexp)
20910         (widget-sexp-value-to-internal, character, vector, cons)
20911         (widget-choice-prompt-value, widget-boolean-prompt-value)
20912         (widget-color--choose-action): Mark unused parameters.
20913         (widget-item-match-inline, widget-choice-match-inline)
20914         (widget-checklist-match, widget-checklist-match-inline)
20915         (widget-group-match): Rename parameter VALUES to VALS.
20916         (widget-field-value-set): Remove unused variable `size'.
20917         (widget-color-action): Remove unused variables `value' and `start'.
20919         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
20920         variable `dir'.  Doc fix.
20921         (windmove-find-other-window): Don't pass it.
20923         * window.el (count-windows): Mark unused parameter.
20924         (bw-adjust-window): Remove unused variable `err'.
20926         * woman.el (woman-file-name): Remove unused variable `default'.
20927         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
20928         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
20929         (global-font-lock-mode): Declare.
20930         (woman-decode-region): Mark unused parameter.
20931         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
20933         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
20934         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
20935         (x-dnd-handle-moz-url): Remove unused variable `title'.
20936         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
20938         * xml.el (xml-parse-tag, xml-parse-attlist):
20939         Remove unused variable `pos'.
20941 2011-04-19  Glenn Morris  <rgm@gnu.org>
20943         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
20944         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
20945         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
20946         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
20947         * calendar/cal-html.el (cal-html-insert-minical):
20948         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
20949         (calendar-mark-date-pattern):
20950         Prefix "unused" locals.
20952         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
20953         optional argument `style'.
20955         * calendar/appt.el (appt-make-list):
20956         * calendar/cal-china.el (calendar-chinese-date-string):
20957         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
20958         (diary-hebrew-yahrzeit):
20959         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
20960         * calendar/calendar.el (calendar-generate-window):
20961         * calendar/time-date.el (time-to-days):
20962         Remove unused local variables.
20964 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
20966         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
20967         glyphless-char-display table.
20968         (tabulated-list-glyphless-char-display): New var.
20970 2011-04-18  Sam Steingold  <sds@gnu.org>
20972         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
20973         to acknowledgments.
20975 2011-04-17  Glenn Morris  <rgm@gnu.org>
20977         * calendar/diary-lib.el (diary-sexp-entry):
20978         * calendar/holidays.el (holiday-sexp):
20979         Set debug-on-error rather than the removed stack-trace-on-error.
20981 2011-04-16  Glenn Morris  <rgm@gnu.org>
20983         * progmodes/f90.el: Use lexical-binding.
20984         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
20986 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20988         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
20989         (mail-mode): Setup mailalias completion here instead.
20990         * mail/mailalias.el: Use lexical-binding.
20991         (pattern, mailalias-done): Declare dynamic.
20992         (mail-completion-at-point-function): New function, from mail-complete.
20993         (mail-complete): Use it.
20994         (mail-completion-expand): New function.
20995         (mail-get-names): Use it.
20996         (mail-directory, mail-directory-process, mail-directory-stream):
20997         Don't use `pattern' for lexically bound arg.
20999         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
21001         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
21002         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
21003         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
21005         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
21006         (byte-save-window-excursion, byte-temp-output-buffer-setup)
21007         (byte-interactive-p): Define them again, for use when inlining
21008         old code.
21010 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
21012         * loadup.el: Use `string-to-number', not `string-to-int'.
21014 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21016         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
21017         gud-gdb-complete-command.
21018         (gud-gdb-completions): New function, from gud-gdb-complete-command.
21019         (gud-gdb-completion-at-point): New function.
21020         (gud-gdb-completions): Remove.
21022 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
21024         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
21025         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
21026         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
21027         whether `executable-find' is bound.
21029         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
21031 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
21033         * minibuffer.el (completion-in-region-mode-predicate)
21034         (completion-in-region-mode--predicate): New vars.
21035         (completion-in-region, completion-in-region--postch)
21036         (completion-in-region-mode): Use them.
21037         (completion--capf-wrapper): Also return the hook function.
21038         (completion-at-point, completion-help-at-point):
21039         Adjust and provide a predicate.
21041         Preserve arg names for advice of subr and lexical functions (bug#8457).
21042         * help-fns.el (help-function-arglist): Consolidate the subr and
21043         new-byte-code cases.  Add argument `preserve-names' to extract names
21044         from the docstring when needed.
21045         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
21046         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
21047         (ad-arglist): Use help-function-arglist's new arg.
21048         (ad-definition-type): Use cond.
21050 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
21052         * autorevert.el (auto-revert-handler):
21053         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
21054         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
21055         Don't quote lambda.
21057         * image-mode.el (image-transform-set-scale):
21058         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
21060 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21062         * net/network-stream.el (network-stream-open-starttls): Only do
21063         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
21064         Upgrades via gnutls-cli are too slow to be done opportunistically.
21066 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
21068         * dframe.el (dframe-current-frame): Remove spurious quote.
21070 2011-04-12  Glenn Morris  <rgm@gnu.org>
21072         * calendar/cal-tex.el (cal-tex-end-document):
21073         Try to automatically use latin1 input if needed.
21075         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
21076         Don't try to cons a mark onto an empty element.
21078 2011-04-11  Leo Liu  <sdl.web@gmail.com>
21080         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
21081         buffers.
21082         (ido-kill-buffer-at-head): Support killing virtual buffers.
21084 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
21086         * minibuffer.el (completion-show-inline-help): New var.
21087         (completion--do-completion, minibuffer-complete)
21088         (minibuffer-force-complete, minibuffer-complete-word):
21089         Inhibit minibuffer messages if completion-show-inline-help is nil.
21091         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
21092         to avoid interference from inline help (Bug#5849).
21094 2011-04-10  Leo Liu  <sdl.web@gmail.com>
21096         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
21097         Fix typo.
21099 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
21101         * image-mode.el (image-toggle-display-image): Signal an error if
21102         not in Image mode.
21103         (image-transform-mode, image-transform-resize)
21104         (image-transform-set-rotation): Doc fix.
21105         (image-transform-set-resize): Delete.
21106         (image-transform-set-scale, image-transform-fit-to-height)
21107         (image-transform-fit-to-width): Handle image-toggle-display-image
21108         and image-transform-resize directly.
21110 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
21112         * doc-view.el (doc-view-fit-width-to-window)
21113         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
21114         New functions for fitting the shown image to the Emacs window size.
21115         (doc-view-mode-map): Add bindings for the new functions.
21117 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
21119         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
21120         Fix typo in docstring.
21122 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
21124         * files.el (file-size-human-readable): Produce one digit after
21125         decimal, like "ls -lh" does.
21127         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
21128         the file size representation.
21130         * simple.el (list-processes): If async subprocesses are not
21131         available, error out with a clear error message.
21133 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
21135         * help.el (help-form-show): New function, to be called from C.
21136         Put help-form output in a buffer named differently than *Help*.
21138 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
21140         * files.el (file-size-human-readable): New function.
21142         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
21143         computing the representation inline.  Don't require `cl'.
21145 2011-04-08  Glenn Morris  <rgm@gnu.org>
21147         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
21149         * net/browse-url.el (browse-url-firefox):
21150         Test system-type, not system-configuration.
21152         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
21153         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
21154         Use log-edit-empty-buffer-p.  (Bug#7598)
21156         * net/rlogin.el (rlogin-process-connection-type): Simplify.
21157         (rlogin-mode-map): Initialize in the defvar.
21158         (rlogin): Use ignore-errors.
21160         * replace.el (occur-mode-map): Some fixes for menu items.
21162 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
21164         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
21166 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
21168         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
21169         issuing unused warnings.
21171         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
21172         macro directly.
21174         * simple.el: Lisp reimplement of list-processes.  Based on an
21175         earlier reimplementation by Leo Liu, but using tabulated-list.el.
21176         (process-menu-mode): New major mode.
21177         (list-processes--refresh, list-processes):
21178         (process-menu-visit-buffer): New functions.
21180         * files.el (save-buffers-kill-emacs): Don't assume any return
21181         value of list-processes, which is undocumented anyway.
21183 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
21185         * emacs-lisp/tabulated-list.el: New file.
21187         * emacs-lisp/package.el: Use Tabulated List mode.
21188         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
21189         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
21190         table format using Tabulated List mode variables.
21191         (package--push): New macro, replacing package-list-maybe-add.
21192         (package-menu--generate): Use package--push.  Renamed from
21193         package--generate-package-list.
21194         (package-menu-refresh, list-packages): Use it.
21195         (package-menu--print-info): Rename from package-print-package.
21196         Return insertion data instead of inserting it directly.
21197         (package-menu-describe-package, package-menu-execute):
21198         Use tabulated-list-get-id.
21199         (package-menu-mark-delete, package-menu-mark-install)
21200         (package-menu-mark-unmark, package-menu-backup-unmark)
21201         (package-menu-mark-obsolete-for-deletion):
21202         Use tabulated-list-put-tag.
21203         (package--list-packages, package-menu-revert)
21204         (package-menu-get-package, package-menu-get-version)
21205         (package-menu-sort-by-column): Functions deleted.
21206         (package-menu-package-list, package-menu-sort-key): Vars deleted.
21207         (package-menu--status-predicate, package-menu--version-predicate)
21208         (package-menu--name-predicate)
21209         (package-menu--description-predicate): Handle arguments in the
21210         Tabulated List format.
21211         (package-list-packages-no-fetch): Call list-packages.
21213 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
21215         * files.el (after-find-file-from-revert-buffer): Remove variable.
21216         (after-find-file): Don't bind it.
21217         (revert-buffer-in-progress-p): New variable.
21218         (revert-buffer): Bind it.
21219         Pass nil for `after-find-file-from-revert-buffer'.
21221         * saveplace.el (save-place-find-file-hook): Use new variable
21222         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
21224 2011-04-06  Glenn Morris  <rgm@gnu.org>
21226         * Makefile.in (AUTOGEN_VCS): New variable.
21227         (autoloads): Use $AUTOGEN_VCS.
21229         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
21230         * calendar/calendar.el (calendar-mode-map):
21231         Check for toolkit scroll bars.  (Bug#8305)
21233 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
21235         * minibuffer.el (completion-in-region--postch)
21236         (completion-in-region-mode): Remove unnecessary messages.
21238 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
21240         * font-lock.el (font-lock-refresh-defaults):
21241         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
21242         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
21244         * info.el (Info-directory-list, Info-read-node-name-2)
21245         (Info-split-parameter-string): Doc fixes.
21246         (Info-virtual-nodes): Reflow docstring.
21247         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
21248         (Info-apropos-toc-nodes, info-finder, Info-get-token)
21249         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
21250         Fix typos in docstrings.
21251         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
21252         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
21253         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
21254         (Info-restore-desktop-buffer): Mark unused parameters.
21255         (Info-directory-find-file, Info-directory-find-node)
21256         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
21257         (Info-virtual-index-find-node, Info-apropos-find-file)
21258         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
21259         Mark unused parameters; fix typos in docstrings.
21260         (Info-virtual-index): Remove unused local variable `nodename'.
21262 2011-04-05  Deniz Dogan  <deniz@dogan.se>
21264         * net/rcirc.el: Update my e-mail address.
21265         (rcirc-mode-map): Remove M-o binding.
21267 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
21269         * startup.el (command-line): Save the cursor's theme-face
21270         directly, instead of using face-override-spec.
21272         * custom.el (load-theme): Minor optimization in assigning faces.
21274 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
21276         * help-fns.el (describe-variable): Complete all variables having
21277         documentation, including keywords.
21278         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
21280 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
21282         Convert to lexical-binding.
21284         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
21285         (bs--get-marked-string, bs--get-modified-string)
21286         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
21287         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
21288         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
21290         * ehelp.el (electric-help-execute-extended)
21291         (electric-help-ctrl-x-prefix):
21292         * hexl.el (hexl-revert-buffer-function):
21293         * linum.el (linum-after-change, linum-after-scroll):
21294         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
21296         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
21298 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
21300         * epa-dired.el:
21301         * epa-mail.el:
21302         * epa-hook.el:
21303         * epa-file.el:
21304         * epa.el:
21305         * epg.el: Use lexical binding.
21307 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
21309         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
21311         * textmodes/flyspell.el (flyspell-word): Recognize default
21312         dictionary case for flyspell-mark-duplications-exceptions.
21313         Use regexp matching for languages.
21314         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
21315         default dictionary (Bug#7926).
21317 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
21319         * emacs-lisp/package.el (package--with-work-buffer):
21320         Recognize https URLs.
21322         * net/network-stream.el: Move from gnus/proto-stream.el.
21323         Change prefix to network-stream throughout.
21324         (open-protocol-stream): Merge into open-network-stream, leaving
21325         open-protocol-stream as an alias.  Handle nil BUFFER args.
21327         * subr.el (open-network-stream): Move to net/network-stream.el.
21329 2011-04-02  Glenn Morris  <rgm@gnu.org>
21331         * find-dired.el (find-exec-terminator): New option.
21332         (find-ls-option): Test for -ls support.
21333         (find-ls-subdir-switches): Test for -b in find-ls-option.
21334         (find-dired, find-grep-dired): Doc fixes.
21335         (find-dired): Use find-exec-terminator.
21337         * find-dired.el (find-ls-option, find-ls-subdir-switches)
21338         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
21339         (find-name-arg): Remove purecopy.
21341         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
21342         (grep-compute-defaults): Check for `-exec COMMAND +' support.
21343         Set grep-find-use-xargs, grep-find-command, and grep-find-template
21344         accordingly.  Don't add the null-device if not needed.
21346         * files.el (save-some-buffers): Doc fix.
21348 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
21350         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
21352 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
21354         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
21355         Use `dolist' rather than `mapcar'.
21357 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
21359         Add lexical binding.
21361         * subr.el (apply-partially): Use new closures rather than CL.
21362         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
21363         (dolist, dotimes): Use slightly different expansion for lexical code.
21364         (functionp): Move to C.
21365         (letrec): New macro.
21366         (with-wrapper-hook): Use it and apply-partially instead of CL.
21367         (eval-after-load): Preserve lexical-binding.
21368         (save-window-excursion, with-output-to-temp-buffer): Turn them
21369         into macros.
21371         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
21373         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
21374         than the arglist.
21375         (help-add-fundoc-usage): Don't add `Not documented'.
21376         (help-function-arglist): Handle closures, subroutines, and new
21377         byte-code-functions.
21378         (help-make-usage): Remove leading underscores.
21379         (describe-function-1): Handle closures.
21380         (describe-variable): Use special-variable-p for completion.
21382         * files.el (lexical-binding): Declare safe.
21384         * emacs-lisp/pcase.el: Don't use destructuring-bind.
21385         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
21386         (pcase): Add `let' pattern.
21387         Change memoization so it actually works.
21388         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
21389         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
21390         <let>: New case.
21392         * emacs-lisp/macroexp.el: Use lexical binding.
21393         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
21394         Don't convert ' to #' without checking that it's indeed quoting
21395         a lambda.
21397         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
21398         Use eval-sexp-add-defvars.
21399         (eval-sexp-add-defvars): New fun.
21401         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
21403         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
21404         Don't autoload.
21405         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
21406         than the internal `byte-compile-lambda'.
21407         (defmethod): Don't hide code under quotes.
21408         (eieio-defmethod): New `code' argument.
21410         * emacs-lisp/eieio-comp.el: Remove.
21412         * emacs-lisp/edebug.el (edebug-eval-defun)
21413         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
21414         (edebug-toggle): Avoid `eval'.
21416         * emacs-lisp/disass.el (disassemble-internal): Handle new
21417         `closure' objects.
21418         (disassemble-1): Handle new byte codes.
21420         * emacs-lisp/cl.el (pushnew): Silence warning.
21422         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
21423         (cl-byte-compile-throw): Remove.
21424         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
21426         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
21427         closures.
21429         * emacs-lisp/cconv.el: New file.
21431         * emacs-lisp/bytecomp.el: Use lexical binding instead of
21432         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
21433         (byte-compile-initial-macro-environment):
21434         Handle declare-function here.
21435         (byte-compile--lexical-environment): New var.
21436         (byte-stack-ref, byte-stack-set, byte-discardN)
21437         (byte-discardN-preserve-tos): New lap codes.
21438         (byte-interactive-p): Don't use any more.
21439         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
21440         New macros.
21441         (byte-compile-lapcode): Use them and handle new lap codes.
21442         (byte-compile-obsolete): Remove.
21443         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
21444         (byte-compile-arglist-warn): Check late def of inlinable funs.
21445         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
21446         since they should have been expanded by now.
21447         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
21448         (byte-compile-from-buffer): Remove unused second arg.
21449         (byte-compile-preprocess): New function.
21450         (byte-compile-toplevel-file-form): New function to distinguish
21451         file-form calls from outside from file-form calls from hunk-handlers.
21452         (byte-compile-file-form): Simplify.
21453         (byte-compile-file-form-defsubst): Remove.
21454         (byte-compile-file-form-defmumble): Simplify now that
21455         byte-compile-lambda always returns a byte-code-function.
21456         (byte-compile): Preprocess.
21457         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
21458         Remove, not used any more.
21459         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
21460         (byte-compile-make-args-desc): New funs.
21461         (byte-compile-lambda): Handle lexical functions.  Always return
21462         a byte-code-function.
21463         (byte-compile-reserved-constants): New var, to make up room for
21464         closed-over variables.
21465         (byte-compile-constants-vector): Obey it.
21466         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
21467         (byte-compile-macroexpand-declare-function): New function.
21468         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
21469         byte-code-functions.
21470         (byte-compile-form): Check obsolescence here.
21471         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
21472         (byte-compile-variable-ref): Remove.
21473         (byte-compile-dynamic-variable-op): New fun.
21474         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
21475         (byte-compile-variable-set): New funs.
21476         (byte-compile-discard): Add 2 args.
21477         (byte-compile-stack-ref, byte-compile-stack-set)
21478         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
21479         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
21480         macroexpand-all instead.
21481         (byte-compile-quote-form): Remove.
21482         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
21483         (byte-compile-bind, byte-compile-unbind): New funs.
21484         (byte-compile-let): Handle let* and lexical binding.
21485         (byte-compile-let*): Remove.
21486         (byte-compile-catch, byte-compile-unwind-protect)
21487         (byte-compile-track-mouse, byte-compile-condition-case):
21488         Handle a new :fun-body form, used for lexical scoping.
21489         (byte-compile-save-window-excursion)
21490         (byte-compile-with-output-to-temp-buffer): Remove.
21491         (byte-compile-defun): Simplify.
21492         (byte-compile-stack-adjustment): New fun.
21493         (byte-compile-out): Use it.
21494         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
21496         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
21497         handler any more.
21499         * emacs-lisp/byte-opt.el: Use lexical binding.
21500         (byte-inline-lapcode): Remove (to bytecomp).
21501         (byte-compile-inline-expand): Pay attention to inlining to/from
21502         lexically bound code.
21503         (byte-compile-unfold-lambda): Don't handle byte-code-functions
21504         any more.
21505         (byte-optimize-form-code-walker): Don't handle save-window-excursion
21506         any more and don't call compiler-macros.
21507         (byte-compile-splice-in-already-compiled-code): Remove.
21508         (byte-code): Don't inline any more.
21509         (disassemble-offset): Receive `bytes' as argument rather than via
21510         dynamic scoping.
21511         (byte-compile-tag-number): Declare before first use.
21512         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
21513         `return' even if make-spliceable.
21514         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
21515         obsolete interactive-p.
21516         (byte-optimize-lapcode): Optimize new lap-codes.
21517         Don't trip up on new form of `byte-constant' lap code.
21519         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
21521         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
21523         * custom.el (custom-initialize-default, custom-declare-variable):
21524         Use `defvar'.
21526         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
21527         New variables.
21528         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
21529         (COMPILE_FIRST): Add macroexp and cconv.
21530         * makefile.w32-in: Mirror changes in Makefile.in.
21532         * vc/cvs-status.el:
21533         * vc/diff-mode.el:
21534         * vc/log-edit.el:
21535         * vc/log-view.el:
21536         * vc/smerge-mode.el:
21537         * textmodes/bibtex-style.el:
21538         * textmodes/css-mode.el:
21539         * startup.el:
21540         * uniquify.el:
21541         * minibuffer.el:
21542         * newcomment.el:
21543         * reveal.el:
21544         * server.el:
21545         * mpc.el:
21546         * emacs-lisp/smie.el:
21547         * doc-view.el:
21548         * dired.el:
21549         * abbrev.el: Use lexical binding.
21551 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
21553         * info.el (info-display-manual): New function.
21555 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
21557         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
21559 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
21561         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
21562         an entry for that server in rcirc-authinfo.  (Bug#8385)
21564 2011-03-31  Glenn Morris  <rgm@gnu.org>
21566         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
21568         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
21570 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
21572         * progmodes/python.el (python-default-interpreter)
21573         (python-python-command-args, python-jython-command-args)
21574         (python-which-shell, python-which-args, python-which-bufname)
21575         (python-file-queue, python-comint-output-filter-function)
21576         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
21577         variables and functions.
21579 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
21581         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
21582         (completion-in-region-mode): New minor mode.
21583         (completion-in-region): Use it.
21584         (completion-in-region--data, completion-in-region-mode-map): New vars.
21585         (completion-in-region--postch): New function.
21586         (completion--capf-misbehave-funs, completion--capf-safe-funs):
21587         New vars.
21588         (completion--capf-wrapper): New function.
21589         (completion-at-point): Use it to track well-behavedness of
21590         hook functions.
21591         (completion-help-at-point): New command.
21593 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
21595         * vc/add-log.el (add-change-log-entry): Don't use whitespace
21596         syntax class to search for whitespace on a single line
21597         (Message-ID: <4D938140.4030905@redhat.com>).
21599 2011-03-30  Leo Liu  <sdl.web@gmail.com>
21601         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
21602         New commands.
21603         (edit-abbrevs-map): Bind them here.
21604         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
21606 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
21608         * allout.el (allout-hide-by-annotation, allout-flag-region):
21609         Reduce possibility of overlay leakage by making them volatile.
21611         * allout-widgets.el (allout-widgets-tally): Define as nil so the
21612         hash is not shared between buffers.  Mode initialization is
21613         responsible for giving it a useful starting value.
21614         (allout-item-span): Reduce possibility of overlay leakage by
21615         making them volatile.
21616         (allout-widgets-count-buttons-in-region): Add diagnostic function
21617         for tracking down button overlay leaks.
21619 2011-03-29  Leo Liu  <sdl.web@gmail.com>
21621         * ido.el (ido-read-internal): Use the default history var
21622         minibuffer-history if no HISTORY is specified.
21624 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
21626         * net/imap.el (imap-shell-open, imap-process-connection-type):
21627         Use imap-process-connection-type for 'shell' streams as well as
21628         Kerberos, SSL, other subprocesses.
21630 2011-03-28  Leo Liu  <sdl.web@gmail.com>
21632         * abbrev.el (abbrev-table-empty-p): New function.
21633         (prepare-abbrev-list-buffer): Place empty abbrev tables after
21634         nonempty ones.  (Bug#5937)
21636 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
21638         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
21640 2011-03-27  Leo Liu  <sdl.web@gmail.com>
21642         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
21643         for foreground and background colors.
21644         (ansi-color-make-color-map): Adapt.
21646 2011-03-25  Leo Liu  <sdl.web@gmail.com>
21648         * midnight.el (midnight-time-float): Remove.  Note it calculates
21649         the microsecond component incorrectly and seconds-to-time does the
21650         same job.
21651         Remove redundant (require 'timer).
21653         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
21654         (ido-completions): Remove unused arguments.  (Bug#8329)
21656 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
21658         * minibuffer.el (completion--flush-all-sorted-completions):
21659         Remove itself from hook.
21660         (completion-at-point): Let the functions perform the completion
21661         immediately and return nil or t.
21662         * comint.el (comint-dynamic-complete-functions): Now identical to
21663         completion-at-point-functions.
21664         (comint-dynamic-list-input-ring): Remove unused var `index'.
21665         (comint--match-partial-filename, comint--unquote&expand-filename):
21666         New funs, split from comint-match-partial-filename.
21667         (comint-dynamic-complete): Use completion-at-point.
21668         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
21670 2011-03-24  Drew Adams  <drew.adams@oracle.com>
21672         * thingatpt.el: Support `defun'.
21674 2011-03-23  Leo Liu  <sdl.web@gmail.com>
21676         * abbrevlist.el: Move to obsolete/abbrevlist.el.
21678         * help-mode.el (help-mode-finish): Tweak regexp.
21680 2011-03-23  Glenn Morris  <rgm@gnu.org>
21682         * eshell/esh-opt.el (eshell-eval-using-options):
21683         Do not bind unused local variable `eshell-option-stub'.
21685         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
21687 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
21689         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
21690         keymap variable in `with-no-warnings' to avoid a warning when the
21691         keymap has been already `defconst'ed.
21693 2011-03-22  Leo Liu  <sdl.web@gmail.com>
21695         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
21696         encode all chars in abbrevs; otherwise use emacs-mule or
21697         utf-8-emacs.  (Bug#8308)
21699 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
21701         * simple.el (backward-delete-char-untabify):
21702         Avoid warning about using `delete-backward-char'.
21704         * image.el (image-type-file-name-regexps): Make it variable.
21705         `imagemagick-register-types' modifies it, and the user may want
21706         to add new extensions for known image types.
21707         (imagemagick-register-types): Throw error if not using ImageMagick.
21709 2011-03-22  Leo Liu  <sdl.web@gmail.com>
21711         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
21712         located before rcirc-prompt-end-marker.
21713         (rcirc-complete): Error if point is not after rcirc prompt.
21714         Handle the case when table is nil.
21715         (rcirc-user-authenticated): Define to fix compiler warning.
21717 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
21719         * custom.el (custom--inhibit-theme-enable): Make it affect only
21720         custom-theme-set-variables and custom-theme-set-faces.
21721         (provide-theme): Ignore custom--inhibit-theme-enable.
21722         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
21723         (custom-enabling-themes): Delete variable.
21724         (enable-theme): Accept only loaded themes as arguments.
21725         Ignore the special custom-enabled-themes variable.
21726         (custom-enabled-themes): Forbid themes from setting this.
21727         Eliminate use of custom-enabling-themes.
21728         (custom-push-theme): Quote "changed" custom var entry.
21730 2011-03-21  Leo Liu  <sdl.web@gmail.com>
21732         * ido.el (ido-read-internal): Add ido-selected to history instead
21733         of user input.
21735 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
21737         * subr.el (deferred-action-list, deferred-action-function):
21738         Mark obsolete.
21740 2011-03-21  Leo Liu  <sdl.web@gmail.com>
21742         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
21743         change on 2011-02-13 (bug#8309).
21745         * minibuffer.el (read-file-name-function): Change default value.
21746         (read-file-name--defaults): Rename from read-file-name-defaults.
21747         (read-file-name-default): Rename from read-file-name.
21748         (read-file-name): Call read-file-name-function.
21750 2011-03-21  Glenn Morris  <rgm@gnu.org>
21752         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
21753         Doc fixes.
21755 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
21757         * cus-theme.el: Add missing provide statement.
21758         (customize-create-theme): Extract theme value correctly.
21759         (custom-theme-visit-theme): Autoload.
21760         (customize-create-theme): Prompt before inserting default faces.
21762 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
21764         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
21765         units and musical notes.
21767 2011-03-20  Leo Liu  <sdl.web@gmail.com>
21769         * ido.el (ido-read-internal): Use completing-read-default.
21770         (ido-completing-read): Fix compatibility with completing-read.
21772 2011-03-20  Christian Ohler  <ohler@gnu.org>
21774         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
21775         (ert-delete-all-tests): Use `called-interactively-p' rather than
21776         `interactive-p'.
21777         (ert--make-xrefs-region): Respect END.
21779 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
21781         * dired-aux.el (dired-create-directory): Signal an error if the
21782         directory already exists (Bug#8246).
21784         * facemenu.el (list-colors-display): Call list-faces-display
21785         inside with-help-window.
21786         (list-colors-print): Use display property to align the final
21787         column, instead of checking window-width.
21789 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
21791         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
21792         windows-nt systems.
21793         (emerge-protect-metachars): Quote correctly for ms-dos and
21794         windows-nt systems.
21796 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
21798         * info.el (info-initialize): Replace all uses of `:' with
21799         path-separator for compatibility with non-Unix systems.
21800         Cache quoting of path-separator.  (Bug#8258)
21802 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
21804         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
21805         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
21806         (mouse-avoidance-mode): Fix typos in docstrings.
21808 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
21810         * startup.el (package-subdirectory-regexp): Move from package.el.
21811         Omit \\` and \\', and let callers add them.
21813         * emacs-lisp/package.el (package-strip-version)
21814         (package-load-all-descriptors): Add \\` and \\' to
21815         package-subdirectory-regexp before using it.
21816         (package-untar-buffer): New arg DIR; ensure that file untars only
21817         into this expected directory.  Remove superfluous delete-region.
21818         (package-unpack): Caller changed.
21819         (package-tar-file-info): Use package-subdirectory-regexp.
21821 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
21823         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
21824         diff-mode-shared-map (bug#8284).
21825         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
21827 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
21829         * calendar/time-date.el (format-seconds): Use assoc instead of
21830         assoc-string, since assoc-string doesn't exist in XEmacs.
21832 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
21834         * custom.el (custom-known-themes): Reflow docstring.
21835         (custom-theme-load-path): Fix typo in docstring.
21836         (load-theme): Fix typo in error message.
21837         (custom-available-themes, custom-variable-theme-value):
21838         Use `let', not `let*'.
21840 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
21842         * calc/README: Mention inclusion of musical notes.
21844         * calc/calc-units.el (calc-lu-quant): Rename from
21845         `calc-logunits-quantity'.
21846         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
21847         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
21848         (calc-db): Rename from `calc-dblevel'.
21849         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
21850         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
21851         (calc-np): Rename from `calc-nplevel'.
21852         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
21853         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
21854         (calc-lu-plus): Rename from `calc-logunits-add'.
21855         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
21856         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
21857         (calc-lu-minus): Rename from `calc-logunits-sub'.
21858         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
21859         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
21860         (calc-lu-times): Rename from `calc-logunits-mul'.
21861         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
21862         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
21863         (calc-lu-divide): Rename from `calc-logunits-div'.
21864         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
21865         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
21867         * calc/calc-ext.el (calc-init-extensions): Update the names of the
21868         functions being autoloaded.
21870         * calc/calc.el (calc-lu-power-reference): Rename from
21871         `calc-logunits-power-reference'.
21872         (calc-lu-field-reference): Rename from
21873         `calc-logunits-field-reference'.
21875         * calc/calc-help.el (calc-l-prefix-help):
21876         Mention musical note functions.
21878 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
21880         * minibuffer.el (completion-all-sorted-completions):
21881         Use :completion-cycle-penalty text property if present.
21883 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
21885         * allout.el (allout-yank-processing): Adjust for new rebulleting
21886         regime so bullet being yanked is used without prompting the user
21887         for a choice.
21889 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
21891         * startup.el (command-line): Warn the user that _emacs is deprecated.
21893 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
21895         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
21896         (delphi-verbose, delphi-comment-face, delphi-string-face)
21897         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
21898         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
21899         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
21900         (delphi-new-comment-line, delphi-font-lock-defaults)
21901         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
21902         Fix typos in docstrings.
21904 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
21906         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
21907         Invert the roles of character and string values for INSTEAD, so a
21908         string is used for the more common case of a defaulting prompt.
21910 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21912         * progmodes/ruby-mode.el (ruby-backward-sexp):
21913         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
21914         * play/gamegrid.el (gamegrid-make-face):
21915         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
21916         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
21917         * notifications.el (notifications-notify):
21918         * net/xesam.el (xesam-search-engines):
21919         * net/quickurl.el (quickurl-list-insert):
21920         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
21922 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
21924         * startup.el (command-line): Update package subdirectory regexp.
21926 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21928         * allout.el (allout-abbreviate-flattened-numbering)
21929         (allout-mode-deactivate-hook): Fix up obsolescence "date".
21931         * subr.el (read-char-choice): Only show the cursor after the prompt,
21932         not after the answer.
21934 2011-03-15  Kevin Ryde  <user42@zip.com.au>
21936         * help-fns.el (variable-at-point): Skip leading quotes, if any
21937         (bug#8253).
21939 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
21941         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
21942         warning message.
21944 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
21946         * shell.el (shell): When called interactively, offer to change the
21947         shell file name on remote hosts.
21949 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
21951         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
21952         integration for LDAP parameters.  The host, base, user or binddn,
21953         and secret tokens can be specified in a netrc file, for instance.
21954         This is optional because an `auth-source' parameter must be
21955         specified in the search attributes.
21957 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
21959         * help.el (describe-mode): Link to the mode's definition (bug#8185).
21961 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21963         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
21964         into declaration.  Remove redundant and harmful binding.
21966 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
21968         * files.el (file-ownership-preserved-p): Pass `integer' as an
21969         explicit 2nd argument to `file-attributes'.  If the file's owner
21970         is the Administrators group on Windows, and the current user is
21971         Administrator, consider that a match.
21973         * server.el (server-ensure-safe-dir): Consider server directory
21974         safe on MS-Windows if its owner is the Administrators group while
21975         the current Emacs user is Administrator.  Use `=' to compare
21976         numerical UIDs, since they could be integers or floats.
21978 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
21980         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
21982 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
21984         Sync with Tramp 2.2.1.
21986         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
21988         * net/trampver.el: Update release number.
21990 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
21992         * progmodes/compile.el (compilation--previous-directory): Fix up
21993         various nil/dead-marker mismatches (bug#8014).
21994         (compilation-directory-properties, compilation-error-properties):
21995         Don't call it at a position past the one we're about to change.
21997         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
21998         Disable obsolescence warnings in the file that declares it.
22000 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
22002         * allout-widgets.el (allout-widgets-tally):
22003         Initialize allout-widgets-tally as a hash table rather than nil to
22004         prevent mode-line redisplay warnings.  Also, clarify the module
22005         description and fix a comment typo.
22007 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
22009         * help-fns.el (describe-variable): Don't complete keywords.
22010         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
22012 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
22014         * emacs-lisp/package.el (package-version-join): Impose a standard
22015         string representation for pre/alpha/beta version lists.
22016         (package-unpack-single): Standardize the directory name by passing
22017         it through package-version-join.
22018         (package-strip-rcs-id): Accept any version string that does not
22019         signal an error in version-to-list.
22021 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
22023         * simple.el (delete-trailing-whitespace): Return nil for the
22024         benefit of `write-file-functions'.
22026 2011-03-10  Glenn Morris  <rgm@gnu.org>
22028         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
22030         * vc/vc-git.el (vc-git-program): New option.
22031         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
22032         (vc-git--call): Use it.
22034         * eshell/esh-util.el (eshell-condition-case): Doc fix.
22036         * cus-edit.el (Custom-newline): If no button at point, look
22037         for a subgroup button at start-of-line.  (Bug#2298)
22039         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
22041 2011-03-10  Julien Danjou  <julien@danjou.info>
22043         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
22044         `cursor-type' is nil.
22046 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
22048         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
22050 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
22052         * allout.el: Change so yank of distinctive-bullet items
22053         preserves the existing header prefix, rebulleting it if necessary,
22054         rather than replacing it.  This is necessary for proper operation
22055         of cooperative addons like allout-widgets.
22056         (allout-make-topic-prefix, allout-rebullet-heading):
22057         Change SOLICIT arg to INSTEAD, and interpret additionally a string
22058         value as alternate bullet to be used, instead of prompting the user
22059         for a bullet character.
22061 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
22063         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
22064         Do not use `tramp-file-name-port', because this returns also
22065         `tramp-default-port'.
22067 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
22069         * net/rcirc.el (rcirc-handler-001): Remove useless
22070         with-rcirc-process-buffer.
22071         (rcirc-check-auth-status): Swap arguments to string-match.
22073 2011-03-09  Glenn Morris  <rgm@gnu.org>
22075         * shell.el (shell-mode):
22076         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
22078         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
22079         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
22081 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
22083         * emacs-lisp/package.el (package-refresh-contents)
22084         (package-menu-execute): Use condition-case-no-debug.
22086 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
22088         * simple.el (shell-command-to-string): Use `process-file'.
22090         * emacs-lisp/package.el (package-tar-file-info): Handle also
22091         remote files.
22093         * emacs-lisp/package-x.el (package-upload-buffer-internal):
22094         Use `equal' for upload base check.
22096 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
22098         * textmodes/texinfo.el (texinfo-environments):
22099         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
22101 2011-03-08  Glenn Morris  <rgm@gnu.org>
22103         * cus-start.el (cursor-in-non-selected-windows):
22104         Fix :set quoting oddness.  (Bug#8192)
22106         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
22107         in some setf expressions.  (Bug#2159)
22109 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
22111         * custom.el (custom-available-themes): Return themes in
22112         alphabetical order.
22114 See ChangeLog.15 for earlier changes.
22116 ;; Local Variables:
22117 ;; coding: utf-8
22118 ;; End:
22120   Copyright (C) 2011-2012  Free Software Foundation, Inc.
22122   This file is part of GNU Emacs.
22124   GNU Emacs is free software: you can redistribute it and/or modify
22125   it under the terms of the GNU General Public License as published by
22126   the Free Software Foundation, either version 3 of the License, or
22127   (at your option) any later version.
22129   GNU Emacs is distributed in the hope that it will be useful,
22130   but WITHOUT ANY WARRANTY; without even the implied warranty of
22131   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22132   GNU General Public License for more details.
22134   You should have received a copy of the GNU General Public License
22135   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.