When renaming a file with wdired move point with file and don't lose mark status...
[emacs.git] / lisp / ChangeLog
blob5a5549332acc4bea0d558434046bb934011f6649
1 2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>  (tiny change)
3         * wdired.el (wdired-old-marks): New variable.
4         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5         (wdired-do-renames): Move point with renamed file and don't lose
6         mark status (Bug#11795).
8 2012-10-16  Juri Linkov  <juri@jurta.org>
10         * replace.el (query-replace-help): Mention multi-buffer replacement
11         keys in the Help message.  (Bug#12655)
13 2012-10-15  Chong Yidong  <cyd@gnu.org>
15         * emacs-lisp/byte-run.el (defsubst): Doc fix.
17 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
19         * window.el (display-buffer): Doc fix.
21         * progmodes/compile.el (compilation-error-regexp-alist-alist):
22         Adjust the msft regexp to the output of Studio 2010, and move msft
23         before edg-1.  See the discussion on emacs-devel,
24         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
25         for the details.
27 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
29         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
30         (oset): Move uses of object-class-fast macro after its definition.
32         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
34 2012-10-13  Chong Yidong  <cyd@gnu.org>
36         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
37         enabled, re-enable it (Bug#11963).
39 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
41         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
42         non-nil, restore window configuration (Bug#12623).
44 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
46         * help-fns.el (describe-variable, describe-function-1):
47         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
49         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
51 2012-10-12  Glenn Morris  <rgm@gnu.org>
53         * mail/rmailsum.el (rmail-header-summary):
54         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
56 2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>
58         * progmodes/python.el (python-mode-map):
59         Replace subtitute-key-definition with proper command remapping.
60         (python-nav--up-list): Fix behavior for blocks on the same level.
62 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
64         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
66         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
67         changes to the format of load-history.
69         * international/mule-cmds.el (read-char-by-name): Move let-binding of
70         completion-ignore-case in case that var is buffer-local (bug#12615).
72 2012-10-11  Kenichi Handa  <handa@gnu.org>
74         * international/eucjp-ms.el: Re-generated.
76 2012-10-10  Kenichi Handa  <handa@gnu.org>
78         * select.el (xselect--encode-string): If a coding is specified for
79         selection, and that is compatible with COMPOUND_TEXT, use it.
81 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
83         * window.el (switch-to-buffer-preserve-window-point): New option.
84         (switch-to-buffer):
85         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
87 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
89         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
90         Don't document nil as a useful value (bug#12583).
92 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
94         * net/tramp.el (tramp-debug-message):
95         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
96         (with-tramp-progress-reporter): Rename from
97         `tramp-with-progress-reporter'.
98         (with-tramp-file-property, with-tramp-connection-property):
99         Move from tramp-cache.el, rename from `with-file-property' and
100         `with-connection-property', respectively.
102         * net/tramp-cache.el: Remove `with-file-property' and
103         `with-connection-property'.
105         * net/tramp.el:
106         * net/tramp-gvfs.el:
107         * net/tramp-sh.el:
108         * net/tramp-smb.el: Adapt callees.
110         * net/trampver.el: Update release number.
112 2012-10-09  Glenn Morris  <rgm@gnu.org>
114         * w32-fns.el (set-message-beep):
115         * term/w32-win.el (set-message-beep): Update declarations.
117 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
119         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
120         (mode-line-widen, mode-line-input-method-map)
121         (mode-line-coding-system-map, mode-line-remote)
122         (mode-line-unbury-buffer, mode-line-bury-buffer)
123         (mode-line-next-buffer, mode-line-previous-buffer):
124         Replace save-selected-window+select-window => with-selected-window.
126         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
127         * progmodes/cc-vars.el (bq-process): Remove, unused.
129         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
131 2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>
133         Implemented `backward-up-list'-like navigation.
134         * progmodes/python.el (python-nav-up-list)
135         (python-nav-backward-up-list): New functions.
136         (python-mode-map): Define substitute key for backward-up-list to
137         python-nav-backward-up-list.
139 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
141         * progmodes/python.el (python-fill-paragraph): Rename from
142         python-fill-paragraph-function.  Fixed fill-paragraph for
143         decorators (Bug#12605).
145 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
147         * progmodes/python.el (python-shell-output-filter): Handle extra
148         carriage return in OSX (Bug#12409).
150 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
152         Fix shell handling of unbalanced quotes and parens in output.
153         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
154         (python-syntax-propertize-function): Use it.
155         (python-shell-output-syntax-table): New var.
156         (inferior-python-mode): Prevent unbalanced parens/quotes from
157         previous output mess with current input context.
159 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
161         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
162         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
164 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
166         * ffap.el (ffap-replace-file-component): Support Tramp file name
167         syntax, not only ange-ftp's one.
169 2012-10-08  Glenn Morris  <rgm@gnu.org>
171         * cus-start.el (message-log-max): Set :version.
173         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
175 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
177         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
178         the minibuffer window (Bug#10851).
180 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
182         Enhancements on forward-sexp movement.
183         * progmodes/python.el (python-nav-beginning-of-statement)
184         (python-nav-end-of-statement): Return point-marker.
185         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
186         (python-info-current-symbol)
187         (python-info-statement-starts-block-p): Rename from
188         python-info-beginning-of-block-p.
189         (python-info-statement-ends-block-p): Rename from
190         python-info-end-of-block-p.
191         (python-info-beginning-of-statement-p)
192         (python-info-end-of-statement-p)
193         (python-info-beginning-of-block-p, python-info-end-of-block-p):
194         New functions.
196 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
198         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
199         frame-selected-windows.
201 2012-10-08  Daniel Colascione  <dancol@dancol.org>
203         * battery.el (battery-status-function): Check for
204         w32-battery-status itself, not system-time windows-nt.
206         * frame.el: Require cl-lib.
207         (display-format-alist): New variable mapping frame types to
208         functions that initialize them.
209         (window-system-for-display): New function: interprets
210         display-format-alist.
211         (make-frame-on-display): Remove existing display-selection logic
212         and just forward to make-frame, which will now DTRT.
213         (make-frame): Restructure to use window-system-for-display to
214         figure out how to create a frame on a given display.
215         (display-mouse-p): Look for frame-type w32, not a particular
216         system-type.
218         * loadup.el: Load w32 lisp code when we have the w32 feature.
220         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
221         system-type windows-nt.
223         * server.el (server-create-window-system-frame): Look for window
224         type.
225         (server-proces-filter): Only force a window system when windows-nt
226         _and_ w32.  Explain why.
228         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
229         of window systems we configure for the mode.
231         * startup.el (command-line): Mark window system is initialized
232         after we've done it.
234         * common-win.el (x-select-text): Look for w32, not windows-nt.
236         * ns-win.el: Require cl-lib.  Add ourselves to
237         display-format-alist.
238         (ns-initialize-window-system): Assert we're not initialized twice.
240         * w32-win.el: Enable lexical binding; require cl-lib; add
241         ourselves to display-format-alist.
242         (w32-handle-dropped-file): Convert incoming dropped files from
243         Windows paths to Cygwin ones before passing them on to the rest of
244         Emacs.
245         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
246         (w32-initialize-window-system): Assert we're not initialized twice.
248         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
249         (x-initialize-window-system): Assert we're not initialized twice.
251         * w32-common-fns.el: New File.
252         (w32-version, w32-using-nt, w32-get-clipboard-data)
253         (w32-set-clipboard-data, x-set-selection, x-get-selection)
254         (w32-charset-info-alist, x-last-selected, text)
255         (x-get-selection-value, x-selection-value): Move here.
257         * w32-fns.el: Require w32-common-fns.
258         (w32-version, w32-using-nt, w32-get-clipboard-data)
259         (w32-set-clipboard-data, x-set-selection, x-get-selection)
260         (w32-charset-info-alist, x-last-selected, text)
261         (x-get-selection-value, x-selection-value): Move to
262         w32-common-fns.
264         * w32-vars.el:
265         (w32-allow-system-shell, w32-system-shells): Define only in
266         non-cygwin case.
268 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
270         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
271         (read-passwd): Remove a few more potential sources of leaks.
273 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
275         * progmodes/python.el (inferior-python-mode)
276         (python-shell-make-comint): Fix initialization of local
277         variables copied from parent buffer.
279 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
281         * term/ns-win.el (ns-read-file-name): Update declaration to match
282         nsfns.m.
283         (ns-respond-to-change-font): Change fontsize separatly so we are sure
284         it is set when font is acted upon.
286 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
288         Enhancements to indentation.
289         * progmodes/python.el (python-indent-context): Give priority to
290         inside-string context.  Make comments indentation markers.
291         (python-indent-region): Do not mess with strings, unless it's the
292         enclosing set of quotes.
294 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
296         * window.el (internal--before-save-selected-window)
297         (internal--after-save-selected-window): New functions extracted from
298         save-selected-window.  Make sure we return the `alist' we construct.
299         (save-selected-window): Use them.
301         * textmodes/tex-mode.el (tex-recenter-output-buffer):
302         Use with-selected-window.
304         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
305         forms that define macros (bug#12593).
307 2012-10-07  Kenichi Handa  <handa@gnu.org>
309         * international/mule-conf.el (compound-text-with-extensions):
310         Add :mime-charset property as x-ctext.
312 2012-10-07  Stefan Merten  <smerten@oekonux.de>
314         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
315         (rst-indent-literal-normal, rst-indent-literal-minimized)
316         (rst-indent-comment): Correct :version tag.
317         (rst-official-cvs-rev): Correct version string.
319 2012-10-07  Glenn Morris  <rgm@gnu.org>
321         * mail/rmailmm.el (rmail-mime-process-multipart):
322         Do not confuse a multipart message with an epilogue
323         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
325 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
327         Fix shell output retrieval and comint-prompt-regexp init.
328         * progmodes/python.el (inferior-python-mode):
329         (python-shell-make-comint): Fix initialization of
330         comint-prompt-regexp from copied file local variables.
331         (python-shell-fetched-lines): Remove var.
332         (python-shell-output-filter-in-progress): Rename from
333         python-shell-fetch-lines-in-progress.
334         (python-shell-output-filter-buffer): Rename from
335         python-shell-fetch-lines-string.
336         (python-shell-fetch-lines-filter): Delete function.
337         (python-shell-output-filter): New function.
338         (python-shell-send-string-no-output): Use them.
340 2012-10-07  Glenn Morris  <rgm@gnu.org>
342         * hi-lock.el (hi-lock-process-phrase):
343         Try to make it less fragile.  (Bug#7161)
345         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
347 2012-10-06  Glenn Morris  <rgm@gnu.org>
349         * ehelp.el (electric-help-mode): Use help-mode rather than
350         non-existent mode `help'.
351         (electric-help-map): Use button-buffer-map.  (Bug#10917)
353         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
354         (reftex-create-bibtex-footer): Fix custom types.
356         * progmodes/sh-script.el (sh-indent-after-continuation):
357         Add explicit :group.
359         * textmodes/rst.el (rst-preferred-decorations)
360         (rst-shift-basic-offset): Clarify obsolescence versions.
362         * profiler.el (profiler): Add missing group :version tag.
363         * avoid.el (mouse-avoidance-banish-position):
364         * proced.el (proced-renice-command):
365         * calc/calc.el (calc-ensure-consistent-units):
366         * calendar/icalendar.el (icalendar-import-format-uid):
367         * net/tramp.el (tramp-save-ad-hoc-proxies):
368         * progmodes/bug-reference.el (bug-reference-bug-regexp):
369         * progmodes/flymake.el (flymake-error-bitmap)
370         (flymake-warning-bitmap, flymake-fringe-indicator-position):
371         * progmodes/sh-script.el (sh-indent-after-continuation):
372         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
373         (verilog-before-save-font-hook, verilog-after-save-font-hook):
374         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
375         (vhdl-array-index-record-field-in-sensitivity-list)
376         (vhdl-indent-comment-like-next-code-line):
377         * textmodes/reftex-vars.el (reftex-ref-style-alist)
378         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
379         (reftex-cite-key-separator, reftex-create-bibtex-header)
380         (reftex-create-bibtex-footer):
381         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
382         (rst-indent-literal-normal, rst-indent-literal-minimized)
383         (rst-indent-comment): Add missing custom :version tags.
385         * calendar/timeclock.el (timeclock-modeline-display):
386         Add missing obsolete alias for renamed user option.
388         * strokes.el (strokes-modeline-string):
389         * emulation/crisp.el (crisp-mode-modeline-string):
390         * eshell/esh-mode.el (eshell-status-in-modeline):
391         Aliases to defcustoms must come before the defcustom.
393         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
394         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
395         (cal-tex-cursor-week-monday): Doc fixes.
396         (cal-tex-cursor-week2-summary): Doc fix.
397         Rename from cal-tex-cursor-week-at-a-glance.
399         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
400         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
402         * calendar/calendar.el (calendar-mode-map):
403         Add cal-tex-cursor-week2-summary.
405 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
407         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
409         * subr.el (read-passwd-map): New var.
410         (read-passwd): Use `read-string' again.
411         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
413 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
415         * register.el (append-to-register, prepend-to-register):
416         Deactivate mark, as does `copy-to-register' (bug#12389).
418 2012-10-06  Chong Yidong  <cyd@gnu.org>
420         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
422 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
424         * international/characters.el: Fix simple mistake ((car chars) ->
425         elt), delete duplicated code.
427 2012-10-06  Glenn Morris  <rgm@gnu.org>
429         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
431 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
433         * color.el (color-hsl-to-rgb): Fix incorrect results for
434         small and large hue values.  (Bug#12559)
436 2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>
438         Enhancements to docstring formatting when filling paragraphs.
439         * progmodes/python.el (python-fill-docstring-style): Rename from
440         python-fill-string-style.  Added new style.
441         (python-fill-string): Use new style.  Better checks for
442         docstrings.
444 2012-10-05  Glenn Morris  <rgm@gnu.org>
446         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
448         * color.el (color-name-to-rgb, color-rgb-to-hex)
449         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
450         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
451         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
452         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
454         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
456 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
458         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
459         to get the correct size across symlinks.
461         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
463 2012-10-04  Juri Linkov  <juri@jurta.org>
465         * replace.el (query-replace-interactive): Declare obsolete.
466         (query-replace-read-from): Add the last incremental search string
467         to the list of default values accessible via M-n.
468         (map-query-replace-regexp): Use `read-regexp'.
469         (query-replace, query-replace-regexp, query-replace-regexp-eval)
470         (map-query-replace-regexp, replace-string, replace-regexp):
471         Fix docstrings to replace mentions of `query-replace-interactive'
472         with alternatives.  (Bug#12526)
474 2012-10-04  Juri Linkov  <juri@jurta.org>
476         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
477         (dired-pop-to-buffer): Declare obsolete.
478         (dired-mark-pop-up): Doc fix.
480 2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>
482         Allow user to set docstring style for fill-paragraph.
483         * progmodes/python.el
484         (python-fill-comment-function, python-fill-string-function)
485         (python-fill-decorator-function, python-fill-paren-function):
486         Remove :safe for defcustoms.
487         (python-fill-string-style): New defcustom
488         (python-fill-paragraph-function): Enhance context detection.
489         (python-fill-string): Honor python-fill-string-style settings.
491 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
493         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
494         after setting its buffer (Bug#10805).
496 2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>
498         Fix cornercase for string syntax.
499         * progmodes/python.el (python-syntax-propertize-function):
500         Simplify and enhance the regexp for unescaped quotes.  Now it also
501         matches quotes in weird situations like the single quote in
502         "something\"'".
503         (python-syntax-stringify): Simplify num-quotes detecting code.
505 2012-10-03  Glenn Morris  <rgm@gnu.org>
507         * help-macro.el (three-step-help):
508         Revert 2012-09-29 change.  (Bug#12567)
510 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
512         * menu-bar.el (kill-this-buffer): Don't do anything when
513         `menu-frame' is not alive or visible (Bug#8184).
515         * emacs-lisp/debug.el (debug): When quitting the debugger window
516         restore current buffer (Bug#12502).
518 2012-10-02  Chong Yidong  <cyd@gnu.org>
520         * progmodes/hideif.el (hif-lookup, hif-defined):
521         Handle semantic-c-takeover-hideif.
523 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
525         Change sampling interval units from ms to ns.
526         * profiler.el (profiler-sampling-interval): Change units
527         from ms to ns, multiplying the default by 1000000 so that
528         it remains 1 ms.
529         (profiler-report-cpu-line-format): Give enough room for
530         the maximum counters on 64-bit hosts.
531         (profiler-report-render-calltree-1): Call them "CPU samples",
532         not "Time (ms)", since they are not milliseconds now (and
533         never really were).
535 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
537         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
538         Fix querying BBDB for entries without a last name (Bug#11580).
540 2012-10-02  Chong Yidong  <cyd@gnu.org>
542         * emacs-lisp/eieio.el: Restore Version header.
544 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
546         * vc/diff-mode.el (diff--auto-refine-data): New var.
547         (diff-hunk): Use it to delay refinement.
548         (diff-mode): Remove overlays when we turn off font-lock.
550         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
551         (table-initialize-table-fixed-width-mode)
552         (table-set-table-fixed-width-mode): Remove functions.
553         (table-command-list): Move initialization into declaration.
554         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
555         (table-with-cache-buffer): Use `declare'.
556         (table-span-cell): Simplify via CSE.
557         (table-fixed-width-mode): Use define-minor-mode.
558         (table-call-interactively, table-funcall, table-apply): Remove.
559         (table-function): New function, to replace them.
561         * bookmark.el (bookmark-search-pattern): Remove var.
562         (bookmark-read-search-input): Remove function.
563         (bookmark-bmenu-search): Reimplement using a minibuffer.
565         * faces.el (modeline): Remove obsolete face name.
567         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
568         and give a non-nil default value.
569         (add-change-log-entry): Simplify accordingly.
571 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
573         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
574         (vc-git-log-edit-toggle-amend): New function.
575         (vc-git-log-edit-toggle-signoff): New function.
576         (vc-git-log-edit-mode): New major mode.
577         (vc-git-log-edit-mode-map): Keymap for it.
578         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
580         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
581         header names.
582         (log-edit-toggle-header): New function.
583         (log-edit-extract-headers): Accept function values in HEADERS alist.
585 2012-10-01  David Engster  <deng@randomsample.de>
587         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
588         from symbol property and change message to be more consistent with
589         Emacs proper.
590         (eieio-describe-generic): Add filename for each implementation.
591         Fix indices for generic and normal methods.
592         (eieio-method-def, eieio-class-def): New buttons.
593         (eieio-help-find-method-definition)
594         (eieio-help-find-class-definition): New functions.
595         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
596         class, constructor and method definitions.
598         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
599         information in symbol property.
600         (scoped-class): Remove.
601         (eieio-slot-name-index, call-next-method): Check if it is bound.
603 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
605         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
606         (eieio-custom-mode): New major mode.
607         (eieio-customize-object): Use it.
609 2012-10-01  Eric Ludlam  <zappo@gnu.org>
611         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
612         specifying the expected class, and whether subclassing is allowed.
613         (eieio-persistent-convert-list-to-object):
614         (eieio-persistent-validate/fix-slot-value)
615         (eieio-persistent-slot-type-is-class-p): New functions.
616         (eieio-named::slot-missing): Doc fix.
618         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
619         Stop using unused publd variable.
621         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
622         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
623         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
624         (eieio-speedbar-handle-click): Do not specify a class for the
625         method.  Fixes method invocation order problems with EDE.
627 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
629         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
630         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
632 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
634         * bookmark.el (bookmark-version-control): Give tags in the
635         :type choices (Bug#12309), and improve doc string.
636         (bookmark-write-file): Bind `print-circle' to `t' to allow
637         circular custom bookmark types.  (Bug#12503)
639 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
641         Revert the FOLLOW-SYMLINKS change for file-attributes.
642         * files.el (remote-file-name-inhibit-cache, after-find-file):
643         * time.el (display-time-file-nonempty-p): Undo last change.
645         * profiler.el (profiler-sampling-interval): Change default back to 1.
646         See Stefan Monnier in
647         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
649 2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>
651         Shell output catching a la gud-gdb.
652         * progmodes/python.el (python-shell-fetch-lines-in-progress)
653         (python-shell-fetch-lines-string, python-shell-fetched-lines):
654         New Vars.
655         (python-shell-fetch-lines-filter): New function.
656         (python-shell-send-string-no-output): Use them.
658 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
660         * profiler.el (profiler-sampling-interval): Rename from
661         profiler-sample-interval.
662         (profiler-sampling-interval): Default to 10.
663         (profiler-find-profile): New command (was profiler-find-log).
664         (profiler-find-profile-other-window): New command.
665         (profiler-find-profile-other-frame): New command.
666         (profiler-profile): Introduce API-level data structure.
668 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
670         file-attributes has a new optional arg FOLLOW-SYMLINKS.
671         * files.el (remote-file-name-inhibit-cache):
672         * time.el (display-time-file-nonempty-p): Use it.
673         * files.el (after-find-file): Don't chase links before calling
674         file-exists-p, as file-exists-p already does the right thing.
676 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
678         Merge from standalone RefTeX repository.
680         The following ChangeLog entries are shortened versions of the
681         original ones with file paths adapted.  A not so strongly edited
682         version of the original ChangeLog can be found in the commit log.
684         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
685         (reftex-arg-cite): Use `reftex-cite-key-separator'.
686         Correctly handle new value type returned by `reftex-citation'.
688         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
689         that entries with whitespace at various places are found.
690         Doc fix. Include entries that are cross-referenced from cited entries.
691         Include @String definitions in the resulting bib file.  Add header
692         and footer defined in `reftex-create-bibtex-header' and
693         `reftex-create-bibtex-footer'.
694         (reftex-do-citation): Make it possible again to insert
695         non-existent entries.  Save match data when asking for optional
696         arguments. Return all keys, not just the first one.
697         (reftex-all-used-citation-keys): Fix regexp to correctly extract
698         all citations in the same line.
699         (reftex-parse-bibtex-entry): Accept additional optional argument
700         `raw' and keep quotes or braces if it is non-nil.  Match fields
701         containing hyphens besides word constituents.
702         (reftex-get-string-refs): New function.
703         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
704         and ask if it should be reread in case it did.
705         (reftex-pop-to-bibtex-entry)
706         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
707         entries with spaces or tabs in front of arguments.
708         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
709         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
710         Match entries containing numbers and symbol constituents.
711         (reftex-do-citation, reftex-figure-out-cite-format):
712         Use `reftex-cite-key-separator'.
714         * textmodes/reftex-dcr.el: Move provide statement to end of file.
715         (reftex-mouse-view-crossref): Explain why point is set.
717         * textmodes/reftex-global.el: Whitespace changes.
719         * textmodes/reftex-index.el: Move provide statement to end of
720         file.
721         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
722         (reftex-index-visit-phrases-buffer): Set marker when visiting
723         buffer.  This allows for returning from the phrases file to the
724         file one was just editing instead of the file where the last
725         phrases was added from.
726         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
727         punctuation syntax as it usually is not used as string quote in
728         TeX-related modes and may occur unmatched.  The change also
729         prevents fontification of quoted content.
730         (reftex-index-phrases-mode): Use it.
732         * textmodes/reftex-parse.el (reftex-parse-from-file):
733         Move backward one char if a `\' was matched after a section macro.
734         (reftex-parse-from-file): Use beginning of match instead of end as
735         bound.
737         * textmodes/reftex-ref.el: Adapt creation of
738         `reftex-<package>-<macro>' functions to new structure of
739         `reftex-ref-style-alist'.
740         (reftex-reference): Use `reftex-ref-style-list' function.
741         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
742         reference macro if `reftex-ref-macro-prompt' is non-nil.
743         (reftex-reference): Pass refstyle to `reftex-format-special'.
744         Determine reference macro by looking at
745         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
746         Use only one special format function.
747         (reftex-varioref-vref, reftex-fancyref-fref)
748         (reftex-fancyref-Fref): Remove definitions.  The functions are now
749         generated from `reftex-ref-style-alist'.
750         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
751         Remove.
752         (reftex-format-special): New function.
754         * textmodes/reftex-sel.el
755         (reftex-select-cycle-ref-style-internal): Adapt to new structure
756         of `reftex-ref-style-alist'. Remove code for testing macro type.
757         (reftex-select-toggle-varioref)
758         (reftex-select-toggle-fancyref): Remove.
759         (reftex-select-cycle-ref-style-internal)
760         (reftex-select-cycle-ref-style-forward)
761         (reftex-select-cycle-ref-style-backward): New functions.
762         (reftex-select-label-map): Use `v' and `V' for general cycling
763         through reference styles.  Add `p' for switching between number
764         and page reference types.
766         * textmodes/reftex-toc.el (reftex-re-enlarge):
767         Call `enlarge-window' only if there is something to do because in Emacs
768         the horizontal version throws an error even if the parameter is 0.
770         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
771         (reftex-plug-into-AUCTeX): Doc fix.
772         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
773         string.  Adapt to new name.
774         (reftex-ref-style-alist): Change structure so that it is not
775         possible to use multiple different package names within a style.
776         Remove the symbols for symbols for macro type distinction.
777         Add characters for macro selection.
778         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
779         (reftex-create-bibtex-footer): New variables.
780         (reftex-format-ref-function): Mention third argument of special
781         format function.
782         (reftex-ref-style-alist, reftex-ref-style-default-list):
783         New variables.
784         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
785         to new implementation.  Mark as obsolete.  Add compatibility code
786         for honoring the variable values in case they are set.
787         (reftex-cite-format-builtin, reftex-bibliography-commands):
788         Add support for ConTeXt.
789         (reftex-format-ref-function, reftex-format-cite-function):
790         Fix custom type.
791         (reftex-cite-key-separator): New variable.
793         * textmodes/reftex.el (reftex-syntax-table-for-bib)
794         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
795         `reftex-syntax-table' because parens have to retain their paren
796         syntax in order for parsing of BibTeX entries like @book(...) to
797         work.
798         (reftex-in-comment): Do not error out if `comment-start-skip' is
799         not set.  Deal correctly with escaped comment characters.
800         (reftex-tie-multifile-symbols): Add doc string.
801         Initialize `reftex-ref-style-list'.
802         (reftex-untie-multifile-symbols): Add doc string.
803         (reftex-add-index-macros): Doc fix.
804         (reftex-ref-style-activate, reftex-ref-style-toggle)
805         (reftex-ref-style-list): New functions.
806         (reftex-mode-menu): Use them.  Adapt to new structure of
807         `reftex-ref-style-alist'.
808         (reftex-select-with-char): Kill the RefTeX Select buffer when
809         done.
810         (reftex-remove-if): New function.
811         (reftex-erase-all-selection-and-index-buffers)
812         (reftex-mode-menu): Reference styles are now computed from
813         `reftex-ref-style-alist'.  Fix typo.
814         (reftex-report-bug): New function.
815         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
816         algorithms with O(n log n).  Introduce optional argument SORT (not
817         yet used).
819 2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>
821         Enhancements for triple-quote string syntax.
822         * progmodes/python.el (python-syntax-propertize-function):
823         Match both quote cases in one regexp.
824         (python-syntax-stringify): Handle matches properly.
826 2012-09-30  Juri Linkov  <juri@jurta.org>
828         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
829         to nil around the call to `insert' to prevent
830         directory time modification by lock_file.  (Bug#2295)
831         * tar-mode.el (tar-summarize-buffer): Idem.
833 2012-09-30  Juri Linkov  <juri@jurta.org>
835         * facemenu.el (list-colors-sort): Add option "Luminance".
836         (list-colors-sort-key): Implement it.
838         * vc/diff-mode.el (diff-refine-removed):
839         * vc/ediff-init.el (ediff-fine-diff-A):
840         * vc/smerge-mode.el (smerge-refined-removed):
841         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
843 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
845         * term/ns-win.el (x-file-dialog): New function.
847 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
849         * ido.el (ido-max-directory-size): Default to nil; the current
850         default is small for POSIX systems, and impractical on Windows 7
851         now that lstat returns directory sizes for NTFS.
853 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
855         In buffer display functions handle window-height/window-width
856         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
857         * window.el (window--display-buffer): New argument ALIST.
858         Obey window-height and window-width alist entries.
859         (window--try-to-split-window): New argument ALIST.
860         Bind window-combination-limit to t when the window's size shall be
861         changed and window-combination-limit equals `window-size'.
862         (display-buffer-in-atom-window)
863         (display-buffer-in-major-side-window)
864         (display-buffer-in-side-window, display-buffer-same-window)
865         (display-buffer-reuse-window, display-buffer-pop-up-frame)
866         (display-buffer-pop-up-window, display-buffer-below-selected)
867         (display-buffer-at-bottom, display-buffer-in-previous-window)
868         (display-buffer-use-some-window): Adjust all callers of
869         window--display-buffer and window--try-to-split-window.
870         (fit-frame-to-buffer): New option.
871         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
872         is non-nil.
873         (display-buffer-in-major-side-window): Evaluate window-height /
874         window-width alist entries.
876         * help.el (temp-buffer-resize-frames)
877         (temp-buffer-resize-regexps): Remove options.
878         (temp-buffer-resize-mode): Adjust doc-string.
879         (resize-temp-buffer-window): Don't consult
880         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
881         temp-buffer-resize-frames.
883         * dired.el (dired-mark-pop-up):
884         Call display-buffer-below-selected with a fit-window-to-buffer alist
885         entry.
887 2012-09-30  Chong Yidong  <cyd@gnu.org>
889         * server.el (server-host): Document the security implications.
890         (server-auth-key): Doc fix.
892         * startup.el (initial-buffer-choice): Doc fix.
894         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
896         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
897         restriction change.
899         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
901         * help-fns.el (help-fns--obsolete): Fix last change.
903 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
905         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
906         (minor-mode-map-alist): Remove redundant code.
908         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
909         visited in a buffer.
910         (cvs-insert-visited-file): New function.
911         (find-file-hook): Use it.
913         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
915         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
916         chose face.
917         (log-edit-empty-buffer-p): Don't require a space after a header.
919         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
921         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
923         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
924         a proper minor-mode.
926         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
928 2012-09-29  Glenn Morris  <rgm@gnu.org>
930         * winner.el (winner-mode): Remove variable (let define-minor-mode
931         handle it).
932         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
933         Doc fixes.
934         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
935         (winner-mode): Use define-minor-mode.
937         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
938         the full definition in loaddefs, rather than duplicating it.
940         * help-macro.el (three-step-help): No need to autoload defcustom.
942         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
943         (inferior-lisp-program, inferior-lisp-load-command)
944         (inferior-lisp-prompt, inferior-lisp-mode-hook):
945         No need to autoload defcustoms.
947         * hippie-exp.el (hippie-expand-try-functions-list)
948         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
949         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
950         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
951         (hippie-expand-only-buffers): No need to autoload defcustoms.
952         * progmodes/vhdl-mode.el (vhdl-line-expand):
953         Explicitly load hippie-exp, so it does not get autoloaded
954         while hippie-expand-try-functions-list is let-bound.
956 2012-09-28  Glenn Morris  <rgm@gnu.org>
958         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
960         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
961         Only "cl.el" counts as cl these days.
963 2012-09-28  Juri Linkov  <juri@jurta.org>
965         Display archive errors in the echo area instead of inserting
966         to the file buffer.
968         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
969         to STDERR-TEST that can be a regexp matching a successful output.
970         Create a temporary file and redirect stderr to it.  Search for
971         STDERR-TEST in the stderr output and display it in the echo area
972         if no match is found.
973         (archive-extract-by-file): New function like
974         `archive-extract-by-stdout' but extracting archives to files
975         and looking for successful matches in stdout.  Function body is
976         mostly copied from `archive-rar-extract'.
977         (archive-rar-extract): Use `archive-extract-by-file'.
978         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
980 2012-09-28  Leo Liu  <sdl.web@gmail.com>
982         * pcomplete.el (pcomplete-show-completions):
983         Use minibuffer-message to make pcomplete usable in minibuffer.
985         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
987 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
989         * type-break.el: Use lexical-binding.
990         (type-break-mode): Use define-minor-mode.
992         * emacs-lisp/pcase.el (pcase--mark-used): New.
993         (pcase--u1): Use it (bug#12512).
995         * custom.el (load-theme): Set buffer-file-name so the load is recorded
996         in load-history with the right file name.
998 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
1000         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1001         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1002         (doc-view-get-bounding-box): Make bounding box slicing work for
1003         ODF and DVI documents.
1005 2012-09-28  Glenn Morris  <rgm@gnu.org>
1007         * type-break.el (type-break-mode, type-break-interval)
1008         (type-break-good-rest-interval, type-break-keystroke-threshold):
1009         No need to autoload.
1010         (type-break-good-rest-interval, type-break-keystroke-threshold):
1011         Add :set-after.
1013 2012-09-28  Chong Yidong  <cyd@gnu.org>
1015         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1016         Add :version tag.
1018 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1020         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1022 2012-09-27  Glenn Morris  <rgm@gnu.org>
1024         * faces.el (x-display-name): Declare (for without-x builds).
1026         * linum.el (linum-format): Don't autoload it.  Improve :type.
1028         * progmodes/tcl.el: Don't require outline when compiling.
1029         (outline-regexp, outline-level): Declare.
1030         * textmodes/sgml-mode.el: Don't require outline when compiling.
1031         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1033         * term.el (term-ansi-reset):
1034         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
1036         * vc/vc.el (vc-next-action): Only gripe about committing read-only
1037         files for RCS and SCCS.  (Bug#9781)
1039 2012-09-27  Chong Yidong  <cyd@gnu.org>
1041         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1042         change; value should be t.
1044 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1046         * image-mode.el: Use lexical-binding.
1047         (image-mode-winprops): Use t to stand for the window of
1048         a buffer that's not displayed.
1049         * doc-view.el (doc-view-new-window-function): Handle the new
1050         t in winprops.
1051         (doc-view-enlarge): Make it a real nop if the size is not changed.
1052         (doc-view-display): Handle the case where the buffer is not (yet?)
1053         displayed in any window.
1054         (doc-view-saved-settings): New var.
1055         (doc-view-mode): Use it.
1056         (doc-view-fallback-mode): Set it.
1058         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1059         Set lexical-binding.
1060         (minibuffer-eldef-shorten-default): New var.
1061         (minibuffer-default-in-prompt-regexps): Use it for new default.
1062         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1064 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
1066         * international/uni-bidi.el:
1067         * international/uni-category.el:
1068         * international/uni-name.el:
1069         * international/uni-numeric.el: Regenerate.
1071 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
1072             Stefan Monnier  <monnier@iro.umontreal.ca>
1074         * profiler.el: New file.
1076 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1078         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1079         (testcover-reinstrument): Simplify with CSE.
1081 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
1083         * window.el (temp-buffer-window-setup): Fix typo in docstring.
1085 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
1087         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1088         (verilog-auto-input, verilog-auto-insert-lisp)
1089         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1090         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1091         (verilog-auto-unused, verilog-auto-wire)
1092         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1093         newline.  Reported by Andrew Jones.
1094         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1095         Reported by Brad Dobbie.
1096         (verilog-batch-delete-trailing-whitespace):
1097         Create verilog-batch-delete-trailing-whitespace.
1098         Reported by Brad Dobbie.
1099         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1100         parameters from another module.  Reported by Dan Katz.
1101         (verilog-auto, verilog-auto-assign-modport)
1102         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1103         AUTOINOUTMODPORT for UVM interface module shell generation.
1104         Reported by Brad Dobbie.
1105         (verilog-auto-inst-interfaced-ports): Make default nil, as more
1106         standard behavior.
1107         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1108         Reported by Matt Martin.
1110 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
1112         * window.el (window--resize-child-windows): When resizing child
1113         windows proportionally, process them in reverse order to
1114         preserve the "when splitting a window the new one gets the odd
1115         line" behavior.
1116         (window--resize-root-window-vertically): When resizing the
1117         minibuffer window try to affect only windows at the bottom of the
1118         frame.  (Bug#12419)
1120 2012-09-25  Chong Yidong  <cyd@gnu.org>
1122         * subr.el (declare): Doc fix.
1124         * help-fns.el (help-fns--obsolete): Handle macros properly.
1126 2012-09-25  Chong Yidong  <cyd@gnu.org>
1128         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1129         this function obsolete.
1131         * calendar/cal-x.el (calendar-two-frame-setup)
1132         (calendar-only-one-frame-setup, calendar-one-frame-setup):
1133         * calendar/calendar.el (american-calendar, european-calendar)
1134         (calendar-for-loop):
1135         * comint.el (comint-dynamic-simple-complete)
1136         (comint-dynamic-complete-as-filename, comint-unquote-filename):
1137         * desktop.el (desktop-load-default):
1138         * dired-x.el (dired-omit-here-always)
1139         (dired-hack-local-variables, dired-default-directory):
1140         * emacs-lisp/derived.el (derived-mode-class):
1141         * emacs-lisp/timer.el (timer-set-time-with-usecs):
1142         * emacs-lock.el (toggle-emacs-lock):
1143         * epa.el (epa-display-verify-result):
1144         * epg.el (epg-sign-keys, epg-start-sign-keys)
1145         (epg-passphrase-callback-function):
1146         * eshell/esh-util.el (eshell-for):
1147         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1148         (eshell-add-to-window-buffer-names):
1149         * files.el (locate-file-completion):
1150         * imenu.el (imenu-example--create-c-index)
1151         (imenu-example--create-lisp-index)
1152         (imenu-example--lisp-extract-index-name)
1153         (imenu-example--name-and-position):
1154         * international/mule-cmds.el (princ-list):
1155         * international/mule-diag.el (decode-codepage-char):
1156         * international/mule-util.el (detect-coding-with-priority):
1157         * iswitchb.el (iswitchb-read-buffer):
1158         * mail/mailalias.el (mail-complete):
1159         * mail/sendmail.el (mail-sent-via):
1160         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1161         (mouse-major-mode-menu):
1162         * password-cache.el (password-read-and-add):
1163         * pcomplete.el (pcomplete-parse-comint-arguments):
1164         * progmodes/sh-script.el (sh-maybe-here-document):
1165         * replace.el (query-replace-regexp-eval):
1166         * savehist.el (savehist-load):
1167         * simple.el (choose-completion-delete-max-match):
1168         * term.el (term-dynamic-simple-complete):
1169         * vc/ediff-init.el (ediff-check-version):
1170         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1171         * vc/vc.el (vc-diff-switches-list):
1172         * view.el (view-return-to-alist-update): Likewise.
1174         * subr.el (eval-next-after-load, makehash, insert-string)
1175         (assoc-ignore-representation, assoc-ignore-case): Use declare to
1176         mark obsolete.
1177         (mode-line-inverse-video): Variable deleted.
1179         * international/mule-util.el (string-to-sequence): Remove.
1181         * calendar/calendar.el (calendar-version):
1182         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1183         (icalendar-convert-diary-to-ical):
1184         * cus-edit.el (custom-mode):
1185         * ansi-color.el (ansi-color-unfontify-region):
1186         * international/latin1-disp.el (latin1-char-displayable-p):
1187         * progmodes/cwarn.el (turn-on-cwarn-mode):
1188         * progmodes/which-func.el (which-func-update-1):
1189         Use define-obsolete-function-alias.
1191         * net/newst-backend.el (newsticker-cache-filename):
1192         * net/newst-treeview.el (newsticker-groups-filename):
1193         Fix incorrect obsolescence declaration.
1195         * allout.el (allout-passphrase-hint-string): Likewise.
1196         (allout-init): Use a declare form to mark obsolete.
1198         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1199         this applies to functions.
1201         * iswitchb.el (iswitchb-read-buffer): Move code of
1202         iswitchb-define-mode-map here, and delete that obsolete function.
1204         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1205         font-lock-reference-face.
1207 2012-09-25  Glenn Morris  <rgm@gnu.org>
1209         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1210         Doc fixes.
1212         * eshell/em-term.el (eshell-term-name):
1213         Default to term-term-name.  (Bug#12485)
1215 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
1217         * progmodes/python.el (python-shell-send-buffer): Better handling
1218         of "if __name__ == '__main__':" conditionals when sending the buffer.
1220 2012-09-24  Glenn Morris  <rgm@gnu.org>
1222         * eshell/esh-cmd.el (eshell-find-alias-function):
1223         Tighten up file-name regexp.  (Bug#12499)
1225 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
1227         Enhancements for triple-quote string syntax.
1228         * progmodes/python.el (python-quote-syntax): Remove.
1229         (python-syntax-propertize-function): New value.
1230         (python-syntax-count-quotes, python-syntax-stringify):
1231         New functions.
1233 2012-09-24  Chong Yidong  <cyd@gnu.org>
1235         * mail/supercite.el (sc-version): Remove obsolete function.
1236         (sc-describe): Don't mark as obsolete, since it is bound.
1237         (sc-submit-bug-report): Remove.
1239         * vc/log-edit.el (cvs-changelog-full-paragraphs)
1240         (cvs-commit-buffer-require-final-newline): Remove.
1241         (log-edit-require-final-newline)
1242         (log-edit-changelog-full-paragraphs): Default to t.
1244         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1245         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1246         * vc/vc.el (vc-checkout-carefully): Likewise.
1248         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1249         (emerge-version): Remove.
1251         * progmodes/compile.el (compile-internal): Remove.
1252         (compilation-parse-errors-function): Fix typo.
1254         * international/mule.el (set-char-table-default): Remove.
1255         (set-coding-priority, make-coding-system, generic-char-p)
1256         (charset-list, charset-bytes, charset-id): Use declare to mark
1257         functions as obsolete.
1259         * vc/pcvs-defs.el (cvs-buffer-name-alist)
1260         (cvs-invert-ignore-marks): Remove references to obsolete vars.
1261         * vc/vc-hooks.el (vc-default-registered): Don't use
1262         vc-master-templates.
1264         * font-lock.el (font-lock-reference-face):
1265         Use define-obsolete-variable-alias.
1267         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1268         * calendar/calendar.el (calendar-font-lock-keywords):
1269         * calendar/diary-lib.el (diary-font-lock-keywords)
1270         (diary-fancy-font-lock-keywords):
1271         * textmodes/reftex-sel.el (reftex-insert-docstruct):
1272         * textmodes/reftex-index.el (reftex-insert-index):
1273         * textmodes/reftex-cite.el (reftex-format-bib-entry):
1274         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1275         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1276         * progmodes/prolog.el (prolog-font-lock-keywords):
1277         * progmodes/idlwave.el (idlwave-idl-keywords):
1278         * progmodes/ada-mode.el (ada-font-lock-keywords):
1279         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1281 2012-09-24  Glenn Morris  <rgm@gnu.org>
1283         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1285 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
1287         * progmodes/python.el (python-indent-line): More consistent cursor
1288         movement behavior.
1290 2012-09-23  Stefan Merten  <smerten@oekonux.de>
1292         * textmodes/rst.el: Fix compiler warning.
1294 2012-09-23  Roland Winkler  <winkler@gnu.org>
1296         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1297         Transcribe also LaTeX hyphenation.
1298         (bibtex-reformat): Bug fix. Do not quote twice the elements of
1299         bibtex-reformat-previous-options.
1301 2012-09-23  Roland Winkler  <winkler@gnu.org>
1303         * proced.el (proced-renice-command): New variable.
1304         (proced-marked-processes): New function.
1305         (proced-with-processes-buffer): New macro.
1306         (proced-send-signal): Use them.
1307         (proced-renice): New command bound to r.
1309 2012-09-23  Roland Winkler  <winkler@gnu.org>
1311         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1312         ibuffer-saved-filter-groups has one element, shortcut the call of
1313         completing-read.  (Bug#12331)
1315 2012-09-23  Chong Yidong  <cyd@gnu.org>
1317         * bindings.el (mode-line-toggle-read-only):
1318         * bs.el (bs-toggle-readonly):
1319         * buff-menu.el (Buffer-menu-toggle-read-only):
1320         * dired.el (dired-toggle-read-only):
1321         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1323 2012-09-23  Chong Yidong  <cyd@gnu.org>
1325         * image.el (image-type-available-p): Adapt to init-image-library
1326         argument changes.
1328 2012-09-22  Juri Linkov  <juri@jurta.org>
1330         * dired.el (dired-mode-map): Add [remap read-only-mode] for
1331         `dired-toggle-read-only'.  (Bug#12462)
1333 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
1335         * subr.el (temp-output-buffer-show): New function.
1336         (with-output-to-temp-buffer): Call temp-output-buffer-show
1337         instead of internal-temp-output-buffer-show.
1339 2012-09-22  Chong Yidong  <cyd@gnu.org>
1341         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1342         (Bug#12462).
1344         * repeat.el (repeat): Doc fix (Bug#12348).
1346         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1347         (Bug#10909).
1349         * simple.el (shell-command-on-region): Doc fix.
1350         (read-only-mode): Doc fix.
1352 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
1354         * emacs-lisp/timer.el (run-with-idle-timer)
1355         (timer-activate-when-idle): Warn against reinvoking an idle timer
1356         from within its own timer action.  (Bug#12447)
1358 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
1360         * cus-start.el (window-combination-limit): Add new optional
1361         values.
1362         * window.el (temp-buffer-window-show)
1363         (window--try-to-split-window): Handle new values of
1364         window-combination-limit (Bug#1806).
1365         (split-window): Test window-combination-limit for t instead of
1366         non-nil.
1367         (display-buffer-at-bottom): New buffer display action function.
1368         * help.el (temp-buffer-resize-regexps): New option.
1369         (temp-buffer-resize-mode): Rewrite doc-string.
1370         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1371         Don't resize reused window.  Suggested by Glenn Morris.
1373 2012-09-22  Stefan Merten  <smerten@oekonux.de>
1375         * textmodes/rst.el: Revamp section title faces.
1376         (rst-official-version)
1377         (rst-package-emacs-version-alist): Sync with official version
1378         V1.4.0.
1379         (rst-faces-defaults, rst-set-level-default)
1380         (rst-level-face-max, rst-level-face-base-color)
1381         (rst-level-face-base-light, rst-level-face-format-light)
1382         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1383         (rst-adornment-faces-alist): Match new setup.
1384         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1385         (rst-level-5, rst-level-6): New faces.
1387 2012-09-22  Chong Yidong  <cyd@gnu.org>
1389         * simple.el (undo): Handle indirect buffers (Bug#8207).
1391 2012-09-21  Leo Liu  <sdl.web@gmail.com>
1393         IDO: Disable match re-ordering for buffer switching.
1394         * ido.el (ido-buffer-disable-smart-matches): New variable.
1395         (ido-set-matches-1): Use it.  (Bug#2042)
1397 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
1399         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1400         Fix 2011-05-17 change.  (Bug#12418)
1402 2012-09-21  Leo Liu  <sdl.web@gmail.com>
1404         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1406 2012-09-21  Glenn Morris  <rgm@gnu.org>
1408         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1409         Be more robust about locating simple.el.
1411 2012-09-21  Glenn Morris  <rgm@gnu.org>
1413         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1415 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
1417         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
1419 2012-09-20  Juri Linkov  <juri@jurta.org>
1421         * replace.el (query-replace-read-from): Use `read-regexp' instead
1422         of `read-from-minibuffer' when `regexp-flag' is non-nil.
1423         (occur-read-primary-args): Use `read-regexp' instead of
1424         `read-string'.
1425         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1426         `read-from-minibuffer'.
1427         * isearch.el (isearch-occur): Use `read-regexp' instead of
1428         `read-string'.
1429         * dired.el (dired-read-regexp): Use `read-regexp' instead of
1430         `read-from-minibuffer'.
1431         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1432         of `read-string'.  (Bug#7567)
1434         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1435         and allow accepting a list of strings prepended to a list of
1436         standard default values.  Doc fix.  (Bug#12321)
1438         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
1440         * replace.el (read-regexp): Don't add ": " when PROMPT already
1441         ends with a colon and space.  (Bug#12321)
1443 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
1445         * doc-view.el (doc-view-display): Better fix for the cl-assertion
1446         error.
1448 2012-09-20  Stefan Merten  <smerten@oekonux.de>
1450         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1451         Fixes feature request bug#11711.
1452         (rst-mode): Create `imenu-create-index-function'.
1453         (rst-get-stripped-line): Delete after refactoring.
1454         (rst-section-tree, rst-section-tree-rec)
1455         (rst-section-tree-point): Refactor and document properly.
1456         (rst-imenu-find-adornments-for-position)
1457         (rst-imenu-convert-cell, rst-imenu-create-index):
1458         New function.
1460 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1462         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1463         (macroexp--expand-all): Use it.
1464         (macroexp--funcall-and-return): Remove by folding it into its sole
1465         caller (macroexp--warn-and-return).
1466         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1467         Use macroexp--obsolete-warning.
1469         * calc/calc.el: Fix last change by removing the whole chunk, since it
1470         was only needed back when Calc was not bundled.
1472 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
1474         * emacs-lisp/debug.el (debug): Restore assignment to
1475         debugger-old-buffer removed on 2012-09-08.
1477 2012-09-20  Juri Linkov  <juri@jurta.org>
1479         * dired-aux.el (dired-diff): Remove (require 'diff) since
1480         `diff-latest-backup-file' is now autoloaded.
1482 2012-09-20  Chong Yidong  <cyd@gnu.org>
1484         * vc/diff.el (diff-latest-backup-file): Autoload.
1486 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1488         * calc/calc.el: Remove redundant autoload shape check.
1489         (sel-mode): Don't defvar.
1490         (calc-get-stack-element): Add `sel-mode' arg instead.
1491         (calc-top, calc-top-list): Pass it this additional argument.
1492         * calc/calc-store.el (calc-store-map):
1493         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1494         (calc-map-equation, calc-outer-product, calc-inner-product):
1495         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1497         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1499 2012-09-19  Juri Linkov  <juri@jurta.org>
1501         * dired-aux.el (dired-diff): Add (require 'diff) because
1502         `diff-latest-backup-file' is not autoloaded.
1503         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1504         of `dired-get-filename' to t to not report error when there is
1505         no default file on the current line.
1507 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1509         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1510         macroexp--eval-if-compile.
1511         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1512         (macroexp--expand-all): Use them (bug#12371).
1514         * doc-view.el (doc-view-guess-paper-size)
1515         (doc-view-scale-bounding-box): Fix unbound `caddr'.
1517 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
1519         New feature: set optimal slice from BoundingBox information.
1520         * doc-view.el (doc-view-mode-map): Add keybinding.
1521         (doc-view-menu): Add menu entry.
1522         (doc-view-set-slice): Adapt docstring.
1523         (doc-view-get-bounding-box, doc-view-guess-paper-size)
1524         (doc-view-scale-bounding-box)
1525         (doc-view-set-slice-from-bounding-box): New functions.
1526         (doc-view-paper-sizes): New defvar.
1528 2012-09-19  Glenn Morris  <rgm@gnu.org>
1530         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1531         (byte-compile-log-warning): Autoload.  (Bug#12371)
1533         * calendar/calendar.el (calendar-american-month-header)
1534         (calendar-european-month-header, calendar-iso-month-header)
1535         (calendar-month-header): New options.
1536         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
1537         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
1539 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
1541         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1543 2012-09-18  Juri Linkov  <juri@jurta.org>
1545         * dired-aux.el (dired-diff): Restore original functionality of
1546         getting the default value, but keep new feature of using the
1547         latest existing backup file (`diff-latest-backup-file').
1549 2012-09-18  Juri Linkov  <juri@jurta.org>
1551         * dired.el (dired-mark): If the region is active in Transient Mark
1552         mode, mark all files in the active region.  Doc fix.
1553         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1554         Doc fix.  (Bug#10624)
1556 2012-09-18  Juri Linkov  <juri@jurta.org>
1558         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1559         attributes for M-n are pulled from the file at point.
1560         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1561         Suggested by Drew Adams.  (Bug#10624)
1563 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
1565         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1566         whitespace after "end".
1567         (ruby-do-end-to-brace): Collapse block to one line if it fits
1568         within fill-column.
1570 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
1572         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1573         value.
1574         (debug): Don't remove debugger window when debugger is expected
1575         to be back.
1577 2012-09-18  Chong Yidong  <cyd@gnu.org>
1579         * custom.el (defface): Doc fix.
1581         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1583 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
1585         * progmodes/compile.el (compilation-start): Use compilation-always-kill
1586         to initialize query-on-exit; then test that instead (bug#12288).
1588 2012-09-17  Stefan Merten  <smerten@oekonux.de>
1590         * textmodes/rst.el: Add support for `testcover'.
1591         (rst-defcustom-testcover, rst-testcover-add-compose)
1592         (rst-testcover-add-1value): New functions.
1593         (rst-portable-mark-active-p): Replace by `use-region-p'.
1594         (rst-update-section, rst-classify-adornment)
1595         (rst-find-title-line): Mark `1value' forms.
1596         (rst-classify-adornment): Remove superfluous form.
1597         (rst-update-section, rst-get-adornments-around)
1598         (rst-adornment-complete-p, rst-get-next-adornment)
1599         (rst-adjust, rst-promote-region)
1600         (rst-display-adornments-hierarchy, rst-straighten-adornments)
1601         (rst-find-pfx-in-region, rst-section-tree-rec)
1602         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1603         (rst-toc-node, rst-toc, rst-forward-section)
1604         (rst-iterate-leftmost-paragraphs)
1605         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1606         (rst-bullet-list-region)
1607         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1608         (rst-compile-find-conf, rst-compile)
1609         (rst-repeat-last-character): Fix style.
1611 2012-09-17  Chong Yidong  <cyd@gnu.org>
1613         * comint.el (comint--complete-file-name-data): Don't add a space
1614         if the status is `sole'; that adds a gratuitous space in the
1615         completion-cycling case (Bug#12092).
1617         * pcomplete.el (pcomplete-completions-at-point): Likewise.
1619 2012-09-17  Richard Stallman  <rms@gnu.org>
1621         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1622         only in the mime-shown mode, not in raw mode.
1623         (rmail-mime): Toggle off mime by displaying the message without
1624         mime processing.  (Bug#12305)
1626         * mail/rmail.el (rmail-retry-failure):
1627         Turn off mime processing first.  (Bug#12037)
1629         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1631 2012-09-17  Chong Yidong  <cyd@gnu.org>
1633         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1634         (shell-dynamic-complete-functions): Convert to defcustom.
1635         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1637         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1638         * comint.el (comint-prompt-read-only):
1639         * custom.el (defcustom):
1640         * hi-lock.el (hi-lock-mode):
1641         * ibuffer.el (ibuffer-formats):
1642         * ielm.el (ielm-prompt-read-only):
1643         * novice.el (disable-command):
1644         * saveplace.el (toggle-save-place):
1645         * speedbar.el (speedbar-supported-extension-expressions):
1646         * startup.el (auto-save-list-file-prefix, init-file-user)
1647         (after-init-hook, inhibit-startup-echo-area-message):
1648         * strokes.el (strokes-help):
1649         * time-stamp.el (time-stamp):
1650         * calendar/calendar.el (calendar, diary-file):
1651         * calendar/diary-lib.el (diary-mail-entries, diary)
1652         (diary-list-entries-hook):
1653         * calendar/holidays.el (holidays, calendar-holidays):
1654         * calendar/lunar.el (lunar-phases):
1655         * calendar/solar.el (sunrise-sunset):
1656         * emulation/edt.el (edt-load-keys):
1657         * emulation/viper.el (viper-mode):
1658         * eshell/em-alias.el (eshell-command-aliases-list):
1659         * eshell/esh-util.el (eshell-convert-numeric-arguments):
1660         * international/ogonek.el (ogonek-information):
1661         * net/tramp-cmds.el (tramp-bug):
1662         * net/quickurl.el (quickurl-reread-hook-postfix):
1663         * play/decipher.el (decipher-font-lock-keywords):
1664         * progmodes/cc-styles.el (c-set-style):
1665         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
1666         * progmodes/inf-lisp.el (inferior-lisp-prompt):
1667         * progmodes/octave-mod.el (octave-mode):
1668         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
1669         * progmodes/verilog-mode.el (verilog-read-defines):
1670         * textmodes/two-column.el (2C-mode): Likewise.
1672 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
1674         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
1675         that holds many addresses.
1677 2012-09-16  Chong Yidong  <cyd@gnu.org>
1679         * align.el (align-areas): Call the indication function with
1680         positions instead of markers for arguments (Bug#12343).
1682         * files.el (parse-colon-path): Use split-string (Bug#12351).
1684         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
1685         (display-buffer-function): Mark as obsolete.
1687         * progmodes/compile.el (compilation-parse-errors): Accept list
1688         values similar to font-lock-keywords (Bug#12136).
1689         Suggested by Oleksandr Manzyuk.
1690         (compilation-error-regexp-alist): Doc fix.
1692 2012-09-15  Glenn Morris  <rgm@gnu.org>
1694         * version.el (emacs-bzr-version-bzr): New function.
1695         (emacs-bzr-get-version): Add optional EXTERNAL argument.
1697         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
1698         checkouts, check the parent dirstate matches the branch.
1699         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
1700         empty string.
1702         * version.el (emacs-bzr-version): Doc fix.
1703         (emacs-bzr-version-dirstate): New function.
1704         (emacs-bzr-get-version): For lightweight checkouts, if the parent
1705         is local try and check that it matches the branch.  If not, just
1706         use dirstate information.  (Bug#12441)
1708 2012-09-14  Juri Linkov  <juri@jurta.org>
1710         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
1711         (Bug#12399)
1713 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1715         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
1717         * emacs-lisp/edebug.el: Miscellaneous cleanup.
1718         Remove obsolete byte-compiler hack that tried to silence some warnings.
1719         (edebug-submit-bug-report): Remove.
1720         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
1721         Remove aliases, use the un-prefixed name instead.
1722         (edebug-pop-to-buffer): Consider other frames.
1723         (edebug-original-read):: Make it more obvious that it's always defined.
1724         (edebug--make-form-data-entry, edebug--form-data-name)
1725         (edebug--form-data-begin, edebug--form-data-end): Rename from the
1726         single-dashed name, and implement with cl-defstruct.
1727         (edebug-set-form-data-entry): Use the standard accessors.
1728         (edebug-make-top-form-data-entry): Use push.
1729         (edebug-no-match): Drop useless `funcall'.
1730         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
1731         to functions.
1732         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
1733         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
1734         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
1735         (easy-menu-define, with-custom-print): Remove redundant specs.
1736         (edebug-outside-overriding-local-map)
1737         (edebug-outside-overriding-terminal-local-map): Remove, unused.
1738         (edebug--display): Bind unread-command-events directly to nil rather
1739         than binding it to unread-command-events and later setting it to nil.
1740         (edebug--display): Kill edebug-eval-buffer here...
1741         (edebug--recursive-edit): ...rather than here.
1742         Bind standard-output and standard-input.
1743         (edebug-eval): Check cl-macroexpand-all is fboundp.
1744         (edebug-temp-display-freq-count): Fix last change.
1746         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
1747         * subr.el (noreturn, 1value): Add `debug' spec.
1748         * emacs-lisp/advice.el: Require cl-lib.
1749         (ad-copy-tree): Remove, use copy-tree instead.
1750         (ad-dolist): Remove use dolist or cl-dolist instead.
1751         (ad-do-return): Remove, use cl-return instead.
1752         (defadvice): Add `debug' spec.
1754 2012-09-13  Juri Linkov  <juri@jurta.org>
1756         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
1757         (Bug#12399)
1759 2012-09-13  Glenn Morris  <rgm@gnu.org>
1761         * calc/calc.el (math-compose-expr):
1762         * calc/calc-ext.el (math-compose-expr):
1763         * progmodes/cc-defs.el (cl-macroexpand-all):
1764         * progmodes/cc-langs.el (delete-duplicates, mapcan)
1765         (cl-macroexpand-all): Update declarations.
1767         * vc/vc.el: No need to require ediff.
1768         (ediff-load-version-control): Declare.
1769         (ediff-vc-internal): Fix declaration.
1770         (vc-version-ediff): Require ediff.
1772 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
1774         Use a more backwards-compatible timer format (Bug#12430).
1775         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
1776         being right after USECS, as that better supports old code that
1777         inadvisedly looked directly at the timer vector.
1779 2012-09-13  Kenichi Handa  <handa@gnu.org>
1781         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
1782         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
1783         `coding-priority' property of these language environment.
1785 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
1787         Fix glitches caused by addition of psec to timers (Bug#12430).
1788         * image.el (image-animate-timer):
1789         * time.el (display-time-world-timer):
1790         Use timer--function and timer--args rather than raw access to
1791         timer vector.
1793 2012-09-13  Glenn Morris  <rgm@gnu.org>
1795         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
1796         If not compiling a file, try using load-file-name.
1798 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1800         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
1801         Fix last change.
1802         (edebug-update-eval-list): Use `push'.
1804         * emacs-lisp/edebug.el: Use lexical-binding.
1805         Remove the "edebug-" prefix from non-dynamically-scoped variables.
1806         Mark unused args with underscore.
1807         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
1808         (edebug-form-data): Use defvar-local.
1809         (edebug-make-before-and-after-form, edebug-make-after-form):
1810         Use backquote.
1811         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
1812         Not dynamically scoped any more.
1813         (edebug--enter-trace): Add arguments `function' and `args'.
1814         Rename from edebug-enter-trace.
1815         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
1816         (edebug--update-coverage): Add `after-index' and `value' args.
1817         Rename from edebug-update-coverage.
1818         (edebug-slow-after): Call it accordingly.
1819         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
1820         edebug-recursive-edit.
1821         (edebug--display): Call it accordingly.  Add args `value',
1822         `offset-index', and `arg-mode'.  Rename from edebug-display.
1823         (edebug-debugger, edebug): Call it accordingly.
1824         (edebug-eval-display-list): Use dolist.
1826 2012-09-12  Juri Linkov  <juri@jurta.org>
1828         * info.el (Info-search): Don't check for isearch-mode and
1829         isearch-regexp before let-binding search-spaces-regexp to
1830         Info-search-whitespace-regexp.
1831         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
1832         search-whitespace-regexp if isearch-lax-whitespace or
1833         isearch-regexp-lax-whitespace is non-nil.
1834         (Info-mode): Don't set local variable search-whitespace-regexp.
1835         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
1837 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1839         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
1840         (debugger-env-macro): Remove support for unread-command-char.
1842         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
1843         the temporary map re-appearing on emulation-mode-map-alists.
1845         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
1846         since 22.1.
1848         * ehelp.el (with-electric-help): Accept functions in
1849         electric-help-form-to-execute.
1850         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
1851         And replace unread-command-char -> unread-command-events.
1853 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
1855         Sync with Tramp 2.2.6.
1857         * net/tramp.el (tramp-accept-process-output): Don't use
1858         JUST-THIS-ONE in the XEmacs case.
1860         * net/trampver.el: Update release number.
1862 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
1864         * emacs-lisp/debug.el (debugger-previous-window-height):
1865         New variable.
1866         (debug): When debugger-jumping-flag is non-nil try to restore
1867         height of debugger window.  (Bug#8789)
1869 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1871         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
1872         overriding-local-map and pre/post-command-hook here.
1873         (edebug-recursive-edit): Do it here instead (bug#12345).
1874         (edebug-outside-unread-command-char): Remove all uses of
1875         unread-command-char.
1877         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
1878         inhibit-debugger is bound instead.
1880 2012-09-11  Bastien Guerry  <bzg@gnu.org>
1882         * subr.el (set-temporary-overlay-map): Add a docstring.
1883         (Bug#12346)
1885 2012-09-11  Bastien Guerry  <bzg@gnu.org>
1887         * minibuffer.el (completion-table-subvert): Fix docstring.
1888         (Bug#12347)
1890 2012-09-11  Bastien Guerry  <bzg@gnu.org>
1892         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
1894 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
1896         * progmodes/sql.el: Version 3.1
1897         (sql-db2-escape-newlines): New variable.
1898         (sql-escape-newlines-filter): Use it.
1900 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
1902         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
1904 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
1906         * vc/diff-mode.el (diff-mode-menu):
1907         Bind diff-remove-trailing-whitespace.
1909 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1911         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
1912         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
1913         (emacs-lisp-byte-code-mode): New functions.
1914         (eval-sexp-add-defvars): Don't skip defvars in column >0.
1915         (eval-defun-2): Remove bogus interactive spec.
1916         (lisp-indent-line): Remove redundant whole-exp code, now done in
1917         indent-according-to-mode.
1918         (save-match-data): Remove redundant indent data.
1920         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
1921         Use `declare'.
1923 2012-09-09  Juri Linkov  <juri@jurta.org>
1925         * replace.el (replace-regexp-lax-whitespace): New defcustom.
1926         (replace-lax-whitespace, query-replace-regexp)
1927         (query-replace-regexp-eval, replace-regexp): Doc fix.
1928         (perform-replace, replace-highlight): Let-bind
1929         isearch-lax-whitespace to replace-lax-whitespace and
1930         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
1932         * isearch.el (isearch-query-replace): Let-bind
1933         replace-lax-whitespace to isearch-lax-whitespace and
1934         replace-regexp-lax-whitespace to
1935         isearch-regexp-lax-whitespace.  (Bug#10885)
1937 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1939         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
1941 2012-09-09  Alan Mackenzie  <acm@muc.de>
1943         * progmodes/cc-engine.el (c-state-cache-init):
1944         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
1945         (c-record-parse-state-state):
1946         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
1948 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
1950         * register.el (register-separator): Rename from
1951         separator-register.  All uses changed.  Doc fix.
1952         (register): Fix version.
1954 2012-09-09  Chong Yidong  <cyd@gnu.org>
1956         * replace.el (query-replace-map): Bind four new symbols for
1957         requesting window scrolling.
1959         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
1960         query-replace-map (Bug#8948).
1962         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
1964         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
1965         since they are now in query-replace-map.
1967         * window.el (scroll-other-window-down): Make the arg optional.
1969 2012-09-09  Chong Yidong  <cyd@gnu.org>
1971         * files.el (hack-local-variables-confirm): Use quit-window to kill
1972         the *Local Variables* buffer.
1974 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
1976         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
1977         not just expect to be at its beginning.  Adjust callees.
1978         Succeed when do-end block has no space before the pipe character.
1979         (ruby-brace-to-do-end): When the original block is one-liner,
1980         convert to multiline.  Reindent the result.
1982 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
1984         * register.el (register): New group.
1985         (separator-register): New user option.
1986         (increment-register): Route it to `append-to-register', if
1987         register contains text.  Implication is that `C-x r +' can now be
1988         used for appending to a text register (bug#12217).
1989         (append-to-register, prepend-to-register): Add separator based on
1990         `separator-register'.
1992 2012-09-08  Alan Mackenzie  <acm@muc.de>
1994         AWK Mode: make auto-newline work when there's "==" in the pattern.
1995         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
1996         correctly.
1997         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
1998         Test more rigorously for "=" token.
2000 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
2002         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2003         Only fail when reached LIMIT.
2005 2012-09-08  Chong Yidong  <cyd@gnu.org>
2007         * dired.el (dired-mode-map): Don't bind M-=.
2009         * dired-aux.el (dired-diff): Use backup file as default.
2011 2012-09-08  Drew Adams  <drew.adams@oracle.com>
2013         * subr.el (add-to-history): Fix delete usage (Bug#12314).
2015 2012-09-08  Chong Yidong  <cyd@gnu.org>
2017         * subr.el (syntax-after, syntax-class): Doc fix.
2019 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
2021         * window.el (display-buffer-in-previous-window): New buffer
2022         display action function.
2024         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2025         (debugger-previous-window): New variable.
2026         (debug): Rewrite using display-buffer-in-previous-window,
2027         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
2029 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2031         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
2033 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
2035         * progmodes/python.el (python-shell-send-string):
2036         When default-directory is remote, create temp file on remote
2037         filesystem.
2038         (python-shell-send-file): When file is remote, pass local view of
2039         file paths to remote Python interpreter.  (Bug#12340)
2041 2012-09-07  Chong Yidong  <cyd@gnu.org>
2043         * window.el (switch-to-buffer): Doc fix (Bug#12181).
2045         * files.el (after-find-file): Don't fail on a read-only buffer if
2046         require-final-newline is `visit' or `visit-save' (Bug#11156).
2048         * subr.el (read-char-choice): Allow quitting via ESC ESC.
2050         * userlock.el (ask-user-about-supersession-threat):
2051         Use read-char-choice (Bug#12093).
2053 2012-09-07  Chong Yidong  <cyd@gnu.org>
2055         * subr.el (buffer-narrowed-p): New function.
2057         * ses.el (ses-widen):
2058         * simple.el (count-words--buffer-message):
2059         * net/browse-url.el (browse-url-of-buffer): Use it
2061         * simple.el (count-words-region): Don't signal an error if there
2062         is a non-nil prefix arg and the mark is not set.
2064         * help.el (describe-key-briefly): Allow the message to be seen
2065         when invoked from the minibuffer (Bug#7014).
2067 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
2069         * progmodes/ruby-mode.el (ruby-end-of-defun)
2070         (ruby-beginning-of-defun): Simplify, allow indentation before
2071         block beginning and end keywords.
2072         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2073         (ruby-end-of-defun): Expect that the point is at the beginning of
2074         the defun.
2076 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2078         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2079         (bug#12367).
2080         (cl--make-usage-args): Strip _ from argument names.
2082 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2084         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2085         obsolete alias speedbar-key-map.
2086         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2087         (vhdl-index-menu-init): Don't use obsolete variable
2088         font-lock-maximum-size.
2090 2012-09-06  Chong Yidong  <cyd@gnu.org>
2092         * frame.el (window-system-version): Mark as obsolete.
2094         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2095         of obsolete variable speedbar-key-map.
2097 2012-09-06  Juri Linkov  <juri@jurta.org>
2099         * replace.el (replace-lax-whitespace): New defcustom.
2100         (query-replace, query-replace-regexp, query-replace-regexp-eval)
2101         (replace-string, replace-regexp): Mention it in docstrings.
2102         (perform-replace, replace-highlight): Let-bind
2103         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2104         to the values of replace-lax-whitespace and regexp-flag.
2105         Don't let-bind search-whitespace-regexp.  (Bug#10885)
2107         * isearch.el (isearch-query-replace): Let-bind
2108         replace-lax-whitespace instead of let-binding
2109         replace-search-function and replace-re-search-function.
2110         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2111         and isearch-regexp-lax-whitespace to lazy-highlight variables.
2112         (isearch-toggle-symbol): Set isearch-regexp to nil
2113         in isearch-word mode (like in isearch-toggle-word).
2115 2012-09-06  Juri Linkov  <juri@jurta.org>
2117         * replace.el (replace-search-function)
2118         (replace-re-search-function): Set default values to nil.
2119         (perform-replace): Let-bind isearch-related variables based on
2120         replace-related values, call `isearch-search-fun' and let-bind
2121         the result to `search-function'.  Remove code that sets
2122         `search-function' and `search-string' separately for
2123         `delimited-flag'.
2124         (replace-highlight): Add new argument `delimited-flag' and
2125         rename other arguments to the names used in `perform-replace'.
2126         Let-bind `isearch-word' to the argument `delimited-flag'.
2127         (Bug#10885, bug#10887)
2129 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
2131         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2132         ruby-beginning-of-indent, simplify, allow all keywords to have
2133         indentation before them.
2134         (ruby-beginning-of-indent): Adjust for above.  Search until the
2135         found point is not inside a string or comment.
2136         (ruby-font-lock-keywords): Allow symbols to start with "@"
2137         character, give them higher priority than variables.
2138         (ruby-syntax-propertize-function)
2139         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2140         matchers.  Expression expansions are not comments when inside a
2141         string, and there comment syntax status is irrelevant.
2142         (ruby-match-expression-expansion): New function.  Check that
2143         expression expansion is inside a string, and it's not escaped.
2144         (ruby-font-lock-keywords): Use it.
2146 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
2148         * help.el (temp-buffer-max-height): New default value.
2149         (temp-buffer-resize-frames): New option.
2150         (resize-temp-buffer-window): Optionally resize frame.
2152         * window.el (fit-frame-to-buffer-bottom-margin): New option.
2153         (fit-frame-to-buffer): New function.
2155 2012-09-05  Glenn Morris  <rgm@gnu.org>
2157         * emulation/cua-rect.el (cua--init-rectangles):
2158         * textmodes/picture.el (picture-mode-map):
2159         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2160         like forward-char and backward-char.  (Bug#12317)
2162 2012-09-05  Leo Liu  <sdl.web@gmail.com>
2164         * progmodes/flymake.el (flymake-warning-re): New variable.
2165         (flymake-parse-line): Use it.
2167 2012-09-05  Glenn Morris  <rgm@gnu.org>
2169         * calendar/holidays.el (holiday-christian-holidays):
2170         Rename an entry.  (Bug#12289)
2172 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2174         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2175         (bug#12222).
2177 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2179         * loadup.el: Load macroexp.  Remove hack.
2180         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2181         (macroexp--expand-all): Use it to get better warnings.
2182         (macroexp--backtrace, macroexp--trim-backtrace-frame)
2183         (internal-macroexpand-for-load): New functions.
2184         (macroexp--pending-eager-loads): New var.
2185         (emacs-startup-hook): New hack to replace one in loadup.el.
2186         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2187         (cl--compiler-macro-cXXr): Move to top, before they can be used.
2188         (cl-psetf): Simplify.
2189         (cl-defstruct): Add indent rule.
2191 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
2193         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2194         over `user-mail-address' for the SMTP MAIL FROM envelope.
2195         (smtpmail-via-smtp): Ditto.
2197 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
2199         * progmodes/ruby-mode.el: Clean up keybindings.
2200         (ruby-mode-map): Don't bind ruby-electric-brace,
2201         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2202         backward-kill-word, reindent-then-newline-and-indent.
2203         (ruby-mark-defun): Remove.
2204         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
2205         (ruby-mode): Set local beginning-of-defun-function and
2206         end-of-defun-function values.
2208 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
2210         * window.el (temp-buffer-window-setup-hook)
2211         (temp-buffer-window-show-hook): New hooks.
2212         (temp-buffer-window-setup, temp-buffer-window-show)
2213         (with-temp-buffer-window): New functions.
2214         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2215         (special-display-popup-frame): Make sure the window used shows BUFFER.
2217         * help.el (temp-buffer-resize-mode): Fix doc-string.
2218         (resize-temp-buffer-window): New optional argument WINDOW.
2220         * files.el (recover-file, save-buffers-kill-emacs):
2221         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2223 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
2225         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2226         remote definition of `default-directory', ensure we can connect.
2228 2012-09-02  Juri Linkov  <juri@jurta.org>
2230         Toggle whitespace matching mode with M-s SPC.
2231         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2233         * isearch.el (search-whitespace-regexp): Doc fix.
2234         Remove cons cell customization.
2235         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2236         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2237         New variables.
2238         (isearch-forward, isearch-forward-regexp): Doc fix.
2239         (isearch-toggle-lax-whitespace): New command.
2240         (search-forward-lax-whitespace, search-backward-lax-whitespace)
2241         (re-search-forward-lax-whitespace)
2242         (re-search-backward-lax-whitespace): New functions.
2243         (isearch-whitespace-regexp): Remove function.
2244         (isearch-query-replace): Let-bind replace-search-function and
2245         replace-re-search-function.
2246         (isearch-occur): Let-bind search-spaces-regexp according to the
2247         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2248         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2249         condition for C-q SPC.
2250         (isearch-search-fun-default): Use new functions mentioned above.
2251         (isearch-search-forward, isearch-search-backward): Remove functions.
2252         (isearch-search): Don't let-bind search-spaces-regexp.
2253         (isearch-lazy-highlight-space-regexp): Remove variable.
2254         (isearch-lazy-highlight-lax-whitespace)
2255         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2256         (isearch-lazy-highlight-new-loop): Use them.
2257         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2259 2012-09-02  Chong Yidong  <cyd@gnu.org>
2261         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2263 2012-09-02  Glenn Morris  <rgm@gnu.org>
2265         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
2267 2012-09-01  Glenn Morris  <rgm@gnu.org>
2269         * term.el: Tidy up menu definitions.
2270         (term-mode-map): Use easymenu for In/Out, Complete menus.
2271         (term-pager-break-map): Initialize in the defvar.
2272         (term-terminal-menu, term-signals-menu): Define with easymenu.
2273         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
2274         (term-pager-menu): New, extracted from term-process-pager.
2275         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2276         (term-update-mode-line): Propertize line/char and page items.
2277         (term-process-pager): Move keymap initialization elsewhere.
2279 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
2281         * window.el (switch-to-prev-buffer): Handle additional values of
2282         BURY-OR-KILL argument.  Don't switch in minibuffer window.
2283         (switch-to-next-buffer): Don't switch in minibuffer window.
2284         (quit-restore-window): New function based on quit-window.
2285         Handle additional values of former KILL argument.
2286         (quit-window): Call quit-restore-window with appropriate
2287         interpretation of KILL argument.
2288         (display-buffer-below-selected): New buffer display action
2289         function.
2291 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2293         * minibuffer.el (completion-at-point-functions): Complete docstring
2294         (bug#12254).
2296 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
2298         Better seed support for (random).
2299         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2300         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2301         * play/mpuz.el, play/tetris.el, play/zone.el:
2302         * calc/calc-comb.el (math-init-random-base):
2303         * play/blackbox.el (bb-init-board):
2304         * play/life.el (life):
2305         * server.el (server-use-tcp):
2306         * type-break.el (type-break):
2307         Remove unnecessary call to (random t).
2308         * net/sasl.el (sasl-unique-id-function):
2309         Change (random t) to (random), now that the latter is more random.
2310         * play/life.el (life-initialized): Remove no-longer-needed var.
2312 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
2314         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2315         Consider frame's buffer predicate when choosing the buffer.
2316         (Bug#12081)
2318 2012-08-30  Richard Stallman  <rms@gnu.org>
2320         * simple.el (special-mode-map): Delete binding for `z'.
2322 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
2324         * progmodes/compile.el (compilation-always-kill): Doc fix.
2326 2012-08-30  Chong Yidong  <cyd@gnu.org>
2328         * window.el (display-buffer-reuse-frames): Make the obsolescence
2329         message more informative.
2331 2012-08-30  Glenn Morris  <rgm@gnu.org>
2333         * paren.el (show-paren-delay):
2334         Add a :set function.  Doc fix.  (Bug#12297)
2336 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
2338         * progmodes/compile.el (compilation-always-kill): New var.
2339         (compilation-start): Use it.
2341 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2343         * simple.el (read-only-mode): Move from files.el for bootstrapping.
2344         * files.el (read-only-mode): Move to simple.el.
2346         * files.el (read-only-mode): New minor mode.
2347         (toggle-read-only): Use it and mark obsolete.
2348         (find-file--read-only):
2349         * vc/vc.el (vc-next-action, vc-checkout):
2350         * vc/vc-cvs.el (vc-cvs-checkout):
2351         * obsolete/vc-mcvs.el (vc-mcvs-update):
2352         * ffap.el (ffap--toggle-read-only): Update callers.
2354 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
2356         * eshell/esh-ext.el (eshell-external-command): Do not examine
2357         remote shell scripts.
2358         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2360         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2361         "/usr/local/sbin".
2363 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2365         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2367 2012-08-28  Leo Liu  <sdl.web@gmail.com>
2369         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2370         completion-at-point.  (Bug#12220)
2372         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2374         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2376 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2378         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2379         be buffer-local; add delete-trailing-whitespace (bug#12259).
2381 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
2383         * progmodes/hideif.el (hif-compress-define-list):
2384         Fix typo.  (Bug#11951)
2386 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
2388         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2389         buffer local setting.
2391         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2392         rcirc-encode-coding-system.
2394 2012-08-28  Leo Liu  <sdl.web@gmail.com>
2396         * net/rcirc.el (rcirc-split-message): New function.
2397         (rcirc-send-message): Use it.  (Bug#12051)
2399 2012-08-28  Juri Linkov  <juri@jurta.org>
2401         * info.el (Info-fontify-node): Hide empty lines at the end of
2402         the node.  (Bug#12272)
2404 2012-08-27  Drew Adams  <drew.adams@oracle.com>
2406         * dired.el (dired-pop-to-buffer): Make window start at beginning
2407         of buffer (Bug#12281).
2409 2012-08-26  Chong Yidong  <cyd@gnu.org>
2411         * window.el (special-display-regexps, special-display-frame-alist)
2412         (special-display-buffer-names, special-display-function)
2413         (display-buffer-reuse-frames): Mark as obsolete.
2415         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2417         * help.el (help-print-return-message): Don't treat
2418         display-buffer-reuse-frames specially.
2420 2012-08-26  Chong Yidong  <cyd@gnu.org>
2422         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2423         New variable, replacing gdb-frame-parameters.
2424         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2425         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2426         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2427         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2428         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
2429         the functions directly with gdb-display-buffer-other-frame-action.
2430         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2431         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2432         (gdb-display-stack-buffer, gdb-display-locals-buffer)
2433         (gdb-display-registers-buffer): Define directly.
2434         (def-gdb-display-buffer): Macro deleted.
2435         (gdb-display-buffer): Remove second and third args, callers don't
2436         use them.  Defer to the default display-buffer behavior, apart
2437         from making windows dedicated.
2438         (gdb-setup-windows): Don't call display-buffer unnecessarily.
2440         * progmodes/gud.el (gud-display-line): Just use display-buffer.
2442         * window.el (display-buffer-pop-up-frame): Handle a
2443         pop-up-frame-parameters alist entry.
2444         (display-buffer): Document it.
2446 2012-08-26  Chong Yidong  <cyd@gnu.org>
2448         * isearch.el (search-whitespace-regexp): Make string and nil
2449         values apply to both ordinary and regexp search.  Allow a cons
2450         cell value to distinguish between the two.
2451         (isearch-whitespace-regexp, isearch-search-forward)
2452         (isearch-search-backward): New functions.
2453         (isearch-occur, isearch-search-fun-default, isearch-search)
2454         (isearch-lazy-highlight-new-loop): Use them.
2455         (isearch-forward, isearch-forward-regexp): Doc fix.
2457 2012-08-26  Chong Yidong  <cyd@gnu.org>
2459         * faces.el (help-argument-name): Always inherit from italic
2460         (Bug#12213).
2462 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
2464         * window.el (window--even-window-heights): Even heights when
2465         WINDOW and the selected window form a vertical combination.
2466         (display-buffer-use-some-window): Provide that window used gets
2467         sized back by quit-window.  (Bug#11880) and (Bug#12091)
2469 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
2471         Fix file time stamp problem with bzr and CVS (Bug#12001).
2472         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2473         in the file's time stamp, since the version control system loses
2474         that information.
2476 2012-08-22  Juri Linkov  <juri@jurta.org>
2478         * info.el (Info-fontify-node): Hide the suffix of the
2479         Info file name in the header line.  (Bug#12187)
2481 2012-08-22  Glenn Morris  <rgm@gnu.org>
2483         * calendar/cal-tex.el (cal-tex-weekly-common):
2484         Restore leading blank page.
2486 2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
2488         * misc.el (forward-to-word, backward-to-word): Activate or extend
2489         the region under `shift-select-mode'.  (Bug#12231)
2491 2012-08-22  Bastien Guerry  <bzg@gnu.org>
2493         * progmodes/executable.el (executable-prefix): Set to "#!" instead
2494         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
2495         gives details on why the space is never needed.
2497 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
2499         * window.el (walk-window-tree, window-with-parameter):
2500         New optional argument MINIBUF to control whether these functions
2501         should run on the minibuffer window.
2502         (window-at-side-list): Don't operate on minibuffer window.
2503         (window-in-direction): Simplify and rewrite doc-string.
2504         (window--size-ignore): Rename to window--size-ignore-p.
2505         Update callers.
2506         (display-buffer-in-atom-window, window--major-non-side-window)
2507         (window--major-side-window, display-buffer-in-major-side-window)
2508         (delete-side-window, display-buffer-in-side-window):
2509         New functions.
2510         (window--side-check, window-deletable-p, delete-window)
2511         (delete-other-windows, split-window): Handle side windows and
2512         atomic windows appropriately.
2513         (window--display-buffer): Call display-buffer-record-window also
2514         when the window buffer did not change.
2516 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
2518         * help-fns.el (help-fns--key-bindings):
2519         Abbreviate non-symbol remap targets.  (Bug#12174)
2521 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
2523         * dired.el (dired-mark-remembered): Don't clobber point.
2524         (Bug#11795)
2526 2012-08-22  Glenn Morris  <rgm@gnu.org>
2528         * progmodes/bug-reference.el (bug-reference): New custom group.
2529         (bug-reference-bug-regexp): Make it a defcustom.
2531 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
2533         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2534         (js-paren-indent-offset, js-square-indent-offset)
2535         (js-curly-indent-offset): Add :safe (Bug#12257).
2537 2012-08-22  Edward O'Connor  <hober0@gmail.com>
2539         * json.el (json-key-format): Add error properties.
2540         (json-encode-key): New function.
2541         (json-encode-hash-table, json-encode-alist, json-encode-plist):
2542         Use json-encode-key.
2544 2012-08-22  Glenn Morris  <rgm@gnu.org>
2546         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2547         (cal-tex-leftday, cal-tex-rightday): Remove functions.
2548         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2549         Update for above change.
2551 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
2553         * cus-face.el (custom-face-attributes): Fix customize type for the
2554         :underline attribute.  (Bug#11805)
2556 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
2558         * window.el (window-point-1, set-window-point-1): Remove.
2559         (window-in-direction, record-window-buffer)
2560         (set-window-buffer-start-and-point, split-window-below)
2561         (window--state-get-1, display-buffer-record-window):
2562         Replace calls to window-point-1 and set-window-point-1 by calls to
2563         window-point and set-window-point respectively.
2565 2012-08-21  Glenn Morris  <rgm@gnu.org>
2567         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2568         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2569         Use it.
2571         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2572         (cal-tex-shortday): New function.
2573         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2574         (cal-tex-cursor-filofax-daily): Use the above.
2576         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2577         New functions.
2578         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2579         (cal-tex-cursor-filofax-week): Use them.
2581         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2582         New constants.
2583         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2584         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2586         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2587         (cal-tex-end-document): Don't rely on buffer name.
2589         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2590         Use cal-tex-vspace.
2591         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2592         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2593         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2594         Use cal-tex-arg.
2596         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2597         (cal-tex-cursor-week, cal-tex-cursor-week2)
2598         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2599         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2600         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2601         (cal-tex-insert-preamble, cal-tex-b-document)
2602         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2603         Improve cal-tex-cmd usage.
2605         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2606         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2607         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2608         (cal-tex-weekly-paper): New function.
2609         (cal-tex-cursor-week, cal-tex-cursor-week2)
2610         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2611         (cal-tex-cursor-day): Use it.
2613         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2614         (cal-tex-cursor-filofax-week): Remove leading blank page.
2616         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2617         Add autoload cookie.  For now at least, don't use color, since
2618         no other cal-tex function does.
2620         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2621         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2622         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2624 2012-08-21  Juri Linkov  <juri@jurta.org>
2626         * info.el (Info-file-attributes): New variable.
2627         (info-insert-file-contents): Add file attributes to
2628         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
2629         `Info-toc-nodes' when previous modtime of the Info file is less
2630         than new modtime.
2631         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2632         of info.el.  (Bug#12230)
2634 2012-08-20  Glenn Morris  <rgm@gnu.org>
2636         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2637         * calendar/holidays.el (calendar-holiday-list):
2638         Report errors with display-warning rather than beep'n'sleep.
2640 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
2642         * net/tramp.el (tramp-accept-process-output): Accept only output
2643         from PROC.  Otherwise, process filters and sentinels might be
2644         confused.  (Bug#12145)
2646 2012-08-20  Chong Yidong  <cyd@gnu.org>
2648         * descr-text.el (describe-text-properties-1): Use overlays-in to
2649         report on empty overlays (Bug#3322).
2651 2012-08-20  Glenn Morris  <rgm@gnu.org>
2653         * mail/rmailout.el (rmail-output-read-file-name):
2654         Trap and report errors in rmail-output-file-alist elements.
2656         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
2657         since most non-font-lock faces are not also variables).
2659 2012-08-20  Edward Reingold  <reingold@iit.edu>
2661         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2662         New function.  (Bug12160)
2664 2012-08-19  Glenn Morris  <rgm@gnu.org>
2666         * mail/rmailout.el (rmail-output-read-file-name):
2667         Fix previous change (when the alist is nil or does not match).
2669 2012-08-19  Chong Yidong  <cyd@gnu.org>
2671         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
2672         (Bug#12228).
2674 2012-08-18  Chong Yidong  <cyd@gnu.org>
2676         * simple.el (yank-handled-properties): New defcustom.
2677         (yank-excluded-properties): Add font-lock-face and category.
2678         (yank): Doc fix.
2680         * subr.el (remove-yank-excluded-properties):
2681         Obey yank-handled-properties.  The special handling of font-lock-face
2682         and category is now done this way, instead of being hard-coded.
2683         (insert-for-yank-1): Remove font-lock-face handling.
2684         (yank-handle-font-lock-face-property)
2685         (yank-handle-category-property): New function.
2687 2012-08-17  Glenn Morris  <rgm@gnu.org>
2689         * mail/rmailout.el (rmail-output-read-file-name):
2690         Check rmail-output-file-alist against the full message body
2691         in the correct rmail buffer.  (Bug#12214)
2693 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
2695         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2696         Eliminate superfluous prompt.  (Bug#12203)
2698 2012-08-17  Chong Yidong  <cyd@gnu.org>
2700         * mouse.el (mouse-appearance-menu): If x-select-font returns a
2701         font spec, set the font directly (Bug#3228).
2703 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
2705         * window.el (delete-window): Fix last fix.
2707 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
2709         * window.el (window-valid-p): Move to window.c.
2710         (window-child, window-child-count, window-last-child)
2711         (window-normalize-window, window-combined-p)
2712         (window-combinations, window-atom-root, window-min-size)
2713         (window-sizable, window-sizable-p, window-size-fixed-p)
2714         (window-min-delta, window-max-delta, window--resizable)
2715         (window--resizable-p, window-resizable, window-total-size)
2716         (window-full-height-p, window-full-width-p, window-body-size)
2717         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
2718         (minimize-window, window-deletable-p, delete-window)
2719         (delete-other-windows, set-window-buffer-start-and-point)
2720         (next-buffer, previous-buffer, split-window, balance-windows-2)
2721         (set-window-text-height, window-buffer-height)
2722         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
2723         (truncated-partial-width-window-p): Minor code adjustments.
2724         In doc-strings state whether the argument window has to denote a
2725         live, valid or any window.
2727 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
2729         * progmodes/subword.el (subword-forward-function)
2730         (subword-backward-function, subword-forward-regexp)
2731         (subword-backward-regexp): New variables.
2732         (subword-forward, subword-forward-internal, subword-backward-internal):
2733         Use new variables, eg so that different "word" definitions
2734         can be easily used.  (Bug#11411)
2736 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2738         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
2739         for composite selectors.
2740         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
2741         operation just because we can't find a previous revision.
2743 2012-08-15  Chong Yidong  <cyd@gnu.org>
2745         * frame.el (set-frame-font): Accept font objects.
2747 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2749         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
2751 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
2753         * man.el (Man-overstrike-face, Man-underline-face)
2754         (Man-reverse-face): Remove variables.
2755         (Man-overstrike, Man-underline, Man-reverse): New faces.
2756         (Man-fontify-manpage): Use them instead of the variables.
2757         (Man-cleanup-manpage): Comment change.
2758         (Man-ansi-color-map): New variable.
2759         (Man-fontify-manpage): Use it.
2760         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
2762         Implement ANSI SGR parameters 22-27 (bug#12146).
2763         * ansi-color.el (ansi-colors): Doc fix.
2764         (ansi-color-context, ansi-color-context-region): Doc fix.
2765         (ansi-color--find-face): New function.
2766         (ansi-color-apply, ansi-color-apply-on-region): Use it.
2767         Rename the local variable `face' to `codes' since it is now a list of
2768         ansi codes.  Doc fix.
2769         (ansi-color-get-face): Remove.
2770         (ansi-color-parse-sequence): New function, derived from
2771         ansi-color-get-face.
2772         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
2773         codes 22-27.
2775 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2777         * subr.el (read-passwd): Allow use from a minibuffer.
2779 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
2781         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
2782         inside comments and strings as identifiers.
2784         * progmodes/gud.el (gud-tooltip-print-command): Quote the
2785         expression to evaluate.  This allows to evaluate expressions with
2786         embedded whitespace.
2787         (gud-tooltip-tips): Add a blank before the newline in the
2788         message-box text, for the benefit of message-box emulation on
2789         MS-Windows.
2791         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
2792         messages from GDB, pop them up in a tooltip to give feedback to
2793         user.
2794         (gdb-tooltip-print-1): Quote the expression to evaluate.
2795         This allows to evaluate expressions with embedded whitespace.
2796         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
2797         if the TTY name is nil or empty (which happens when communicating
2798         with the inferior via pipes, e.g. on MS-Windows).
2799         (gdb-internals): If GDB sends a "&\n" empty debugging message,
2800         don't send that to the GUD buffer.
2802 2012-08-14  Glenn Morris  <rgm@gnu.org>
2804         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
2805         Optimize away setq-default with no args, as for setq.  (Bug#12195)
2807 2012-08-14  Chong Yidong  <cyd@gnu.org>
2809         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
2811         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
2812         (Bug#12085).
2814 2012-08-14  Glenn Morris  <rgm@gnu.org>
2816         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
2818 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
2820         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
2821         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
2822         Use cached shell name.
2824 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
2826         * progmodes/python.el (python-shell-send-string):
2827         (python-shell-send-setup-code): Do not use `format' with `message'.
2829 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
2831         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
2832         (ruby-percent-literal-beg-re): New constant.
2833         (ruby-syntax-general-delimiters-goto-beg): Rename to
2834         `ruby-syntax-enclosing-percent-literal', improve literal type check.
2835         (ruby-syntax-propertize-general-delimiters): Rename to
2836         `ruby-syntax-propertize-percent-literal', it's a shorter and more
2837         popular term.  Adjust comments everywhere.
2838         (ruby-syntax-propertize-percent-literal): Only propertize when not
2839         inside a simple string or comment.  When the literal is unclosed,
2840         leave the text after it unpropertized.
2841         (ruby-syntax-methods-before-regexp): New constant.
2842         (ruby-syntax-propertize-function): Use it to recognize regexps.
2843         Don't look at the text after regexp, just use the whitelist.
2845 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
2847         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
2848         non-nil always load the compiled file if it exists.  (Bug#12197)
2850 2012-08-14  Chong Yidong  <cyd@gnu.org>
2852         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
2853         (hi-lock-set-pattern): When deciding whether to use font lock or
2854         overlays, look at font-lock-mode instead of font-lock-fontified
2855         (Bug#12168).
2856         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
2857         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
2859 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
2861         * subr.el (internal--after-with-selected-window): Fix typo
2862         (Bug#12193).
2864 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
2866         Use `completion-table-dynamic' for completion functions.
2867         * progmodes/python.el
2868         (python-shell-completion--do-completion-at-point)
2869         (python-shell-completion--get-completions):
2870         Remove functions.
2871         (python-shell-completion-complete-at-point): New function.
2872         (python-completion-complete-at-point): Use it.
2874 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
2876         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
2877         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
2879 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2881         * subr.el (function-get): Refine `autoload' arg so it can also
2882         autoload functions for gv.el (bug#12191).
2883         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
2884         autoloads macros.
2886         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
2887         Prefer pcase-let over destructuring-bind.
2888         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
2889         Also, remove whitespace as we go, rather than after accumulating the
2890         various places.
2892         * subr.el (internal--before-with-selected-window)
2893         (internal--after-with-selected-window): Fix typo seleted->selected.
2894         (with-selected-window): Adjust callers.
2895         Reported by Dmitry Gutov <dgutov@yandex.ru>.
2897 2012-08-13  Bastien Guerry  <bzg@gnu.org>
2899         * window.el (special-display-popup-frame): Minor docstring
2900         enhancement.  (Bug#12172)
2902 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
2904         * tar-mode.el (tar-header-data-end): Only ignore size for files of
2905         type 1-6.
2906         (tar-header-block-summarize, tar-get-descriptor): Handle pax
2907         extended headers.
2909         * files.el (hack-local-variables-filter): Remove useless eval.
2911 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
2913         * subr.el (with-selected-window): Fix last change.
2915 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2917         * subr.el (internal--before-with-seleted-window)
2918         (internal--after-with-seleted-window): New functions.
2919         (with-selected-window): Use them, to replace dependency on
2920         tty-top-frame.
2922 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
2924         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
2925         binding for `newline'.
2926         (ruby-move-to-block): When moving backward, stop at block opening,
2927         not indentation.
2928         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
2929         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
2930         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
2931         `ruby-toggle-block'.
2933 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2935         * ibuffer.el (ibuffer-do-toggle-read-only):
2936         * dired.el (dired-toggle-read-only):
2937         * buff-menu.el (Buffer-menu-toggle-read-only):
2938         * bindings.el (mode-line-toggle-read-only):
2939         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
2941 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
2943         * descr-text.el (describe-char): Put the overlays over the
2944         "displayed as" character.
2946 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
2948         * calc/calc-units.el (math-default-units-table): Give an
2949         initial value.
2950         (math-put-default-units): Add options to put composite units and
2951         unit systems in the default units table.
2952         (calc-convert-units): Send composite units to
2953         `math-put-default-units' when appropriate.
2955 2012-08-11  Glenn Morris  <rgm@gnu.org>
2957         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
2959         * tutorial.el (help-with-tutorial):
2960         * emacs-lisp/copyright.el (copyright-update-directory):
2961         * emacs-lisp/autoload.el (autoload-find-generated-file)
2962         (autoload-find-file): Disable local eval: (for insurance).
2964         * files.el (hack-local-variables-filter): If an eval: form is not
2965         known to be safe, and enable-local-variables is :safe, then ignore
2966         the form totally, as is done for non-eval forms.  (Bug#12155)
2967         This is CVE-2012-3479.
2969 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2971         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
2972         (rx-form): Simplify.
2974 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
2976         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
2977         ?, _, and : are symbol constituents, ! is not (but kinda should be).
2978         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
2979         (ruby-syntax-propertize-function): Adjust for changes in
2980         `ruby-syntax-propertize-heredoc'.
2982 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
2984         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
2985         binding (use `M-;' instead).
2986         (ruby-singleton-class-p): New function.
2987         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
2989 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2991         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
2993 2012-08-10  Chong Yidong  <cyd@gnu.org>
2995         * progmodes/python.el (python-shell-get-process-name): Don't mess
2996         with same-window-buffer-names.
2998         * eshell/eshell.el (eshell-add-to-window-buffer-names)
2999         (eshell-remove-from-window-buffer-names): Make obsolete.
3000         (eshell-buffer-name, eshell-unload-hook): Don't use them.
3001         (eshell): Just use pop-to-buffer-same-window instead.
3003 2012-08-10  Chong Yidong  <cyd@gnu.org>
3005         * bindings.el: Bind M-= back to count-words-region.
3007         * simple.el (count-words-region): Accept a prefix arg for acting
3008         on the entire buffer.
3009         (count-words--buffer-message): New helper function.
3011 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3013         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3014         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3015         (event-start, event-end): Use posn-at-point to return a more
3016         informative posn.
3017         (posnp): New function.
3018         * mouse.el (popup-menu-normalize-position): Use it.
3020 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
3022         * mouse.el (popup-menu-normalize-position): New function.
3023         (popup-menu): Use `popup-menu-normalize-position' to normalize
3024         the form for POSITION argument.
3026         * term/x-win.el (x-menu-bar-open):
3027         Use the value returend from (posn-at-point) as position
3028         passed to `popup-menu'.
3030 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
3032         * calc/calccomp.el (math-compose-expr): Add extra argument
3033         indicating that parentheses should be put around products in
3034         denominators.  Give multiplication precedence over division during
3035         composition.
3037 2012-08-09  Chong Yidong  <cyd@gnu.org>
3039         * man.el (Man-switches, Man-sed-command, Man-awk-command)
3040         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3041         (Man-untabify-command, manual-program): Convert to defcustom
3042         (Bug#10429).
3044         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3046         * descr-text.el (describe-char): Don't insert extra newlines
3047         (Bug#10127).
3049         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3050         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3052         * align.el (align-region): Delete temporary markers (Bug#10047).
3053         Plus some code cleanups.
3055 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
3057         * progmodes/python.el (python-pdbtrack-tracked-buffer)
3058         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3059         (python-shell-internal-last-output): Use make-local-variable
3060         instead of make-variable-buffer-local.
3062 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
3064         * progmodes/python.el: Enhancements to forward-sexp.
3065         (python-nav-forward-sexp): Rename from
3066         python-nav-forward-sexp-function.
3067         (python-nav--forward-sexp, python-nav--backward-sexp):
3068         New functions.
3070 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
3072         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3073         modes and simplification modes.
3075 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3077         * delsel.el (delete-selection-pre-hook): Don't propagate the
3078         file-supersession signals (bug#12161).
3080 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3082         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3083         (cl-map-extents): Add compatibility aliases (bug#12135).
3085 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
3087         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3088         tests by `ignore-error'.
3089         (tramp-find-shell): Open also a new shell, when cache is already
3090         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
3092 2012-08-08  Juri Linkov  <juri@jurta.org>
3094         * bookmark.el: Add `defaults' property to the bookmark record.
3095         (bookmark-current-buffer): Doc fix.
3096         (bookmark-make-record): Add `defaults' property with default values
3097         to the bookmark record.
3098         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3099         with `bookmark-insert-current-bookmark'.
3100         (bookmark-set): Get `defaults' property from the bookmark record
3101         and use it in `read-from-minibuffer'.
3102         (bookmark-insert-current-bookmark): Remove function.
3104         * info.el (Info-bookmark-make-record): Add `defaults' property
3105         with values of canonical Info node name, the current Info file
3106         name and the current Info node name.  (Bug#12107)
3108 2012-08-08  Juri Linkov  <juri@jurta.org>
3110         * files.el (basic-save-buffer): Use `buffer-name' as the default
3111         of `read-file-name' when buffer is not visiting a file (bug#12128).
3113 2012-08-08  Juri Linkov  <juri@jurta.org>
3115         * info.el (Info-isearch-search): Doc fix.
3116         (Info-search): Change search-failed message from "initial node" to
3117         "end of node" (bug#12078).
3118         (Info-isearch-search): Change `isearch-string-state' to
3119         `isearch--state-string'.
3121 2012-08-08  Glenn Morris  <rgm@gnu.org>
3123         * language/persian.el: Remove file.
3124         * language/misc-lang.el: Move unique part of persian.el here.
3125         * loadup.el: Remove language/persian.
3127 2012-08-08  Óscar Fuentes  <ofv@wanadoo.es>
3129         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3131 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
3133         * progmodes/python.el Fixed defsubst warning.
3134         (python-syntax-context) Rename from python-info-ppss-context.
3135         (python-syntax-context-type): Rename from
3136         python-info-ppss-context-type.
3137         (python-syntax-comment-or-string-p): Rename from
3138         python-info-ppss-comment-or-string-p.
3140 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
3142         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3144 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
3146         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3147         a defcustom that is quoted with backquote.
3149         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3150         Fix handling of interactive spec when the body uses return.
3151         (math-do-arg-check, math-define-function-body): Use backquote forms.
3152         * calc/calc-ext.el (math-defcache): Likewise.
3153         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3154         * allout.el (allout-new-exposure): Likewise.
3155         * calc/calcalg2.el (math-tracing-integral): Likewise.
3156         * info.el (Info-last-menu-item): Likewise.
3157         * emulation/vip.el (vip-loop): Likewise.
3158         * textmodes/artist.el (artist-funcall): Likewise.
3159         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3160         Construct menu-item directly.
3162         * progmodes/autoconf.el (font-lock-syntactic-keywords):
3163         Don't declare.
3165 2012-08-07  Chong Yidong  <cyd@gnu.org>
3167         * simple.el (deactivate-mark): Preserve text properties when
3168         saving the primary selection (Bug#8384).
3170 2012-08-07  Kevin Ryde  <user42@zip.com.au>
3172         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3173         (woman-parse-numeric-value): On a bad .IP line, issue a warning
3174         and continue processing (Bug#12110).
3176 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3178         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3179         syntax-propertize-function (bug#10095).
3181 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3183         * help-fns.el (help-fns--key-bindings, help-fns--signature)
3184         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3185         describe-function-1.
3186         (describe-function-1): Use them.  Move compiler macro after sig.
3187         (help-fns--compiler-macro): Use function-get.  Assume we're already in
3188         standard-output.  Adjust layout to new call order.
3190         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3191         re-binding a symbol that has a symbol-macro (bug#12119).
3193 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
3195         * language/persian.el: New file.  (Bug#11812)
3196         * loadup.el: Add language/persian.el.
3198 2012-08-06  Chong Yidong  <cyd@gnu.org>
3200         * window.el (window--maybe-raise-frame): New function.
3201         (window--display-buffer): Split off from here.
3202         (display-buffer-reuse-window, display-buffer-pop-up-frame)
3203         (display-buffer-pop-up-window, display-buffer-use-some-window):
3204         Obey an inhibit-switch-frame action alist entry.
3205         (display-buffer): Update doc.
3207         * replace.el (occur-after-change-function): Avoid losing focus by
3208         using the inhibit-switch-frame display parameter (Bug#12139).
3210 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
3212         Make internal shell process buffer names start with space.
3213         * progmodes/python.el (python-shell-make-comint): Add optional
3214         argument INTERNAL.
3215         (run-python-internal): Use it.
3216         (python-shell-internal-get-or-create-process): Check for new
3217         internal buffer names.
3219 2012-08-06  Glenn Morris  <rgm@gnu.org>
3221         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3222         Do less getting and setting of environment variables.
3224 2012-08-05  Chong Yidong  <cyd@gnu.org>
3226         * proced.el (proced): Add substitution string to docstring to
3227         trigger autoloading of the proced library on C-h f (Bug#1768).
3229         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3230         Don't show defvars which have no second argument (Bug#8638).
3232         * imenu.el (imenu-generic-expression): Move documentation here
3233         from imenu--generic-function.
3234         (imenu--generic-function): Refer to imenu-generic-expression.
3236 2012-08-05  Vegard Øye  <vegard_oye@hotmail.com>  (tiny change)
3238         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3239         indentation declaration.
3240         (viper-loop): Add indentation declaration (Bug#7025).
3242 2012-08-05  Chong Yidong  <cyd@gnu.org>
3244         * help-fns.el (describe-variable): Add hyperlink for
3245         directory-local variables files.  Improve buffer-local and
3246         permanent-local reporting; suggested by MON KEY (Bug#6644).
3248         * help-mode.el (help-dir-local-var-def): New button type.
3250         * files.el (kill-buffer-hook): Provide a defvar.
3252 2012-08-05  Glenn Morris  <rgm@gnu.org>
3254         * eshell/esh-ext.el (eshell/addpath):
3255         Also update eshell-path-env.  (Bug#12013)
3257 2012-08-05  Chong Yidong  <cyd@gnu.org>
3259         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3261         * fringe.el (fringe-styles): Add docstring.
3262         (fringe--check-mode): New function.
3263         (set-fringe-mode, set-fringe-style): Use it.
3264         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3266         * files.el (set-auto-mode): Fix invalid setq call.
3268 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3270         * isearch.el: Misc simplification; use defstruct.
3271         (isearch-mode-map): Dense maps now work like sparse ones.
3272         (isearch--state): New defstruct.
3273         (isearch-string-state, isearch-message-state, isearch-point-state)
3274         (isearch-success-state, isearch-forward-state)
3275         (isearch-other-end-state, isearch-word-state, isearch-error-state)
3276         (isearch-wrapped-state, isearch-barrier-state)
3277         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3278         replaced by defstruct's accessors.
3279         (isearch--set-state): Rename from isearch-top-state and change
3280         calling convention.
3281         (isearch-push-state): Use new isearch--get-state.
3282         (isearch-toggle-word): Disable regexp when enabling word.
3283         (isearch-message-prefix): Remove unused arg _c-q-hack.
3284         (isearch-message-suffix): Remove unused arg _ellipsis.
3286 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
3288         * simple.el (list-processes--refresh): For a server use :host or
3289         :local as the address.
3290         (list-processes): Doc fix.
3292 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
3294         * lisp/mpc.el: Support password in host argument.
3295         (mpc--proc-connect): Parse and use new password element.
3296         Set mpc-proc variable instead of returning process.
3297         (mpc-proc): Adjust accordingly.
3299 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
3301         * whitespace.el (whitespace-display-mappings): Use Unicode
3302         codepoints, instead of emacs-mule codepoints.  See
3303         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3304         for the details.
3306         * files.el (file-truename): Don't skip symlink-chasing part on
3307         windows-nt.  Incorporate the resolution of 8+3 short aliases on
3308         Windows into the loop that recursively chases symlinks.
3309         Compare directory and its parent case-insensitively on MS-Windows and
3310         MS-DOS.
3312 2012-08-03  Chong Yidong  <cyd@gnu.org>
3314         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3316         * sort.el (sort-regexp-fields): Doc fix.
3318 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
3320         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3321         labels regex position point at the expected place.
3323 2012-08-03  MON KEY  <monkey@sandpframing.com>
3325         * net/imap.el (imap-interactive-login, imap-authenticate)
3326         (imap-mailbox-lsub, imap-mailbox-list)
3327         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3328         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3329         (imap-parse-response): Doc fix.
3331 2012-08-03  João Távora  <joaotavora@gmail.com>
3333         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3334         if sexp scanning does not move point (Bug#5734).
3336 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
3338         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3339         Add listings, minted, and ctable packages.
3340         (reftex-label-alist-builtin): Move listings, minted, and ctable
3341         entries before LaTeX.
3342         (reftex-label-alist): Docfix.
3344 2012-08-02  Bastien Guerry  <bzg@gnu.org>
3346         * replace.el (occur): Fix docstring (bug#12122).
3348 2012-08-02  Glenn Morris  <rgm@gnu.org>
3350         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3352 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
3354         Obsolete alias inactivate-current-input-method-function (Bug#10150).
3355         * international/mule-cmds.el: Create
3356         inactivate-current-input-method-function as an obsolete alias for
3357         deactivate-current-input-method-function.  See Katsumi Yamaoka in
3358         <http://bugs.gnu.org/10150#46>.
3360 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
3362         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3363         of nested `if's.
3365 2012-08-01  Glenn Morris  <rgm@gnu.org>
3367         * progmodes/autoconf.el (autoconf-definition-regexp):
3368         Add AH_TEMPLATE, adjust submatch numbering.
3369         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3370         (autoconf-current-defun-function): Update for above change.
3371         (autoconf-current-defun-function): First skip to end of current word.
3373 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
3375         * calendar/cal-html.el (cal-html-insert-agenda-days):
3376         Fix typo.  (Bug#12018)
3378 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
3380         Shell processes: enhancements to startup and CEDET compatibility.
3381         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3382         (python-shell-make-comint): accept-process-output at startup.
3383         (run-python-internal): Set inferior-python-mode-hook to nil.
3384         (python-shell-internal-get-or-create-process): call sit-for.
3385         (python-preoutput-result): Add obsolete alias.
3386         (python-shell-internal-send-string): Use it.
3387         (python-shell-send-setup-code): Remove call to
3388         accept-process-output.
3390 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
3392         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3393         (Bug#12108)
3395 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
3397         * calc-mode.el (calc-basic-simplification-mode): Rename from
3398         `calc-limited-simplification-mode'.
3399         (calc-alg-simplification-mode): New function.
3400         (calc-set-simplify-mode): Adjust message.
3402         * calc.el (calc-set-mode-line): Adjust mode line display for
3403         basic simplification mode.
3405         * calc-help.el (calc-m-prefix-help): Update help message.
3407         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3408         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3410 2012-07-31  Bastien Guerry  <bzg@gnu.org>
3412         * man.el (man): Fix comment.  (bug#12101)
3414 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
3416         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3417         Don't return a non-nil value when no suitable buffer was found.
3419 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
3421         * progmodes/python.el (run-python-internal): Disable font lock for
3422         internal shells.
3424 2012-07-30  Stefan Merten  <smerten@oekonux.de>
3426         * textmodes/rst.el: Silence `checkdoc-ispell'.
3427         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3428         (rst-official-version, rst-official-cvs-rev)
3429         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3430         (rst-mode-map): New key binding.
3432 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
3434         Update .PHONY listings in makefiles.
3435         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3436         autoloads, update-subdirs, updates, bzr-update, update-authors,
3437         compile-onefile, compile-calc, backup-compiled-files,
3438         compile-after-backup, compile-one-process, mh-autoloads,
3439         bootstrap-clean, distclean, maintainer-clean.
3441 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
3443         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3444         (calc-set-mode-line): Don't display "AlgSimp ".
3446         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3447         (calc-lim-simplify-mode): New function.
3448         (calc-set-simplify-mode): Default to 'alg.
3449         (calc-default-simplify-mode): Make algebraic simplifications
3450         the default.
3452         * calc/calc-ext.el (calc-init-extensions): Remove binding for
3453         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
3455         * calc/calc-help.el (calc-m-prefix-help): Change messages to
3456         indicate new simplification modes.
3458         * calc/README: Mention new default simplification mode.
3460         * calc/calc.el (math-normalize-error): New variable.
3461         (math-normalize): Set `math-normalize-error' to t
3462         when there's an error.
3464         * calc/calc-alg.el (math-simplify): Don't simplify when
3465         `math-normalize' returns an error.
3467 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
3469         * international/mule-cmds.el (set-locale-environment): Revert last
3470         change, since display-graphic-p returns nil when this function is
3471         called during startup.  Instead...
3473         * term/w32console.el (terminal-init-w32console): ...setup the
3474         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
3476 2012-07-29  Juri Linkov  <juri@jurta.org>
3478         * simple.el (goto-line): Don't display default line number in the
3479         prompt because it should be displayed by `read-number' (bug#9952).
3480         Add the current line number to the defaults of `goto-line' to
3481         allow its easier modification by users with `M-n' (bug#9201).
3483         * subr.el (read-number): Support multiple default values like in
3484         other minibuffer reading functions.  Replace `read' with
3485         `string-to-number' for consistency with `number-to-string'.
3487 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
3489         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3490         * emulation/viper-init.el (viper-deactivate-input-method-action):
3491         Rename from viper-inactivate-input-method-action.
3492         (viper-deactivate-input-method):
3493         Rename from viper-inactivate-input-method.
3494         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3495         * international/mule-cmds.el (deactivate-input-method):
3496         Rename from inactivate-input-method.
3497         Also run input-method-deactivate-hook.
3498         (deactivate-current-input-method-function):
3499         Rename from inactivate-current-input-method-function.
3500         (input-method-deactivate-hook): New hook.
3501         (input-method-inactivate-hook): Mark obsolete.
3502         (inactivate-input-method): Mark obsolete.
3504         * international/quail.el (quail-activate):
3505         Also run quail-deactivate-hook.
3506         (quail-deactivate): Rename from quail-inactivate.
3507         * international/robin.el (robin-activate):
3508         Also run robin-deactivate-hook.
3509         (robin-deactivate): Rename from robin-inactivate.
3511 2012-07-29  Chong Yidong  <cyd@gnu.org>
3513         * simple.el (indicate-copied-region): New function.
3514         (kill-ring-save): Split off from here.
3516         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3517         (kill-rectangle): Set deactivate-mark to t on read-only error.
3519         * register.el (copy-to-register, copy-rectangle-to-register):
3520         Deactivate the mark, and use indicate-copied-region (Bug#10056).
3521         (append-to-register, prepend-to-register): Call indicate-copied-region.
3523 2012-07-29  Juri Linkov  <juri@jurta.org>
3525         * simple.el (async-shell-command-buffer): New defcustom.
3526         (shell-command): Use it.  (Bug#4719)
3528 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
3530         * international/mule-cmds.el (set-locale-environment): In a
3531         console session on MS-Windows, set up keyboard and terminal
3532         encoding from the OEM codepage, not the ANSI codepage.
3533         (Bug#12055)
3535 2012-07-28  Chong Yidong  <cyd@gnu.org>
3537         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3538         gdb-get-location.
3540 2012-07-28  Leo Liu  <sdl.web@gmail.com>
3542         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3543         the alist (bug#12029).
3545 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
3547         * makefile.w32-in (custom-deps, finder-data, updates, compile)
3548         (compile-always, compile-first)
3549         ($(lisp)/calendar/cal-loaddefs.el)
3550         ($(lisp)/calendar/diary-loaddefs.el)
3551         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3552         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3553         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3554         instead of on update-subdirs.
3555         (bootstrap-clean): Delete $(lisp)/subdirs.el.
3557 2012-07-28  Chong Yidong  <cyd@gnu.org>
3559         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3560         directory if vc-deduce-backend returns nil (Bug#7350).
3562         * simple.el (delete-trailing-lines): New option.
3563         (delete-trailing-whitespace): Obey it (Bug#11879).
3565 2012-07-28  David Engster  <deng@randomsample.de>
3567         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3568         Explanation of new 'symbol-qnames feature in doc-strings.
3569         (xml-maybe-do-ns): Return expanded names as plain symbols if
3570         'symbol-qnames was provided in XML-NS argument (Bug#11916).
3571         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3573 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
3575         Consistent completion in inferior python with emacs -nw.
3576         * progmodes/python.el (inferior-python-mode): replace "<tab>"
3577         binding in inferior-python-mode-map with "\t".
3578         (python-shell-completion-complete-at-point)
3579         (python-completion-complete-at-point): Remove interactive spec.
3581 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
3583         * calc/calccomp.el (math-compose-expr): Undo previous change.
3585 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
3587         * progmodes/python.el (python-mode-map): Add keybinding for
3588         run-python.
3589         (python-shell-make-comint): Fix pop-to-buffer call.
3590         (run-python): Autoload.  New arg SHOW.
3591         (python-shell-get-or-create-process): Do not pop python process
3592         buffer.
3594 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
3596         * notifications.el (notifications-on-action-signal)
3597         (notifications-on-closed-signal): Use also the bus address for the map.
3598         (notifications-notify, notifications-close-notification)
3599         (notifications-get-capabilities): Add optional argument BUS.
3601 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
3603         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3604         Add support for the lstlisting and minted environments, and for the
3605         ctable macro.
3606         * textmodes/reftex.el (reftex-compile-variables): Also recognize
3607         labels written in keyvals syntax.
3609 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
3611         * calc/calccomp.el (math-compose-expr): Use parentheses when
3612         there is a product in the denominator of a fraction.
3614 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
3616         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3617         ($(lisp)/calendar/diary-loaddefs.el)
3618         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3619         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3620         Fixes failures in parallel bootstrap because subdirs.el is being
3621         rewritten while the autoload files are built at the same time,
3622         which needs to load subdirs.el.
3624 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
3626         * mouse.el (popup-menu): Fix doc-string and re-indent code.
3627         (mouse-drag-line): Don't exit tracking when a switch-frame or
3628         switch-window event occurs (Bug#12006).
3630 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3632         * mouse.el (popup-menu): Fix last change.
3634 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3636         Autoload from Lisp with more care.  Follow aliases when looking for
3637         function properties.
3638         * subr.el (autoloadp): New function.
3639         (symbol-file): Use it.
3640         (function-get): New function.
3641         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3642         autoload-do-load.
3643         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3644         (lisp-indent-function):
3645         * emacs-lisp/gv.el (gv-get):
3646         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3647         * emacs-lisp/byte-opt.el (byte-optimize-form):
3648         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3649         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3650         Use function-get.
3651         * emacs-lisp/cl.el: Don't propagate function properties any more.
3653         * speedbar.el (speedbar-add-localized-speedbar-support):
3654         * emacs-lisp/disass.el (disassemble-internal):
3655         * desktop.el (desktop-load-file):
3656         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
3657         (describe-function-1):
3658         * emacs-lisp/find-func.el (find-function-noselect):
3659         * emacs-lisp/elp.el (elp-instrument-function):
3660         * emacs-lisp/advice.el (ad-has-proper-definition):
3661         * apropos.el (apropos-safe-documentation, apropos-macrop):
3662         * emacs-lisp/debug.el (debug-on-entry):
3663         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
3664         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
3665         * calc/calc.el (name): Use autoloadp & autoload-do-load.
3667 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
3669         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
3670         function, not an obsolete variable (Bug#12046).
3672 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
3674         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
3676 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
3678         * emacs-lisp/pp.el (pp-display-expression): Select old selected
3679         window only if it is still live (Bug#12034).
3681 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
3683         * subr.el (redirect-frame-focus): Add advertised calling
3684         convention (Bug#12030).
3686 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
3688         Prefer typical American spelling for "acknowledgment".
3689         * vc/add-log.el (change-log-acknowledgment): Rename from
3690         change-log-acknowledgement, with an alias for the old name.
3692 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
3694         * calc-alg.el (math-simplify-divide): Don't cross multiply
3695         in an equation when the lhs is a variable.
3697 2012-07-24  Julien Danjou  <julien@danjou.info>
3699         * net/netrc.el (netrc-find-service-number, netrc-store-data):
3700         Remove, unused.
3702 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
3704         * startup.el (command-line): Don't display an empty user name in
3705         the error message about non-existent home directory, when
3706         init-file-user was set to an empty string.  See
3707         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
3708         for the details and context.
3710 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3712         * ses.el (ses-cell-formula-aset): New macro.
3713         (ses-cell-references-aset): New macro.
3714         (ses-cell-p): New function.
3715         (ses-rename-cell): Do no longer rely on complex operations like
3716         ses-cell-set-formula or ses-set-cell to change the cell and handle
3717         the undo at the same time, but rather use lower level new macros
3718         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
3719         the undo directly.  Refresh the mode line.
3721 2012-07-21  Leo Liu  <sdl.web@gmail.com>
3723         * progmodes/cc-cmds.el (c-defun-name):
3724         Use match-string-no-properties instead for consistency.
3726 2012-07-20  Leo Liu  <sdl.web@gmail.com>
3728         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
3729         (Bug#7879)
3731         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
3733 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3735         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
3736         * progmodes/bug-reference.el, misearch.el: Provide themselves
3737         (bug#11915).
3739         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
3740         of narrowed buffer (bug#11966).
3742 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
3744         * ses.el (ses-rename-cell): Set new name also in reference list of
3745         cells of which the renamed cell depends.
3747 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
3749         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
3750         to check whether menu-bar is shown or not.  If not shown,
3751         show the menu-bar as a popup menu instead of using tmm.
3752         * mouse.el (popup-menu): Accept `point' as `position' argument.
3754 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
3756         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
3757         up inside string symbol literal (bug#11923).
3759 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
3761         * startup.el (fancy-startup-text): Read the whole tutorial, not
3762         just its first 256 bytes.  Prevents gibberish in display of the
3763         tutorial title.
3765 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
3767         Drop idle buffer compaction due to an absence of the
3768         proved efficiency.
3769         * compact.el: Remove.
3771 2012-07-19  Sam Steingold  <sds@gnu.org>
3773         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
3774         vc-bzr-pull & vc-bzr-merge-branch.
3775         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
3776         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
3777         for consistency with compilation-error-regexp-alist.
3778         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
3779         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
3780         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
3781         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
3783 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3785         * emacs-lisp/chart.el: Use lexical-binding.
3786         (chart-emacs-storage): Don't hardcode the list of entries.
3788 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
3790         Next round of tweaks caused by Fgarbage_collect changes.
3791         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
3793 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
3795         Compact buffers when idle.
3796         * compact.el: New file.
3798 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3800         * subr.el (eventp): Presume that if it looks vaguely like an event,
3801         it's an event (bug#10190).
3803 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
3805         Enhancements to ppss related code (thanks Stefan).
3806         * progmodes/python.el (python-indent-context)
3807         (python-indent-calculate-indentation, python-indent-dedent-line)
3808         (python-indent-electric-colon, python-nav-forward-block)
3809         (python-mode-abbrev-table)
3810         (python-info-assignment-continuation-line-p): Simplify checks
3811         for ppss context.
3812         (python-info-continuation-line-p): Cleanup.
3813         (python-info-ppss-context): Do not catch 'quote.
3814         (python-info-ppss-context-type)
3815         (python-info-ppss-comment-or-string-p): Simplify.
3817 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
3819         * progmodes/python.el: Enhancements to eldoc support.
3820         (python-info-current-symbol): New function.
3821         (python-eldoc-at-point): Use python-info-current-symbol.
3822         (python-info-current-defun): Fix cornercase on first defun scan.
3823         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
3824         and signal error when no inferior python process is available.
3826 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
3828         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
3829         assume it's always t.
3830         (vc-git-registered): Remove caching, the function is only called
3831         once.
3832         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
3834 2012-07-18  Chong Yidong  <cyd@gnu.org>
3836         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
3838         * simple.el (count-words): Report on narrowing (Bug#9959).
3840         * bindings.el: Bind M-= to count-words.
3842         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
3844 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
3846         * progmodes/sh-script.el (sh-imenu-generic-expression):
3847         Capture a function with `function' keyword and without parentheses
3848         like "function FOO" (bug#11856).
3850 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
3852         * window.el (split-window-sensibly): Make WINDOW argument
3853         optional.
3855 2012-07-18  Chong Yidong  <cyd@gnu.org>
3857         * subr.el (keyboard-translate): Doc fix (Bug#7261).
3859         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
3860         and make C-x 8 RET exit isearch (Bug#11439).
3862         * international/iso-transl.el: Move isearch-mode-map key
3863         definitions to isearch.el.
3865 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3867         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
3868         (eieio-defclass): Use gv-define-setter when possible.
3870 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
3872         Reflect recent changes in Fgarbage_collect.
3873         * emacs-lisp/chart.el (chart-emacs-storage): Change to
3874         reflect new format of data returned by Fgarbage_collect.
3876 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
3878         New utility functions + python-info-ppss-context fix (Bug#11910).
3879         * progmodes/python.el (python-info-beginning-of-block-statement-p)
3880         (python-info-ppss-comment-or-string-p): New functions.
3881         (python-info-ppss-context): Small fix for string check.
3883 2012-07-17  Juri Linkov  <juri@jurta.org>
3885         * dired-aux.el (dired-do-async-shell-command): Doc fix.
3886         (dired-do-async-shell-command): Don't add `*' at the end of the
3887         command (Bug#11815).
3888         (dired-do-shell-command): Doc fix.
3889         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
3890         Join the individual commands using either "&" or ";" as the
3891         separator depending on the values of these trailing characters.
3892         At the end re-add the trailing "&".  (Bug#10598)
3894         * simple.el (async-shell-command): Sync the interactive spec with
3895         `shell-command'.  Doc fix.
3896         (shell-command): Doc fix.
3898 2012-07-17  Juri Linkov  <juri@jurta.org>
3900         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
3902 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
3904         Final renames and doc fixes for movement commands (bug#11899).
3905         * progmodes/python.el (python-nav-beginning-of-statement):
3906         Rename from python-nav-statement-start.
3907         (python-nav-end-of-statement): Rename from
3908         python-nav-statement-end.
3909         (python-nav-beginning-of-block): Rename from
3910         python-nav-block-start.
3911         (python-nav-end-of-block): Rename from python-nav-block-end.
3913 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
3915         * progmodes/python.el (python-shell-send-string-no-output):
3916         Allow accept-process-output to quit, keeping shell process ready for
3917         future interactions (Bug#11868).
3919 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3921         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
3923         * emacs-lisp/elint.el (elint-find-args-in-code):
3924         Use help-function-arglist, so as to handle lexical byte-code.
3926         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
3927         change (bug#11826).
3929 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3931         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
3932         Avoid spuriously marking the buffer as modified because of c-is-sws.
3934         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
3935         as not-a-comment (bug#11946).
3937         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
3938         for uninterned vars.
3940         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
3941         Use read-event since we don't really want to read chars but bytes.
3943         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
3944         $$..$$ but also $..$ using regexps (bug#11953).
3945         Use tex-verbatim for \url and \path.
3946         (tex-font-lock-keywords): Define as defconst like the others.
3947         (tex-common-initialization): Don't use font-lock-syntax-table any more.
3949 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
3951         * international/mule-cmds.el (ucs-insert): Make it an obsolete
3952         alias for insert-char.
3954 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
3956         * progmodes/python.el: Simplified imenu implementation.
3957         (python-nav-jump-to-defun): Remove command.
3958         (python-mode-map): Use `imenu' instead.
3959         (python-nav-list-defun-positions-cache)
3960         (python-imenu-include-defun-type, python-imenu-make-tree)
3961         (python-imenu-subtree-root-label, python-imenu-index-alist):
3962         Remove vars.
3963         (python-nav-list-defun-positions, python-nav-read-defun)
3964         (python-imenu-tree-assoc, python-imenu-make-element-tree)
3965         (python-imenu-make-tree, python-imenu-create-index):
3966         Remove functions.
3967         (python-mode): Update to interact with imenu by setting
3968         `imenu-extract-index-name-function' only.
3970 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
3972         * progmodes/python.el: Enhancements to navigation commands.
3973         (python-nav-backward-sentence)
3974         (python-nav-forward-sentence): Remove.
3975         (python-nav-backward-statement, python-nav-forward-statement)
3976         (python-nav-statement-start, python-nav-statement-end)
3977         (python-nav-backward-block, python-nav-forward-block)
3978         (python-nav-block-start, python-nav-block-end)
3979         (python-nav-forward-sexp-function)
3980         (python-info-current-line-comment-p)
3981         (python-info-current-line-empty-p): New functions.
3982         (python-indent-context): Use `python-nav-statement-start'.
3984 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
3986         * eshell/em-ls.el (eshell/ls): Use `apply'.
3988         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
3989         multi-hops, instead of Tramp internals.
3991         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
3993         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
3994         when F1 and F2 are located on different hosts.
3996 2012-07-14  Chong Yidong  <cyd@gnu.org>
3998         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
3999         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4000         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4001         (xterm-mouse--read-event-sequence-1000)
4002         (xterm-mouse--read-event-sequence-1006): New functions.  For old
4003         mouse protocol, handle M-mouse-X events correctly.
4004         (xterm-mouse-event): New arg specifying mouse protocol.
4005         (turn-on-xterm-mouse-tracking-on-terminal)
4006         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4007         sequence to toggle extended coordinates on newer XTerms.
4008         This appears to be harmless on terminals which do not support this.
4010 2012-07-14  Leo Liu  <sdl.web@gmail.com>
4012         Add fringe bitmap indicators for flymake.  (Bug#11253)
4013         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4014         (flymake-make-overlay): New arg BITMAP.
4015         (flymake-error-bitmap, flymake-warning-bitmap)
4016         (flymake-fringe-indicator-position): New user variables.
4018         * fringe.el: New bitmap exclamation-mark.
4020 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
4022         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4023         also (Bug#7879).
4025 2012-07-14  Chong Yidong  <cyd@gnu.org>
4027         * electric.el (electric-pair-post-self-insert-function): Fix pair
4028         insertion in empty-region case (Bug#11520).
4030 2012-07-14  Chong Yidong  <cyd@gnu.org>
4032         * bindings.el: Consolidate ctl-x-r-map bindings.
4033         Bind copy-rectangle-as-kill to C-x r w.
4035         * rect.el, register.el: Move bindings to bindings.el.
4037 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
4039         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4041 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
4043         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
4045 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
4047         * bindings.el (top): Use `mapc' instead of `mapcar'.
4049         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4051 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
4053         * progmodes/sql.el (sql-comint): Suppress the check for program on
4054         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
4055         (Bug#11908)
4057 2012-07-13  Chong Yidong  <cyd@gnu.org>
4059         * bindings.el: Assign a non-nil permanent-local property to
4060         per-buffer variables which lack a default value (Bug#11930).
4062         * help-fns.el (describe-variable): In the "automatically becomes
4063         local" notice, take note of permanent-local variables.
4065 2012-07-13  Chong Yidong  <cyd@gnu.org>
4067         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
4068         to allow printing the message when called from Lisp.
4070         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4071         Remove toggle-read-only.
4073         * bs.el (bs-toggle-readonly):
4074         * buff-menu.el (Buffer-menu-toggle-read-only):
4075         Remove with-no-warnings around toggle-read-only.
4077         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4078         Remove with-no-warnings around toggle-read-only.
4079         (ffap-read-only, ffap-read-only-other-window)
4080         (ffap-read-only-other-frame): Callers changed.
4082         * help-mode.el: Don't require view package.
4083         (help-mode-finish): Set buffer-read-only instead of calling
4084         toggle-read-only.
4086         * bindings.el (mode-line-toggle-read-only):
4087         * dired.el (dired-toggle-read-only):
4088         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4089         with non-nil second arg.
4091         * emacs-lisp/eieio-custom.el (eieio-customize-object):
4092         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4093         directly.
4095 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
4097         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4098         not incf.
4100 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4102         More CL cleanups and reduction of use of cl.el.
4103         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4104         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4105         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4106         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4107         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4108         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4109         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4110         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4111         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4112         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4113         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4114         * eshell/em-cmpl.el, eshell/em-banner.el:
4115         * calendar/parse-time.el: Use cl-lib.
4116         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4117         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4118         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4119         * term/ns-win.el, term.el, shell.el, ps-samp.el:
4120         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4121         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4122         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4123         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4124         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4125         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4126         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4127         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4128         `lambda' rather than with `quote'.
4129         (eshell-do-opt): Adjust accordingly.
4130         (eshell-process-option): Simplify.
4131         * eshell/esh-var.el:
4132         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4133         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4134         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4135         to `pcase--dontcare'.
4136         * emacs-lisp/cl.el (labels): Mark obsolete.
4137         (cl--letf, letf): Move to cl-lib.
4138         (cl--letf*, letf*): Remove.
4139         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4140         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4141         (cl-progv): Rewrite.
4142         (cl--letf, cl-letf): Move from cl.el.
4143         (cl-letf*): New macro.
4144         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4146 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
4148         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4150 2012-07-11  Chong Yidong  <cyd@gnu.org>
4152         * vc/log-edit.el (log-edit-vc-backend): New variable.
4153         (log-edit): Doc fix.
4155         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
4156         argument of log-edit to set up all local variables.
4157         (vc-start-logentry): New optional arg specifying VC backend.
4159         * vc/vc.el (vc-checkin): Use it.
4160         (vc-deduce-fileset): Handle Log Edit buffers.
4161         (vc-diff): Make first argument optional too.
4163         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4165 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
4167         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4168         command, just in case.  The function is not needed anymore.
4169         (eshell-external-command): Do not call `eshell-remote-command'.
4171 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4173         Reduce use of (require 'cl).
4174         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4175         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4176         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4177         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4178         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4179         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4180         * battery.el, avoid.el, abbrev.el: Use cl-lib.
4181         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4182         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4183         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4184         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4185         * calculator.el, autorevert.el, apropos.el: Don't require CL.
4186         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4187         (byte-compile-unfold-bcf, byte-compile-check-variable):
4188         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4189         (byte-compile-nilconstp):
4190         * emacs-lisp/autoload.el (make-autoload): Use pcase.
4191         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4193         * emacs-lisp/gv.el (cond): Make it a valid place.
4194         (if): Simplify slightly.
4196         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4197         (pcase--self-quoting-p): New function.
4198         (pcase--u1): Use it.
4200 2012-07-10  Glenn Morris  <rgm@gnu.org>
4202         * emacs-lisp/authors.el (authors-fixed-entries):
4203         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4205 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
4207         Rename configure.in to configure.ac (Bug#11603).
4208         * emacs-lisp/authors.el (authors-canonical-file-name):
4209         * progmodes/autoconf.el (autoconf-mode):
4210         Prefer configure.ac to configure.in.
4212 2012-07-08  Chong Yidong  <cyd@gnu.org>
4214         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4215         Implement the mouse-1-click-follows-link handling properly.
4217         * info.el (Info-link-keymap): Use follow-link mechanism for
4218         header-line links (Bug#374).
4220         * simple.el (deactivate-mark): Do not set the primary selection
4221         if another program has acquired it (Bug#11772).
4223 2012-07-07  Kevin Ryde  <user42@zip.com.au>
4225         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4226         (woman-decode-region): Replace escaped-escapes without destroying
4227         bold or underline (Bug#11552).
4228         (woman2-process-escapes): Handle nofill regions (Bug#11591).
4230 2012-07-07  Chong Yidong  <cyd@gnu.org>
4232         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4233         (interprogram-cut-function, interprogram-paste-function):
4234         Mention that we typically mean the clipboard.
4236 2012-07-06  Glenn Morris  <rgm@gnu.org>
4238         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
4240         * files.el (toggle-read-only): Restrict message to interactive use.
4242 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
4244         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4246         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4248 2012-07-06  Glenn Morris  <rgm@gnu.org>
4250         * Makefile.in (compile-one-process): Rename from "recompile".
4252         * Makefile.in (bzr-update): "compile" is the same as "recompile
4253         autoloads", but parallelizable, so use that instead.
4255 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
4257         * window.el (quit-window): Always restore window height when
4258         it's saved in quit-restore parameter (Bug#11810).
4260 2012-07-06  Glenn Morris  <rgm@gnu.org>
4262         * simple.el (kill-whole-line): Doc tweak.
4264 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
4266         * files.el (file-relative-name): Compare file names
4267         case-insensitively if on MS-Windows or MS-DOS, or if
4268         read-file-name-completion-ignore-case is non-nil.  Don't use
4269         case-fold-search for this purpose.  (Bug#11827)
4271 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
4273         * calendar/cal-dst.el (calendar-current-time-zone):
4274         Return calendar-current-time-zone-cache if non-nil.
4276 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
4277 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
4279         * calendar/cal-dst.el (calendar-current-time-zone):
4280         Return calendar-current-time-zone-cache if non-nil.
4282 2012-07-06  Glenn Morris  <rgm@gnu.org>
4284         * Makefile.in (cvs-update): Remove old alias.
4286 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
4288         Sync with Tramp 2.2.6-pre.
4290         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4291         compatible declaration.
4293         * net/tramp-cmds.el (tramp-append-tramp-buffers):
4294         Protect `list-load-path-shadows' call.
4296         * net/tramp-compat.el (top): Require packages, which aren't
4297         autoloaded anymore for XEmacs.  Protect call of
4298         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4299         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
4300         it hurts at least for SXEmacs.
4301         (tramp-compat-temporary-file-directory): In XEmacs, there is no
4302         standard-value for `temporary-file-directory'.
4304         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4305         Redirect stderr to /dev/null.
4306         (tramp-sh-handle-write-region): uid and gid can be floats.
4307         Reported by Russell Sim <russell.sim@gmail.com>.
4308         (tramp-sh-handle-vc-registered): Hide errors.
4309         (tramp-vc-file-name-handler): Use dummy results for `process-file'
4310         and `start-file-process'.
4311         (tramp-maybe-open-connection): Check also whether `non-essential'
4312         is bound.
4314 2012-07-04  Chong Yidong  <cyd@gnu.org>
4316         * xml.el (xml--parse-buffer): Use xml-syntax-table.
4317         (xml-parse-tag): Likewise, and avoid changing entity tables.
4318         (xml-syntax-table): Define from scratch, making sure not to give
4319         x2000 and other Unicode spaces whitespace syntax, since those are
4320         not spaces in XML.
4321         (xml-parse-fragment): Delete unused function.
4322         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4323         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4324         (xml-entity-ref, xml-pe-reference-re)
4325         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4326         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4327         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4328         (xml-entity-value-re): Use syntax references in regexps where
4329         possible; no need to define inside a let-binding.
4330         (xml-parse-dtd): Use xml-pe-reference-re.
4331         (xml-entity-or-char-ref-re): New defconst.
4332         (xml-parse-string, xml-substitute-special): Use it.
4334 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4336         * files.el (locate-dominating-file): Allow `name' to be a predicate.
4337         (find-file--read-only): New function.
4338         (find-file-read-only, find-file-read-only-other-window)
4339         (find-file-read-only-other-frame): Use it.
4340         (insert-file-contents-literally): Don't `fset'.
4341         (get-free-disk-space): Use locate-dominating-file.
4343         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4344         function is already compiled.
4346         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
4348 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
4350         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4351         files on the same host.
4353 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
4355         * help-fns.el (describe-function-1): Only call
4356         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
4358 2012-07-03  Chong Yidong  <cyd@gnu.org>
4360         * xml.el: Protect parser against XML bombs.
4361         (xml-entity-expansion-limit): New variable.
4362         (xml-parse-string, xml-substitute-special): Use it.
4363         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4365 2012-07-03  Glenn Morris  <rgm@gnu.org>
4367         * progmodes/bug-reference.el (bug-reference-bug-regexp):
4368         Allow linking to specific messages in debbugs reports (eg 123#5).
4370 2012-07-02  Chong Yidong  <cyd@gnu.org>
4372         * xml.el: Fix entity and character reference expansion, allowing
4373         them to expand into markup as per XML spec.
4374         (xml-default-ns): New variable.
4375         (xml-entity-alist): Use XML spec definitions for lt and amp.
4376         (xml-parse-region): Make first two arguments optional.
4377         Discard text properties.
4378         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4379         All callers changed.
4380         (xml-parse-tag): Call xml-parse-tag-1.  For backward
4381         compatibility, this function should not modify buffer contents.
4382         (xml-parse-tag-1): Fix opening-tag regexp.
4383         (xml-parse-string): Rewrite, handling entity and character
4384         references properly.
4385         (xml--entity-replacement-text): Signal an error if a parameter
4386         entity is undefined.
4388 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4390         * comint.el (comint-output-filter): Filter out repeated prompts.
4392         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4393         and file-name-absolute-p.
4394         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4395         internal calls.
4397 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
4399         Spelling fixes.
4400         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4401         Rename from byte-compile--refiy-function.  All uses changed.
4403 2012-07-01  Chong Yidong  <cyd@gnu.org>
4405         * xml.el (xml--parse-buffer): New function.  Move most of
4406         xml-parse-region here.
4407         (xml-parse-region): Copy region into a temporary buffer, since
4408         parameter entity substitution requires changing buffer contents.
4409         Use xml--parse-buffer.
4410         (xml-parse-file): Use xml--parse-buffer.
4411         (xml-parse-dtd): Make parameter entity substitution work right.
4412         Use proper regexps for ELEMENT declarations (Bug#7172).
4414 2012-06-30  Glenn Morris  <rgm@gnu.org>
4416         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4418         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4419         Remove outdated and unnecessary dbus declarations.
4421 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
4423         * emacs-lisp/timer.el (timer-until): Subtract results of
4424         float-time, instead of taking float-time of the result of
4425         time-subtract, since float-time signals an error for negative time
4426         arguments.
4428 2012-06-30  Chong Yidong  <cyd@gnu.org>
4430         * xml.el (xml-*-re): Convert defvars into defconsts, and
4431         eval-and-compile them so eval-and-compile works on derivatives.
4432         (xml--entity-replacement-text): Use eval-and-comple.
4434 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
4436         * vc/vc-git.el (vc-git-registered): Use cache property
4437         `git-registered'.
4438         (vc-git-mode-line-string): Call `vc-working-revision' instead of
4439         `vc-git-working-revision' in order to benefit from the cache.
4440         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
4442 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
4444         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4445         removed (likely outside Emacs).  (Bug#11757)
4447 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4449         * emacs-lisp/cl-lib.el: Require macroexp.
4451 2012-06-30  Chong Yidong  <cyd@gnu.org>
4453         * xml.el: Implement XML parameter entities.
4454         (xml-parameter-entity-alist): New variable.
4455         (xml-parse-region, xml-parse-fragment): Preserve previous values
4456         of xml-entity-alist and xml-parameter-entity-alist, so that
4457         repeated calls on different documents do not change them.
4458         (xml-parse-tag): Fix doctype regexp.
4459         (xml--entity-replacement-text): New function.
4460         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
4461         properly requires url retrieval which is unimplemented.
4462         (xml-escape-string): Doc fix.
4464 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4466         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4468 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
4470         * fringe.el (fringe-mode): Doc fix.
4472 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
4474         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4475         is non-nil.
4476         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4477         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
4479 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
4481         * calendar/cal-dst.el (calendar-current-time-zone):
4482         Return calendar-current-time-zone-cache if non-nil.
4484 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
4486         * progmodes/which-func.el (which-func-format):
4487         Add mouse-face.  (Bug#11698)
4489 2012-06-29  Leo Liu  <sdl.web@gmail.com>
4491         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4493 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4495         * minibuffer.el (minibuffer-confirm-exit-commands):
4496         Add completion-at-point (bug#11725).
4498 2012-06-29  Glenn Morris  <rgm@gnu.org>
4500         * progmodes/f90.el (f90-font-lock-keywords-2):
4501         Add some preprocessor elements.  (Bug#10499)
4503 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4505         * progmodes/cperl-mode.el (cperl-update-syntaxification):
4506         Use syntax-propertize (bug#11739).
4508 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
4510         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4512 2012-06-28  Julien Danjou  <julien@danjou.info>
4514         * term.el (term-handle-colors-array): Use a set of new faces to
4515         color the terminal.  Also uses :inverse-video property.
4516         (term-default-fg-color): Set to nil by default, deprecate in favor
4517         of `term-face'.
4518         (term-default-bg-color): Set to nil by default, deprecate in favor
4519         of `term-face'.
4520         (term-current-face): Use `term-face' by default.
4521         (term-bold-attribute): Variable deleted.
4523 2012-06-28  Glenn Morris  <rgm@gnu.org>
4525         * simple.el (completion-list-mode-finish):
4526         Don't use toggle-read-only.  (Since completion-list-mode has
4527         a special mode-class, it wasn't doing anything extra anyway.)
4529 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4531         Make inlining of other-mode interpreted functions work (bug#11799).
4532         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4533         (byte-compile): Use it to fix compilation of lexical-binding closures.
4534         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4535         function, if needed.
4537 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4539         * help-mode.el (help-make-xrefs): Don't just withstand
4540         cyclic-variable-indirection but any error in documentation-property.
4542         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4543         memory use.
4544         * bindings.el (bindings--define-key): New function.
4545         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4546         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4547         * bindings.el: Use it to purecopy define-key bindings.
4549         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4551         * emacs-lisp/cl.el (flet): Mark obsolete.
4552         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4553         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4554         * progmodes/js.el (js-c-fill-paragraph):
4555         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4556         (ebrowse-switch-member-buffer-to-derived-class):
4557         * play/5x5.el (5x5-solver): Use cl-flet.
4559         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
4560         (cl--symbol-function): New macro.
4561         (cl--letf, cl--letf*): Use it.
4563         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4564         Strip "toggle-" if any.
4566 2012-06-27  Glenn Morris  <rgm@gnu.org>
4568         * info.el (Info-default-directory-list): Move here from paths.el.
4569         * paths.el: Remove file, which is now empty.
4570         * loadup.el: No longer load "paths".
4572         * custom.el (custom-initialize-delay): Doc fix.
4574         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4575         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4576         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4577         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4578         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4579         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4580         * eshell/eshell.el (eshell-defgroup): Remove alias.
4582 2012-06-27  Chong Yidong  <cyd@gnu.org>
4584         * help.el (help-enable-auto-load): New variable.
4586         * help-fns.el (help-fns--autoloaded-p): New function.
4587         (describe-function-1): Refer to a function as "autoloaded" if it
4588         was autoloaded at any time in the past.  Perform autoloading if
4589         help-enable-auto-load is non-nil.
4591 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
4593         * makefile.w32-in (compile, compile-always): Depend on
4594         update-subdirs, not on subdirs.el.  Otherwise, several different
4595         sub-targets of 'bootstrap' running in parallel could
4596         simultaneously write to subdirs.el, producing a garbled file.
4598 2012-06-26  Sam Steingold  <sds@gnu.org>
4600         * files.el (file-name-base): New convenience function.
4601         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4602         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4603         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4604         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4605         * textmodes/ispell.el, textmodes/reftex-ref.el:
4606         * textmodes/tex-mode.el: Use it.
4607         Did not touch cedet and org because they are maintained elsewhere.
4609 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
4611         * calendar/calendar.el (calendar-exit): Don't try to delete or
4612         iconify last frame.  See:
4613         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4615 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
4617         * server.el (server-process-filter): Remember dir in the
4618         process's `server-client-directory' properties.
4620 2012-06-24  Chong Yidong  <cyd@gnu.org>
4622         * xml.el (xml-parse-tag): Correctly handle comment embedded in
4623         non-tag text.
4625 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
4627         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4629 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4631         * help-fns.el (describe-variable): Don't croak when doc is not found.
4632         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4633         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4634         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4635         * emacs-lisp/smie.el (smie-next-sexp): CSE.
4636         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4637         ((lambda ..) ..).
4638         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4640 2012-06-23  Chong Yidong  <cyd@gnu.org>
4642         * info.el (Info-mouse-follow-link): Accept symbol values of
4643         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
4644         (Info-fontify-node): Use Info-link-keymap for all navigation
4645         buttons, with link-args property to perform the desired action.
4646         (Info-link-keymap): Doc fix.
4647         (Info-next-link-keymap, Info-prev-link-keymap)
4648         (Info-up-link-keymap): Delete now-unused keymaps.
4650 2012-06-23  Chong Yidong  <cyd@gnu.org>
4652         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
4654         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
4655         system abbrevs.
4657         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
4659 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4661         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
4662         (bug#11719).
4664         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
4665         the requote function doesn't work properly (bug#11714).
4667 2012-06-23  Glenn Morris  <rgm@gnu.org>
4669         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
4671 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4673         Further GV/CL cleanups.
4674         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
4675         gv-expander.
4676         (gv--defun-declaration): New function.
4677         (defun-declarations-alist): Use it.
4678         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
4679         (gv-place): Autoload.
4680         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
4681         original definition of dotimes and dolist.
4682         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
4683         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
4684         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
4685         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
4686         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
4687         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
4688         to the function's definition.
4689         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
4690         * window.el:
4691         * files.el:
4692         * faces.el:
4693         * env.el: Don't use CL.
4695 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
4697         Support higher-resolution time stamps (Bug#9000).
4699         * calendar/time-date.el (with-decoded-time-value): New arg
4700         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
4701         (encode-time-value): New optional arg PICO.  New type 3.
4702         (time-to-seconds) [!float-time]: Support the new picoseconds
4703         component if it's used.
4704         (seconds-to-time, time-subtract, time-add):
4705         Support ps-resolution time stamps as well.
4707         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
4708         (timerp): Timer vectors now have length 9, not 8.
4709         (timer--time): Support new-style (4-part) time stamps.
4710         (timer-next-integral-multiple-of-time): Time stamps now have
4711         picosecond resolution, so take a bit more care about rounding.
4712         (timer-relative-time, timer-inc-time): New optional arg psecs.
4713         (timer-set-time-with-usecs): Set psecs to 0.
4714         (timer--activate): Check psecs component, too.
4716         * proced.el (proced-time-lessp): Support ps-resolution stamps.
4718 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4720         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
4721         Move the non-essential binding to the post/pre-command-hook where it is
4722         more obviously correct.
4724         * subr.el (read-passwd): Don't use a history at all.
4725         * savehist.el (savehist-save): Remove password saved accidentally
4726         because of the above bug.
4728 2012-06-22  Bastien Guerry  <bzg@gnu.org>
4730         * files.el (toggle-read-only): Display a message telling whether
4731         the buffer is read-only or not (bug#11726).
4733 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4735         * emacs-lisp/gv.el: New file.
4736         * subr.el (push, pop): Extend to generalized variables.
4737         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
4738         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
4739         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
4740         gv-define-simple-setter, and gv-define-expander.
4741         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
4742         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
4743         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
4744         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
4745         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
4746         gv-letplace.
4747         (cl-defstruct): Don't define setf-method any more.
4748         * emacs-lisp/cl.el (flet): Don't autoload.
4749         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
4750         (define-setf-expander, defsetf, define-modify-macro)
4751         (cl-struct-setf-expander): Move from cl-lib.el.
4752         * emacs-lisp/syntax.el:
4753         * emacs-lisp/ewoc.el:
4754         * emacs-lisp/smie.el:
4755         * emacs-lisp/cconv.el:
4756         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
4757         (timer--time): Use gv-define-simple-setter.
4758         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
4759         to avoid coding-system problems in subr.el.  Adjust all users.
4760         (macroexp--maxsize, macroexp-small-p): New functions.
4761         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
4762         * scroll-bar.el (scroll-bar-mode):
4763         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
4764         (normal-erase-is-backspace-mode): Don't use the `eq' place.
4765         * winner.el (winner-configuration, winner-make-point-alist)
4766         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
4767         * files.el (locate-file-completion-table): Avoid list*.
4769 2012-06-22  Chong Yidong  <cyd@gnu.org>
4771         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
4772         (dired-create-files): Doc fix (Bug#11329).
4773         (dired-do-copy): Doc fix (Bug#11334).
4774         (dired-mark-read-string): Doc fix (Bug#11553).
4776         * dired.el (dired-recursive-copies, dired-recursive-deletes):
4777         Doc fix (Bug#11326).
4778         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
4779         (dired-dwim-target): Doc fix.
4781         * wdired.el (wdired-mode): Doc fix.
4783 2012-06-22  Glenn Morris  <rgm@gnu.org>
4785         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
4786         (pcmpl-rpm-cache-stamp-file): New constant.
4787         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
4788         (pcmpl-rpm-packages): Optionally cache list of packages.
4790         * pcmpl-rpm.el (pcmpl-rpm): New group.
4791         (pcmpl-rpm-query-options): New option.
4792         (pcmpl-rpm-packages): No need to inline it.
4793         Use pcmpl-rpm-query-options.
4795         * calendar/calendar.el (calendar-in-read-only-buffer):
4796         Avoid some needless mode changes.
4798 2012-06-21  Chong Yidong  <cyd@gnu.org>
4800         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
4801         (desktop-path): Remove . from the default value (Bug#10977).
4802         (desktop-read): Use user-emacs-directory if desktop-path is nil.
4804 2012-06-20  Chong Yidong  <cyd@gnu.org>
4806         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
4808 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
4810         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
4811         (bug#11201).
4813 2012-06-20  Chong Yidong  <cyd@gnu.org>
4815         * term.el (term-window-width): Handle the case of a missing right
4816         fringe (Bug#8837).
4817         (term-check-size): Use window-text-height (Bug#5445).
4818         (term-mode): Use define-derived-mode.  Minor cleanups.
4819         Set font-lock-defaults (Bug#7692).
4820         (term-move-columns, term-insert-char, term-emulate-terminal)
4821         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
4823 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
4825         * net/ange-ftp.el (ange-ftp-get-passwd):
4826         Bind `enable-recursive-minibuffers'.
4827         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
4829 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
4831         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
4833 2012-06-19  Glenn Morris  <rgm@gnu.org>
4835         * progmodes/python.el (python-mode): Derive from prog-mode.
4837 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
4839         * emulation/edt.el (edt-default-menu-bar-update-buffers)
4840         (edt-user-menu-bar-update-buffers): New functions.
4841         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
4843 2012-06-19  Chong Yidong  <cyd@gnu.org>
4845         * subr.el (with-selected-window): Preserve the selected window's
4846         terminal's top-frame (Bug#4702).
4848         * window.el (save-selected-window): Likewise.
4850 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4852         * progmodes/python.el (python-rx-constituents): Move backquote.
4853         (python-skeleton-define, python-define-auxiliary-skeleton):
4854         Use `declare'.
4856 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
4858         * minibuffer.el (read-file-name-default): Revert the patch from
4859         2012-06-17.
4861 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4863         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
4864         (pcase--u1, pcase--q1): Don't use apply-partially.
4866 2012-06-18  Glenn Morris  <rgm@gnu.org>
4868         * progmodes/python.el (python-proc, python-buffer)
4869         (python-send-receive, python-send-string): Fix obsolete versions.
4871 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
4873         * window.el (special-display-p): Completely remove stringp
4874         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
4876 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
4878         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
4880         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
4882         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
4883         * net/tramp-sh.el (tramp-maybe-open-connection):
4884         Throw if `non-essential' is non-nil.
4886 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
4888         * window.el (special-display-p): Signal an error if BUFFER-NAME
4889         is not a string (Bug#11713).
4891 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
4893         * progmodes/python.el (python-info-beginning-of-backslash):
4894         Rename from python-info-beginning-of-backlash, as a spelling fix.
4896 2012-06-17  Chong Yidong  <cyd@gnu.org>
4898         * term.el (term-emulate-terminal): If term-check-size is called,
4899         move point to the process mark without resetting point (Bug#4635).
4901 2012-06-17  Glenn Morris  <rgm@gnu.org>
4903         * international/mule-cmds.el (mule-menu-keymap)
4904         (set-language-environment, set-locale-environment): Doc tweaks.
4906 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
4908         * cus-face.el (custom-face-attributes): Add wave-style underline
4909         attribute.
4910         * faces.el (set-face-attribute): Update docstring to describe
4911         wave-style underline attribute.
4913 2012-06-16  Chong Yidong  <cyd@gnu.org>
4915         * term/xterm.el (terminal-init-xterm): Discard input before
4916         querying background mode (Bug#10959).
4918 2012-06-16  Stefan Merten  <smerten@oekonux.de>
4920         * textmodes/rst.el: Added and corrected some comments.
4921         (rst-re-alist-def): Improve symbol syntax.
4922         (rst-mode-syntax-table): Correct syntax entries.
4923         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
4924         (rst-official-version, rst-official-cvs-rev): Update version
4925         information.
4927 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
4929         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
4930         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
4932 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
4934         * progmodes/python.el: New python.el merge.
4935         (python-guess-indent): Obsolete var.
4936         (python-indent-guess-indent-offset): New defcustom.
4937         (python-indent): Obsolete var.
4938         (python-indent-offset): New defcustom.
4939         (python-python-command, python-jython-command): Delete var.
4940         (python-shell-interpreter): New defcustom.
4941         (python-pdbtrack-do-tracking-p): Delete var.
4942         (python-pdbtrack-activate): New defcustom.
4943         (python-use-skeletons): Obsolete var.
4944         (python-skeleton-autoinsert): New defcustom.
4945         (inferior-python-filter-regexp, python-continuation-offset)
4946         (python-honour-comment-indentation, python-indent-string-contents)
4947         (python-jython-packages, python-mode-hook)
4948         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
4949         (python-shell-prompt-alist)
4950         (python-source-modes): Delete defcustoms.
4951         (python-check-buffer-name, python-eldoc-setup-code)
4952         (python-eldoc-string-code, python-ffap-setup-code)
4953         (python-ffap-string-code, python-fill-comment-function)
4954         (python-fill-decorator-function, python-fill-paren-function)
4955         (python-fill-string-function, python-imenu-include-defun-type)
4956         (python-imenu-make-tree, python-imenu-subtree-root-label)
4957         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
4958         (python-shell-compilation-regexp-alist)
4959         (python-shell-completion-module-string-code)
4960         (python-shell-completion-pdb-string-code)
4961         (python-shell-completion-setup-code)
4962         (python-shell-completion-string-code)
4963         (python-shell-enable-font-lock, python-shell-exec-path)
4964         (python-shell-extra-pythonpaths)
4965         (python-shell-internal-buffer-name, python-shell-interpreter-args)
4966         (python-shell-process-environment)
4967         (python-shell-prompt-block-regexp)
4968         (python-shell-prompt-output-regexp)
4969         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
4970         (python-shell-send-setup-max-wait, python-shell-setup-codes)
4971         (python-shell-virtualenv-path): New defcustoms.
4972         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
4973         (inferior-python-mode-syntax-table, python--prompt-regexp)
4974         (python-buffer, python-command python-python-command)
4975         (python-default-template, python-imports, python-indent-index)
4976         (python-indent-list, python-indent-list-length)
4977         (python-mode-running, python-pdbtrack-is-tracking-p)
4978         (python-preoutput-continuation, python-preoutput-leftover)
4979         (python-preoutput-result, python-preoutput-skip-next-prompt)
4980         (python-prev-dir/file, python-recursing)
4981         (python-saved-check-command, python-version-checked)
4982         (python-which-func-length-limit)
4983         (view-return-to-alist): Delete vars.
4984         (python-check-custom-command, python-dotty-syntax-table)
4985         (python-imenu-index-alist, python-indent-current-level)
4986         (python-indent-dedenters, python-indent-levels)
4987         (python-nav-beginning-of-defun-regexp)
4988         (python-nav-list-defun-positions-cache)
4989         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
4990         (python-shell-internal-buffer)
4991         (python-skeleton-available): New vars.
4992         (def-python-skeleton): Delete macro.
4993         (python-skeleton-define): New macro.
4994         (python-define-auxiliary-skeleton, python-rx): New macros.
4995         (python-insert-class): Delete command.
4996         (python-skeleton-class): New command.
4997         (python-insert-def): Delete command.
4998         (python-skeleton-def): New command.
4999         (python-insert-for): Delete command.
5000         (python-skeleton-for): New command.
5001         (python-insert-if): Delete command.
5002         (python-skeleton-if): New command.
5003         (python-insert-try/except, python-insert-try/finally): Delete commands.
5004         (python-skeleton-try): New command.
5005         (python-insert-while): Delete command.
5006         (python-skeleton-while): New command.
5007         (python-backspace): Delete command.
5008         (python-indent-dedent-line-backspace): New command.
5009         (python-electric-colon): Delete command.
5010         (python-indent-electric-colon): New command.
5011         (python-guess-indent): Delete command.
5012         (python-indent-guess-indent-offset): New command.
5013         (python-shift-left): Delete command.
5014         (python-indent-shift-left): New command.
5015         (python-shift-right): Delete command.
5016         (python-indent-shift-right): New command.
5017         (python-find-function): Delete command.
5018         (python-nav-jump-to-defun): New command.
5019         (python-next-statement): Delete command.
5020         (python-nav-forward-sentence): New command.
5021         (python-previous-statement): Delete command.
5022         (python-nav-backward-sentence): New command.
5023         (python-fill-paragraph): Delete command.
5024         (python-fill-paragraph-function): New command.
5025         (python-send-buffer): Delete command.
5026         (python-shell-send-buffer): New command.
5027         (python-send-defun): Delete command.
5028         (python-shell-send-defun): New command.
5029         (python-send-region, python-send-region-and-go): Delete commands.
5030         (python-shell-send-region)
5031         (python-shell-switch-to-shell): New commands.
5032         (python-send-string): Delete command.
5033         (python-shell-send-string): New command.
5034         (python-switch-to-python): Delete command.
5035         (python-shell-switch-to-shell): New command.
5036         (python-describe-symbol): Delete command.
5037         (python-eldoc-at-point): New command.
5038         (python--set-prompt-regexp, python-args-to-list)
5039         (python-after-info-look, python-check-version)
5040         (python-check-comint-prompt, python-find-imports)
5041         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5042         (python-unload-function, python-expand-template)
5043         (python-maybe-jython, python-preoutput-filter)
5044         (python-pdbtrack-get-source-buffer)
5045         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5046         (python-pdbtrack-toggle-stack-tracking)
5047         (python-pdbtrack-track-stack-file, python-initial-text)
5048         (python-first-word, python-comment-line-p, python-send-command)
5049         (python-setup-brm, python-sentinel, python-set-proc)
5050         (python-skip-out, python-input-filter, python-outdent-p)
5051         (python-outline-level, python-backslash-continuation-line-p)
5052         (python-end-of-block, python-end-of-statement, python-mark-block)
5053         (python-beginning-of-block, python-beginning-of-statement)
5054         (python-blank-line-p, python-beginning-of-string)
5055         (python-open-block-statement-p): Delete functions.
5056         (python-indent-line, python-indent-line-1): Delete functions.
5057         (python-indent-line): New function.
5058         (python-indentation-levels): Delete function.
5059         (python-indent-calculate-levels): New function.
5060         (python-proc): Delete function.
5061         (python-shell-get-process): New function.
5062         (python-send-receive): Delete function.
5063         (python-shell-send-string-no-output): New function.
5064         (python-module-path): Delete function.
5065         (python-ffap-module-path): New function.
5066         (python-completion-at-point)
5067         (python-symbol-completions): Delete functions.
5068         (python-completion-complete-at-point): New function.
5069         (python-load-file): Delete function.
5070         (python-shell-send-file): New function.
5071         (python-calculate-indentation): Delete function.
5072         (python-indent-calculate-indentation): New function.
5073         (python-skip-comments/blanks): Delete function.
5074         (python-util-forward-comment): New function.
5075         (python-continuation-line-p): Delete function.
5076         (python-info-continuation-line-p): New function.
5077         (python-which-func, python-current-defun): Delete function.
5078         (python-info-current-defun): New function.
5079         (python-beginning-of-defun): Delete function.
5080         (python-nav-beginning-of-defun): New function.
5081         (python-close-block-statement-p)
5082         (python-block-end-p): Delete function.
5083         (python-info-closing-block): New function.
5084         (python-comint-output-filter-function)
5085         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5086         (python-fill-comment, python-fill-decorator, python-fill-paren)
5087         (python-fill-string, python-imenu-make-element-tree)
5088         (python-imenu-make-tree, python-imenu-tree-assoc)
5089         (python-indent-context, python-indent-dedent-line)
5090         (python-indent-line-function)
5091         (python-indent-post-self-insert-function)
5092         (python-indent-toggle-levels)
5093         (python-info-assignment-continuation-line-p)
5094         (python-info-beginning-of-backlash)
5095         (python-info-block-continuation-line-p)
5096         (python-info-closing-block-message)
5097         (python-info-line-ends-backslash-p)
5098         (python-info-looking-at-beginning-of-defun)
5099         (python-info-ppss-context, python-info-ppss-context-type)
5100         (python-nav-list-defun-positions, python-nav-read-defun)
5101         (python-nav-sentence-end, python-nav-sentence-start)
5102         (python-pdbtrack-comint-output-filter-function)
5103         (python-pdbtrack-set-tracked-buffer)
5104         (python-shell-calculate-exec-path)
5105         (python-shell-calculate-process-environment)
5106         (python-shell-completion--do-completion-at-point)
5107         (python-shell-completion--get-completions)
5108         (python-shell-completion-complete-at-point)
5109         (python-shell-completion-complete-or-indent)
5110         (python-shell-get-or-create-process)
5111         (python-shell-get-process-name)
5112         (python-shell-internal-get-or-create-process)
5113         (python-shell-internal-get-process-name)
5114         (python-shell-internal-send-string, python-shell-make-comint)
5115         (python-shell-parse-command, python-shell-send-setup-code)
5116         (python-skeleton-add-menu-items)
5117         (python-util-clone-local-variables, python-util-position)
5118         (run-python-internal, python-indentation-levels)
5119         (python-nav-beginning-of-defun)
5120         (python-completion-complete-at-point): New functions.
5121         (run-python): Change arguments.  New API requirements.
5123 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5125         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5126         (bug#11649).
5128         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5129         (macroexp--expand-all): Use it.
5131         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5132         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5133         Use `cl-function' instead.
5135 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
5137         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5138         Suggested by Stefan Monnier while discussing bug#11657.
5140 2012-06-14  Sam Steingold  <sds@gnu.org>
5142         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5144 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
5146         * play/doctor.el (doctor-doc): Remove parameter and use
5147         doctor-sent instead of sent.
5148         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
5150 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5152         * files.el: Require cl-lib.
5153         (file-name-non-special): Replace case -> cl-case.
5155         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5157         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5158         mapping from #' to function*.
5160 2012-06-13  Chong Yidong  <cyd@gnu.org>
5162         * mouse.el (mouse-drag-track): Do not set the mark if the user
5163         releases the mouse without selecting anything (Bug#11588).
5165 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5167         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5168         as well (bug#11646).
5170         * loadup.el: Count byte-code functions as well.
5172         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5173         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5175         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5176         (bug#11649).  Add cl-defun and cl-defmacro.
5178 2012-06-13  Drew Adams  <drew.adams@oracle.com>
5180         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5181         Fix last change.
5183 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
5185         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5186         Otherwise, it blocks in batch mode.
5188 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
5190         * help-mode.el (bookmark-make-record-default): Declare.
5192 2012-06-13  Chong Yidong  <cyd@gnu.org>
5194         * emacs-lisp/package.el (list-packages): Compute a list of
5195         packages that are newly-available since the last list-packages
5196         invocation.
5197         (package-menu--new-package-list): New var.
5198         (package-menu--generate, package-menu--print-info)
5199         (package-menu--status-predicate, package-menu-mark-install):
5200         Handle new status label "new".
5202 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5204         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5205         conversion to backquotes.
5207 2012-06-12  Chong Yidong  <cyd@gnu.org>
5209         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5210         Rename from gud-inhibit-global-bindings.
5212         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5214         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5215         hook from nxml-glyph-set-hook.
5217         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5218         declaration.
5220         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5222         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5223         Convert to defcustom.
5225 2012-06-12  Drew Adams  <drew.adams@oracle.com>
5227         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5228         New functions.
5229         (help-mode): Use them.
5231 2012-06-11  Glenn Morris  <rgm@gnu.org>
5233         * progmodes/fortran.el (fortran-font-lock-keywords-3):
5234         Use preprocessor face for directives.
5235         (fortran-directive-re): Doc fix.
5237 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5239         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5240         conversion to backquotes (bug#11652).
5242         Fix compiler-expansion of CL's cXXr functions (bug#11673).
5243         * emacs-lisp/cl-lib.el (cl--defalias): New function.
5244         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5245         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5246         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5247         (cl-ninth, cl-tenth): Mark them as inlinable.
5248         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5249         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5250         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5251         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5252         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5253         (cl-list*, cl-adjoin): Don't put an autoload manually.
5254         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5255         (cl--compiler-macro-list*): Add autoload cookie.
5256         (cl--compiler-macro-cXXr): New function.
5258         * help-fns.el (help-fns--compiler-macro): New function extracted from
5259         describe-function-1; follow aliases and use `compiler-macro' property.
5260         (describe-function-1): Use it.
5262 2012-06-11  Chong Yidong  <cyd@gnu.org>
5264         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5265         is uninstalled, if imagemagick is installed.
5267 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5269         * emacs-lisp/cl-lib.el: Use lexical-binding.
5270         (cl-map-extents, cl-maclisp-member): Remove.
5271         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5272         (cl--set-substring, cl--block-wrapper, cl--block-throw)
5273         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5274         * emacs-lisp/cl-extra.el: Use lexical-binding.
5275         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5276         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5277         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5278         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5279         * emacs-lisp/cl-seq.el: Use lexical-binding.
5280         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5281         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5282         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5283         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5284         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5285         CL's internals.
5287 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
5289         Sync with Tramp 2.2.6-pre.
5291         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5292         `print-length' and `print-level' to nil, in order to avoid
5293         truncation.  Reported by Christopher Schmidt
5294         <christopher@ristopher.com>.
5296         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5298         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5299         New defmacro.
5300         (tramp-compat-copy-directory): Add optional argument
5301         COPY-CONTENTS.  It is not handled yet.
5303         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5304         (tramp-ftp-file-name-p): Simplify.
5306         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5307         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5308         connection vector.
5310         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5311         (tramp-methods): Do not use `tramp-password-end-of-line'.
5312         (tramp-completion-function-alist-putty): Handle UNIX case.
5313         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5314         (tramp-do-file-attributes-with-stat)
5315         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5316         gid as real numbers.  They could run out of integer range on cygwin.
5317         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5318         (tramp-sh-handle-expand-file-name): Handle hops.
5319         (tramp-open-connection-setup-interactive-shell):
5320         Use `tramp-cleanup'.  Move check for busyboxes ...
5321         (tramp-find-shell): ... here.  Simplify implementation.
5322         Set "remote-shell" property also for alternative shells.
5323         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5324         If failing, a regular file would be written otherwise.
5325         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5326         (tramp-find-inline-encoding): Cache the coding commands in the
5327         process cache.  Apply test command on the remote side, if defined.
5328         (tramp-find-inline-compress): Cache the compress commands in the
5329         process cache.
5330         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5331         when requested.  Handle hops.
5332         (tramp-current-connection): New defvar.
5333         (tramp-maybe-open-connection): Use `tramp-cleanup'.
5334         Throw `suppress', if there was a failed connection shortly before.
5335         Handle user interrupt.  (Bug#10187)
5336         (tramp-get-inline-compress, tramp-get-inline-coding):
5337         Read connection properties from the process cache.
5339         * net/tramp-smb.el (tramp-smb-server-version)
5340         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5341         New defconsts.
5342         (tramp-smb-prompt): Extend for powershell prompt.
5343         (tramp-smb-file-name-handler-alist): Add handlers for
5344         `process-file', `shell-command' and `start-file-process'.
5345         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5346         (tramp-smb-winexe-shell-command-switch): New defcustoms.
5347         (tramp-smb-file-name-p): Simplify.
5348         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5349         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5350         (tramp-smb-shell-quote-argument): New defuns.
5351         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5352         Implement using "tar".  By this, time-stamps are preserved.
5353         (tramp-smb-handle-copy-file): Handle also the case of directories.
5354         (tramp-smb-do-file-attributes-with-stat)
5355         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5356         Use `tramp-get-connection-buffer').
5357         (tramp-smb-handle-rename-file): Use "rename", when source and
5358         target are on the same share.
5359         (tramp-smb-maybe-open-connection): Handle wrong passwords.
5360         Use `tramp-smb-server-version'.
5361         (tramp-smb-wait-for-output): Remove prompt.
5363         * net/tramp.el (top): Require 'cl.
5364         (tramp-methods, tramp-rsh-end-of-line):
5365         Remove `tramp-password-end-of-line' from docstring.
5366         (tramp-save-ad-hoc-proxies): New defcustom.
5367         (tramp-completion-function-alist): Adapt docstring.
5368         (tramp-default-password-end-of-line): Remove defcustom.
5369         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
5370         (tramp-user-regexp, tramp-file-name-regexp-unified)
5371         (tramp-file-name-regexp-url): Extend regexp by hop separator.
5372         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5373         (tramp-remote-file-name-spec-regexp): New defconst.
5374         (tramp-file-name-structure): Extend structure for hops.
5375         (tramp-get-method-parameter): Move up.
5376         (tramp-file-name-p, tramp-dissect-file-name)
5377         (with-parsed-tramp-file-name): Handle hops.
5378         (tramp-file-name-hop): New defun.
5379         (tramp-make-tramp-file-name): New optional arg HOP.
5380         (tramp-message-show-progress-reporter-message): New defvar.
5381         (tramp-with-progress-reporter): Use it.  We cannot use
5382         `tramp-message-show-message' here, because this suppresses also
5383         error buffers.
5384         (tramp-error-with-buffer): Suppress buffer view, if
5385         `tramp-message-show-message' is nil.
5386         Use `tramp-get-connection-buffer'.
5387         (tramp-cleanup): New defun.
5388         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5389         (tramp-file-name-handler): If `debug-on-error' is set, propagate
5390         an error unchanged.
5391         (tramp-completion-handle-file-name-all-completions): Handle hops.
5392         Fix an error when called from ido.
5393         (tramp-completion-dissect-file-name): Use better local variable
5394         name.  Add hop to the vector.
5395         (tramp-handle-insert-file-contents): Use progress-reporter for the
5396         whole scenario.
5397         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5398         to `t'.
5399         (tramp-check-for-regexp): Simplify search.
5400         (tramp-enter-password): Remove it.  Move implementation ...
5401         (tramp-action-password): ... here.
5402         (tramp-mode-string-to-int, tramp-local-host-p)
5403         (tramp-make-tramp-temp-file, tramp-read-passwd)
5404         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5405         Set tramp-autoload cookie.
5407         * net/trampver.el: Update release number.
5409 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5410             Michael Albinus  <michael.albinus@gmx.de>
5412         * net/tramp.el (tramp-set-completion-function): Fix docstring.
5413         (tramp-parse-group, tramp-parse-file)
5414         (tramp-parse-shostkeys-sknownhosts): New defuns.
5415         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5416         (tramp-parse-shosts-group, tramp-parse-sconfig)
5417         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5418         (tramp-parse-sknownhosts, tramp-parse-hosts)
5419         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5420         Use them.
5421         (tramp-parse-passwd-group, tramp-parse-netrc-group)
5422         (tramp-parse-putty-group): Don't narrow.
5423         (tramp-parse-putty): Make a loop.
5424         (tramp-file-name-handler): Catch the `suppress' signal.
5426 2012-06-11  Chong Yidong  <cyd@gnu.org>
5428         * image.el (imagemagick-register-types): Put the ImageMagick entry
5429         at the end of image-type-file-name-regexps.
5431 2012-06-11  Johan Bockgård  <bojohan@gnu.org>
5433         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5434         (pcase, pcase-let*, pcase-dolist): Use them.
5436 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5438         * emacs-lisp/pcase.el (pcase--let*): New function.
5439         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
5440         (pcase--expand): Use macroexp-let².
5442 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5444         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5445         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5446         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5447         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5448         * emacs-lisp/derived.el: Use pcase instead of `cl'.
5449         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5451 2012-06-10  Glenn Morris  <rgm@gnu.org>
5453         * mail/rmail.el (rmail-yank-current-message): Leave point at
5454         correct position.  (Bug#11660)
5456 2012-06-10  Chong Yidong  <cyd@gnu.org>
5458         * allout-widgets.el: Fix code header.
5460 2012-06-10  Chong Yidong  <cyd@gnu.org>
5462         * cus-edit.el (customize-changed-options-previous-release):
5463         Bump to 24.1.
5465 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
5467         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5469 2012-06-09  Chong Yidong  <cyd@gnu.org>
5471         * ebuff-menu.el (electric-buffer-list): Preserve header line.
5473 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
5475         * window.el (special-display-popup-frame): Don't use
5476         window--display-buffer (Bug#11651).
5478 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
5480         Fix parallel builds: make sure loaddefs.el is not being written
5481         while Lisp files are compiled.
5482         (compile): Don't depend on 'mh-autoloads'.
5483         (compile-CMD, compile-SH): Depend on 'autoloads'.
5484         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5486         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
5488 2012-06-09  Chong Yidong  <cyd@gnu.org>
5490         * face-remap.el (face-remap-add-relative, face-remap-set-base)
5491         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5492         Doc fixes (Bug#11225).
5494 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5496         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5497         a function if there's a clear indication that it has a compiler-macro.
5498         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5499         (macro-declarations-alist): Add arglist to declaration functions.
5500         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5501         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5502         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5503         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5504         Also add autoload to find the compiler macro.
5505         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5506         (cl--compiler-macro-member, cl--compiler-macro-assoc)
5507         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5508         (cl--compiler-macro-get): New functions, replacing calls to
5509         cl-define-compiler-macro.
5510         (cl-typep) [compiler-macro]: Use macroexp-let².
5512 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
5514         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5515         string properly, fixes Bug#11473.
5517 2012-06-08  Chong Yidong  <cyd@gnu.org>
5519         * faces.el (set-face-attribute): Doc fix.
5520         (modify-face): Don't use :bold and :italic.
5521         (error, warning, success): Tweak definitions.
5523         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5524         (custom-modified, custom-set, custom-changed, custom-themed)
5525         (custom-saved, custom-button, custom-button-mouse)
5526         (custom-button-pressed, custom-state, custom-comment-tag)
5527         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5528         (custom-group-subtitle): Use new-style face specs.
5529         (custom-invalid-face, custom-rogue-face, custom-modified-face)
5530         (custom-set-face, custom-changed-face, custom-saved-face)
5531         (custom-button-face, custom-button-pressed-face)
5532         (custom-documentation-face, custom-state-face)
5533         (custom-comment-face, custom-comment-tag-face)
5534         (custom-variable-tag-face, custom-variable-button-face)
5535         (custom-face-tag-face, custom-group-tag-face-1)
5536         (custom-group-tag-face): Remove obsolete face alias.
5538         * epa.el (epa-validity-high, epa-validity-medium)
5539         (epa-validity-low, epa-mark, epa-field-name, epa-string)
5540         (epa-field-name, epa-field-body):
5541         * font-lock.el (font-lock-comment-face, font-lock-string-face)
5542         (font-lock-keyword-face, font-lock-builtin-face)
5543         (font-lock-function-name-face, font-lock-variable-name-face)
5544         (font-lock-type-face, font-lock-constant-face):
5545         * ido.el (ido-first-match, ido-only-match, ido-subdir)
5546         (ido-virtual, ido-indicator, ido-incomplete-regexp):
5547         * speedbar.el (speedbar-button-face, speedbar-file-face)
5548         (speedbar-directory-face, speedbar-tag-face)
5549         (speedbar-selected-face, speedbar-highlight-face)
5550         (speedbar-separator-face):
5551         * whitespace.el (whitespace-newline, whitespace-space)
5552         (whitespace-hspace, whitespace-tab, whitespace-trailing)
5553         (whitespace-line, whitespace-space-before-tab)
5554         (whitespace-space-after-tab, whitespace-indentation)
5555         (whitespace-empty):
5556         * emulation/cua-base.el (cua-global-mark):
5557         * eshell/em-prompt.el (eshell-prompt):
5558         * net/newst-plainview.el (newsticker-new-item-face)
5559         (newsticker-old-item-face, newsticker-immortal-item-face)
5560         (newsticker-obsolete-item-face, newsticker-date-face)
5561         (newsticker-statistics-face, newsticker-default-face):
5562         * net/newst-reader.el (newsticker-feed-face)
5563         (newsticker-extra-face, newsticker-enclosure-face):
5564         * net/newst-treeview.el (newsticker-treeview-face)
5565         (newsticker-treeview-new-face, newsticker-treeview-old-face)
5566         (newsticker-treeview-immortal-face)
5567         (newsticker-treeview-obsolete-face)
5568         (newsticker-treeview-selection-face):
5569         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5570         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5571         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5572         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5573         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5574         (nxml-outline-active-indicator, nxml-outline-ellipsis):
5575         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5576         (mpuz-text):
5577         * progmodes/vera-mode.el (vera-font-lock-number)
5578         (vera-font-lock-function, vera-font-lock-interface):
5579         * textmodes/table.el (table-cell): Use new-style face specs, and
5580         don't use the old :bold and :italic attributes.
5582         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5583         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5584         (ebrowse-member-class, ebrowse-progress): Likewise.
5585         (ebrowse-tree-mark-face, ebrowse-root-class-face)
5586         (ebrowse-file-name-face, ebrowse-default-face)
5587         (ebrowse-member-attribute-face, ebrowse-member-class-face)
5588         (ebrowse-progress-face): Remove obsolete faces.
5590         * progmodes/flymake.el (flymake-errline, flymake-warnline):
5591         Inherit from error and warning faces respectively.
5593         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5594         Likewise.
5595         (flyspell-incorrect-face, flyspell-duplicate-face):
5596         Remove obsolete aliases.
5598 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
5600         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5601         Avoid infloop.
5603 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5605         * startup.el (argv, argi): Make lexically scoped.
5606         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5607         * emacs-lisp/cl-macs.el: Use lexical-binding.
5608         Rename cl-bind-* to cl--bind-*.
5609         * files.el: Don't require `cl' since it doesn't use it.
5610         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5612 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
5614         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5615         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5616         instead of calling external sort utility.
5617         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5619 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
5621         * descr-text.el (describe-char): Mention how to insert the
5622         character, if the current input method doesn't support it.
5623         See the discussion in this thread for the details:
5624         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5626 2012-06-08  Sam Steingold  <sds@gnu.org>
5628         * bindings.el (global-map): Bind XF86Forward to next-buffer and
5629         XF86Back to previous-buffer.
5630         (minibuffer-local-map): Bind them to next-history-element and
5631         previous-history-element respectively.
5632         * help-mode.el (help-mode-map): Bind them to help-go-forward and
5633         help-go-back respectively.
5634         * info.el (Info-mode-map): Bind them to Info-history-forward and
5635         Info-history-back respectively.
5636         These are the keys next to Up on the ThinkPad keyboard.
5638 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5640         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5641         * emacs-lisp/cl-macs.el: Provide itself.
5642         (cl--labels-convert-cache): New var.
5643         (cl--labels-convert): New function.
5644         (cl-flet, cl-labels): New implementation with new semantics, relying on
5645         lexical-binding.
5646         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5647         (cl-closure-vars, cl--function-convert-cache)
5648         (cl--function-convert): Move from cl-macs.el.
5649         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5650         rename by removing the "cl-" prefix.
5651         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
5653 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5655         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
5656         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
5657         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
5658         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
5659         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
5660         (cl-hash-table-count): Add old compatibility aliases.
5662         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
5663         Use macroexpand-all-environment instead.
5664         (cl--old-macroexpand): New var.
5665         (cl--sm-macroexpand): New function.
5666         (cl-symbol-macrolet): Use it during macro expansion.
5667         (cl--function-convert-cache): New var.
5668         (cl--function-convert): New function, extracted from
5669         cl-macroexpand-all.
5670         (cl-lexical-let): Use it.
5672         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
5673         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
5674         (cl-member): Remove old alias.
5676         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
5677         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
5678         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
5679         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
5680         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
5681         (cl-macroexpand-cmacs): Remove var.
5682         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
5683         Use macroexpand-all instead.
5685 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5687         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
5688         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
5689         (macroexp-copyable-p): New functions and macros.
5690         * emacs-lisp/edebug.el (edebug-unwrap):
5691         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
5692         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
5693         (pcase--let*): Remove.
5694         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
5695         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
5696         macroexp-const-p instead.
5697         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
5699         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
5700         instead of "cl-" for internal definitions.  Use macroexp-const-p.
5701         (cl-old-bc-file-form): Remove var.
5702         (cl-const-exprs-p): Remove fun.
5703         (cl-labels, cl-macrolet): Use backquote.
5704         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
5705         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
5706         (cl-define-setf-expander): Rename from cl-define-setf-method.
5707         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
5709         * international/mule-cmds.el: Don't require CL.
5710         (view-hello-file): Don't use `letf'.
5712 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5714         * tmm.el (tmm-prompt): Use string-prefix-p.
5715         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
5716         (tmm-add-prompt): Use minibuffer-completion-help.
5717         (tmm-delete-map): Remove.
5719         * subr.el (kbd): Make it its own function.
5721 2012-06-07  Stefan Merten  <smerten@oekonux.de>
5723         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
5724         Silence compiler warnings.  Fix versions.
5725         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
5726         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
5727         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
5728         (rst-package-emacs-version-alist): Correct Emacs version to
5729         represent major merge with upstream.
5730         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
5732 2012-06-06  Glenn Morris  <rgm@gnu.org>
5734         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
5735         Only print environment variables if set.
5737 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5739         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
5740         (macroexp--cons): Rename from maybe-cons.
5741         (macroexp--accumulate): Rename from macroexp-accumulate.
5742         (macroexp--all-forms): Rename from macroexpand-all-forms.
5743         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
5744         (macroexp--expand-all): Rename from macroexpand-all-1.
5746 2012-06-06  Sam Steingold  <sds@gnu.org>
5748         * calendar/calendar.el (calendar-in-read-only-buffer):
5749         Call `special-mode' to enable the standard read-only keybindings.
5751 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5753         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
5754         with "loading" messages (bug#11635).
5756 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
5758         * files.el (enable-remote-dir-locals): New option.
5759         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
5761         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5762         Ensure, that the temp directory is local.
5764         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
5765         `temporary-file-directory'.
5767         * progmodes/python.el (python-send-region): Ensure, that the
5768         temporary file is created also in the remote case.
5770 2012-06-06  Glenn Morris  <rgm@gnu.org>
5772         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
5773         (vc-rcs-update-changelog): Use it.
5775         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
5777         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
5778         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
5779         (vc-sccs-diff): Replace use of the external vcdiff script.
5781 2012-06-05  Glenn Morris  <rgm@gnu.org>
5783         * ledit.el: Move to obsolete/.
5785 2012-06-05  Sam Steingold  <sds@gnu.org>
5787         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
5788         patch (Bug#11140).
5790 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5792         * emacs-lisp/cust-print.el: Move to obsolete.
5794         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
5795         compiler-macro expansion.
5797         Add native compiler-macro support.
5798         * emacs-lisp/macroexp.el (macroexpand-all-1):
5799         Support compiler-macros directly.  Properly follow aliases and apply
5800         the compiler macros more thoroughly.
5801         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
5802         macroexpand now properly follows aliases.
5803         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
5804         (cl-compiler-macroexpand): Use new prop.
5805         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
5807         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
5809 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
5811         * window.el (get-lru-window, get-mru-window, get-largest-window):
5812         New argument NOT-SELECTED to avoid picking the selected window.
5813         (window--display-buffer-1, window--display-buffer-2): Replace by
5814         new function window--display-buffer
5815         (display-buffer-same-window, display-buffer-reuse-window)
5816         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
5817         Use window--display-buffer.
5818         (display-buffer-use-some-window): Remove temporary dedication
5819         hack by calling get-lru-window and get-largest-window with
5820         NOT-SELECTED argument non-nil.  Call window--display-buffer.
5822 2012-06-05  Glenn Morris  <rgm@gnu.org>
5824         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
5825         Replace external vcdiff script.
5827 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5829         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
5831 2012-06-04  Chong Yidong  <cyd@gnu.org>
5833         * image.el (imagemagick-types-inhibit): Revert last change.
5834         Add INFO and M.
5835         (imagemagick-enabled-types): Remove CIN and EPS*.
5837 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5839         * emacs-lisp/cl-lib.el: Rename from cl.el.
5840         * emacs-lisp/cl.el: New compatibility file.
5841         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
5842         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
5843         to obey the "cl-" prefix.
5844         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
5846 2012-06-03  Glenn Morris  <rgm@gnu.org>
5848         * emacs-lisp/authors.el (authors-aliases): Addition.
5850         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
5851         Fix :version.
5853 2012-06-03  Stefan Merten  <smerten@oekonux.de>
5855         * textmodes/rst.el: Add comments.
5856         (rst-transition, rst-adornment): New faces.
5857         (rst-adornment-faces-alist): Make default safe to reevaluate.
5858         Fixes
5859         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
5860         Improve customization tags.
5861         (rst-define-level-faces): Clarify meaning.
5863 2012-06-03  Chong Yidong  <cyd@gnu.org>
5865         * progmodes/compile.el (compilation-mode-line-fail)
5866         (compilation-mode-line-run, compilation-mode-line-exit):
5867         New faces.
5868         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
5870 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
5872         * progmodes/which-func.el (which-func-update-ediff-windows):
5873         New function.  Use it in ediff-select-hook (Bug#11478).
5875 2012-06-03  Chong Yidong  <cyd@gnu.org>
5877         * bindings.el: Remove explicit help text from format-mode-line.
5878         It is now supplied by mode-line-default-help-echo.
5879         (mode-line-front-space, mode-line-end-spaces)
5880         (mode-line-misc-info): New variables.
5881         (mode-line-modes, mode-line-position): Move the default value to
5882         the variable definition.
5883         (mode-line-default-help-echo): New defcustom.
5884         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
5885         (mode-line-modified-help-echo): New functions.
5886         (mode-line-mule-info, mode-line-modified): Use them.
5887         (mode-line-eol-desc, propertized-buffer-identification):
5888         Consistency fixes for help text.
5889         (mode-line-coding-system-map): Allow using mouse-3 to invoke
5890         set-buffer-file-coding-system (Bug#289).
5891         (mode-line-mule-info-help-echo): Update help text.
5893 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5895         * simple.el (execute-extended-command): Set real-this-command
5896         (bug#11506).
5898 2012-06-02  Chong Yidong  <cyd@gnu.org>
5900         Remove incorrect uses of "modeline" in comments, docstrings, and
5901         function/variable names (Bug#10329).
5903         * cus-edit.el (mode-line):
5904         * dframe.el (dframe-mouse-hscroll):
5905         * emacs-lisp/re-builder.el:
5906         * emacs-lisp/easy-mmode.el (define-minor-mode):
5907         * frame.el (set-frame-name):
5908         * help.el (lookup-minor-mode-from-indicator):
5909         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
5910         * progmodes/cc-cmds.el (c-toggle-auto-newline)
5911         (c-toggle-hungry-state):
5912         * progmodes/antlr-mode.el (antlr-language-alist):
5913         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
5914         * progmodes/vhdl-mode.el (vhdl-mode):
5915         * progmodes/which-func.el (which-func, which-func-cleanup-function):
5916         * term/ns-win.el (ns-face-at-pos):
5917         * term/sup-mouse.el (sup-mouse-report):
5918         * textmodes/flyspell.el (flyspell-mode-line-string):
5919         * textmodes/ispell.el (ispell-highlight-face):
5920         * textmodes/reftex-global.el:
5921         * vc/vc-arch.el (vc-arch-mode-line-string):
5922         * vc/vc-cvs.el (vc-cvs-mode-line-string):
5923         * vc/vc-git.el (vc-git-mode-line-string):
5924         * vc/vc-hooks.el (vc-display-status)
5925         (vc-default-mode-line-string):
5926         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
5928         * ansi-color.el (ansi-color-faces-vector): Change default faces.
5930         * dired.el (dired-sort-set-mode-line): Rename from
5931         dired-sort-set-modeline.  All callers changed.
5933         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
5934         eshell-status-in-modeline.
5936         * foldout.el (foldout-mode-line-string): Rename from
5937         foldout-modeline-string.  All callers changed.
5938         (foldout-update-mode-line): Rename from foldout-update-modeline.
5940         * subr.el (redraw-modeline): Make into obsolete alias.
5942         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
5943         timeclock-modeline-display.  Make old name an alias.
5944         (timeclock-update-mode-line): Likewise.  All callers changed.
5945         (timeclock-mode-line-display): No need to check before using
5946         add-hook.
5947         (timeclock-relative, timeclock-day-over-hook)
5948         (timeclock-use-elapsed, timeclock-mode-string)
5949         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
5951         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
5952         crisp-mode-modeline-string.
5954         * play/solitaire.el (solitaire-build-mode-line): Rename from
5955         solitaire-build-modeline.  All callers changed.
5957         * play/zone.el (zone-hiding-mode-line): Rename from
5958         zone-hiding-modeline.  All callers changed.
5959         (zone): Remove unusued `modeline-hidden-level' property.
5961         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
5962         xscheme-modeline-initialize.  All callers changed.
5964         * strokes.el (strokes-lighter): Rename from
5965         strokes-modeline-string.
5967         * textmodes/sgml-mode.el (html-face-tag-alist)
5968         (html-tag-face-alist): Use mode-line face instead of obsolete
5969         alias modeline.
5971 2012-06-02  Stefan Merten  <smerten@oekonux.de>
5973         * textmodes/rst.el: Always require `cl'.
5974         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
5976 2012-06-02  Chong Yidong  <cyd@gnu.org>
5978         * image.el (imagemagick-enabled-types): Rename from
5979         imagemagick-types-enable.  Add many more types.
5980         (imagemagick-types-inhibit): Change default to nil.
5981         (imagemagick-filter-types): Caller changed.
5983 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5985         * emacs-lisp/cl-macs.el: Use backquotes.
5986         (cl-transform-function-property): Use eval-and-compile rather than
5987         abusing `require'.
5988         (defstruct): Use declare-function instead of with-no-warnings.
5990         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
5991         (byte-compile-output-docform): Re-add the print-circle bindings.
5992         (byte-compile-fix-header): Use #$ just because it's shorter.
5993         (byte-compile-output-file-form): Remove defun/defmacro.
5995 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
5997         * simple.el (choose-completion): Remove now obsolete binding for
5998         owindow.
6000 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
6002         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6003         in order to avoid "Stack overflow in regexp matcher".
6005 2012-05-31  Glenn Morris  <rgm@gnu.org>
6007         * image.el: For clarity, call imagemagick-register-types at
6008         top-level, rather than relying on a custom :initialize.
6009         (imagemagick-types-enable): New option.  (Bug#11557)
6010         (imagemagick-filter-types): New function.  (Bug#7406)
6011         (imagemagick-register-types): Use imagemagick-filter-types.
6012         If disabling support, remove elements altogether rather
6013         than using an impossible regexp.
6014         (imagemagick-types-inhibit): Give it the default init function.
6016 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6018         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6019         Handle arbitrary file name lengths (Bug#11585).
6021 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
6023         * desktop.el (desktop-read): Clear previous and next buffers for
6024         all windows and bury *Messages* buffer (bug#11556).
6026 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6028         Add `declare' for `defun'.  Align `defmacro's with it.
6029         * emacs-lisp/easy-mmode.el (define-minor-mode)
6030         (define-globalized-minor-mode): Don't autoload the var definitions.
6031         * emacs-lisp/byte-run.el: Use lexical-binding.
6032         (defun-declarations-alist, macro-declarations-alist): New vars.
6033         (defmacro, defun): Use them.
6034         (make-obsolete, define-obsolete-function-alias)
6035         (make-obsolete-variable, define-obsolete-variable-alias):
6036         Use `declare'.
6037         (macro-declaration-function): Mark obsolete.
6038         * emacs-lisp/autoload.el: Use lexical-binding.
6039         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
6041 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6043         * textmodes/ispell.el (ispell-with-no-warnings):
6044         Define as a macro.
6045         (ispell-kill-ispell, ispell-change-dictionary):
6046         Use `called-interactively-p' for Emacs instead of obsolete
6047         `interactive-p'.
6049 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6051         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6052         (macro-declaration-function): Move var from C code.
6053         (macro-declaration-function): Define function with defalias.
6054         * emacs-lisp/macroexp.el (macroexpand-all-1):
6055         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6056         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6057         defun/defmacro any more.
6058         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6059         Provide fallback for unknown arglist.
6060         (byte-compile-arglist-warn): Change calling convention.
6061         (byte-compile-output-file-form): Move print-vars binding.
6062         (byte-compile-output-docform): Simplify accordingly.
6063         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6064         (byte-compile-defmacro-declaration): Remove.
6065         (byte-compile-file-form-defmumble): Generalize to defalias.
6066         (byte-compile-output-as-comment): Return byte-positions.
6067         Simplify callers accordingly.
6068         (byte-compile-lambda): Use `assert'.
6069         (byte-compile-defun, byte-compile-defmacro): Remove.
6070         (byte-compile-file-form-defalias):
6071         Use byte-compile-file-form-defmumble.
6072         (byte-compile-defalias-warn): Remove.
6074 2012-05-29  Stefan Merten  <smerten@oekonux.de>
6076         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6077         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
6079         (rst-mode-abbrev-table): Merge definition.
6080         (rst-mode): Make sure `font-lock-defaults' is buffer local.
6081         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6083 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
6085         * calendar/icalendar.el
6086         (icalendar-export-region): Export UID properly.
6088 2012-05-29  Leo Liu  <sdl.web@gmail.com>
6089         * calendar/icalendar.el (icalendar-import-format):
6090         Add `icalendar-import-format-uid' (Bug#11525).
6091         (icalendar-import-format-uid): New.
6092         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6093         Export UID.
6095 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6097         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6098         different alternative patterns.
6099         (pcase-codegen): Be more careful to preserve identity.
6100         (pcase--u1): Don't forget to mark vars as used.
6102         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6103         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6104         (byte-compile-from-buffer): ...rather than here.
6106         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6107         functions from byte-compile-function-environment.
6109 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
6111         * window.el (window-deletable-p): Avoid deleting the root window
6112         of a frame with an active minibuffer.
6114 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
6116         * simple.el (choose-completion): Use quit-window (Bug#11567).
6118 2012-05-29  Chong Yidong  <cyd@gnu.org>
6120         * whitespace.el (whitespace-cleanup): Fix usage of
6121         whitespace-empty-at-bob-regexp (Bug#11492).
6123 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6125         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6126         revert (Bug#11488).
6128 2012-05-29  Juri Linkov  <juri@jurta.org>
6130         * isearch.el (isearch-mode-map): Bind `M-s _' to
6131         `isearch-toggle-symbol'.  Bind `M-s c' to
6132         `isearch-toggle-case-fold'.
6133         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6134         (isearch-forward): Add `M-s _' to the docstring.
6135         (isearch-forward-symbol, isearch-toggle-case-fold)
6136         (isearch-symbol-regexp): New functions.  (Bug#11381)
6138 2012-05-29  Juri Linkov  <juri@jurta.org>
6140         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
6141         (isearch-occur, isearch-search-and-update): If `isearch-word' is
6142         a function, call it to get the regexp.
6143         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6144         property `isearch-message-prefix' instead of the string "word ".
6145         (isearch-search-fun-default): For the case of `isearch-word',
6146         return a lambda that calls re-search-forward/re-search-backward
6147         with a regexp returned by `word-search-regexp' or by the function
6148         in `isearch-word'.
6150 2012-05-29  Juri Linkov  <juri@jurta.org>
6152         * isearch.el (isearch-search-fun-default): New function.
6153         (isearch-search-fun): Move default part to the new function
6154         `isearch-search-fun-default'.
6155         (isearch-search-fun-function): Set the default value to
6156         `isearch-search-fun-default'.  (Bug#11381)
6158         * comint.el (comint-history-isearch-end):
6159         Use `isearch-search-fun-default'.
6160         (comint-history-isearch-search): Use `isearch-search-fun-default'
6161         and remove spacial case for `isearch-word'.
6162         (comint-history-isearch-wrap): Remove spacial case for
6163         `isearch-word'.
6165         * hexl.el (hexl-isearch-search-function):
6166         Use `isearch-search-fun-default'.
6168         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6169         Use `word-search-regexp' for `isearch-word'.
6171         * misearch.el (multi-isearch-search-fun):
6172         Use `isearch-search-fun-default'.
6174         * simple.el (minibuffer-history-isearch-search):
6175         Use `isearch-search-fun-default' and remove spacial case for
6176         `isearch-word'.
6177         (minibuffer-history-isearch-wrap): Remove spacial case for
6178         `isearch-word'.
6180         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6181         Remove spacial case for `isearch-word'.
6182         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6184 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6186         Decrease XEmacs incompatibilities.
6187         * textmodes/flyspell.el (flyspell-check-pre-word-p):
6188         Use `string-match'.
6189         (flyspell-delete-region-overlays): Use alternative definition for
6190         XEmacs.
6191         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6192         (flyspell-word): Use `process-kill-without-query' if XEmacs.
6193         (flyspell-mode-on): Use `interactive-p' if XEmacs.
6194         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6195         `define-obsolete-face-alias' under XEmacs, but old method.
6197         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6198         `with-no-warnings' definition or Emacs alias.
6199         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6200         (ispell-word): Do not use `region-p' if XEmacs.
6202 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6204         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6205         Check for `ispell-dictionary-base-alist' instead of full
6206         `ispell-dictionary-alist'.
6207         (ispell-init-process): Show spellchecker when starting new Ispell
6208         process.
6210 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6212         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6213         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6215 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
6217         * version.el (motif-version-string, gtk-version-string)
6218         (ns-version-string): Declare.
6220 2012-05-27  Juri Linkov  <juri@jurta.org>
6222         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6223         after the `eval-defun-1' specialcaseing
6224         like in `edebug-eval-defun' (bug#10181).
6226         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6227         like in `eval-defun-1'.
6229 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
6231         * mail/sendmail.el (mail-yank-region):
6232         Recognize rmail-yank-current-message in addition to insert-buffer.
6233         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6234         a *mail* buffer created through rmail-start-mail with sendmail as
6235         mail-user-agent.
6237 2012-05-27  Chong Yidong  <cyd@gnu.org>
6239         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6240         Default to 256 (Bug#11267).
6242         * help.el (describe-mode): Doc fix.
6244 2012-05-26  Glenn Morris  <rgm@gnu.org>
6246         * w32-fns.el (w32-init-info): Remove.
6247         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6249         * info.el (info-initialize): For self-contained NS builds, put the
6250         included info/ directory at the front.  (Bug#2791)
6252         * paths.el (Info-default-directory-list): Make it a defcustom,
6253         mainly so that we can use custom-initialize-delay.
6255 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6257         * subr.el (buffer-has-markers-at): Mark obsolete.
6259         * subr.el (lambda): Use declare.
6261         * emacs-lisp/lisp-mode.el (lambda):
6262         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6264 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6266         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
6268 2012-05-26  Glenn Morris  <rgm@gnu.org>
6270         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6272 2012-05-25  Glenn Morris  <rgm@gnu.org>
6274         * paths.el: Remove no-byte-compile.
6275         * loadup.el: No need to load paths.el uncompiled.
6277         * image.el (imagemagick-types-inhibit): Doc fix.
6279         * version.el: Remove no-byte-compile and associated formatting.
6280         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
6281         is ancient code from when there was an "inc-vers.el".
6283 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6285         * progmodes/gdb-mi.el: Minor style changes.
6286         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6287         Turn into minor modes.
6288         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6289         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6290         (gdb-shell): Remove unneeded let-binding.
6291         (gdb-get-many-fields): Eliminate O(n²) behavior.
6293 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
6295         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6296         platforms that don't link in fontset.c.
6298 2012-05-25  Juri Linkov  <juri@jurta.org>
6300         Use the same diff color scheme as in modern VCSes (bug#10181).
6302         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6303         to avoid confusion with `diff-added' that now uses green colors.
6304         (diff-removed): Use shades of red.
6305         (diff-added): Use shades of green.
6306         (diff-changed): Leave just the yellow color.
6307         (diff-use-changed-face): New variable.
6308         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6309         how to highlight context diff changes.
6310         (diff-refine-change): Use shades of yellow.
6311         (diff-refine-removed): New face that uses shades of red.
6312         (diff-refine-added): New face that uses shades of green.
6313         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6314         `diff-refine-removed' in the call to `smerge-refine-subst'
6315         depending on the value of `diff-use-changed-face'.
6317         * vc/smerge-mode.el (smerge-mine): Use shades of red.
6318         (smerge-other): Use shades of green.
6319         (smerge-base): Use shades of yellow.
6320         (smerge-refined-change): Empty face.
6321         (smerge-refined-removed): New face that uses shades of red.
6322         (smerge-refined-added): New face that uses shades of green.
6323         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
6324         args `props-r' and `props-a', and use them.  Doc fix.
6325         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6326         on its value use different faces `smerge-refined-change',
6327         `smerge-refined-removed', `smerge-refined-added' in the call to
6328         `smerge-refine-subst'.
6330         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6331         Add face condition `min-colors 88' with shades of red.
6332         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6333         `min-colors 88' with shades of green.
6334         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6335         `min-colors 88' with shades of yellow.
6337 2012-05-24  Glenn Morris  <rgm@gnu.org>
6339         * paths.el (prune-directory-list, remote-shell-program): Move to...
6340         * files.el (prune-directory-list, remote-shell-program): ...here.
6341         For the latter, delay initialization, prefer ssh, just search PATH.
6343         * paths.el (term-file-prefix): Move to faces.el (the only user).
6344         * faces.el (term-file-prefix): Move here, make it a defcustom.
6346         * paths.el (news-directory, news-path, news-inews-program):
6347         Move to gnus/nnspool.el.
6349         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6351         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6352         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6353         Make the latter a defcustom, with a delayed initialization.
6355         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6356         These were deleted from Gnus itself late 2010.
6358 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
6360         * progmodes/which-func.el (which-func-ff-hook):
6361         Check against user-error, not error.
6363         * emacs-lisp/edebug.el (top): Do not load or set up loading of
6364         cl-specs.el, which no longer exists.
6366 2012-05-22  Glenn Morris  <rgm@gnu.org>
6368         * info.el (info-emacs-bug): New command.
6369         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6370         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6372 2012-05-21  Glenn Morris  <rgm@gnu.org>
6374         * makefile.w32-in (update-subdirs-SH):
6375         * Makefile.in (update-subdirs): Update for moved update-subdirs.
6377 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6379         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6381         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6382         Simplify Maven regexp, and make sure the file can't start with a space
6383         (bug#11517).
6385 2012-05-21  Glenn Morris  <rgm@gnu.org>
6387         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6388         Scrap superfluous subshells.
6390 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6392         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6393         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6395 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
6397         * calc/calc.el (calc-ensure-consistent-units): New variable.
6399         * calc/calc-units.el (math-consistent-units-p)
6400         (math-check-unit-consistency): New functions.
6401         (calc-quick-units, calc-convert-units):
6402         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6403         is non-nil.
6404         (calc-extract-units): Fix typo.
6406 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6408         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6410         * textmodes/flyspell.el: Commenting style, plus code simplifications.
6411         (flyspell-default-deplacement-commands): Don't spell check after
6412         repeated window/frame switches (e.g. triggered by mouse-movement).
6413         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6414         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6415         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6416         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6417         Remove unused vars.
6418         (flyspell-get-casechars, flyspell-get-not-casechars):
6419         Simplify; Don't bother removing a ] just to add it back.
6420         * textmodes/ispell.el (ispell-program-name): Use executable-find.
6422 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6424         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6425         New functions.
6426         (math-function-table): Add support for more C functions.
6428 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6430         * textmodes/flyspell.el (flyspell-check-pre-word-p)
6431         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6432         Protect delay handling for otherchars against empty otherchars.
6434 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6436         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6437         their respective macro declarations.
6438         * skeleton.el (define-skeleton):
6439         * progmodes/compile.el (define-compilation-mode):
6440         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6441         (define-ibuffer-filter):
6442         * emacs-lisp/generic.el (define-generic-mode):
6443         * emacs-lisp/easy-mmode.el (define-minor-mode)
6444         (define-globalized-minor-mode):
6445         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6446         * emacs-lisp/byte-run.el (defsubst):
6447         * custom.el (deftheme): Add doc-string metadata.
6449 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6451         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6453 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6455         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6457         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6458         * emacs-lisp/cl-macs.el: Idem.
6459         * emacs-lisp/cl-specs.el: Remove.
6461 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6463         Minor renaming of internal CL functions and variables.
6464         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6465         (cl--position): Rename from cl-position.
6466         (cl--delete-duplicates): Rename from cl-delete-duplicates.
6467         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6468         (cl--random-state): Rename from *random-state*.
6470 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6472         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6473         parens around the arg list (bug#11499).
6475 2012-05-17  Juri Linkov  <juri@jurta.org>
6477         * isearch.el (word-search-regexp, word-search-backward)
6478         (word-search-forward, word-search-backward-lax)
6479         (word-search-forward-lax): Move functions from search.c
6480         (bug#10145, bug#11381).
6482 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6484         * textmodes/flyspell.el (flyspell-check-pre-word-p)
6485         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6486         Delay for otherchars as for normal word components.
6488 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6490         * minibuffer.el (completion--sifn-requote): Fix last change.
6491         (minibuffer-local-must-match-filename-map):
6492         Move define-obsolete-variable-alias before its var.
6494 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6496         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6498         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6499         behavior.
6500         (completion--string-equal-p): New function.
6501         (completion--twq-all): Use it to get better assertion failure data.
6503         Only handle ".." and '..' quoting in shell-mode (bug#11466).
6504         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6505         (shell--requote-argument): New functions.
6506         (shell-completion-vars): Use them.
6507         (shell--parse-pcomplete-arguments): Rename from
6508         shell-parse-pcomplete-arguments.
6509         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
6510         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6511         Obey comint-file-name-quote-list.
6513         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6514         (smie-indent-keyword): Use it.
6516 2012-05-14  Stefan Merten  <smerten@oekonux.de>
6518         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6520 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6522         * net/rlogin.el (rlogin-mode-map): Fix last change.
6524 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
6526         * mail/smtpmail.el (smtpmail-send-command): Send the command and
6527         the following \r\n using a single `process-send-string', since the
6528         Lotus SMTP server refuses to accept any commands if they are sent
6529         with two `process-send-string's (Bug#11444).
6531 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6533         * shell.el (shell-parse-pcomplete-arguments):
6534         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6536 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
6538         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6539         (image-transform-scale, image-transform-right-angle-fudge): New vars.
6540         (image-transform-width, image-transform-fit-width): New functions.
6541         (image-transform-properties): Use them.
6542         (image-transform-check-size): New function.
6543         (image-toggle-display-image): Use it (for testing).
6544         (image-transform-set-rotation): Reduce angle mod 360.
6545         Delete obsolete comment.
6547 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
6549         * image-mode.el: Fix scaling (bug#11399).
6550         (image-transform-resize): Doc fix.
6551         (image-transform-properties): Default scale is 1 and height should
6552         be an integer.
6554 2012-05-13  Johan Bockgård  <bojohan@gnu.org>
6556         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6557         than hard-coding `car', to fix misbehavior when moving forward.
6559 2012-05-13  Chong Yidong  <cyd@gnu.org>
6561         * emacs-lisp/tabulated-list.el (tabulated-list-format)
6562         (tabulated-list-entries, tabulated-list-padding)
6563         (tabulated-list-sort-key): Make permanent-local.
6565         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6566         (electric-buffer-list): Put electric buffer menu
6567         command descriptions in this docstring, instead of the docstring
6568         of electric-buffer-menu-mode.  Code cleanups.
6569         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
6570         Electric-buffer-menu-mode.
6571         (electric-buffer-update-highlight): Minor code cleanup.
6573 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
6575         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6576         (Bug#11447)
6578 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6580         Move define-obsolete-variable-alias before the var's definition.
6581         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6582         * tooltip.el (tooltip-hook):
6583         * textmodes/reftex-toc.el (reftex-toc-map):
6584         * textmodes/reftex-sel.el (reftex-select-label-map)
6585         (reftex-select-bib-map):
6586         * textmodes/reftex-index.el (reftex-index-map)
6587         (reftex-index-phrases-map):
6588         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6589         * progmodes/meta-mode.el (meta-mode-map):
6590         * novice.el (disabled-command-hook):
6591         * loadhist.el (unload-hook-features-list):
6592         * frame.el (blink-cursor):
6593         * files.el (find-file-not-found-hooks, write-file-hooks)
6594         (write-contents-hooks):
6595         * emulation/tpu-edt.el (GOLD-map):
6596         * emacs-lock.el (emacs-lock-from-exiting):
6597         * emacs-lisp/generic.el (generic-font-lock-defaults):
6598         * emacs-lisp/chart.el (chart-map):
6599         * dos-fns.el (register-name-alist):
6600         * dired-x.el (dired-omit-files-p):
6601         * desktop.el (desktop-enable):
6602         * cus-edit.el (custom-mode-hook):
6603         * buff-menu.el (buffer-menu-mode-hook):
6604         * bookmark.el (bookmark-read-annotation-text-func)
6605         (bookmark-exit-hooks):
6606         * allout.el (allout-mode-deactivate-hook)
6607         (allout-exposure-change-hook, allout-structure-added-hook)
6608         (allout-structure-deleted-hook, allout-structure-shifted-hook):
6609         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6610         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6611         comes before the corresponding variable's definition.
6613 2012-05-12  Chong Yidong  <cyd@gnu.org>
6615         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6616         (Buffer-menu-mouse-select): Restore function (Bug#11459).
6617         (Buffer-menu-mode-map): Bind it.
6618         (Buffer-menu--pretty-name): Add a mouse-face property.
6620 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6622         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
6623         (prolog-upper-case-string, prolog-lower-case-string)
6624         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6625         (prolog-use-smie, prolog-smie-grammar): New vars.
6626         (prolog-smie-forward-token, prolog-smie-backward-token)
6627         (prolog-smie-rules): New funs.
6628         (prolog-comment-indent): Remove.
6629         (prolog-mode-variables): Use default comment indentation instead.
6630         Setup SMIE.
6631         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6632         (prolog-mode): Don't call them any more.
6633         (prolog-electric-colon, prolog-electric-dash)
6634         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6636         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6638         * minibuffer.el (completion--twq-all): Again, allow case differences.
6640         * term.el: Move keymap initialization code to be more idiomatic.
6641         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6642         (term-terminal-menu): Move initialization into declaration.
6643         (term-escape-char): Let the user set it in her .emacs.
6645         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6646         Provide SMIE-based indentation (not enabled by default yet).
6647         (sh-mode-map): Don't bind electric keys.
6648         Use electric-pair-mode instead of skeleton-pair.
6649         (sh-assignment-regexp): Fit within 80 columns.
6650         (sh-indent-supported): Specify actual shell name instead of boolean.
6651         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
6652         (sh-maybe-here-document): Use it.  Make obsolete.
6653         (sh-electric-here-document-mode) New minor mode.
6654         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
6655         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
6656         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
6657         (sh-smie-rc-grammar, sh-use-smie): New vars.
6658         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
6659         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
6660         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
6661         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
6662         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
6663         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
6664         (sh-set-shell): Use smie-setup if requested.
6666         * term.el (term-set-escape-char): Properly set term-escape-char.
6667         See http://stackoverflow.com/questions/10524656.
6669 2012-05-10  Chong Yidong  <cyd@gnu.org>
6671         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
6672         Use url-generic-parse-url, and handle host names and Windows
6673         filenames properly.
6674         (ffap-url-unwrap-remote): Use url-generic-parse-url.
6675         (ffap-url-unwrap-remote): Accept list values, specifying a list of
6676         URL schemes to work on.
6677         (ffap--toggle-read-only): New function.
6678         (ffap-read-only, ffap-read-only-other-window)
6679         (ffap-read-only-other-frame): Use it.
6680         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
6681         necessary for ffap-url-unwrap-remote.
6683 2012-05-10  Dave Abrahams  <dave@boostpro.com>
6685         * cus-start.el (create-lockfiles): Add it.
6687 2012-05-09  Chong Yidong  <cyd@gnu.org>
6689         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
6690         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
6692 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6694         * shell.el (shell-completion-vars): Fix last change (bug#11348).
6696 2012-05-09  Chong Yidong  <cyd@gnu.org>
6698         * ansi-color.el (ansi-color-process-output): Check for validity of
6699         comint-last-output-start before using it.  This avoids a bad
6700         interaction with gdb-mi's input/output buffer.
6702 2012-05-09  Glenn Morris  <rgm@gnu.org>
6704         * files.el (dir-locals-read-from-file):
6705         Mention dir-locals in any error message.
6707 2012-05-09  Chong Yidong  <cyd@gnu.org>
6709         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
6710         package (Bug#11410).
6712         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
6713         variables into description.
6715 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6717         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
6718         shell-delimiter-argument-list (bug#11348).
6719         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
6721 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
6723         * textmodes/rst.el: Silence byte-compiler warnings.
6724         (rst-re-alist, rst-reset-section-caches): Move around.
6725         (rst-re): Use `characterp', not `char-valid-p'.
6726         (font-lock-beg, font-lock-end): Declare.
6728         * progmodes/idlw-shell.el (specs): Remove reference to deleted
6729         variable `idlwave-shell-activate-alt-keybindings' and simplify.
6731         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
6733 2012-05-08  Glenn Morris  <rgm@gnu.org>
6735         * files.el (auto-mode-alist): Treat ".make" like ".mk".
6737 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6739         * vc/log-edit.el: Add GNU coding standards highlighting.
6740         (log-edit-font-lock-gnu-style)
6741         (log-edit-font-lock-gnu-keywords): New vars.
6742         (log-edit-font-lock-keywords): New fun.
6743         (log-edit-mode): Don't fold case in font-lock.
6744         (log-edit-font-lock-keywords): Do not assume case-folding.
6746         * imenu.el: Misc cleanup.  Make docstrings out of comments.
6747         Use lexical-binding.
6748         (imenu--index-alist, imenu--last-menubar-index-alist)
6749         (imenu-menubar-modified-tick): Use defvar-local.
6750         (imenu--split-menu): Remove unused var.
6751         (imenu--cleanup-seen): Declare as global.
6752         (imenu--cleanup): Use dolist.
6754         * subr.el (defvar-local): Add debug spec and doc-string position.
6756 2012-05-08  Glenn Morris  <rgm@gnu.org>
6758         * language/burmese.el, language/cham.el, language/czech.el:
6759         * language/english.el, language/georgian.el, language/greek.el:
6760         * language/japanese.el, language/khmer.el, language/korean.el:
6761         * language/lao.el, language/misc-lang.el, language/romanian.el:
6762         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
6763         * language/thai.el, language/utf-8-lang.el:
6764         Remove no-byte-compile setting.
6766         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
6768 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6770         * progmodes/make-mode.el (makefile-browse):
6771         Remove unnecessary interactive.  (Bug#11324)
6773 2012-05-07  Glenn Morris  <rgm@gnu.org>
6775         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
6777         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
6779 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6781         * loadup.el: Preload newcomment.el.
6782         * newcomment.el: Move autoload-only code to toplevel.
6784         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
6785         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
6786         Handle new :right-align column property.
6787         (tabulated-list-print-col): Idem, plus use `display' text-property to
6788         try and preserve alignment for variable pitch fonts.
6790 2012-05-07  Chong Yidong  <cyd@gnu.org>
6792         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
6793         (tabulated-list-use-header-line): New var.
6794         (tabulated-list-init-header): Use it.
6795         (tabulated-list-print-fake-header): New function.
6796         (tabulated-list-print): Use it.
6797         (tabulated-list-sort-button-map): Add non-header-line commands.
6798         (tabulated-list-init-header): Add column name property to basic
6799         labels as well.
6800         (tabulated-list-col-sort): Handle non-header-line button case.
6801         (tabulated-list--sort-by-column-name): Fix a corner case.
6803         * buff-menu.el (list-buffers--refresh):
6804         Handle Buffer-menu-use-header-line.
6806 2012-05-06  Chong Yidong  <cyd@gnu.org>
6808         * buff-menu.el: Convert to Tabulated List mode.
6809         (Buffer-menu-buffer+size-width): Make obsolete.
6810         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
6811         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
6812         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
6813         documentation into docstring of buffer-menu.
6814         (Buffer-menu-toggle-files-only): Add an informative message.
6815         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
6816         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
6817         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
6818         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
6819         (Buffer-menu-execute, Buffer-menu-select)
6820         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
6821         (Buffer-menu-bury): Use Tabulated List machinery.
6822         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
6823         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
6824         Delete.
6825         (list-buffers--refresh): New function.
6826         (list-buffers-noselect): Use it.
6827         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
6828         (Buffer-menu--pretty-file-name): New helper functions.
6830         * loadup.el: Preload tabulated-list.
6832         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
6833         tabulated-list-sort-column.
6834         (tabulated-list-init-header): Add the initial aligning space even
6835         if tabulated-list-padding is zero.
6837 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
6839         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
6840         whose cdr is not a cons cell correctly (bug#11038).
6842 2012-05-06  Chong Yidong  <cyd@gnu.org>
6844         * emacs-lisp/tabulated-list.el (tabulated-list-format):
6845         Accept additional plist in column descriptors.
6846         (tabulated-list-init-header): Obey it.
6847         (tabulated-list-get-entry): New function.
6848         (tabulated-list-put-tag): Use it.  Use string-width instead of
6849         length.
6850         (tabulated-list--column-number): New function.
6851         (tabulated-list-print): Use it.
6852         (tabulated-list-print-col): New function.
6853         Set `tabulated-list-column-name' property on each column's text.
6854         (tabulated-list-print-entry): Use it.
6855         (tabulated-list-delete-entry, tabulated-list-set-col):
6856         New functions.
6857         (tabulated-list-sort-column): New command (Bug#11337).
6859         * buff-menu.el (list-buffers): Move C-x C-b binding from
6860         buff-menu.el to bindings.el.
6862         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
6863         :advertised-binding feature.
6865 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
6867         * progmodes/compile.el (compilation-internal-error-properties):
6868         Calculate start position correctly when end-col is set but
6869         end-line is not (Bug#11382).
6871 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
6873         * man.el (Man-unindent): Use text-property-default-nonsticky to
6874         prevent untabify from inheriting face properties (Bug#11408).
6876 2012-05-05  Stefan Merten  <smerten@oekonux.de>
6878         * textmodes/rst.el: Major merge with upstream development up to
6879         Docutils SVN r7399 / rst.el V1.2.1.
6881         Clarify maintainership and authors.
6883         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
6884         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
6885         (rst-official-version, rst-official-cvs-rev, rst-version)
6886         (rst-package-emacs-version-alist): New functions and variables
6887         for version information.
6889         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
6890         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
6891         (rst-mode-syntax-table, rst-mode): New and corrected functions
6892         and variables representing reStructuredText features.
6894         (rst-re): New function for reStructuredText regexes.  Use in
6895         many places.
6897         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
6898         (rst-mode-map): Rebind keys.
6900         (rst-mode-lazy, rst-font-lock-keywords)
6901         (rst-font-lock-extend-region)
6902         (rst-font-lock-extend-region-internal)
6903         (rst-font-lock-extend-region-extend)
6904         (rst-font-lock-find-unindented-line-limit)
6905         (rst-font-lock-find-unindented-line-match)
6906         (rst-adornment-level, rst-font-lock-adornment-level)
6907         (rst-font-lock-adornment-match)
6908         (rst-font-lock-handle-adornment-pre-match-form)
6909         (rst-font-lock-handle-adornment-matcher): Major revision of
6910         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
6912         (rst-preferred-adornments, rst-adjust-hook)
6913         (rst-new-adornment-down, rst-preferred-bullets)
6914         (rst-preferred-bullets, rst-indent, rst-indent-width)
6915         (rst-indent-field, rst-indent-literal-normal)
6916         (rst-indent-literal-minimized, rst-indent-comment): Change,
6917         extend and improve customization.
6919         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
6920         (rst-normalize-cursor-position, rst-get-decoration)
6921         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
6922         (rst-rstrip, rst-toc-insert-find-delete-contents)
6923         (rst-shift-fill-region, rst-compute-bullet-tabs)
6924         (rst-debug-print-tabs, rst-debug-mark-found)
6925         (rst-shift-region-guts, rst-shift-region-right)
6926         (rst-shift-region-left, rst-use-char-classes)
6927         (rst-font-lock-keywords-function)
6928         (rst-font-lock-indentation-point)
6929         (rst-font-lock-find-unindented-line-begin)
6930         (rst-font-lock-find-unindented-line-end)
6931         (rst-font-lock-find-unindented-line)
6932         (rst-font-lock-adornment-point, rst-font-lock-level)
6933         (rst-adornment-level-alist): Remove functions and variables.
6935         (rst-compare-adornments, rst-get-adornment-match)
6936         (rst-suggest-new-adornment, rst-get-adornments-around)
6937         (rst-adornment-complete-p, rst-get-next-adornment)
6938         (rst-adjust-adornment, rst-display-adornments-hierarchy)
6939         (rst-straighten-adornments): Standardize function names to
6940         use "adornment" instead of "decoration".  Correct callers.
6941         Similar standardizing in many places.
6943         (rst-update-section, rst-adjust, rst-promote-region)
6944         (rst-enumerate-region, rst-bullet-list-region)
6945         (rst-repeat-last-character): Correct use of `interactive'.
6947         (rst-classify-adornment, rst-find-all-adornments)
6948         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
6949         (rst-find-leftmost-column, rst-repeat-last-character):
6950         Refactor functions.
6952         (rst-find-title-line, rst-reset-section-caches)
6953         (rst-get-adornments-around, rst-adjust-adornment-work)
6954         (rst-arabic-to-roman, rst-roman-to-arabic)
6955         (rst-insert-list-pos, rst-insert-list-new-item)
6956         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
6957         New functions.
6959         (rst-all-sections, rst-section-hierarchy)
6960         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
6961         New variables.
6963         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
6964         configuration instead of only buffer.  Change where necessary.
6966         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
6967         (rst-shift-region, rst-adaptive-fill): New functions for
6968         indentation and filling.
6970         (rst-comment-line-break, rst-comment-indent)
6971         (rst-comment-insert-comment, rst-comment-region)
6972         (rst-uncomment-region): New functions for handling comments.
6974         (rst-compile): Quote shell arguments.
6976         (rst-compile-pdf-preview, rst-compile-slides-preview):
6977         Delete temporary files after use.
6979 2012-05-05  Glenn Morris  <rgm@gnu.org>
6981         * calendar/cal-html.el: Optionally include holidays in the output.
6982         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
6983         (cal-html-holidays): New option.
6984         (cal-html-css-default): Add holiday entry.
6985         (holiday-in-range): Autoload it.
6986         (cal-html-htmlify-entry): Add optional class argument.
6987         (cal-html-htmlify-list): Add optional holidays argument.
6988         (cal-html-insert-agenda-days): Include holidays in the output.
6989         (cal-html-one-month): Maybe include holidays.
6991         * calendar/holidays.el (holiday-in-range):
6992         Move here from cal-tex-list-holidays.
6993         * calendar/cal-tex.el (cal-tex-list-holidays):
6994         Make it an obsolete alias for holiday-in-range.  Update all callers.
6996 2012-05-05  Chong Yidong  <cyd@gnu.org>
6998         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
6999         Nextstep.
7001 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
7003         * files.el (file-auto-mode-skip): New var.
7004         (set-auto-mode-1): Use it.
7006 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7008         * repeat.el: Use lexical-binding.
7009         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7010         (repeat-undo-count): Remove.
7011         (repeat):
7012         * progmodes/octave-mod.el (octave-abbrev-start):
7013         * progmodes/f90.el (f90-abbrev-start):
7014         * face-remap.el (text-scale-adjust):
7015         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7017         * emacs-lisp/pcase.el (pcase--let*): New function.
7018         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7019         a bit more.
7020         (pcase--split-pred): Be more clever about ruling out overlap between
7021         a predicate and some constant pattern.
7022         (pcase--q1): Use `null' instead of (eq foo nil).
7024         * subr.el (setq-local, defvar-local): New macros.
7025         (kbd): Redefine as an alias.
7026         (with-selected-window): Leave unrelated frames alone.
7027         (set-temporary-overlay-map): New function.
7029 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7031         * subr.el (user-error): New function.
7032         * window.el (switch-to-buffer):
7033         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7034         (smerge-match-conflict):
7035         * simple.el (previous-matching-history-element)
7036         (next-matching-history-element, goto-history-element, undo-more)
7037         (undo-start):
7038         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7039         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7040         (next-file, tags-loop-scan, list-tags, complete-tag):
7041         * progmodes/compile.el (compilation-loop):
7042         * mouse.el (mouse-minibuffer-check):
7043         * man.el (Man-bgproc-sentinel, Man-goto-page):
7044         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7045         (Info-history-forward, Info-follow-reference, Info-menu)
7046         (Info-extract-menu-item, Info-extract-menu-counting)
7047         (Info-forward-node, Info-backward-node, Info-next-menu-item)
7048         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7049         (Info-next-reference, Info-prev-reference, Info-index)
7050         (Info-index-next, Info-follow-nearest-node)
7051         (Info-copy-current-node-name):
7052         * imenu.el (imenu--make-index-alist)
7053         (imenu-default-create-index-function, imenu-add-to-menubar):
7054         * files.el (basic-save-buffer, recover-file):
7055         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7056         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7057         (checkdoc-message-text, checkdoc-defun):
7058         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7059         * cus-edit.el (customize-changed-options, customize-rogue)
7060         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7061         (custom-variable-mark-to-reset-standard)
7062         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7063         (custom-file):
7064         * completion.el (check-completion-length):
7065         * comint.el (comint-search-arg)
7066         (comint-previous-matching-input-string-position)
7067         (comint-previous-matching-input)
7068         (comint-replace-by-expanded-history-before-point, comint-send-input)
7069         (comint-copy-old-input, comint-backward-matching-input)
7070         (comint-goto-process-mark, comint-set-process-mark):
7071         * calendar/calendar.el (calendar-cursor-to-date): Use it.
7072         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7074 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7076         * dabbrev.el (dabbrev--ignore-case-p): New function.
7077         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7078         Use it.
7080         * files.el (automount-dir-prefix): Mark as obsolete.
7082 2012-05-04  Glenn Morris  <rgm@gnu.org>
7084         * patcomp.el, play/bruce.el: Move to obsolete/.
7086 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
7088         Fix minor Y10k bugs.
7089         * arc-mode.el (archive-unixdate):
7090         * autoinsert.el (auto-insert-alist):
7091         * calc/calc-forms.el (math-this-year):
7092         * emacs-lisp/copyright.el (copyright-current-year)
7093         (copyright-update-year, copyright):
7094         * tar-mode.el (tar-clip-time-string):
7095         * time.el (display-time-update):
7096         Don't assume years have 4 digits.
7098 2012-05-04  Chong Yidong  <cyd@gnu.org>
7100         * dos-w32.el (file-name-buffer-file-type-alist)
7101         (direct-print-region-use-command-dot-com):
7102         * ffap.el (ffap-menu-regexp):
7103         * find-file.el (ff-special-constructs):
7104         * follow.el (follow-debug):
7105         * forms.el (forms--debug):
7106         * iswitchb.el (iswitchb-all-frames):
7107         * ido.el (ido-all-frames):
7108         * emacs-lisp/timer.el (timer-max-repeats):
7109         * mail/feedmail.el (feedmail-mail-send-hook)
7110         (feedmail-mail-send-hook-queued):
7111         * mail/footnote.el (footnote-signature-separator):
7112         * mail/mailabbrev.el (mail-alias-separator-string)
7113         (mail-abbrev-mode-regexp):
7114         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7115         * progmodes/idlwave.el (idlwave-libinfo-file)
7116         (idlwave-default-completion-case-is-down)
7117         (idlwave-library-routines): Convert defvars to defcustoms.
7119         * mail/rmail.el (rmail-decode-mime-charset):
7120         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7121         (idlwave-shell-fix-inserted-breaks)
7122         (idlwave-shell-activate-alt-keybindings)
7123         (idlwave-shell-use-breakpoint-glyph):
7124         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7126 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7128         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7130 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
7132         * progmodes/verilog-mode.el (font-lock-keywords):
7133         Fix mis-highligting auto.  Reported by Craig Barner.
7134         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7135         defines from global name space.  Reported by Dan Dever.
7136         (verilog-auto-reset, verilog-auto-reset-widths)
7137         (verilog-auto-tieoff): Support using unbased numbers for
7138         AUTORESET and AUTOTIEOFF.
7139         (verilog-submit-bug-report): Update variable list.
7140         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7141         parenthesis from not matching.  Reported by Michael Rytting.
7142         (verilog-auto-template-lint): Fix hash error when linting modules
7143         with no used templates.
7144         (verilog-warn, verilog-warn-error)
7145         (verilog-warn-fatal): When non-interactive report multiple
7146         warnings before exiting.  Suggested by Brad Dobbie.
7147         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7148         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7149         to report unused template errors.  Reported by Brad Dobbie.
7150         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7151         nets, bug438.  Reported by Vns Blore.
7152         (verilog-auto-inout-module, verilog-auto-reg)
7153         (verilog-read-decls, verilog-read-sub-decls-sig)
7154         (verilog-signals-edit-wire-reg, verilog-signals-with):
7155         Fix passing of Verilog data types in ANSI input/output ports
7156         such as "output logic" into the AUTOs.  Special case "wire" and
7157         "reg" for backwards compatibility presuming Verilog 2001.
7158         (verilog-auto-ascii-enum): Add "auto enum" as alias.
7159         (verilog-preprocess): Fix replication of preprocess output.
7160         Reported by Brad Dobbie.
7161         (verilog-auto-inst-interfaced-ports):
7162         Create verilog-auto-inst-interfaced-ports, bug429.
7163         Reported by Julian Gorfajn.
7164         (verilog-after-save-font-hook)
7165         (verilog-before-save-font-hook): New variable.
7166         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7167         (verilog-save-font-mods): Wrap disabling fontification, reported
7168         by David Rogoff.
7169         (verilog-do-indent, verilog-pretty-declarations-auto)
7170         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7171         Reported by Pierre-David Pfister.
7172         (verilog-set-auto-endcomments): Fix endtask auto comments outside
7173         of class declarations, bug292.  Reported by Kevin Heilman.
7174         (verilog-read-decls): Fix 'parameter type' not appearing in
7175         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
7176         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7177         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
7178         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7179         Reported by David Kravitz.
7181 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
7183         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7184         assignment with tests in ifs and for loops.
7185         (verilog-extended-complete-re, verilog-complete-reg): Change so
7186         that DPI inport functions don't look like fuction declarations.
7187         (verilog-pretty-expr): Don't line up assignment
7188         operations to the test and increment in if and for loops
7189         (verilog-extended-complete-re, verilog-complete-reg): Change so
7190         that DPI inport functions don't look like fuction declarations.
7192 2012-05-03  Kenichi Handa  <handa@m17n.org>
7194         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7195         decoding, and show a warning message without signaling an error
7196         (Bug#11282).
7198 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7200         * emacs-lisp/bytecomp.el
7201         (byte-compile-file-form-custom-declare-variable): Compile all elements,
7202         since cconv.el might have introduced :fun-body, internal-make-closure,
7203         and friends for bytecomp to handle (bug#11391).
7204         * custom.el (defcustom): Avoid ((λ ..) ..).
7206 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7208         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7210 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
7212         * notifications.el (dbus-debug):
7213         * term/linux.el (gpm-mouse-enable):
7214         * term/screen.el (xterm-register-default-colors): Declare.
7216 2012-05-02  Chong Yidong  <cyd@gnu.org>
7218         * cus-start.el (gc-cons-percentage, exec-suffixes)
7219         (dos-display-scancodes, dos-hyper-key, dos-super-key)
7220         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7221         (make-cursor-line-fully-visible, void-text-area-pointer)
7222         (font-list-limit): Add customization data.
7224         * allout.el (allout-exposure-change-functions)
7225         (allout-structure-added-functions)
7226         (allout-structure-deleted-functions)
7227         (allout-structure-shifted-functions): Rename abnormal hooks from
7228         *-hook, and convert to defcustoms.
7229         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7230         Convert to defcustoms.
7231         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7233         * allout-widgets.el: Hook callers changed.
7235 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
7237         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7238         the yanked message in preference to the default value of
7239         buffer-file-coding-system.
7241 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
7243         * window.el (display-buffer--action-function-custom-type):
7244         Fix entry.
7246 2012-05-02  Alan Mackenzie  <acm@muc.de>
7248         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7250 2012-05-01  Glenn Morris  <rgm@gnu.org>
7252         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7254         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
7256         * cus-edit.el (custom-variable-documentation): Simplify with format.
7258 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
7259             Stefan Monnier  <monnier@iro.umontreal.ca>
7261         * simple.el (suggest-key-bindings, execute-extended-command):
7262         Move from keyboard.c.
7264 2012-05-01  Chong Yidong  <cyd@gnu.org>
7266         * follow.el: Eliminate advice.
7267         (set-process-filter, process-filter, sit-for): Advice deleted.
7268         (follow-mode-off-hook): Obsolete hook removed.
7269         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7270         Vars deleted.
7271         (follow-auto): Use a :set function.
7272         (follow-mode): Rewritten.  Don't advise process filters.
7273         (follow-switch-to-current-buffer-all, follow-scroll-up)
7274         (follow-scroll-down): Assume follow-mode is bound.
7275         (follow-comint-scroll-to-bottom)
7276         (follow-align-compilation-windows): New functions.
7277         (follow--window-sorter): New function.
7278         (follow-all-followers): Use it to explicitly sort windows by their
7279         positions; don't make assumptions about next-window order.
7280         (follow-windows-start-end, follow-delete-other-windows-and-split)
7281         (follow-calc-win-start): Doc fix.
7282         (follow-windows-aligned-p, follow-select-if-visible): Don't call
7283         vertical-motion unnecessarily.
7284         (follow-adjust-window): New function.
7285         (follow-post-command-hook): Use it.
7286         (follow-call-set-process-filter, follow-call-process-filter)
7287         (follow-intercept-process-output, follow-tidy-process-filter-alist)
7288         (follow-stop-intercept-process-output, follow-generic-filter):
7289         Functions deleted.
7290         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7291         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7292         New functions, replacing advice on scroll-bar-* commands.
7293         (follow-mwheel-scroll): New function (Bug#4112).
7295         * comint.el (comint-adjust-point): New function.
7296         (comint-postoutput-scroll-to-bottom): Use it.
7297         Call follow-comint-scroll-to-bottom for Follow mode buffers.
7299 2012-05-01  Glenn Morris  <rgm@gnu.org>
7301         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7302         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7303         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7304         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7305         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7306         Remove no-byte-compile setting.
7308 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7310         * minibuffer.el (completion-table-with-quoting): Fix compatibility
7311         all-completions code to not return a number in the last cdr.
7313 2012-04-30  Leo Liu  <sdl.web@gmail.com>
7315         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7316         read-only error.
7318 2012-04-29  Chong Yidong  <cyd@gnu.org>
7320         * follow.el (follow-calc-win-end): Rewrite to handle partial
7321         screen lines correctly (Bug#8390).
7322         (follow-avoid-tail-recenter): Minor cleanup.
7324 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7326         Avoid the obsolete `assoc' package.
7327         * speedbar.el (speedbar-refresh): Avoid adelete.
7328         (speedbar-file-lists): Simplify and avoid aput.
7329         * man.el (Man--sections, Man--refpages): New vars, replacing
7330         Man-sections-alist and Man-refpages-alist.
7331         (Man-build-section-alist, Man-build-references-alist):
7332         Use them; avoid aput.
7333         (Man--last-section, Man--last-refpage): New vars.
7334         (Man-follow-manual-reference): Use them.
7335         Use the `default' arg of completing-read.
7336         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
7338 2012-04-27  Chong Yidong  <cyd@gnu.org>
7340         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7342         * startup.el (x-apply-session-resources): New function.
7344         * term/ns-win.el (ns-initialize-window-system):
7345         * term/w32-win.el (w32-initialize-window-system):
7346         * term/x-win.el (x-initialize-window-system): Use it to properly
7347         set menu-bar-mode and other vars from X resources, even if the
7348         initial frame is not a window-system frame (Bug#2299).
7350         * subr.el (read-key): Avoid running filter function when setting
7351         up temporary tool bar entries (Bug#9922).
7353 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
7355         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7356         (Bug#11344)
7358 2012-04-27  Chong Yidong  <cyd@gnu.org>
7360         * select.el (xselect--encode-string): New function, split from
7361         xselect-convert-to-string.
7362         (xselect-convert-to-string): Use it.
7363         (xselect-convert-to-filename, xselect-convert-to-os)
7364         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7365         returned strings are properly encoded (Bug#11315).
7367 2012-04-27  Chong Yidong  <cyd@gnu.org>
7369         * simple.el (delete-active-region): Move to killing custom group.
7371 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
7373         * progmodes/which-func.el (which-func-current): Quote %
7374         characters for mode-line processing.
7376 2012-04-27  Chong Yidong  <cyd@gnu.org>
7378         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7379         reaching eob (Bug#11286).
7381 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
7383         * progmodes/gdb-mi.el (gdb-control-level): New variable.
7384         (gdb): Make it buffer-local and init to zero.
7385         (gdb-control-commands-regexp): New variable.
7386         (gdb-send): Don't wrap in "-interpreter-exec console" if
7387         gdb-control-level is positive.  Increment gdb-control-level
7388         whenever the command matches gdb-control-commands-regexp, and
7389         decrement it each time the command is "end".  (Bug#11279)
7391 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
7393         * window.el (adjust-window-trailing-edge, enlarge-window)
7394         (shrink-window, window-resize):
7395         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7396         windows (Bug#11276).
7398 2012-04-27  Chong Yidong  <cyd@gnu.org>
7400         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7401         fix "missing prefix" warning.  All callers changed.
7403 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7405         * emacs-lisp/assoc.el: Move to obsolete/.
7407 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7409         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7411         * term/ns-win.el (ns-define-service):
7412         * progmodes/pascal.el (pascal-goto-defun):
7413         * progmodes/js.el (js--read-tab):
7414         * progmodes/etags.el (tags-lazy-completion-table):
7415         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7416         * emacs-lisp/ewoc.el (ewoc--wrap):
7417         * emacs-lisp/assoc.el (aput, adelete, amake):
7418         * doc-view.el (doc-view-convert-current-doc):
7419         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7421 2012-04-26  Chong Yidong  <cyd@gnu.org>
7423         * image.el (image-type-from-buffer): Only return supported image
7424         type (Bug#9045).
7426         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7427         value, for symmetry with diff-end-of-hunk.
7428         (diff-split-hunk, diff-find-source-location)
7429         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7430         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7431         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7432         compute the relevant hunk or file properly (Bug#6005).
7433         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7435 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7437         * vc/vc-mtn.el:
7438         * vc/vc-hg.el:
7439         * vc/vc-git.el:
7440         * vc/vc-dir.el:
7441         * vc/vc-cvs.el:
7442         * vc/vc-bzr.el:
7443         * vc/vc-arch.el:
7444         * vc/vc.el: Replace lexical-let by lexical-binding.
7445         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7446         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7447         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7449 2012-04-26  Chong Yidong  <cyd@gnu.org>
7451         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7452         (diff-mode-shared-map): Bind it to / and [remap undo].
7454         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7455         (ediff-window-setup-function): Use it as the default, to set up
7456         windows based on whether the current frame is graphical (Bug#2138).
7457         (ediff-choose-window-setup-function-automatically): Make obsolete.
7459         * vc/ediff-init.el: Always define ediff-pixel-width/height.
7461 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7463         * ffap.el: Remove old code for obsolete package.
7464         (ffap-complete-as-file-p): Remove.
7466         Use completion-table-with-quoting for comint and pcomplete.
7467         * comint.el (comint--unquote&requote-argument)
7468         (comint--unquote-argument, comint--requote-argument): New functions.
7469         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7470         (comint-quote-filename): Use regexp-opt-charset.
7471         (comint--common-suffix, comint--common-quoted-suffix)
7472         (comint--table-subvert): Remove.
7473         (comint-unquote-function, comint-requote-function): New vars.
7474         (comint--complete-file-name-data): Use them with
7475         completion-table-with-quoting.
7476         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7477         * pcomplete.el (pcomplete-arg-quote-list)
7478         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7479         (pcomplete-unquote-argument-function): Default to non-nil.
7480         (pcomplete-unquote-argument): Simplify.
7481         (pcomplete--common-quoted-suffix): Remove.
7482         (pcomplete-requote-argument-function): New var.
7483         (pcomplete--common-suffix): New function.
7484         (pcomplete-completions-at-point): Use completion-table-with-quoting
7485         and completion-table-subvert.
7487         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7488         (minibuffer--double-dollars): Preserve properties.
7489         (completion--sifn-requote): New function.
7490         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7492         * minibuffer.el: Add support for completion of quoted/escaped data.
7493         (completion-table-with-quoting, completion-table-subvert): New funs.
7494         (completion--twq-try, completion--twq-all): New functions.
7495         (completion--nth-completion): New function.
7496         (completion-try-completion, completion-all-completions): Use it.
7498 2012-04-25  Leo Liu  <sdl.web@gmail.com>
7500         * progmodes/python.el (python-pdbtrack-get-source-buffer):
7501         Use compilation-message if available to find real filename.
7503 2012-04-25  Chong Yidong  <cyd@gnu.org>
7505         * vc/diff-mode.el (diff-setup-whitespace): New function.
7506         (diff-mode): Use it.
7508         * vc/diff.el (diff-sentinel):
7509         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7510         Whitespace mode variables based on diff style (Bug#8612).
7512 2012-04-25  Leo Liu  <sdl.web@gmail.com>
7514         * progmodes/python.el (python-send-region): Add suffix .py to the
7515         temp file.
7517         * files.el (auto-mode-alist): Use javascript-mode instead.
7519 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
7521         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
7523         * net/soap-client.el (soap-resolve-references-for-sequence-type)
7524         (soap-resolve-references-for-array-type): Hack to prevent self
7525         references, see Bug#9.
7526         (soap-parse-envelope): Report the contents of the 'detail' node
7527         when receiving a fault reply.
7528         (soap-parse-envelope): Report the contents of the entire 'detail' node.
7530         * net/soap-inspect.el (soap-sample-value-for-simple-type)
7531         (soap-inspect-simple-type): New function.
7533         * net/soap-client.el (soap-simple-type): New struct.
7534         (soap-default-xsd-types, soap-default-soapenc-types)
7535         (soap-decode-basic-type, soap-encode-basic-type):
7536         support unsignedInt and double basic types.
7537         (soap-resolve-references-for-simple-type)
7538         (soap-parse-simple-type, soap-encode-simple-type): New function.
7539         (soap-parse-schema): Parse xsd:simpleType declarations.
7541         * net/soap-client.el (soap-default-xsd-types)
7542         (soap-default-soapenc-types): Add integer, byte and anyURI types.
7543         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7544         the local name of "soapenc:Array".
7545         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7546         decoding integer, byte and anyURI xsd types.
7548 2012-04-25  Chong Yidong  <cyd@gnu.org>
7550         * cus-edit.el (custom-buffer-create-internal): Update header text.
7552 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
7554         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7555         settings on 'system-type', not on 'window-system'.  On MS-Windows,
7556         set interactive-mode on in GDB.
7558 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7560         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7561         (ruby-syntax-propertize-regexp): Remove.
7562         (ruby-syntax-propertize-function): Split regexp into chunks.
7563         Match following code directly.
7565 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
7567         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7568         (ruby-syntax-propertize-regexp): New function.
7569         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7570         by a special keyword.
7572         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7573         (ruby-syntax-general-delimiters-goto-beg)
7574         (ruby-syntax-propertize-general-delimiters): New functions.
7575         (ruby-syntax-propertize-function): Use them to handle GDL.
7576         (ruby-font-lock-keywords): Move old handling of GDL...
7577         (ruby-font-lock-syntactic-keywords): .. to here.
7578         (ruby-calculate-indent): Adjust indentation for GDL.
7580 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
7582         * notifications.el (top): Remove unneeded declarations.
7583         (notifications-specification-version): Change to "1.2".
7584         (notifications-interface, notifications-notify-method)
7585         (notifications-close-notification-method): Fix docstring.
7586         (notifications-get-capabilities-method): New defconst.
7587         (notifications-notify): Add :action-items, :resident and
7588         :transient hints.  Change "image_data" to "image-data" and
7589         "image_path" to "image-path".
7590         (notifications-get-capabilities): New defun.
7592 2012-04-24  Leo Liu  <sdl.web@gmail.com>
7594         * progmodes/python.el: Move hideshow setup to the end.
7596 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
7598         * window.el (handle-select-window): Clear echo area since this is
7599         no more done by read_char (Bug#11304).
7601 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7603         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7604         and `/ M' to filter-derived-mode.
7605         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7606         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7607         (ibuffer-mark-by-mode): Use default rather than initial-input.
7608         (ibuffer-filter-by-derived-mode): Autoload and require-match.
7610 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
7612         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7613         (ibuffer-filter-by-derived-mode): New filter.
7614         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7616 2012-04-23  Andreas Politz  <politza@fh-trier.de>
7618         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7620 2012-04-23  Chong Yidong  <cyd@gnu.org>
7622         * cus-edit.el (customize-apropos, customize-apropos-options):
7623         Disable matching of non-option variables (Bug#11176).
7624         (customize-option, customize-option-other-window)
7625         (customize-changed-options): Doc fix.
7626         (customize-apropos-options, customize-apropos-faces)
7627         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7629         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7630         Fix word list splitting (Bug#11132).
7631         (apropos-symbol, apropos-keybinding, apropos-label)
7632         (apropos-property, apropos-function-button)
7633         (apropos-variable-button, apropos-misc-button): New faces.
7634         (apropos-symbol-face, apropos-keybinding-face)
7635         (apropos-label-face, apropos-property-face, apropos-match-face):
7636         Variables removed (Bug#8396).
7637         (apropos-library-button, apropos-format-plist, apropos-print)
7638         (apropos-print-doc, apropos-describe-plist): Callers changed.
7640 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
7642         * net/xesam.el (xesam-mode-map): Use let-bound map in
7643         initialization.  (Bug#11292)
7645 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7647         Preserve ispell session localwords when switching back to
7648         original buffer.
7650         * textmodes/ispell.el (ispell-buffer-session-localwords):
7651         New buffer-local variable to hold buffer session localwords.
7652         (ispell-kill-ispell): Add option 'clear to delete session
7653         localwords.
7654         (ispell-command-loop, ispell-change-dictionary)
7655         (ispell-buffer-local-words): Preserve session localwords when
7656         needed.
7658         * textmodes/flyspell.el (flyspell-process-localwords)
7659         (flyspell-do-correct): Preserve session localwords when needed.
7661 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7663         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
7664         using obsolete `translation-table-for-input'.
7665         (ispell-word, ispell-process-line, ispell-complete-word):
7666         Use plain `insert' instead of removed `ispell-insert-word'.
7668 2012-04-22  Chong Yidong  <cyd@gnu.org>
7670         * cus-edit.el (custom-variable-menu)
7671         (custom-variable-reset-saved, custom-face-menu)
7672         (custom-face-reset-saved): If there is no saved value, make the
7673         "reset-saved" operation bring back the default (Bug#9509).
7674         (custom-face-state): Properly detect themed faces.
7676         * faces.el (face-spec-set): Stop supporting deprecated form of
7677         third arg.
7679 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
7681         Move functions from C to Lisp.  Make non-blocking method calls
7682         the default.  Implement further D-Bus standard interfaces.
7684         * net/dbus.el (dbus-message-internal): Declare function.
7685         Remove unneeded function declarations.
7686         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
7687         (dbus-message-type-method-return, dbus-message-type-error)
7688         (dbus-message-type-signal): Declare variables.  Remove local
7689         definitions.
7690         (dbus-interface-dbus, dbus-interface-peer)
7691         (dbus-interface-introspectable, dbus-interface-properties)
7692         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
7693         Adapt docstring.
7694         (dbus-interface-objectmanager): New defconst.
7695         (dbus-call-method, dbus-call-method-asynchronously)
7696         (dbus-send-signal, dbus-method-return-internal)
7697         (dbus-method-error-internal, dbus-register-service)
7698         (dbus-register-signal, dbus-register-method): New defuns, moved
7699         from dbusbind.c
7700         (dbus-call-method-handler, dbus-setenv)
7701         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
7702         New defuns.
7703         (dbus-call-method-non-blocking): Make it an obsolete function.
7704         (dbus-unregister-object, dbus-unregister-service)
7705         (dbus-handle-event, dbus-register-property)
7706         (dbus-property-handler): Obey the new structure of
7707         `bus-registered-objects'.
7708         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
7709         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
7710         Use `dbus-call-method'.
7712 2012-04-22  Chong Yidong  <cyd@gnu.org>
7714         * cus-edit.el (custom-commands, custom-reset-menu)
7715         (Custom-reset-standard): Tweak labels.
7716         (custom-reset-button-menu): Change default to t.
7717         (custom-buffer-create-internal): For the custom-reset-button-menu
7718         case, put the revert button first.
7719         (custom-group-subtitle): New face.
7720         (custom-group-value-create): Align docstring to a specific column.
7722         * wid-edit.el (widget-documentation-link-add): Don't handle
7723         indentation in this function.
7724         (widget-documentation-string-indent-to): New function.
7725         (widget-documentation-string-value-create): Use it.
7727         * autorevert.el (auto-revert):
7728         * epg-config.el (epg):
7729         * ibuffer.el (ibuffer):
7730         * mpc.el (mpc):
7731         * ses.el (ses):
7732         * eshell/eshell.el (eshell):
7733         * net/ange-ftp.el (ange-ftp):
7734         * progmodes/ebnf2ps.el (postscript):
7735         * progmodes/flymake.el (flymake):
7736         * progmodes/prolog.el (prolog):
7737         * progmodes/verilog-mode.el (verilog-mode):
7738         * progmodes/which-func.el (which-func):
7739         * term/xterm.el (xterm):
7740         * textmodes/picture.el (picture):
7741         * textmodes/tildify.el (tildify):
7742         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
7743         customization buffers.
7745 2012-04-22  Alan Mackenzie  <acm@muc.de>
7747         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
7748         Adding a ) can hide the resulting (..) from searches.  Fix it.
7749         Bound the backward search to the position of the existing (.
7751 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
7753         * progmodes/verilog-mode.el (verilog-mode): Check whether
7754         which-func-modes is t before adding verilog-mode.
7755         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
7757 2012-04-21  Leo Liu  <sdl.web@gmail.com>
7759         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
7761 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
7763         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
7764         filling of the last column of a table (Bug#5635).
7765         (woman-find-next-control-line): New arg, specifying an additional
7766         regexp component for the control line.
7767         (woman2-roff-buffer): Use it.
7768         (woman-break-table): New function.
7769         (woman2-TS): Use it.
7771 2012-04-21  Chong Yidong  <cyd@gnu.org>
7773         * woman.el (woman-set-buffer-display-table, woman-decode-region)
7774         (woman-horizontal-escapes, woman-negative-vertical-space)
7775         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
7776         (WoMan-warn-ignored): Use ?\s instead of ?\ .
7778 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7780         * minibuffer.el (completion-file-name-table): Complete user names.
7782 2012-04-20  Leo Liu  <sdl.web@gmail.com>
7784         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
7785         and pcase-let*.
7787 2012-04-20  Chong Yidong  <cyd@gnu.org>
7789         * server.el (server-execute): Respect initial-buffer-choice if it
7790         is a string and there are no files to open (Bug#2825).
7791         (server-create-window-system-frame, server-create-tty-frame):
7792         Don't switch buffers here.
7793         (server-process-filter): Only try to open a window system frame if
7794         compiled with graphical support (Bug#8314).
7796 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
7798         * battery.el (battery-echo-area-format): Display remaining time
7799         for sysfs backend too (Bug#11269).
7800         (battery-linux-sysfs): Fix conditional for the charge.
7802 2012-04-20  Chong Yidong  <cyd@gnu.org>
7804         * progmodes/gdb-mi.el (gdb): Revert previous change.
7805         (gdb-inferior-io--init-proc): New function.
7806         (gdb-init-1): Use it.
7807         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
7808         responsible for allocating a new pty and hooking it to gdb when
7809         the old pty gets an EIO due to process exit.
7810         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
7811         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
7812         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
7814 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
7816         * window.el (window-min-size, window-sizable, window-min-delta)
7817         (window-max-delta, window--resizable, window-resizable)
7818         (window-total-size, window-full-height-p, window-full-width-p)
7819         (window-in-direction, window--resize-mini-window, window-resize)
7820         (window--resize-child-windows-normal)
7821         (window--resize-child-windows, window--resize-siblings)
7822         (window--resize-this-window, adjust-window-trailing-edge)
7823         (enlarge-window, shrink-window): Doc fixes.
7825 2012-04-20  Chong Yidong  <cyd@gnu.org>
7827         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
7828         New function to call delete-process on the gdb-inferior buffer's pty.
7829         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
7830         pty process (Bug#11273).
7831         (gdb-update): New arg to suppress talking to the gdb process.
7832         (gdb-done-or-error): Use it.
7833         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
7834         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
7835         sentinel not being called.
7837         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
7839         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
7841 2012-04-20  Glenn Morris  <rgm@gnu.org>
7843         * net/network-stream.el (open-network-stream): Doc fix.
7845 2012-04-20  Chong Yidong  <cyd@gnu.org>
7847         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
7849 2012-04-20  Alan Mackenzie  <acm@muc.de>
7851         Ensure searching for keywords is case sensitive.
7853         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
7854         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
7855         (c-defun-name, c-mark-function, c-cpp-define-name)
7856         (c-comment-indent, c-scan-conditionals, c-indent-defun)
7857         (c-context-line-break): Bind case-fold-search to nil.
7859         * progmodes/cc-mode.el (c-font-lock-fontify-region):
7860         Bind case-fold-search to nil.
7862 2012-04-20  Chong Yidong  <cyd@gnu.org>
7864         * mail/sendmail.el (mail-bury): Call return action with the right
7865         Rmail buffer (Bug#11242).
7867         * server.el (server-process-filter): Handle corner case where both
7868         tty and nowait options are present (Bug#11102).
7870 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
7872         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
7873         (top level): Put into the executable the ident-style '$Id:' tag on
7874         windows-nt as well.
7876 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7878         * electric.el (electric-indent-post-self-insert-function): Check that
7879         electric-indent-mode is enabled in current buffer.
7881 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
7883         * imenu.el (imenu-progress-message): Restore; it is "used" in
7884         erc/erc-imenu.el and net/snmp-mode.el.
7886 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
7888         * avoid.el (mouse-avoidance-mode): Mark unused arg.
7889         (mouse-avoidance-nudge-mouse): Remove unused binding.
7891         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
7893         * descr-text.el (describe-char):
7894         * progmodes/python.el (python-describe-symbol):
7895         Don't call `toggle-read-only', set `buffer-read-only'.
7897         * imenu.el (imenu-default-goto-function): Mark unused args.
7898         (imenu-progress-message): Remove obsolete macro; all callers changed.
7900         * subr.el (keymap-canonicalize): Remove unused binding.
7901         (read-passwd): Mark unused arg.
7903         * tutorial.el (tutorial--display-changes): Remove unused binding.
7904         (tutorial--save-tutorial-to): Remove unused variable.
7906         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
7907         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
7908         (package-generate-autoloads, package-menu--generate)
7909         (package-menu--find-upgrades): Remove unused bindings.
7911         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
7912         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
7913         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
7914         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
7915         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
7916         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
7917         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
7918         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
7919         (cua-delete-char-rectangle): Mark unused args.
7920         (cua-align-rectangle): Remove unused binding.
7922         * mail/rmail.el (compilation--message->loc)
7923         (epa--find-coding-system-for-mime-charset): Declare.
7925         * net/dbus.el (dbus-register-service): Declare.
7926         (dbus-name-owner-changed-handler): Remove unused binding.
7928         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
7929         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
7930         (nxml-scan-backward-within): Mark unused arg.
7931         (nxml-dynamic-markup-word): Remove unused binding.
7933         * mouse.el (mouse-menu-major-mode-map):
7934         * emacs-lisp/authors.el (authors-scan-change-log)
7935         (authors-add-to-author-list):
7936         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
7937         * emacs-lisp/smie.el (smie-auto-fill):
7938         * mail/sendmail.el (mail-bury):
7939         * mail/unrmail.el (unrmail):
7940         * net/tls.el (open-tls-stream):
7941         * textmodes/picture.el (picture-mouse-set-point):
7942         Remove unused bindings.
7944 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
7946         * net/tramp.el (tramp-action-password): Let-bind
7947         `enable-recursive-minibuffers' to t.
7949 2012-04-18  Sam Steingold  <sds@gnu.org>
7951         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
7952         instead of 'string to accommodate values like [f11].
7953         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
7954         * progmodes/gdb-mi.el: Likewise.
7956 2012-04-18  Leo Liu  <sdl.web@gmail.com>
7958         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
7959         current buffer.
7960         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
7961         LOCAL is nil.
7963 2012-04-18  Chong Yidong  <cyd@gnu.org>
7965         * simple.el (line-move): Use forward-line if in batch mode
7966         (Bug#11053).
7968 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
7970         * files.el (after-find-file): Do not try to add a final newline if
7971         the buffer is read-only (Bug#11156).
7973 2012-04-17  Richard Stallman  <rms@gnu.org>
7975         * mail/rmail.el (rmail-start-mail):
7976         Pass (rmail-mail-return...) for the return-action.
7977         Pass (rmail-yank-current-message...) for the yank-action.
7978         (rmail-yank-current-message): New function.
7979         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
7980         (rmail-reply): Likewise.
7981         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
7983         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
7984         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
7985         buffer, not newbuf.
7987 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
7989         * server.el (server-ensure-safe-dir): Simplify.
7991 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7993         * emacs-lisp/smie.el: Provide smarter auto-filling.
7994         (smie-auto-fill): New function.
7995         (smie-setup): Use it.
7997         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
7999 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
8001         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8002         (comment-indent): Use it.
8004 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8006         * ses.el: The overall change is to add cell renaming, that is
8007         setting fancy names for cell symbols other than name matching
8008         "\\`[A-Z]+[0-9]+\\'" regexp .
8009         (ses-localvars): Add ses--renamed-cell-symb-list.
8010         (ses-create-cell-variable): New defun.
8011         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8012         (ses-relocate-formula): Relocate formulas only for cells the
8013         symbols of which are not renamed, i.e. symbols whose names do not
8014         match regexp "\\`[A-Z]+[0-9]+\\'".
8015         (ses-relocate-all): Relocate values only for cells the symbols of
8016         which are not renamed.
8017         (ses-load): Create cells variables as the (ses-cell ...) are read,
8018         in order to check row col consistency with cell symbol name only
8019         for cells that are not renamed.
8020         (ses-replace-name-in-formula): New defun.
8021         (ses-rename-cell): New defun.
8023 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
8025         * progmodes/perl-mode.el (perl-indent-parens-as-block):
8026         New option (bug#11118).
8027         (perl-calculate-indent): Respect it.
8029 2012-04-17  Glenn Morris  <rgm@gnu.org>
8031         * dired-aux.el (dired-mark-read-string): Doc fix.
8033 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
8035         * dired-aux.el (dired-mark-read-string): Offer optional completion.
8036         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
8038 2012-04-17  Glenn Morris  <rgm@gnu.org>
8040         * mouse.el (mouse-drag-track):
8041         * speedbar.el (speedbar-frame-mode):
8042         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8044 2012-04-16  Leo Liu  <sdl.web@gmail.com>
8046         * progmodes/python.el: Trivial cleanup.
8048 2012-04-16  Glenn Morris  <rgm@gnu.org>
8050         * vc/vc.el (vc-string-prefix-p):
8051         * vc/pcvs-util.el (cvs-string-prefix-p):
8052         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8053         * mpc.el (mpc-string-prefix-p):
8054         Make all of these into obsolete aliases for string-prefix-p.
8055         Update callers.
8056         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8058         * textmodes/two-column.el: Move custom options to the start.
8059         (frame-width): Remove compat definition.
8060         (2C-associate-buffer, 2C-dissociate):
8061         Use with-current-buffer rather than save-excursion.
8062         (2C-dissociate): Force a mode-line update.
8063         (2C-autoscroll): Use ignore-errors.
8065         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8066         Autoload trivia.
8068         * emacs-lisp/cl-extra.el (*random-state*):
8069         Remove unnecessary declaration.
8071         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8073         * play/cookie1.el (cookie-snarf):
8074         Give an explicit error if input file cannot be read.
8076         * play/yow.el (yow-file): Use expand-file-name rather than concat.
8078         * progmodes/perl-mode.el (c-macro-expand):
8079         Remove unnecessary autoload (it is in loaddefs.el).
8081         * textmodes/picture.el (picture-desired-column)
8082         (picture-update-desired-column): Convert comments to doc-strings.
8083         (picture-substitute): Remove function.
8084         (picture-mode-map): Initialize in the defvar.
8086         * woman.el: Remove eval-after-load for tar-mode.
8087         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8088         (woman-tar-extract-file): Autoload it.
8090         * frame.el (automatic-hscrolling): Make this alias obsolete.
8092 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8094         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8095         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8096         (ispell-dictionary-base-alist): Revert to original XEmacs
8097         friendly version for default.  [:alpha:] will be added in
8098         `ispell-set-spellchecker-params' if needed.
8100 2012-04-16  Chong Yidong  <cyd@gnu.org>
8102         * image.el (imagemagick--file-regexp): New variable.
8103         (imagemagick-register-types): Use it.
8104         (imagemagick-types-inhibit): Add :set function.  Allow new value
8105         of t to inhibit all types.
8107         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8108         so we can preload it.
8110         * loadup.el (fboundp): Preload regexp-opt, needed by
8111         imagemagick-register-types.
8113 2012-04-15  Chong Yidong  <cyd@gnu.org>
8115         * frame.el (scrolling): Remove nearly unused customization group.
8117         * scroll-all.el (scroll-all-mode): Move to windows group.
8119 2012-04-15  Chong Yidong  <cyd@gnu.org>
8121         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8123 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8125         Avoid the use of ((lambda ...) ...) in lexical-binding code.
8126         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8128 2012-04-15  Glenn Morris  <rgm@gnu.org>
8130         * simple.el (process-file-side-effects): Doc fix.
8132 2012-04-15  Glenn Morris  <rgm@gnu.org>
8134         * international/mule-cmds.el (set-language-environment): Doc fix.
8136 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
8138         * server.el (server-auth-key, server-generate-key): Doc fixes.
8139         (server-get-auth-key): Doc fix.  Use `string-match-p'.
8140         (server-start): Reflow docstring.
8142 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
8144         * server.el (server-generate-key): `called-interactively-p'
8145         requires a parameter.
8147 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
8149         * server.el (server-auth-key): New variable.
8150         (server-generate-key, server-get-auth-key): New function.
8151         (server-start): Use the new variable and functions to allow
8152         setting a permanent server key (bug#9423).
8154 2012-04-14  Leo Liu  <sdl.web@gmail.com>
8156         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8158 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
8160         Spelling fixes.
8161         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8162         Emacs uses American spelling.
8164 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
8166         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8167         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
8168         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8169         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
8171 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8173         * progmodes/which-func.el (which-func-modes): Change default.
8175 2012-04-14  Kim F. Storm  <storm@cua.dk>
8177         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8178         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8180 2012-04-14  Chong Yidong  <cyd@gnu.org>
8182         * custom.el (custom-theme-set-variables): Doc fix.
8184 2012-04-14  Glenn Morris  <rgm@gnu.org>
8186         * international/mule.el (set-auto-coding-for-load): Doc fix.
8188 2012-04-14  Alan Mackenzie  <acm@muc.de>
8190         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8191         imenu work again for Objective C Mode.  Correct the *-index values,
8192         these having been disturbed by a previous change in 2011-08.
8194         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8195         Correct two search limits.
8197 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8199         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8201 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
8203         * international/characters.el: Fix sorting.
8205 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8207         * international/characters.el: Add more missing Latin case pairs.
8209 2012-04-14  Glenn Morris  <rgm@gnu.org>
8211         * files.el (dir-locals-set-class-variables): Doc fix.
8213 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8215         * international/characters.el: Add set-case-syntax-pair call for
8216         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8217         counterpart.  (Bug#11209)
8219         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
8221 2012-04-14  Glenn Morris  <rgm@gnu.org>
8223         * calendar/holidays.el (calendar-check-holidays): Doc fix.
8225 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8227         * textmodes/ispell.el (ispell-dictionary-base-alist):
8228         Add data for Hebrew.
8230 2012-04-14  Chong Yidong  <cyd@gnu.org>
8232         * net/rcirc.el (rcirc-cmd-quit):
8233         Revert 2012-03-18 change (Bug#11192).
8235 2012-04-14  Glenn Morris  <rgm@gnu.org>
8237         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8239 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8241         * minibuffer.el (completion-in-region-mode-map):
8242         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
8244 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
8246         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8248 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
8250         * minibuffer.el (minibuffer-local-filename-syntax): New variable
8251         to allow `C-M-f' and `C-M-b' to move to the nearest path
8252         separator (bug#9511).
8254 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
8256         * avoid.el: Require cl when compiling.  And also move the
8257         `provide' to the end.
8259 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8261         * avoid.el (mouse-avoidance-banish-position): New variable.
8262         (mouse-avoidance-banish-destination): Use it (bug#10165).
8264 2012-04-13  Leo Liu  <sdl.web@gmail.com>
8266         * progmodes/which-func.el (which-func-modes): Add objc-mode.
8268 2012-04-13  Ken Brown  <kbrown@cornell.edu>
8270         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8271         this is no longer needed now that cygstart understands file:// URLs.
8272         (browse-url-filename-alist): For the same reason, don't modify
8273         file:// URLs on Cygwin.
8275 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8277         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8278         the region on shift if the binding is already shifted (bug#11221).
8280 2012-04-12  Glenn Morris  <rgm@gnu.org>
8282         * mail/mailpost.el: Move to obsolete/.
8284 2012-04-12  Drew Adams  <drew.adams@oracle.com>
8286         * imenu.el (imenu--generic-function): Ignore invisible definitions
8287         (bug#10123).
8289 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
8291         * hexl.el (hexl-bits): New variable.
8292         (hexl-options): Mention the variable in the doc string.
8293         (hexl-rulerise, hexl-line-displen): New functions.
8294         (hexl-mode): Mention the new variable.
8295         (hexl-mode, hexl-current-address, hexl-current-address):
8296         Use the displen.
8297         (hexl-ascii-start-column): New function.
8298         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8299         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8301 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8303         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8304         '("-i" ENCODING), in 2 separate command-line arguments, to specify
8305         the encoding, as expected by hunspell.
8307 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8309         * battery.el (battery--linux-sysfs-regexp): New const.
8310         (battery-status-function): Use it.  Remove yeeloong special case.
8311         (battery-yeeloong-sysfs): Remove.
8312         (battery-echo-area-format): Remove yeeloong special case.
8314 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8316         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8317         Reported by Noah Friedman.
8319         * subr.el (read-passwd): Use read-string.
8321 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8323         * vcursor.el (vcursor-move): Increase the priority of the overlay
8324         (bug#9663).
8326 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8328         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8329         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8331 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
8333         * textmodes/artist.el (artist-mode): Convert artist-mode to use
8334         define-minor-mode (bug#10760).
8336 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
8338         * progmodes/grep.el (rgrep): Tweak the find command line so
8339         that directories matching `grep-find-ignored-files' won't be
8340         pruned (bug#10351).
8342 2012-04-11  Chong Yidong  <cyd@gnu.org>
8344         * startup.el (command-line): Remove support for long-obsolete
8345         variable font-lock-face-attributes.
8347 2012-04-11  Glenn Morris  <rgm@gnu.org>
8349         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8351 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8353         * window.el (window--state-get-1): Obey window-point-insertion-type.
8355 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
8357         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8358         to previous function when point is on the first character of a
8359         function.  Take care of that in `narrow-to-defun' (bug#6157).
8361 2012-04-11  Glenn Morris  <rgm@gnu.org>
8363         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8364         not just file-errors.
8366         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8367         (vc-bzr-sha1): Use internal sha1.
8369 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8371         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8373 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
8375         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8376         that start in the middle of the line (bug#10496).
8378 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
8380         * battery.el (battery-linux-proc-acpi): Only one battery is
8381         discharged at a time, but that seems to confuse battery.el when
8382         computing `rate-type' for the battery not being discharged
8383         (bug#10332).
8385 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8387         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8389         * international/quail.el: Use dolist and simplify.
8390         (quail-define-package, quail-update-keyboard-layout)
8391         (quail-define-rules): Use dolist.
8392         (quail-insert-kbd-layout, quail-get-translation): CSE.
8394         * tmm.el: Use dolist, remove left over hook.
8395         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8396         Use dolist.
8397         (calendar-load-hook): Don't mess with it.
8399         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8400         Use derived-mode-p.  Run the diff asynchronously.
8402 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8404         * obsolete/mouse-sel.el: Add an Obsolete-since header.
8406 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
8408         * misc.el: Display absolute path of loaded DLLs (bug#10424).
8409         (list-dynamic-libraries--loaded): New function.
8410         (list-dynamic-libraries--refresh): Use it.
8412 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
8414         * progmodes/python.el (python-fill-paragraph):
8415         Make python-fill-region in a multiline string work when font-lock is
8416         disabled (bug#7018).
8418 2012-04-10  Laimonas Vėbra  <laimonas.vebra@gmail.com>  (tiny change)
8420         * language/european.el (cp775): Add oem/legacy (en)coding on
8421         DOS/MS Windows for the Baltic languages.  There are still plenty
8422         of texts written in this encoding/codepage (bug#6519).
8424 2012-04-10  Glenn Morris  <rgm@gnu.org>
8426         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8427         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8429 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
8431         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8432         next-line "n" and previous-line "p" in order to make recentf more
8433         consistent with ibuffer, dired or org-mode (bug#9387).
8435 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8437         * image.el (put-image): Return the overlay created instead of the
8438         optional input string (bug#7834).  Note that this may break code
8439         that is (for some reason or other) depending on `put-image'
8440         returning the string.
8442         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8444         * simple.el (zap-to-char): Allow zapping using input methods
8445         (bug#1580).
8447         * textmodes/fill.el (fill-region): Leave point and mark where they
8448         were before filling (bug#5399).
8450 2012-04-09  Glenn Morris  <rgm@gnu.org>
8452         * version.el (emacs-bzr-get-version):
8453         Handle lightweight checkouts of local branches.
8455 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
8457         * international/characters.el: Recover lost case pairs.  (Bug#11209)
8459 2012-04-09  Chong Yidong  <cyd@gnu.org>
8461         * custom.el (custom-variable-p): Return nil for non-symbol
8462         arguments instead of signaling an error.
8463         (user-variable-p): Obsolete alias for custom-variable-p.
8465         * apropos.el (apropos-variable):
8466         * files-x.el (read-file-local-variable):
8467         * simple.el (set-variable):
8468         * woman.el (woman-mini-help):
8469         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8471 2012-04-09  Glenn Morris  <rgm@gnu.org>
8473         * startup.el (normal-top-level): Don't look for leim-list.el
8474         in places where it will not be found.  (Bug#910)
8476         * international/mule-cmds.el (set-default-coding-systems):
8477         * files.el (normal-mode):
8478         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
8479         This function was removed with ucs-tables.el in 2008.
8481 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
8483         * textmodes/ispell.el (ispell-check-version): For hunspell, set
8484         ispell-encoding8-command to "-i", without a trailing space.
8485         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8486         separate command-line arguments, to specify the encoding, since
8487         that's how hunspell expects it.
8489 2012-04-08  Glenn Morris  <rgm@gnu.org>
8491         * loadup.el: Load bindings before cus-start.
8492         This reduces somewhat the number of "rogue" settings in emacs -Q.
8494 2012-04-07  Glenn Morris  <rgm@gnu.org>
8496         * version.el (emacs-bzr-get-version): New function.
8497         (emacs-bzr-version): New variable.
8498         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
8499         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8501 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
8503         * international/uni-bidi.el, international/uni-category.el:
8504         * international/uni-combining.el, international/uni-decimal.el:
8505         * international/uni-decomposition.el, international/uni-digit.el:
8506         * international/uni-lowercase.el, international/uni-mirrored.el:
8507         * international/uni-name.el, international/uni-numeric.el:
8508         * international/uni-titlecase.el, international/uni-uppercase.el:
8509         Update for Unicode 6.1.
8511 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
8513         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8515 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8517         * window.el (shrink-window): Mention the `window-min-height'
8518         variable in the doc string.
8520 2012-04-05  Bastien Guerry  <bzg@altern.org>
8522         * color.el (color-lighten-name): Fix typo.
8524 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8526         * server.el (server--on-display-p): New function.
8527         (server--on-display-p): Use it.
8529 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
8531         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8532         (bug#11145).
8534 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8536         * comint.el (comint--common-quoted-suffix): Check string boundary
8537         before comparing (bug#11158).
8538         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8540 2012-04-04  Chong Yidong  <cyd@gnu.org>
8542         * minibuffer.el (completion-extra-properties): Doc fix.
8544         * subr.el (delayed-warnings-hook): Doc fix.
8546 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
8548         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8549         selection (Bug#11159).
8550         (epa-insert-keys): Inform that the default public key will be
8551         exported if no key is selected.
8553 2012-04-04  Richard Stallman  <rms@gnu.org>
8555         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8557 2012-04-03  Chong Yidong  <cyd@gnu.org>
8559         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8560         mail-insert-file, not its obsolete alias mail-attach-file.
8562 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
8564         * notifications.el (notifications-notify): Fix docstring.
8566 2012-04-02  Glenn Morris  <rgm@gnu.org>
8568         * emacs-lisp/authors.el (authors-aliases): Another addition.
8570 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
8572         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8573         `tramp-compat-call-process' instead of `tramp-local-call-process'.
8574         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8576 2012-04-01  Chong Yidong  <cyd@gnu.org>
8578         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8579         Handle root directory properly.
8580         (copy-directory): Caller changed.
8582         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8583         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8585 2012-03-31  Glenn Morris  <rgm@gnu.org>
8587         * term/xterm.el (xterm-extra-capabilities): Doc fix.
8589         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
8591         * calendar/calendar.el (calendar-window-list)
8592         (calendar-hide-window): Restore.  (Bug#11140)
8593         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8595         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8597 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8599         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8600         Check if file is a symlink (Bug#10489).
8602         * files.el (copy-directory): Likewise.
8604 2012-03-30  Chong Yidong  <cyd@gnu.org>
8606         * image.el (imagemagick-types-inhibit)
8607         (imagemagick-register-types): Doc fix.
8609 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8611         * textmodes/ispell.el (ispell-get-extended-character-mode):
8612         Disable extended-char-mode for hunspell.  hunspell does not support it
8613         and treats ~word as ordinary words in pipe mode.
8615 2012-03-30  Glenn Morris  <rgm@gnu.org>
8617         * tutorial.el (help-with-tutorial): Ensure local variables don't
8618         happen to make the buffer read-only.  (Bug#11127)
8620 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8622         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8623         (perl-calculate-indent): Return `noindent' in strings.
8625 2012-03-28  Sam Steingold  <sds@gnu.org>
8627         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8628         instead of the broken adhockery which does not prevent calendar
8629         buffers from being displayed at random after exit.
8630         (calendar-window-list, calendar-hide-window): Remove the broken
8631         adhockery.
8633 2012-03-28  Glenn Morris  <rgm@gnu.org>
8635         * replace.el (query-replace-map): Doc fix.
8637 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
8639         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8640         contents.  (Bug#11109)
8642 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8644         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8645         (bug#11077).
8646         (avl-tree--check, avl-tree--check-node): New funs.
8648 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
8650         * window.el (switch-to-visible-buffer): New option.
8651         (switch-to-prev-buffer, switch-to-next-buffer):
8652         Observe switch-to-visible-buffer.  Make sure that checking for a window
8653         showing a buffer already is done on the same frame.
8655 2012-03-27  Glenn Morris  <rgm@gnu.org>
8657         * startup.el (mail-host-address): Doc fix.
8659 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8661         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
8662         than 197 variables.
8664 2012-03-26  Ami Fischman  <ami@fischman.org>
8666         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
8668 2012-03-26  Glenn Morris  <rgm@gnu.org>
8670         * files.el (save-buffers-kill-emacs): Doc fix.
8672         * startup.el (normal-top-level, command-line, command-line-1):
8673         Give them doc strings.
8675 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
8677         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
8678         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
8680 2012-03-25  Chong Yidong  <cyd@gnu.org>
8682         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
8683         theme if it was previously enabled before (Bug#11031).
8685         * cus-theme.el (custom-theme-write-faces): Retrieve current face
8686         spec with custom-face-get-current-spec if its :shown-value is not
8687         determined yet (Bug#9337).
8688         (customize-create-theme, custom-theme-revert): Doc fixes.
8690         * button.el (button-at): Minor addition to docstring.
8692 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
8694         * vc/vc.el (vc-merge): Fix a prompt.
8696 2012-03-24  Chong Yidong  <cyd@gnu.org>
8698         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
8699         point (Bug#9623).
8701         * button.el (button-at): Minor addition to docstring.
8703 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8705         * newcomment.el (comment-choose-indent): No space after BOL.
8707 2012-03-22  Sam Steingold  <sds@gnu.org>
8709         * window.el (switch-to-prev-buffer): Revert last patch because the
8710         bug turned out to be an advertised feature (Elisp manual 28.14).
8712 2012-03-22  Glenn Morris  <rgm@gnu.org>
8714         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
8715         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
8717 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8719         * net/network-stream.el (network-stream-open-starttls): Make error
8720         message under Windows be less misleading.
8722 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
8724         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
8725         understands (bug#9942).
8727 2012-03-22  Chong Yidong  <cyd@gnu.org>
8729         * simple.el (end-of-visible-line): Handle return value of
8730         next-single-property-change properly (Bug#9371).
8732 2012-03-22  Kenichi Handa  <handa@m17n.org>
8734         * international/quail.el (quail-insert-kbd-layout): Fix previous
8735         change.  To avoid unwanted bidi reordering, use
8736         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
8738 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
8740         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
8741         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
8742         (ruby-beginning-of-indent): Be more careful with the difference
8743         between word-boundary and symbol boundary.
8744         (ruby-mode-syntax-table): Make : a symbol constituent.
8746 2012-03-21  Andreas Politz  <politza@fh-trier.de>
8748         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
8750 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8752         * progmodes/etags.el (tags-completion-at-point-function):
8753         Improve last fix.
8755         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
8757 2012-03-21  Sam Steingold  <sds@gnu.org>
8759         * progmodes/etags.el (tags-completion-at-point-function):
8760         Avoid the error when point is inside the pattern.
8762 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
8764         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
8765         line (Bug#10855).
8767 2012-03-21  Drew Adams  <drew.adams@oracle.com>
8769         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
8771 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
8773         * ido.el (ido-set-current-directory, ido-read-internal)
8774         (ido-choose-completion-string, ido-completion-help): Handle nil
8775         value of ido-completion-buffer (Bug#11008).
8777 2012-03-21  Sam Steingold  <sds@gnu.org>
8779         * window.el (switch-to-prev-buffer): Do not switch to a visible
8780         window previous buffer, just like with the frame previous buffers.
8782 2012-03-21  Chong Yidong  <cyd@gnu.org>
8784         * faces.el (make-face, make-empty-face, copy-face):
8785         * face-remap.el (face-remap-add-relative, face-remap-set-base):
8786         Doc fixes.
8788 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8790         * wid-edit.el (widget-complete-field): Remove (bug#11051).
8791         (widget-complete): Remove broken use of it.
8793 2012-03-20  Chong Yidong  <cyd@gnu.org>
8795         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
8796         Use string-width and truncate-string-width to handle arbitrary
8797         characters.
8799 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
8801         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
8802         to draw rectangles, not squares.  (Regression introduced by revno
8803         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
8805 2012-03-18  Chong Yidong  <cyd@gnu.org>
8807         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
8808         it is not yet defined (for temacs).
8810 2012-03-18  Leo Liu  <sdl.web@gmail.com>
8812         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
8813         prefix.
8815 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
8817         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
8818         (ispell-choices-win-default-height, ispell-silently-savep)
8819         (ispell-dictionary-alist, ispell-encoding8-command)
8820         (ispell-check-version, ispell-aspell-find-dictionary)
8821         (ispell-valid-dictionary-list, ispell-words-keyword)
8822         (ispell-get-word, ispell-internal-change-dictionary)
8823         (ispell-region, ispell-skip-region-list)
8824         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
8825         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
8826         (ispell-message-text-end, ispell-message)
8827         (ispell-buffer-local-parsing): Doc fix.
8829 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
8831         * htmlfontify.el: Add support for code block fontification for ODT
8832         export (Bug #9914).
8833         (hfy-optimisations): Define new option
8834         `body-text-only'
8835         (hfy-fontify-buffer): Honor above setting.
8836         (hfy-begin-span, hfy-end-span): New routines factored out form
8837         `hfy-fontify-buffer'.
8838         (hfy-begin-span-handler, hfy-end-span-handler): New variables
8839         that permit insertion of custom tags.
8840         (hfy-fontify-buffer): Use above handlers.
8841         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
8842         (hfy-face-to-css): Re-defined to be a variable.
8843         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
8844         over multiple runs.  This is made possible by having the caller let
8845         bind a special variable `hfy-user-sheet-assoc'.
8846         (htmlfontify-string): New defun.
8847         (hfy-compile-face-map): Make sure that the last char in the
8848         buffer is correctly fontified.
8849         (hfy-face-resolve-face): Whitespace only change.
8851 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
8853         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
8854         message more clear.
8856 2012-03-16  Leo Liu  <sdl.web@gmail.com>
8858         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
8860 2012-03-16  Alan Mackenzie  <acm@muc.de>
8862         Further optimise the handling of large macros.
8864         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
8865         limit to a call of `c-literal-limits'.
8866         (c-determine-+ve-limit): New function.
8867         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
8868         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
8869         In CASE 5B, restrict a search limit to 500.
8870         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
8872         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
8873         Restrict macro bounds to +-500 from after-change's BEG END.
8875 2012-03-16  Leo Liu  <sdl.web@gmail.com>
8877         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
8879 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
8881         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
8882         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
8884 2012-03-16  Glenn Morris  <rgm@gnu.org>
8886         * view.el (view-buffer, view-buffer-other-window)
8887         (view-buffer-other-frame): Doc fixes re special mode-class.
8889         * subr.el (eval-after-load): If named feature is provided not from
8890         a file, run after-load forms.  (Bug#10946)
8892         * calendar/calendar.el (calendar-insert-at-column):
8893         Handle non-unit-width characters a bit better.  (Bug#10978)
8895 2012-03-15  Chong Yidong  <cyd@gnu.org>
8897         * emacs-lisp/ring.el (ring-extend): New function.
8898         (ring-insert+extend): Extend the ring correctly (Bug#11019).
8900         * comint.el (comint-read-input-ring)
8901         (comint-add-to-input-history): Grow comint-input-ring lazily.
8903 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8905         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
8906         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
8908         * imenu.el: Fix multiple inheritance breakage (bug#9199).
8909         (imenu-add-to-menubar): Don't add a redundant index.
8910         (imenu-update-menubar): Handle a dynamically composed keymap.
8912 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
8914         * mail/sendmail.el (mail-encode-header):
8915         Bind rfc2047-encode-encoded-words to nil.
8917 2012-03-13  Glenn Morris  <rgm@gnu.org>
8919         * calendar/calendar.el (calendar-string-spread):
8920         Handle non-unit-width characters a bit better.  (Bug#10978)
8922 2012-03-13  Leo Liu  <sdl.web@gmail.com>
8924         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
8925         directory and file as argument (Bug#10822).
8927 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
8929         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
8930         For dynamically generated code, follow $PC.
8931         (gdb-disassembly-handler-custom): Handle no function name case.
8933 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
8935         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
8936         * emulation/ws-mode.el (ws-query-replace):
8937         * sort.el (sort-regexp-fields):
8938         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
8940 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8942         * dabbrev.el: Fix cycle completion order (bug#10963).
8943         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
8944         (dabbrev-completion): Don't use an obarray; provide
8945         a cycle-sort-function.
8947 2012-03-12  Leo Liu  <sdl.web@gmail.com>
8949         * simple.el (kill-new): Use equal-including-properties for comparison.
8950         (kill-do-not-save-duplicates): Doc fix.
8952 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8954         * dabbrev.el: Fix cycle completion (bug#10963).
8955         Use lexical binding and wrap to 80 columns.
8956         (dabbrev-completion): Delay computing the list of completions.
8958 2012-03-12  Kenichi Handa  <handa@m17n.org>
8960         * international/quail.el (quail-insert-kbd-layout): Surround each
8961         row by LRO and PDF instead of inserting many LRMs.  Pad the left
8962         and right of each non-spacing marks.  Insert invisible space
8963         between lower and upper characters to prevent composition.
8965 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8967         * minibuffer.el (minibuffer-complete): Don't get confused when the
8968         function is run twice via different commands (bug#10958).
8969         (complete-with-action): Fix docstring.
8971 2012-03-12  Chong Yidong  <cyd@gnu.org>
8973         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
8974         (nxml-completion-at-point-function): New function.
8975         (nxml-mode): Use it.
8976         (nxml-bind-meta-tab-to-complete-flag): Default to t.
8978         * emacs-lisp/package.el (package-unpack, package-unpack-single):
8979         Load generated autoloads file before byte compiling (Bug#10970).
8980         (package--make-autoloads-and-compile): New helper fun.
8982 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
8984         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
8986 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
8988         * autorevert.el (auto-revert-handler): Ensure, that
8989         file-readable-p is applied only for local files or in
8990         auto-revert-tail-mode.
8992 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
8994         * server.el (server-eval-at): Handle non-tcp connections.
8995         Decode result string.
8997         * server.el (server-msg-size): New constant.
8998         (server-reply-print): New function.
8999         (server-eval-and-print): Use it.
9000         (server-eval-at): Use server-quote-arg and server-unquote-arg.
9001         Handle -print-nonl.
9003 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
9005         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9006         (Bug#10987).
9008 2012-03-11  Chong Yidong  <cyd@gnu.org>
9010         * simple.el (goto-line): Doc fix (Bug#9938).
9012         * subr.el (save-window-excursion): Doc fix (Bug#9979).
9014         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9015         when finished (Bug#10963).
9017 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
9019         * window.el (split-window-below): Fix bug in case where
9020         split-window-keep-point is nil (Bug#10971).
9022 2012-03-11  Juri Linkov  <juri@jurta.org>
9024         * replace.el (replace-highlight): Set isearch-word to nil
9025         unconditionally.  (Bug#10887)
9027 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
9029         * net/mairix.el (mairix-replace-invalid-chars): Rename from
9030         mairix-replace-illegal-chars; all callers changed.  Don't remove
9031         ^, ~, and = characters: they are meaningful in mairix search specs.
9032         (mairix-widget-create-query): Add usage information about mairix
9033         search forms: negating words, searching for substrings, etc.
9035 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
9037         * international/fontset.el (font-encoding-alist): Add an entry for
9038         ksx1001 (Bug#5667).
9040 2012-03-10  Richard Stallman  <rms@gnu.org>
9042         * mail/sendmail.el (mail-encode-header):
9043         Set rfc2047-encode-encoded-words.
9045         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9047         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9048         view buffer means not swapped.
9049         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9050         (rmail-write-region-annotate): Error if real text has disappeared.
9052         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9054 2012-03-10  Chong Yidong  <cyd@gnu.org>
9056         * emulation/cua-rect.el (cua--init-rectangles):
9057         * emulation/cua-base.el (cua--init-keymaps):
9058         Add delete-forward-char to remappings (Bug#9666).
9060 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
9062         * speedbar.el (speedbar-unhighlight-one-tag-line):
9063         Avoid unhighlighting due to frame switching (Bug#10275).
9065 2012-03-10  Chong Yidong  <cyd@gnu.org>
9067         * minibuffer.el (completion-in-region, completion-help-at-point):
9068         Give the completion field overlay a high priority (Bug#6830).
9070         * dired.el (dired-goto-file): Recognize absolute file name
9071         listings (Bug#7126).
9072         (dired-goto-file-1): New helper function.
9073         (dired-toggle-read-only): Inhibit warnings.
9075 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
9077         * net/dbus.el (dbus-property-handler): Return empty array if
9078         there are no properties.
9080 2012-03-09  Leo Liu  <sdl.web@gmail.com>
9082         * savehist.el (savehist-printable): Stricter check for string
9083         value (Bug#10937).
9085 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
9087         * mail/smtpmail.el (smtpmail-send-it):
9088         Bind coding-system-for-write to *-unix, so that FCC files are kept in
9089         valid mbox format.
9091 2012-03-09  Glenn Morris  <rgm@gnu.org>
9093         * files.el (dir-locals-find-file):
9094         Don't check result is regular, readable.
9095         (dir-locals-read-from-file): Demote errors.
9097 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
9099         * international/quail.el (quail-insert-kbd-layout):
9100         Insert invisible LRM characters before each character in a keyboard
9101         layout cell, to prevent their reordering by bidi display engine.
9102         For details, see the discussion in
9103         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9105 2012-03-08  Alan Mackenzie  <acm@muc.de>
9107         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9108         the starting position; make it extend the marked region when
9109         invoked repeatedly - all under appropriate circumstances.
9110         Fixes bugs #5525, #10906.
9112 2012-03-08  Glenn Morris  <rgm@gnu.org>
9114         * files.el (locate-dominating-file, dir-locals-find-file):
9115         Undo 2012-03-06 change.
9117 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
9119         * international/quail.el (quail-help):
9120         Force bidi-paragraph-direction be left-to-right.  See discussion in
9121         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9122         for the reason.
9124 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
9126         Avoid superfluous registering of signals.  (Bug#10807)
9128         * notifications.el (notifications-on-action-object)
9129         (notifications-on-close-object): New defvars.
9130         (notifications-on-action-signal, notifications-on-closed-signal):
9131         Unregister the signal if not needed any longer.
9132         (notifications-notify): Register `notifications-action-signal' or
9133         `notifications-closed-signal', if :on-action or :on-close has been
9134         passed as argument.
9136 2012-03-07  Chong Yidong  <cyd@gnu.org>
9138         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9139         non-X platforms.
9141 2012-03-06  Glenn Morris  <rgm@gnu.org>
9143         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9144         (x-disown-selection-internal, x-get-selection-internal):
9145         Doc fix (add arglist signatures).  (Bug#10783)
9147 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
9149         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9150         Handle breakpoints with no "type".
9152 2012-03-06  Glenn Morris  <rgm@gnu.org>
9154         * files.el (locate-dominating-file): Add optional predicate argument.
9155         (dir-locals-find-file): Make use of above change.
9157 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
9159         * info.el (Info-insert-dir): Also try "dir.gz".
9161 2012-03-06  Glenn Morris  <rgm@gnu.org>
9163         * files.el (dir-locals-find-file):
9164         Ignore non-readable or non-regular files.  (Bug#10928)
9166         * files.el (locate-dominating-file): Doc fix.
9168 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
9170         * calendar/calendar.el (calendar-set-mode-line):
9171         `getenv' returns a string.  (Bug#10951)
9173 2012-03-05  Leo Liu  <sdl.web@gmail.com>
9175         * simple.el (backward-delete-char-untabify): Constrain point to
9176         field (Bug#10939).
9178         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9180 2012-03-05  Chong Yidong  <cyd@gnu.org>
9182         * simple.el (count-words): If called from Lisp, return the word
9183         count, for symmetry with `count-lines'.  Arglist changed.
9184         (count-words--message): Args changed.  Consolidate counting code
9185         from count-words and count-words-region.
9186         (count-words-region): Caller changed.
9187         (count-lines-region): Make it an obsolete alias.
9189 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
9191         * saveplace.el (save-place-to-alist)
9192         (save-place-ignore-files-regexp): Allow value nil to disable this
9193         feature.
9195 2012-03-04  Chong Yidong  <cyd@gnu.org>
9197         * faces.el (face-spec-reset-face): For the default face, reset the
9198         attributes to default values (Bug#10748).
9200 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9202         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9203         previous patch: Check `message-send-mail-function', and not the
9204         default function (bug#10897).
9206 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
9208         * notifications.el (notifications-on-action-signal)
9209         (notifications-on-closed-signal): Check for unique service name of
9210         incoming event.  Fix error in removing entry.
9211         (top): Register for signals with wildcard service name.
9212         (notifications-notify): Use daemon unique service name for map entries.
9214 2012-03-04  Chong Yidong  <cyd@gnu.org>
9216         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9218 2012-03-04  Glenn Morris  <rgm@gnu.org>
9220         * abbrev.el (copy-abbrev-table, abbrev-table-p)
9221         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9222         (expand-abbrev, define-abbrev-table): Doc fixes.
9224 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9226         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9227         `message-default-send-mail-function' and not `send-mail-function'
9228         when doing the prompting for `sendmail-query-once' before sending
9229         in Message buffers (bug#10897).
9231         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9232         This is inconsistent with all the other stream functions, which leave
9233         the setting up to the higher levels (if so wanted) (bug#10931).
9235 2012-03-02  Alan Mackenzie  <acm@muc.de>
9237         Depessimize the handling of very large macros.
9239         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9240         (c-macro-cache-syntactic): New variables to implement a one
9241         element macro cache.
9242         (c-invalidate-macro-cache): New function.
9243         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9244         Adapt to use the new cache.
9245         (c-state-safe-place): Use better the cache of safe positions.
9246         (c-state-semi-nonlit-pos-cache)
9247         (c-state-semi-nonlit-pos-cache-limit):
9248         New variables for...
9249         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
9250         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9251         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9252         Use c-state-semi-safe-place.
9254         * progmodes/cc-langs.el (c-get-state-before-change-functions):
9255         Add c-invalidate-macro-cache to the C, C++, Obj entries.
9257 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
9259         * jka-compr.el (jka-compr-call-process):
9260         Apply `file-accessible-directory-p' only when the default directory is
9261         not remote.
9263 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
9265         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
9266         access of FILE2, if FILE1 does not exist.
9268         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9269         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9271         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9272         Add "PAGER=" to `process-environment'.
9274 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
9276         * progmodes/sql.el: Bug fix
9277         (sql-get-login-ext): Save login values in globals.
9278         (sql-get-login): Use new version of `sql-get-login-ext'.
9279         (sql-interactive-mode): Set global `sql-connection' to nil.
9280         (sql-connect): Set global values for connection.
9281         (sql-product-interactive): Save global values as buffer local.
9283 2012-02-29  Leo Liu  <sdl.web@gmail.com>
9285         * abbrev.el (define-abbrevs): Reset sys to nil.
9287 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9289         * files.el (file-equal-p): Rename from `files-equal-p'.
9290         Return nil when one or both files don't exist.
9291         (file-subdir-of-p): Now only top directory must exists,
9292         return nil if it doesn't.
9293         (copy-directory): No need to test with `file-subdir-of-p' after
9294         creating dir.
9295         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9296         to `file-equal-p'.
9298 2012-02-28  Glenn Morris  <rgm@gnu.org>
9300         * shell.el (shell-mode):
9301         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9302         * play/landmark.el (landmark-font-lock-face-O):
9303         * play/handwrite.el (handwrite):
9304         * play/gomoku.el (gomoku-O):
9305         * net/browse-url.el (browse-url-browser-display):
9306         * international/mule.el (define-charset):
9307         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9308         * filesets.el (filesets-find-file-delay):
9309         * eshell/em-xtra.el (eshell-xtra):
9310         * eshell/em-unix.el (eshell-grep):
9311         * emulation/viper.el (viper-mode):
9312         * emacs-lisp/regexp-opt.el (regexp-opt-group):
9313         * emacs-lisp/easymenu.el (easy-menu-define):
9314         * calendar/timeclock.el (timeclock-use-display-time):
9315         * bs.el (bs-mode):
9316         * bookmark.el (bookmark-save-flag):
9317         Doc fix (standardize possessive apostrophe usage).
9319 2012-02-27  Chong Yidong  <cyd@gnu.org>
9321         * emulation/viper-cmd.el (viper-intercept-ESC-key):
9322         Fix key-binding lookup for ESC key (Bug#9146).
9324         * font-lock.el (font-lock-specified-p): Rename from
9325         font-lock-spec-present.  Callers changed.
9327 2012-02-27  Daniel Hackney  <dan@haxney.org>
9329         * emacs-lisp/package.el (package-compute-transaction):
9330         Handle holding a package version to t in package-load-list.
9332 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
9334         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9335         (tramp-get-inode, tramp-get-device): Use cached values.
9337 2012-02-26  Alan Mackenzie  <acm@muc.de>
9339         Check there is a font-lock specification before doing initial
9340         fontification.
9342         * font-core.el (font-lock-mode): Move the conditional from
9343         :after-hook to font-lock-initial-fontify.
9344         (font-lock-default-function): Move the check for a specification
9345         to font-lock-spec-present.
9347         * font-lock.el (font-lock-initial-fontify): Call ...
9348         (font-lock-spec-present): New function.
9350 2012-02-26  Jim Blandy  <jimb@red-bean.com>
9352         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9353         (gdb-send): Apply it to the operand of the '-interpreter-exec
9354         console' command, so that we can pass arguments with (say) quotes
9355         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
9357 2012-02-26  Chong Yidong  <cyd@gnu.org>
9359         * help-fns.el (describe-function-1): Clarify description of
9360         remapping (Bug#10844).
9362         * files.el (files-equal-p): Doc fix.
9363         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
9364         and quit the loop once a mismatch is found.
9366 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
9368         * bs.el (bs--show-with-configuration): Don't throw an error
9369         if the window cannot be split; otherwise, subsequent calls to
9370         bs-show fail, restoring a stale window config.  (Bug#10882)
9372 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
9374         * term/ns-win.el (global-map): Bind ns-drag-file to
9375         ns-find-file (Bug#5855, Bug#10050).
9377 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
9379         * calendar/parse-time.el (parse-time-string): Allow extractor to
9380         return nil.
9382 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
9384         * net/tramp.el (tramp-file-name-for-operation):
9385         Add `files-equal-p' and `file-subdir-of-p'.
9387         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9388         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9389         Add COPY-CONTENTS argument.
9391 2012-02-25  Chong Yidong  <cyd@gnu.org>
9393         Add custom groups for VC backends, for consistency with vc-bzr.
9395         * vc/vc-arch.el (vc-arch):
9396         * vc/vc-cvs.el (vc-cvs):
9397         * vc/vc-git.el (vc-git):
9398         * vc/vc-hg.el (vc-hg):
9399         * vc/vc-mtn.el (vc-mtn):
9400         * vc/vc-rcs.el (vc-rcs):
9401         * vc/vc-sccs.el (vc-sccs):
9402         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9403         All relevant defcustoms reassigned.
9405 2012-02-25  Chong Yidong  <cyd@gnu.org>
9407         * newcomment.el (comment-styles): Add autoload (Bug#10868).
9409         * term/x-win.el (x-initialize-window-system): Reduce default for
9410         x-selection-timeout to 5 seconds (Bug#8869).
9412 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9414         * files.el (files-equal-p, file-subdir-of-p): New functions.
9415         (copy-directory): Error when trying to copy a directory on itself.
9416         Add missing copy-contents arg to tramp handler.
9417         * dired-aux.el (dired-copy-file-recursive): Same.
9418         (dired-create-files): Modify destination when source is equal to
9419         dest when copying files.
9420         Return also when dest is a subdir of source.  (Bug#10489)
9422 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
9424         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9425         (Bug#10874)
9427 2012-02-23  Alan Mackenzie  <acm@muc.de>
9429         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9430         parameter "after-hook:" to allow the expansion to run code after
9431         the execution of the mode hooks.
9433         * font-lock.el (font-lock-initial-fontify): New function extracted
9434         from font-lock-mode-internal.
9436         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9437         :after-hook.
9439 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9441         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9442         (completion--cache-all-sorted-completions): New function.
9443         (completion-all-sorted-completions): Use it.
9444         (completion--do-completion, minibuffer-force-complete):
9445         Use it to re-instate the flush hook.
9447         * icomplete.el (icomplete-completions): Replace last fix with a better
9448         one (bug#10850).
9450 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
9452         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9453         when it might call us back infinitely (bug#10797).
9455 2012-02-23  Glenn Morris  <rgm@gnu.org>
9457         * minibuffer.el (completion-category-overrides): Doc fix.
9459 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9461         * minibuffer.el (completion-table-with-context): Fix inf-loop.
9462         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9464 2012-02-23  Glenn Morris  <rgm@gnu.org>
9466         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9467         (authors-obsolete-files-regexps, authors-ignored-files)
9468         (authors-ambiguous-files, authors-renamed-files-alist):
9469         Add more entries.
9471 2012-02-23  Juri Linkov  <juri@jurta.org>
9473         * isearch.el (isearch-occur): Sync interactive spec with occur's
9474         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
9476         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9478 2012-02-22  Juri Linkov  <juri@jurta.org>
9480         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9481         (ucs-insert): Doc fix.  Check for hex digits in the string.
9482         Don't display `nil' in the error message.  (Bug#10857)
9484 2012-02-22  Alan Mackenzie  <acm@muc.de>
9486         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9488 2012-02-22  Glenn Morris  <rgm@gnu.org>
9490         * ffap.el (ffap-c-path):
9491         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
9493 2012-02-22  Chong Yidong  <cyd@gnu.org>
9495         * custom.el (load-theme): Doc fix.
9497 2012-02-22  Glenn Morris  <rgm@gnu.org>
9499         * dired-x.el (dired-guess-shell-alist-default):
9500         Remove escape sequences from nroff output.  (Bug#172)
9502 2012-02-21  Glenn Morris  <rgm@gnu.org>
9504         * vc/emerge.el (emerge-defvar-local):
9505         Set `permanent-local' property rather than unused `preserved'.
9507         * textmodes/picture.el (picture-delete-char): New alias.
9508         (picture-mode-map): Use it.  (Bug#10860)
9509         (picture-mode): Doc fix.
9511 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
9513         * newcomment.el (uncomment-region-default): Remove unused binding.
9515 2012-02-21  Glenn Morris  <rgm@gnu.org>
9517         * textmodes/picture.el (picture-motion, picture-motion-reverse)
9518         (picture-self-insert, picture-tab-chars): Doc fix.
9519         (picture-mode-map): Fix C-a, C-e.
9521 2012-02-20  Glenn Morris  <rgm@gnu.org>
9523         * emacs-lisp/authors.el (authors-aliases): Add another entry.
9525 2012-02-20  Leo Liu  <sdl.web@gmail.com>
9527         * icomplete.el (icomplete-completions): Check FROM arg before
9528         passing to substring (Bug#10850).
9530 2012-02-19  Chong Yidong  <cyd@gnu.org>
9532         * comint.el: Require ansi-color.
9533         (comint-output-filter-functions): Add ansi-color-process-output.
9535         * ansi-color.el: Don't set comint-output-filter-functions; it is
9536         now in the initial value defined in comint.el.
9537         (ansi-color-apply-face-function): New variable.
9538         (ansi-color-apply-on-region): Use it.
9539         (ansi-color-apply-overlay-face): New function.
9541         * shell.el (shell): No need to require ansi-color.
9542         (shell-mode): Use ansi-color-apply-face-function to highlight
9543         color escapes using font-lock-face property (Bug#10835).
9545 2012-02-19  Chong Yidong  <cyd@gnu.org>
9547         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9548         mode-line formats (Bug#10839).
9550 2012-02-18  Glenn Morris  <rgm@gnu.org>
9552         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9554         * mail/undigest.el (unforward-rmail-message): Doc fix.
9556         * saveplace.el (save-place-ignore-files-regexp): Add :version.
9558 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
9560         * international/characters.el (script-list): Sync with the latest
9561         Unicode Character Database.
9563 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
9565         * international/titdic-cnv.el: Remove duplicate coding tag.
9566         * language/cham.el: Likewise.
9567         * language/tai-viet.el: Likewise.
9569 2012-02-18  Glenn Morris  <rgm@gnu.org>
9571         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9572         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9573         (calendar-bahai-all-holidays-flag, calendar-other-dates):
9574         * calendar/diary-lib.el (diary-abbreviated-year-flag):
9575         * calendar/holidays.el (holiday-bahai-holidays)
9576         (calendar-holidays, list-holidays):
9577         Use utf-8 Bahá'í in doc-strings, menus, etc.
9579 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
9581         * saveplace.el (save-place-ignore-files-regexp): New variable
9582         allowing for excluding files from saving their location of point.
9583         The default value matches the temporary commit message editing
9584         files from Git, SVN, Bazaar, and Mercurial.
9585         (save-place-to-alist): Use it.
9587 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
9588             Stefan Monnier  <monnier@iro.umontreal.ca>
9590         * newcomment.el (uncomment-region-default): Don't leave extra space
9591         when an arg is provided (bug#8150).
9593 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
9595         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9597 2012-02-17  Glenn Morris  <rgm@gnu.org>
9599         * net/socks.el: Require network-stream.  (Bug#10599)
9601 2012-02-17  Kenichi Handa  <handa@m17n.org>
9603         * international/charprop.el:
9604         * international/uni-name.el:
9605         * international/uni-old-name.el:
9606         * international/uni-comment.el: Regenerate.
9608 2012-02-16  Glenn Morris  <rgm@gnu.org>
9610         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9611         Interactively in calendar buffer, give an error if not on a date.
9613 2012-02-15  Glenn Morris  <rgm@gnu.org>
9615         * shell.el (shell-delimiter-argument-list):
9616         Revert 2011-02-17 change.  (Bug#8027)
9618 2012-02-15  Chong Yidong  <cyd@gnu.org>
9620         * minibuffer.el (completion-at-point-functions): Doc fix.
9622         * custom.el (defcustom): Doc fix; note use of defvar.
9624 2012-02-15  Glenn Morris  <rgm@gnu.org>
9626         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9627         Doc fixes.
9629 2012-02-14  Glenn Morris  <rgm@gnu.org>
9631         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9633 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
9635         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9636         way the ports list is computed.
9637         (smtpmail-query-smtp-server): Prompt the user for a port number if
9638         we can't connect to any of the standard ports (bug#10810).
9640 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
9642         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9644 2012-02-13  Glenn Morris  <rgm@gnu.org>
9646         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
9648 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
9650         * net/gnutls.el (gnutls-trustfiles): New variable.
9651         (gnutls-negotiate): Use it.
9653 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
9655         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
9656         does its stuff if Gnus is running.
9658 2012-02-13  Alan Mackenzie  <acm@muc.de>
9660         Fix a loop in c-set-fl-decl-start.
9662         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
9663         c-backward-syntactic-ws actually moves backwards.
9665 2012-02-13  Leo Liu  <sdl.web@gmail.com>
9667         * net/rcirc.el (rcirc-markup-attributes): Move point to the
9668         beginning so that all \C-o chars are removed.
9670 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
9672         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
9674 2012-02-12  Alan Mackenzie  <acm@muc.de>
9676         Fix infinite loop with long macros.
9677         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
9679 2012-02-12  Chong Yidong  <cyd@gnu.org>
9681         * window.el (display-buffer): Doc fix (Bug#10785).
9683 2012-02-12  Glenn Morris  <rgm@gnu.org>
9685         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9686         (x-disown-selection-internal, x-get-selection-internal):
9687         Sync docs with the xselect.c versions.
9689         * allout-widgets.el: Add missing license notice.
9691 2012-02-11  Glenn Morris  <rgm@gnu.org>
9693         * select.el (x-get-selection-internal, x-own-selection-internal)
9694         (x-disown-selection-internal):
9695         * x-dnd.el (x-get-selection-internal): Update declarations.
9697         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
9699         * window.el (window-sides-slots):
9700         * tool-bar.el (tool-bar-position):
9701         * term/xterm.el (xterm-extra-capabilities):
9702         * ses.el (ses-self-reference-early-detection):
9703         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
9704         (verilog-auto-wire-type)
9705         (verilog-auto-delete-trailing-whitespace)
9706         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
9707         (verilog-auto-tieoff-declaration):
9708         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
9709         (sql-oracle-statement-starters, sql-oracle-scan-on):
9710         * progmodes/prolog.el (prolog-align-comments-flag)
9711         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
9712         (prolog-left-indent-regexp, prolog-paren-indent-p)
9713         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
9714         (prolog-types, prolog-mode-specificators)
9715         (prolog-determinism-specificators, prolog-directives)
9716         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
9717         (prolog-electric-dot-flag)
9718         (prolog-electric-dot-full-predicate-template)
9719         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
9720         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
9721         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
9722         (prolog-program-switches, prolog-prompt-regexp)
9723         (prolog-debug-on-string, prolog-debug-off-string)
9724         (prolog-trace-on-string, prolog-trace-off-string)
9725         (prolog-zip-on-string, prolog-zip-off-string)
9726         (prolog-use-standard-consult-compile-method-flag)
9727         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
9728         (prolog-imenu-max-lines, prolog-info-predicate-index)
9729         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
9730         (prolog-char-quote-workaround):
9731         * progmodes/cc-vars.el (c-defun-tactic):
9732         * net/tramp.el (tramp-encoding-command-interactive)
9733         (tramp-local-end-of-line):
9734         * net/soap-client.el (soap-client):
9735         * net/netrc.el (netrc-file):
9736         * net/gnutls.el (gnutls):
9737         * minibuffer.el (completion-category-overrides)
9738         (completion-cycle-threshold)
9739         (completion-pcm-complete-word-inserts-delimiters):
9740         * man.el (Man-name-local-regexp):
9741         * mail/feedmail.el (feedmail-display-full-frame):
9742         * international/characters.el (glyphless-char-display-control):
9743         * eshell/em-ls.el (eshell-ls-date-format):
9744         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
9745         (lisp-lambda-list-keyword-parameter-indentation)
9746         (lisp-lambda-list-keyword-parameter-alignment):
9747         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
9748         * dired-x.el (dired-omit-verbose):
9749         * cus-theme.el (custom-theme-allow-multiple-selections):
9750         * calc/calc.el (calc-highlight-selections-with-faces)
9751         (calc-lu-field-reference, calc-lu-power-reference)
9752         (calc-note-threshold):
9753         * battery.el (battery-mode-line-limit):
9754         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
9755         (archive-7z-update):
9756         * allout.el (allout-prefixed-keybindings)
9757         (allout-unprefixed-keybindings)
9758         (allout-inhibit-auto-fill-on-headline)
9759         (allout-flattened-numbering-abbreviation):
9760         * allout-widgets.el (allout-widgets-auto-activation)
9761         (allout-widgets-icons-dark-subdir)
9762         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
9763         (allout-widgets-theme-dark-background)
9764         (allout-widgets-theme-light-background)
9765         (allout-widgets-item-image-properties-emacs)
9766         (allout-widgets-item-image-properties-xemacs)
9767         (allout-widgets-run-unit-tests-on-load)
9768         (allout-widgets-time-decoration-activity)
9769         (allout-widgets-hook-error-post-time)
9770         (allout-widgets-track-decoration):
9771         Add missing :version tags to new defcustoms and defgroups.
9773         * progmodes/sql.el (sql-ansi-statement-starters)
9774         (sql-oracle-statement-starters): Add custom type.
9776         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
9777         (prolog-system-version): Give it a type.
9779 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
9781         * term/pc-win.el (x-select-text, x-selection-owner-p)
9782         (x-own-selection-internal, x-disown-selection-internal)
9783         (x-get-selection-internal): Sync doc strings and argument lists
9784         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
9786 2012-02-11  Leo Liu  <sdl.web@gmail.com>
9788         * progmodes/python.el (python-end-of-statement): Fix infinite
9789         loop.  (Bug#10788)
9791 2012-02-10  Glenn Morris  <rgm@gnu.org>
9793         * international/mule-cmds.el (unify-8859-on-encoding-mode)
9794         (unify-8859-on-decoding-mode): Properly mark as obsolete.
9796 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
9798         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
9799         about SMTP before checking the From header.
9801         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
9802         into own function for reuse by emacsbug.el.
9804 2012-02-10  Leo Liu  <sdl.web@gmail.com>
9806         * subr.el (condition-case-unless-debug): Rename from
9807         condition-case-no-debug.  All callers changed.
9808         (with-demoted-errors): Fix caller.
9810         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
9811         * nxml/rng-valid.el (rng-do-some-validation):
9812         * emacs-lisp/package.el (package-refresh-contents)
9813         (package-menu-execute):
9814         * desktop.el (desktop-create-buffer):
9815         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
9817 2012-02-10  Glenn Morris  <rgm@gnu.org>
9819         * textmodes/bibtex.el:
9820         Add missing :version tags for new/changed defcustoms.
9822         * files.el (remote-file-name-inhibit-cache): Doc fixes.
9824 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
9826         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
9827         (smtpmail-via-smtp): Use it, or fall back on the From address.
9828         (smtpmail-send-it): Ditto.
9830 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9832         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
9833         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
9834         (byte-compile-tmp-var): New const.
9835         (byte-compile-defvar): Use it to minimize .elc size.
9836         Just use `defvar' rather than simulate it (bug#10761).
9838 2012-02-09  Glenn Morris  <rgm@gnu.org>
9840         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
9842         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
9843         Add :version tags.
9845         * progmodes/compile.el (compilation-error-screen-columns)
9846         (compilation-first-column, compilation-filter-start): Doc fixes.
9848         * vc/log-view.el (log-view-toggle-entry-display):
9849         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
9851         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
9852         (report-emacs-bug-can-use-xdg-email):
9853         (report-emacs-bug-insert-to-mailer): Doc fixes.
9854         (report-emacs-bug): Message fix.
9856         * net/browse-url.el (browse-url-can-use-xdg-open)
9857         (browse-url-xdg-open): Doc fixes.
9859         * electric.el (electric-indent-mode, electric-pair-mode)
9860         (electric-layout-rules, electric-layout-mode): Doc fixes.
9861         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
9863 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
9865         * server.el (server-unselect-display): Don't inadvertently kill
9866         the current buffer.  (Bug#10729)
9868 2012-02-08  Glenn Morris  <rgm@gnu.org>
9870         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
9871         (sql-list-table): Doc fixes.
9873         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
9874         Comment out (does nothing).
9876         * completion.el (dynamic-completion-mode):
9877         * dirtrack.el (dirtrack-debug-mode):
9878         * electric.el (electric-layout-mode):
9879         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
9880         * face-remap.el (text-scale-mode, buffer-face-mode):
9881         * iimage.el (iimage-mode):
9882         * image-mode.el (image-transform-mode):
9883         * minibuffer.el (completion-in-region-mode):
9884         * scroll-lock.el (scroll-lock-mode):
9885         * simple.el (next-error-follow-minor-mode):
9886         * tar-mode.el (tar-subfile-mode):
9887         * tooltip.el (tooltip-mode):
9888         * vcursor.el (vcursor-use-vcursor-map):
9889         * wid-browse.el (widget-minor-mode):
9890         * emulation/tpu-edt.el (tpu-edt-mode):
9891         * emulation/tpu-extras.el (tpu-cursor-free-mode):
9892         * international/iso-ascii.el (iso-ascii-mode):
9893         * language/thai-util.el (thai-word-mode):
9894         * mail/supercite.el (sc-minor-mode):
9895         * net/goto-addr.el (goto-address-mode):
9896         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
9897         * progmodes/cwarn.el (cwarn-mode):
9898         * progmodes/flymake.el (flymake-mode):
9899         * progmodes/glasses.el (glasses-mode):
9900         * progmodes/hideshow.el (hs-minor-mode):
9901         * progmodes/pascal.el (pascal-outline-mode):
9902         * textmodes/enriched.el (enriched-mode):
9903         * vc/smerge-mode.el (smerge-mode):
9904         Doc fixes (minor mode argument).
9906 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
9908         * ls-lisp.el (ls-lisp-sanitize): New function.
9909         (ls-lisp-insert-directory): Use it to fix or remove any elements
9910         in file-alist with missing attributes.  (Bug#4673)
9912 2012-02-07  Alan Mackenzie  <acm@muc.de>
9914         Fix spurious recognition of c-in-knr-argdecl.
9916         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
9917         putative K&R region.
9919 2012-02-07  Alan Mackenzie  <acm@muc.de>
9921         * progmodes/cc-engine.el (c-forward-objc-directive):
9922         Prevent looping in "#pragma mark @implementation".
9924 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
9926         * notifications.el (notifications-on-closed-signal): Make `reason'
9927         optional.  (Bug#10744)
9929 2012-02-07  Glenn Morris  <rgm@gnu.org>
9931         * emacs-lisp/easy-mmode.el (define-minor-mode):
9932         Doc fixes for the macro and the mode it defines.
9934         * image.el (imagemagick-types-inhibit): Doc fix.
9936         * cus-start.el (imagemagick-render-type): Add it.
9938 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
9940         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
9941         Set the default at load time, too, so that `font-lock-fontify-buffer'
9942         can be called without setting up the entire mode first.  This fixes
9943         a bug in `mm-inline-text' with C MIME parts.
9945 2012-02-06  Chong Yidong  <cyd@gnu.org>
9947         * simple.el (list-processes--refresh): Delete exited processes
9948         (Bug#8094).
9950         * comint.el (comint-next-prompt): next-single-char-property-change
9951         and prev-single-char-property-change never return nil (Bug#8657).
9953         * custom.el (defcustom): Doc fix (Bug#9711).
9955 2012-02-05  Chong Yidong  <cyd@gnu.org>
9957         * cus-edit.el (custom-variable-reset-backup): Quote the value
9958         before storing it in the customized-value property (Bug#6712).
9959         (custom-display): Add a customization type tag.
9960         (custom-buffer-create-internal): Improve tooltip message.
9962         * wid-edit.el (widget-field-value-get): New optional arg to
9963         suppress trailing whitespace truncation.
9964         (character): Use it (Bug#2689).
9966 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
9968         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
9969         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
9971 2012-02-05  Chong Yidong  <cyd@gnu.org>
9973         * cus-edit.el (custom-variable-value-create): For mismatched
9974         types, show the current value (Bug#7600).
9976         * custom.el (defcustom): Doc fix.
9978 2012-02-05  Glenn Morris  <rgm@gnu.org>
9980         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
9982 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
9984         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
9985         (pp-buffer): Use `ignore-errors', `looking-at-p'.
9986         (pp-last-sexp): Use `looking-at-p'.
9988 2012-02-04  Glenn Morris  <rgm@gnu.org>
9990         * files.el (revert-buffer):
9991         Doc fix (mention revert-buffer-in-progress-p).
9993         * emacs-lisp/ert-x.el (ert-simulate-command):
9994         Check deferred-action-list (which is obsolete) is bound.
9996         * subr.el (with-wrapper-hook): Doc fixes.
9998         * simple.el (filter-buffer-substring-functions)
9999         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10001 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
10003         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10004         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
10006 2012-02-04  Leo Liu  <sdl.web@gmail.com>
10008         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10010 2012-02-04  Glenn Morris  <rgm@gnu.org>
10012         * image.el (image-extension-data): Add obsolete alias.
10014         * isearch.el (isearch-update): Doc fix.
10016         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10018         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10020 2012-02-03  Glenn Morris  <rgm@gnu.org>
10022         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
10023         (image-animate-timeout): Doc fix.
10025         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10027 2012-02-02  Glenn Morris  <rgm@gnu.org>
10029         * server.el (server-auth-dir): Doc fix.
10030         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
10032         * subr.el (run-mode-hooks): Doc fix.
10034 2012-02-02  Juri Linkov  <juri@jurta.org>
10036         * image-mode.el (image-toggle-display-image): Remove tautological
10037         `major-mode' from the `derived-mode-p' test.
10039 2012-02-02  Kenichi Handa  <handa@m17n.org>
10041         * composite.el (compose-region): Cancel previous change.
10043 2012-02-02  Kenichi Handa  <handa@m17n.org>
10045         * composite.el (compose-region, compose-string): Signal error for
10046         a null string component (Bug#6988).
10048 2012-02-01  Chong Yidong  <cyd@gnu.org>
10050         * view.el (view-buffer-other-window, view-buffer-other-frame):
10051         Handle special modes like view-buffer (Bug#10650).
10052         (view-buffer): Simplify.
10054         * frame.el (set-frame-font): Tweak meaning of third argument.
10056         * dynamic-setting.el (font-setting-change-default-font):
10057         Use set-frame-font (Bug#9982).
10059 2012-02-01  Glenn Morris  <rgm@gnu.org>
10061         * progmodes/compile.el (compilation-internal-error-properties):
10062         Respect compilation-first-column in the "*compilation*" buffer.
10064         * emacs-lisp/easy-mmode.el (define-minor-mode):
10065         Relax :variable's test for a named function.
10067 2012-01-31  Alan Mackenzie  <acm@muc.de>
10069         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10070         off by one error.
10072 2012-01-31  Chong Yidong  <cyd@gnu.org>
10074         * frame.el (set-frame-font): New arg ALL-FRAMES.
10076         * menu-bar.el (menu-set-font): Use set-frame-font.
10078         * faces.el (face-spec-reset-face): Don't apply unspecified
10079         attribute values to the default face.
10081 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
10083         * progmodes/cwarn.el (cwarn): Remove dead link.
10084         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10085         Remove * from defcustom docstrings.
10086         (turn-on-cwarn-mode): Make obsolete.
10087         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10088         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10090 2012-01-31  Glenn Morris  <rgm@gnu.org>
10092         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10093         Fix :variable handling of mode a symbol not equal to modefun.
10094         Allow named functions to be used as the cdr of :variable.
10096 2012-01-30  Glenn Morris  <rgm@gnu.org>
10098         * emacs-lisp/authors.el (authors-fixed-entries):
10099         Remove reference to deleted file rnewspost.el.
10101 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
10103         * window.el (window-with-parameter): Remove unused variable `windows'.
10104         (window--side-check): Remove unused variable `code'.
10105         (window--resize-siblings): Remove unused variable `first'.
10106         (adjust-window-trailing-edge): Remove unused variable `failed'.
10107         (window-deletable-p, window--delete): Remove unused variable `buffer'.
10108         Use `let', not `let*'.
10109         (balance-windows-2): Remove unused variable `found'.
10110         (window--state-put-2): Remove unused variable `splits'.
10111         (window-state-put): Remove unused variable `selected'.
10112         (same-window-p): Use `string-match-p'.
10113         (display-buffer-assq-regexp): Remove unused variable `value'.
10114         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10115         Mark argument ALIST as ignored.
10116         (pop-to-buffer): Remove unused variable `old-window'.
10118 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
10120         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10121         and .lzma compressed files.
10123 2012-01-29  Chong Yidong  <cyd@gnu.org>
10125         * frame.el (window-system-default-frame-alist): Doc fix.
10127         * dynamic-setting.el (font-setting-change-default-font): Don't
10128         change the default face if SET-FONT argument is non-nil (Bug#9982).
10130 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
10132         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10134 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
10136         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10137         breakpoints in files outside current directory (Bug#6098).
10139 2012-01-29  Chong Yidong  <cyd@gnu.org>
10141         * progmodes/python.el: Require ansi-color at top-level.
10143         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10144         Define and use in Emacs Lisp mode (Bug#9360).
10145         (lisp-mode-abbrev-table): Add doc.
10146         (lisp-mode-variables): Don't set local-abbrev-table.
10147         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10149 2012-01-28  Roland Winkler  <winkler@gnu.org>
10151         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10153 2012-01-28  Roland Winkler  <winkler@gnu.org>
10155         * textmodes/bibtex.el (bibtex-entry-alist): New function.
10156         (bibtex-set-dialect): Use it.  Either set global values of
10157         dialect-dependent variables or bind these variables buffer-locally
10158         (Bug#10254).
10159         (bibtex-mode): Call bibtex-set-dialect via
10160         hack-local-variables-hook.
10161         (bibtex-dialect): Update docstring.
10162         Add safe-local-variable predicate.
10163         (bibtex-entry-alist, bibtex-field-alist): Initialize via
10164         bibtex-set-dialect.
10165         (bibtex-mode-map): Define menu for each dialect.
10166         (bibtex-entry): Fix docstring.
10168 2012-01-28  Chong Yidong  <cyd@gnu.org>
10170         * eshell/esh-arg.el (eshell-quote-argument): New function.
10172         * eshell/esh-ext.el (eshell-invoke-batch-file):
10173         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10174         first arg to eshell-parse-command (Bug#10523).
10176 2012-01-28  Drew Adams  <drew.adams@oracle.com>
10178         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10179         `default-directory' is non-nil.
10181 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
10183         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10184         line that displays system-configuration-options.  (Bug#9924)
10186 2012-01-28  Drew Adams  <drew.adams@oracle.com>
10188         * descr-text.el (describe-char): Show information about POS, in
10189         addition to information about the character at POS.  Improve and
10190         update the doc string.  Change "code point" to "code point in
10191         charset", to avoid confusion with the character's Unicode code
10192         point shown above that.  (Bug#10129)
10194 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
10196         * descr-text.el (describe-char): Show the raw character, not only
10197         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
10198         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10199         for the reasons.
10201 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
10203         * emacs-lisp/package.el (package-install):
10204         Run package-refresh-contents if there is no archive yet (Bug#9798).
10206 2012-01-28  Chong Yidong  <cyd@gnu.org>
10208         * emacs-lisp/package.el (package-maybe-load-descriptor):
10209         New function, split from package-maybe-load-descriptor.
10210         (package-maybe-load-descriptor): Use it.
10211         (package-download-transaction): Fully load required packages
10212         inside the loop, so that `require' calls work (Bug#10593).
10213         (package-install): No need to call package-initialize now.
10215 2012-01-28  Chong Yidong  <cyd@gnu.org>
10217         * simple.el (deactivate-mark): Doc fix (Bug#8614).
10219         * tooltip.el (tooltip-mode): Doc fix.
10220         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10222         * frame.el (set-cursor-color): Doc fix (Bug#352).
10224         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10225         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10227         * cus-edit.el (custom-buffer-create-internal): Fix search button
10228         action (Bug#10542).
10229         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10231 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
10233         * dired.el (dired-mark-files-regexp):
10234         Include any subdirectory components.  (Bug#10445)
10236 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
10238         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10239         Handle [host]:port syntax.  (Bug#10533)
10241 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
10243         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10245 2012-01-26  Glenn Morris  <rgm@gnu.org>
10247         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10248         * term.el (term-raw-escape-map): Use Control-X-prefix.
10249         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
10251 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
10253         * window.el (window-state-get, window--state-get-1): Don't deal
10254         with fixed-sizeness of windows.  Simplify code.
10256 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
10258         * window.el (window--state-get-1, window--state-put-2):
10259         Don't save and restore the mark.
10261 2012-01-25  Chong Yidong  <cyd@gnu.org>
10263         * custom.el (custom-variable-p): Doc fix.
10265 2012-01-25  Glenn Morris  <rgm@gnu.org>
10267         * dired.el (dired-goto-file): Handle some of the more common
10268         characters that `ls -b' escapes.  (Bug#10596)
10270         * progmodes/compile.el (compilation-next-error-function):
10271         Respect compilation-first-column in the "*compilation*" buffer.
10272         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
10274         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
10276 2012-01-24  Glenn Morris  <rgm@gnu.org>
10278         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
10280 2012-01-24  Julien Danjou  <julien@danjou.info>
10282         * color.el (color-rgb-to-hsl): Fix value computing.
10283         (color-hue-to-rgb): New function.
10284         (color-hsl-to-rgb): New function.
10285         (color-clamp, color-saturate-hsl, color-saturate-name)
10286         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10287         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10289 2012-01-24  Glenn Morris  <rgm@gnu.org>
10291         * vc/vc-rcs.el (vc-rcs-create-tag):
10292         * vc/vc-sccs.el (vc-sccs-create-tag):
10293         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
10295 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
10297         * eshell/esh-util.el (eshell-read-hosts-file):
10298         Skip comment lines.  (Bug#10549)
10300         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
10302 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
10304         * subr.el (display-delayed-warnings): Doc fix.
10305         (collapse-delayed-warnings): New function to collapse identical
10306         adjacent warnings.
10307         (delayed-warnings-hook): Add it.
10309 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
10311         * net/tramp.el (tramp-action-login): Set connection property "login-as".
10313         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10314         (tramp-default-user-alist): Don't add "pscp".
10315         (tramp-do-copy-or-rename-file-out-of-band): Use connection
10316         property "login-as", if set.  (Bug#10530)
10318 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
10320         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10321         "plink1" and "psftp".  (Bug#10530)
10323 2012-01-21  Kenichi Handa  <handa@m17n.org>
10325         * international/mule-cmds.el (prefer-coding-system): Show a
10326         warning message if the default value of file-name-coding-system
10327         was not changed.
10329 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
10331         * windmove.el (windmove-reference-loc):
10332         Fix windmove-reference-loc miscalculation.
10334 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
10336         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10337         default unit.
10339 2012-01-21  Glenn Morris  <rgm@gnu.org>
10341         * international/mule.el (auto-coding-alist): Add .tbz.
10343         * files.el (local-enable-local-variables): Doc fix.
10344         (inhibit-local-variables-regexps): Rename from
10345         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
10346         Doc fix.  Add some extensions from auto-coding-alist.
10347         (inhibit-local-variables-suffixes):
10348         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
10349         (inhibit-local-variables-p):
10350         New function, extracted from set-auto-mode-1.
10351         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
10352         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
10353         (hack-local-variables): Doc fix.  Make the mode-only case
10354         respect enable-local-variables and friends.
10355         Respect inhibit-local-variables-regexps for file-locals, but
10356         not for directory-locals.
10357         (set-visited-file-name):
10358         Take account of inhibit-local-variables-regexps.
10359         Whether it applies may change as the file name is changed.
10360         * jka-cmpr-hook.el (jka-compr-install):
10361         * jka-compr.el (jka-compr-uninstall):
10362         Update for inhibit-first-line-modes-suffixes name change.
10364 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
10366         * help-macro.el (make-help-screen): Temporarily restore original
10367         binding for minor-mode-map-alist (Bug#10454).
10369 2012-01-19  Julien Danjou  <julien@danjou.info>
10371         * color.el (color-name-to-rgb): Use the white color to find the max
10372         color component value and return correctly computed values.
10373         (color-name-to-rgb): Add missing float conversion for max value.
10375 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
10377         * window.el (window--state-get-1, window-state-get): Do not use
10378         special state value for window-persistent-parameters.
10379         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
10380         (window--state-put-2): Reset all window parameters to nil before
10381         assigning values of persistent parameters.
10383 2012-01-18  Alan Mackenzie  <acm@muc.de>
10385         Eliminate sluggishness and hangs in fontification of "semicolon
10386         deserts".
10388         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10389         Change value 10000 -> 3000.
10390         (c-state-safe-place): Reformulate so it doesn't stack up an
10391         infinite number of wrong entries in c-state-nonlit-pos-cache.
10392         (c-determine-limit-get-base, c-determine-limit): New functions to
10393         determine backward search limits disregarding literals.
10394         (c-find-decl-spots): Amend commenting.
10395         (c-cheap-inside-bracelist-p): New function which detects "={".
10397         * progmodes/cc-fonts.el
10398         (c-make-font-lock-BO-decl-search-function): Give a limit to a
10399         backward search.
10400         (c-font-lock-declarations): Fix an occurrence of point being
10401         undefined.  Check additionally for point being in a bracelist or
10402         near a macro invocation without a semicolon so as to avoid a
10403         fruitless time consuming search for a declarator.  Give a more
10404         precise search limit for declarators using the new
10405         c-determine-limit.
10407 2012-01-18  Glenn Morris  <rgm@gnu.org>
10409         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10410         (set-auto-mode): Doc fixes.
10412 2012-01-17  Glenn Morris  <rgm@gnu.org>
10414         * isearch.el (search-nonincremental-instead): Fix doc typo.
10416         * dired.el (dired-insert-directory): Handle newlines in directory name.
10417         (dired-build-subdir-alist): Unescape newlines in directory name.
10419 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
10421         * net/tramp.el (tramp-local-end-of-line): New defcustom.
10422         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10423         (tramp-action-terminal): Use it.  (Bug#10530)
10425 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10427         * minibuffer.el (completion--replace): Strip properties (bug#10062).
10429 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
10431         * window.el (window-state-ignored-parameters): Remove variable.
10432         (window--state-get-1): Rename argument MARKERS to IGNORE.
10433         Handle persistent window parameters.  Make copy of clone-of
10434         parameter only if requested.  (Bug#10348)
10435         (window--state-put-2): Install a window parameter only if it has
10436         a non-nil value or an existing parameter shall be overwritten.
10438 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
10440         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10442 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
10444         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10445         don't pass the (nil) value of `upnode' to string-match.
10447 2012-01-14  Chong Yidong  <cyd@gnu.org>
10449         * startup.el (command-line): Fix X resource class for cursorColor.
10450         Fix values recognized by the cursorBlink resource.
10452 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
10454         * epg.el (epg--make-temp-file): Avoid permission race condition
10455         when running on old Emacs versions (bug#10403).
10457 2012-01-14  Glenn Morris  <rgm@gnu.org>
10459         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10461 2012-01-13  Alan Mackenzie  <acm@muc.de>
10463         Fix filling for when filladapt mode is enabled.
10465         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10466         c-mask-paragraph, pass in `fill-paragraph' rather than
10467         `fill-region-as-paragraph'.  (This is a reversion of a previous
10468         change.)
10469         * progmodes/cc-mode.el (c-basic-common-init):
10470         Make fill-paragraph-handle-comment buffer local and set it to nil.
10472 2012-01-13  Glenn Morris  <rgm@gnu.org>
10474         * dired.el (dired-switches-escape-p): New function.
10475         (dired-insert-directory): Use dired-switches-escape-p.
10476         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
10478         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
10480 2012-01-12  Glenn Morris  <rgm@gnu.org>
10482         * mail/sendmail.el (mail-mode): Update paragraph-separate for
10483         changes in adaptive-fill-regexp.  (Bug#10276)
10485 2012-01-11  Alan Mackenzie  <acm@muc.de>
10487         Fix Emacs bug #10463 - put `widen's around the critical spots.
10489         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10490         widen around each invocation of c-state-pp-to-literal.  Remove an
10491         unused let variable.
10493 2012-01-11  Glenn Morris  <rgm@gnu.org>
10495         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
10496         Doc fix.
10498 2012-01-10  Chong Yidong  <cyd@gnu.org>
10500         * net/network-stream.el (network-stream-open-starttls):
10501         Avoid emitting a confusing error message when the server gives a bad
10502         response to the capability command.
10504 2012-01-10  Glenn Morris  <rgm@gnu.org>
10506         * mail/unrmail.el (unrmail): Tweak previous change.
10508 2012-01-09  Chong Yidong  <cyd@gnu.org>
10510         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10512 2012-01-08  Alan Mackenzie  <acm@muc.de>
10514         Optimise font locking in long enum definitions.
10516         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10517         arm to a cond form to handle enums.
10518         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10519         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10521 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
10523         * files.el (move-file-to-trash): Preserve default file modes on error.
10524         (Bug#10401)
10526 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10528         * faces.el (set-face-attribute): Clarify the meaning of the nil
10529         frame (bug#10294).
10531         * subr.el (with-selected-frame): Mention that the selected frame
10532         is restored (bug#9980).
10534         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10535         (bug#9759).
10537         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10538         (password-read): Don't autoload unused function.
10540 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
10542         * progmodes/which-func.el (which-func-mode): Turn into a
10543         non-interactive function and mark as obsolete (bug#10428).
10545 2012-01-06  Chong Yidong  <cyd@gnu.org>
10547         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10548         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10549         functions, along with 1 and -1.
10551 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
10553         * time.el (display-time-load-average)
10554         (display-time-default-load-average): Doc fixes.  See the thread
10555         starting at
10556         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10557         for the details.
10559 2012-01-06  Glenn Morris  <rgm@gnu.org>
10561         * mail/unrmail.el (unrmail): Give an explicit error if the input file
10562         has no messages.  (Bug#10377)
10564         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10565         than Info-edit.  (Bug#10385)
10567         * time.el (display-time-load-average, display-time-next-load-average):
10568         Doc fixes.
10570         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10571         local setting of buffer-read-only to the input buffer.  (Bug#10419)
10573         * calendar/calendar.el (calendar-mode):
10574         Locally set scroll-margin to 0.  (Bug#10379)
10576 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
10578         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
10580 2012-01-05  Glenn Morris  <rgm@gnu.org>
10582         * eshell/em-unix.el (diff-no-select): Autoload it.
10583         (eshell/diff): Use diff-no-select.  (Bug#10420)
10585 2012-01-05  Chong Yidong  <cyd@gnu.org>
10587         * shell.el (shell-dynamic-complete-functions): Revert last change.
10588         (shell-command-completion-function): New function.
10589         (shell-completion-vars): Use it to implement
10590         shell-completion-execonly (Bug#10417).
10592         * custom.el (enable-theme): Don't set custom-safe-themes.
10594         * cus-theme.el (custom-theme-merge-theme):
10595         Ignore custom-enabled-themes and custom-safe-themes.
10597 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
10599         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10600         first prompt in `sql-interacive-mode'.
10601         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10602         keywords.
10603         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10604         (sql-product-interactive): Bug fix: Set `sql-buffer' in
10605         context of original buffer.  Invoke `sql-login-hook'.
10607 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
10609         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10610         letters in cite-prefix.
10612 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10614         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10616 2012-01-03  Chong Yidong  <cyd@gnu.org>
10618         * shell.el (shell-dynamic-complete-functions):
10619         Put pcomplete-completions-at-point, so as to try
10620         comint-filename-completion first (Bug#10417).
10622 2012-01-02  Richard Stallman  <rms@gnu.org>
10624         * battery.el (battery-status-function):
10625         Detect when to use battery-yeeloong-sysfs.
10626         (battery-echo-area-format): Add string for Yeeloong.
10627         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10628         (battery-yeeloong-sysfs): New function.
10630 2012-01-02  Chong Yidong  <cyd@gnu.org>
10632         * dirtrack.el (dirtrack-list): Eliminate unused third element.
10633         (dirtrack): Merge code for handling relative filenames in prompt
10634         from shell-dir-cookie-watcher.
10635         (dirtrack-debug-message): New arg to avoid excess format calls.
10637         * shell.el (shell-dir-cookie-re): Variable deleted.
10638         (shell-dir-cookie-watcher): Function deleted.
10639         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10640         with dirtrack-mode.
10642 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
10644         * term/w32-win.el (dynamic-library-alist) <gnutls>:
10645         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10646         libgnutls-26.dll.
10648 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
10650         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
10652 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
10654         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
10655         headers of non-MIME messages, when rmail-enable-mime is non-nil.
10657 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
10659         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
10660         also for alternative shells.
10661         (tramp-open-connection-setup-interactive-shell): Check, whether
10662         the shell is a busybox.
10663         (tramp-send-command): Don't suppress multiple prompts for
10664         busyboxes, it hurts.
10666 2011-12-28  Chong Yidong  <cyd@gnu.org>
10668         * progmodes/gdb-mi.el (gdb-get-source-file-list)
10669         (gdb-get-source-file): Move mode line update to
10670         gdb-get-source-file (Bug#10087).
10672 2011-12-25  Chong Yidong  <cyd@gnu.org>
10674         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
10675         gud-gdb-marker-filter without taking it as an argument.
10676         (gud-gdb-run-command-fetch-lines): Caller changed.
10677         (gud-gdb-completion-function): New variable.
10678         (gud-gdb-completion-at-point): Use it.
10679         (gud-gdb-completions-1): Split from gud-gdb-completions.
10681         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
10682         function as separate arguments.
10683         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
10684         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
10685         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
10686         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
10687         (gdb-stopped, def-gdb-auto-update-trigger)
10688         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
10689         (gdb-get-changed-registers, gdb-get-main-selected-frame):
10690         Callers changed.
10691         (gud-gdbmi-completions): New function.
10692         (gdb): Use it for generating the completion table.
10694 2011-12-24  Alan Mackenzie  <acm@muc.de>
10696         Introduce a mechanism to widen the region used in context font
10697         locking.  Use this to protect declarations from losing their contexts.
10699         * progmodes/cc-langs.el (c-before-font-lock-functions):
10700         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
10701         (c-before-context-fontification-functions): New defvar, a list of
10702         functions to be run just before context (etc.) font locking.
10704         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
10705         New, functionality extracted from
10706         c-neutralize-syntax-in-and-mark-CPP.
10707         (c-in-after-change-fontification): New variable.
10708         (c-after-change): Set c-in-after-change-fontification.
10709         (c-set-fl-decl-start): Rejig its interface, so it can be called
10710         from both after-change and context fontifying.
10711         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
10712         New functions.
10713         (c-standard-font-lock-fontify-region-function): New variable.
10714         (c-font-lock-fontify-region): New function.
10716 2011-12-24  Juri Linkov  <juri@jurta.org>
10718         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
10719         (Bug#10348)
10721 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
10723         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
10724         existence of source file.  (Bug#10325)
10726 2011-12-23  Alan Mackenzie  <acm@muc.de>
10728         Fix unstable fontification inside templates.
10730         * progmodes/cc-langs.el (c-before-font-lock-functions):
10731         Newly created from the singular version.  The (c c++ objc) entry now
10732         additionally has c-set-fl-decl-start.  The other languages (apart
10733         from AWK) have that as a single entry.
10735         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10736         The functionality for "local" declarations has been extracted to
10737         c-set-fl-decl-start.
10739         * progmodes/cc-mode.el (c-common-init, c-after-change):
10740         Changes due to pluralisation of c-before-font-lock-functions.
10741         (c-set-fl-decl-start): New function, extracted from
10742         c-font-lock-enclosing-decls and enhanced.
10744 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
10746         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
10748 2011-12-22  Juri Linkov  <juri@jurta.org>
10750         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
10752 2011-12-22  Chong Yidong  <cyd@gnu.org>
10754         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
10756 2011-12-21  Drew Adams  <drew.adams@oracle.com>
10758         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
10760 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
10762         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
10764 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
10766         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
10767         highlighting and support.  Fix up comments for capitalization.
10768         (cfengine-mode-debug): New var.
10769         (cfengine3-mode): Change the modeline indicator to "CFE3".
10770         (cfengine3-font-lock-keywords): Improve defun highlighting.
10771         (cfengine2-actions): Rename from `cfengine-actions'.
10772         (cfengine2-font-lock-keywords): Rename from
10773         `cfengine-font-lock-keywords'.
10774         (cfengine2-imenu-expression): Rename from
10775         `cfengine-imenu-expression'.
10776         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
10777         (cfengine2-beginning-of-defun): Rename from
10778         `cfengine-beginning-of-defun'.
10779         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
10780         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
10781         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
10782         modeline indicator to "CFE2".
10783         (cfengine-mode): Defalias to `cfengine-auto-mode'.
10784         (cfengine-mode-abbrevs): Mark obsolete.
10786 2011-12-21  Chong Yidong  <cyd@gnu.org>
10788         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
10789         filename argument.
10791 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
10793         * window.el (window-normalize-buffer-to-display): Remove.
10794         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
10796 2011-12-19  Chong Yidong  <cyd@gnu.org>
10798         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
10799         Don't signal an error in a predicate function; return non-nil.
10800         (vc-dir-mark-file): Move the error here.
10801         (vc-dir-mark-unmark): If acting on the region, keep going if one
10802         of the entries cannot be marked/unmarked.
10803         (vc-dir-mark-all-files): If current entry is a directory, mark
10804         only child files, as documented.
10806 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10808         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
10809         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
10810         addition.
10812 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
10814         * term/ns-win.el (ns-get-selection-internal)
10815         (ns-store-selection-internal): Declare.
10816         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
10817         Declare as obsolete.
10818         (ns-get-pasteboard, ns-paste-secondary):
10819         Use ns-get-selection-internal.
10820         (ns-set-pasteboard, ns-copy-including-secondary):
10821         Use ns-store-selection-internal.
10823 2011-12-17  Chong Yidong  <cyd@gnu.org>
10825         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
10826         (vc-deduce-fileset): Doc fix.
10828 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
10830         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
10832 2011-12-13  Sam Steingold  <sds@gnu.org>
10834         * man.el (Man-getpage-in-background): When running under a
10835         window-system, ignore $MANWIDTH and $COLUMNS.
10837 2011-12-15  Kenichi Handa  <handa@m17n.org>
10839         * language/ethio-util.el: Change coding tag to utf-8-emacs.
10840         (setup-ethiopic-environment-internal): Comment out key-binding for
10841         ethio-toggle-punctuation.
10843 2011-12-13  Alan Mackenzie  <acm@muc.de>
10845         Add the switch statement to AWK Mode.
10847         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
10848         "default" to the keywords regexp.
10850         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
10851         expression as the rest.
10852         (c-nonlabel-token-key): Allow string literals for AWK.
10853         Refactor for the other modes.
10855         Large brace-block initialisation makes CC Mode slow: Fix.
10856         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
10857         routines.  Limit backward searching in c-font-lock-enclosing.decl.
10859         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
10860         pp-state and literal type in addition to the limits.
10861         (c-state-safe-place): New defun, extracted from c-state-literal-at.
10862         (c-state-literal-at): Use the above new defun.
10863         (c-slow-in-literal, c-fast-in-literal): Remove.
10864         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
10866         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
10867         being in a literal.  Add a limit for backward searching.
10869         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
10870         c-slow-in-literal.
10872 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10874         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
10876 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
10878         * window.el (delete-other-windows): Use correct frame in call to
10879         window-with-parameter.
10881 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
10883         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
10884         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
10885         (makefile-gmake-statements, makefile-makepp-statements):
10886         Use it and add new makepp keywords.
10887         (makefile-makepp-font-lock-keywords): Add new patterns.
10888         (makefile-match-function-end): Match new [...] and [[...]].
10890 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
10892         * ses.el (ses-call-printer-return, ses-cell-property-get)
10893         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
10894         (ses-create-cell-variable, ses-reset-header-string)
10895         (ses-cell-set-formula, ses-repair-cell-reference-all)
10896         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
10897         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
10898         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
10899         (ses-aset-with-undo, ses-load, ses-truncate-cell)
10900         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
10901         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
10902         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
10903         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
10904         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
10905         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
10906         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
10907         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
10909 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
10911         * ses.el: The overall change is to add cell renaming, that is
10912         setting fancy names for cell symbols other than name matching
10913         "\\`[A-Z]+[0-9]+\\'" regexp .
10914         (ses-create-cell-variable): New defun.
10915         (ses-relocate-formula): Relocate formulas only for cells the
10916         symbols of which are not renamed, i.e. symbols whose names do not
10917         match regexp "\\`[A-Z]+[0-9]+\\'".
10918         (ses-relocate-all): Relocate values only for cells the symbols of
10919         which are not renamed.
10920         (ses-load): Create cells variables as the (ses-cell ...) are read,
10921         in order to check row col consistency with cell symbol name only
10922         for cells that are not renamed.
10923         (ses-replace-name-in-formula): New defun.
10924         (ses-rename-cell): New defun.
10926 2011-12-11  Chong Yidong  <cyd@gnu.org>
10928         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
10929         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
10931 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
10933         * window.el (other-window): Fix docstring.
10935 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
10937         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
10938         `from' or `to' address before taking its substring.
10939         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
10940         encoded name is chopped in the middle of the encoded string, and
10941         thus displayed encoded.
10943 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
10945         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
10947 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
10949         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
10950         to use texinfo-update-node and commands that call it if the
10951         Texinfo file uses @node lines without next/prev/up pointers.
10952         Correct outdated description about texinfo-master-menu.
10953         (texinfo-all-menus-update, texinfo-master-menu)
10954         (texinfo-update-node, texinfo-every-node-update)
10955         (texinfo-multiple-files-update): Doc fix.  Warn against updating
10956         all the @node lines.
10957         (texinfo-master-menu): Only call texinfo-update-node if the prefix
10958         argument is numeric.  Explain better in the doc string what the
10959         function really does.
10960         (texinfo-insert-master-menu-list): Improve the error message
10961         displayed if there's no menu in the Top node.
10962         (Bug#2975)  See also this thread:
10963         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
10965 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
10967         * speedbar.el (speedbar-supported-extension-expressions):
10968         Add .adb and .ads, commonly used for Ada source code (bug#10256).
10970 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
10972         * printing.el (pr-mode-alist):
10973         * simple.el (filter-buffer-substring-functions)
10974         (completion-list-insert-choice-function):
10975         * window.el (window-with-parameter, window-atom-root)
10976         (window-sides-slots, window-size-fixed, window-min-delta)
10977         (window-max-delta, window--resize-mini-window)
10978         (window--resize-child-windows-normal, window-tree)
10979         (delete-other-windows, quit-window, split-window)
10980         (display-buffer-record-window, special-display-buffer-names)
10981         (special-display-regexps, special-display-popup-frame)
10982         (same-window-p, split-window-sensibly)
10983         (display-buffer-overriding-action, display-buffer-alist)
10984         (display-buffer-base-action, display-buffer, switch-to-buffer)
10985         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
10986         (fit-window-to-buffer, recenter-positions)
10987         (mouse-autoselect-window-state, mouse-autoselect-window-select):
10988         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
10989         and remove unneeded backslashes in docstrings.
10991 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10993         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
10995         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
10996         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
10997         end in ".mk".
10998         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
10999         when reading the makefile (bug#10116).
11001 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11003         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11004         (bug#10116).
11006 2011-12-06  Glenn Morris  <rgm@gnu.org>
11008         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11010 2011-12-06  Chong Yidong  <cyd@gnu.org>
11012         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11014 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
11016         * textmodes/table.el (table-shorten-cell): Fix typo.
11018 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
11020         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11022 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
11024         * descr-text.el (describe-char): Fix display of strong
11025         right-to-left characters and directional embeddings and overrides.
11027         * simple.el (what-cursor-position): Fix display of codepoints of
11028         strong right-to-left characters.
11030 2011-12-05  Chong Yidong  <cyd@gnu.org>
11032         * faces.el (read-color): Doc fix.
11034 2011-12-05  Glenn Morris  <rgm@gnu.org>
11036         * align.el (align--set-marker): Add doc-string.
11037         Don't try to move something that is not a marker.  (Bug#10216)
11039 2011-12-04  Glenn Morris  <rgm@gnu.org>
11041         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11042         overly zealous deletion of trailing whitespace.
11044 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
11046         * server.el (server-delete-client): On Windows, do not try to delete
11047         the only terminal.
11048         (server-process-filter): On Windows, treat requests for a tty frame as
11049         if they were for a GUI frame if the running server is in GUI mode.
11051 2011-12-03  Glenn Morris  <rgm@gnu.org>
11053         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
11055 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11057         * electric.el: Streamline electric-indent's hook.
11058         (electric-indent-chars): Revert to simple list.
11059         (electric-indent-functions): New var.
11060         (electric-indent-post-self-insert-function): Use it.
11062         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11063         there's no inferior buffer (bug#10196).
11064         (prolog-consult-compile): Don't use toggle-read-only.
11066 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
11068         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11069         interrupt.  (Bug#10187)
11071 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11073         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11074         (bug#9160).
11076         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11077         (bug#10191).
11079 2011-12-02  Juri Linkov  <juri@jurta.org>
11081         * info.el (Info-search): Display "end of manual" when Isearch
11082         reaches the end of single-file Info manual.  (Bug#9918)
11084 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
11086         * isearch.el (isearch-message-prefix): Run the input method part
11087         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
11089 2011-12-02  Juri Linkov  <juri@jurta.org>
11091         * isearch.el (isearch-occur): Use `word-search-regexp' for
11092         `isearch-word'.
11093         (isearch-search-and-update): Add condition for `isearch-word' and
11094         call `word-search-regexp'.  (Bug#10145)
11096 2011-12-01  Glenn Morris  <rgm@gnu.org>
11098         * eshell/em-hist.el (eshell-hist-initialize):
11099         Handle eshell-history-size nil and HISTSIZE set or unset.
11100         (eshell-history-file-name, eshell-history-size): Fix custom type.
11102 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11104         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11106 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
11108         * progmodes/verilog-mode.el (verilog-pretty-expr):
11109         Rework verilog-pretty-expr to handle new assignment operators in system
11110         verilog, such as += *= and the like.
11111         (verilog-assignment-operator-re): Regular expression to find the
11112         assigment operator in a verilog assignment.
11113         (verilog-assignment-operation-re): Regular expression to find an
11114         assignment statement for pretty-expr.
11115         (verilog-in-attribute-p): Query returns true if point is in an
11116         attribute context; used to skip these for expression line up from
11117         pretty-expr.
11118         (verilog-in-parameter-p): Query returns true if point is in an
11119         parameter definition context; used to skip these for expression
11120         line up from pretty-expr.
11121         (verilog-in-parenthesis-p): Query returns true if point is in a
11122         parenthetical expression, specifically ( ) but not [ ] or { };
11123         used by pretty-expr.
11124         (verilog-just-one-space): If there is no space, don't add one.
11125         (verilog-get-lineup-indent-2): Specifically skip just attribute
11126         contexts for expression lineup, rather than skipping all
11127         parenthetical expressions.
11128         (verilog-calculate-indent): Fix comment, and fix indent.
11129         (verilog-do-indent): Indent declarations in lists (suggested by
11130         Joachim Lechner).
11131         (verilog-mode-abbrev-table): Populate abbrev mode with the various
11132         skeleton items.
11133         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11134         by Alain Mellan).
11136 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
11138         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11139         parameters with embedded comments.  Reported by Ray Stevens.
11140         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11141         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11142         Reported by Tim Holt.
11143         (verilog-auto): Fix AUTOing a upper module then AUTOing module
11144         instantiated by upper module causing wrong expansion until AUTOed a
11145         second time.  Reported by K C Buckenmaier.
11146         (verilog-diff-auto): Fix showing .* as a difference when
11147         `verilog-auto-star-save' off.  Reported by Dan Dever.
11148         (verilog-auto-reset, verilog-read-always-signals)
11149         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11150         temporary signals in reset list if
11151         verilog-auto-reset-blocking-in-non is nil, and match assignment
11152         style to each signal's assignment type, bug381.
11153         Reported by Thomas Esposito.
11154         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11155         (verilog-uvm-statement-re): Support UVM indentation and
11156         highlighting, with old OVM keywords only.
11157         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11158         Support AUTOTIEOFF creating non-wire data types.
11159         Suggested by Jonathan Greenlaw.
11160         (verilog-auto-insert-lisp, verilog-delete-to-paren)
11161         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11162         (verilog-inject-sense, verilog-read-inst-pins)
11163         (verilog-read-sub-decls, verilog-read-sub-decls-line):
11164         Fix mismatching parenthesis inside commented out code when deleting
11165         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
11166         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11167         non-numeric vector width.  Reported by Alex Reed.
11168         (verilog-auto-ascii-enum): Add "onehot" option to work around not
11169         detecting signals with parameter widths.  Reported by Alex Reed.
11170         (verilog-auto-delete-trailing-whitespace):
11171         With `verilog-auto-delete-trailing-whitespace' remove trailing
11172         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
11173         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11174         Fix verilog-scan-cache corruption when running user AUTO expansion
11175         hooks that call indentation routines.
11176         (verilog-simplify-range-expression): Fix typo ignoring lower case
11177         identifiers.
11178         (verilog-delete-auto): Fix delete-autos to also remove user created
11179         automatics, as long as they start with AUTO.
11180         (verilog-batch-diff-auto, verilog-diff-auto)
11181         (verilog-diff-function): Add `verilog-diff-auto' and bind to
11182         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
11183         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11184         (verilog-in-paren-quick, verilog-re-search-backward-quick)
11185         (verilog-re-search-forward-quick, verilog-syntax-ppss):
11186         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11187         is disabled and its cache will get corrupt, causing AUTOS not to
11188         expand.  Instead use only -quick functions.
11189         (verilog-scan-region): Fix scanning over escaped quotes.
11190         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11191         (verilog-re-search-backward-quick)
11192         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11193         related functions now ignore strings, to fix misparsing of strings
11194         with magic comments embedded in them.
11195         (verilog-read-auto-template):
11196         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11197         Reported by Brad Dobbie.
11198         (verilog-read-auto-template):
11199         Fix 'verilog-auto-inst-template-numbers' with comments.
11200         Reported by Brad Dobbie.
11201         (verilog-auto-inst, verilog-auto-inst-param)
11202         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11203         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
11204         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11205         debugging templates without merge conflicts, bug357.
11206         Reported by Brad Dobbie.
11207         (verilog-read-auto-template):
11208         Fix verilog-auto-inst-template-numbers with multiple templates.
11209         Reported by Brad Dobbie.
11210         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11211         abbrevs so user won't be asked to save.
11212         (verilog-read-auto-lisp-present): Fix to start at beginning of
11213         buffer in case called outside of verilog-auto.
11214         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11215         to "X-2".  Reported by Matthew Myers.
11216         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11217         all inputs from module templates.  Reported by Leith Johnson.
11218         (verilog-module-inside-filename-p): Fix locating programs as with
11219         modules.
11220         (verilog-auto-inst-port): Fix vl-width expressions when using
11221         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
11222         (verilog-decls-get-regs, verilog-decls-get-signals,
11223         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11224         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11225         verilog-read-decls): Combine reg and wire structures into one var
11226         structure to represent SystemVerilog concepts.
11227         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11228         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11229         (verilog-auto-wire-type, verilog-insert-definition):
11230         Add verilog-auto-wire-type and AUTOLOGIC to support using
11231         SystemVerilog "logic" keyword instead of "wire"/"reg".
11232         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11233         to declares outputs that also have assignments (presumably in an
11234         ifdef or generate if so there's not a driver conflict).
11235         Reported by Matthew Myers.
11236         (verilog-auto-declare-nettype, verilog-insert-definition):
11237         Add verilog-auto-declare-nettype to fix declarations using
11238         `default_nettype none.  Reported by Julian Gorfajn.
11239         (verilog-read-always-signals-recurse, verilog-read-decls)
11240         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11241         malformed end statement, bug325.  Reported by Joshua Wise and
11242         Andrew Drake.
11243         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11244         (verilog-inst-comment-re): Fix not deleting Interfaced comment
11245         when expanding .* in interfaces, bug320.
11246         Reported by Pierre-David Pfister.
11247         (verilog-read-module-name): Fix import statements between module
11248         name and open parenthesis, bug317.
11249         Reported by Pierre-David Pfister.
11250         (verilog-simplify-range-expression): Fix simplification of
11251         multiplications inside AUTOWIRE connections, bug303.
11252         (verilog-auto-inst-port): Support parameter expansion in
11253         multidimensional arrays.
11254         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11255         after "assert property".  Reported by Julian Gorfajn.
11256         (verilog-simplify-range-expression): Fix "couldn't merge" errors
11257         with multiplication, bug303.
11258         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11259         Reported by Jan Frode Lonnum.
11261 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
11263         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11264         (hfy-shell-file-name, hfy-shell):
11265         * international/fontset.el (x-decompose-font-name): Fix typos.
11267 2011-11-29  Ken Brown  <kbrown@cornell.edu>
11269         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11270         (gdb-version): Remove defvar.
11271         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11272         (gdb-gud-context-command, gdb-non-stop-handler)
11273         (gdb-current-context-command, gdb-stopped): Use it.
11274         (gdb-init-1): Enable pretty printing here.
11275         (gdb-non-stop-handler): Don't enable pretty-printing here.
11276         Check to see if the target supports non-stop mode; if not, turn off
11277         non-stop mode.  Use the following.
11278         (gdb-check-target-async): New defun.
11279         (gud-watch, gdb-stopped): Fix whitespace.
11280         (gdb-get-source-file): Don't try to display the source file if
11281         `gdb-main-file' is nil.
11283 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11285         * align.el: Try to generate fewer markers (bug#10047).
11286         (align--set-marker): New macro.
11287         (align-region): Use it.
11289 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11291         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11293 2011-11-29  Chong Yidong  <cyd@gnu.org>
11295         * indent.el (indent-for-tab-command, indent-according-to-mode):
11296         Doc fix.
11297         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
11299 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
11301         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11302         aware of remote file names.  (Bug#10124)
11304 2011-11-29  Chong Yidong  <cyd@gnu.org>
11306         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11308 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11310         * files.el (find-file): Don't use force-same-window (bug#10144).
11311         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11312         use pop-to-buffer if the selected window can't be used.
11313         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11315 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
11317         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11318         special-mode-map.
11320 2011-11-28  Chong Yidong  <cyd@gnu.org>
11322         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11324 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
11326         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11327           gdb-get-source-file-list on gdb-create-source-file-list.
11329 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
11331         * whitespace.el (whitespace-newline): Use a different foreground
11332         color for 16-color light-background displays.
11334 2011-11-24  Chong Yidong  <cyd@gnu.org>
11336         * window.el (display-buffer--special-action): Doc fix.
11338 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
11340         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11341         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11342         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11343         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11344         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11345         (avl-tree-stack-first):
11346         * emacs-lisp/cconv.el (cconv--analyse-use):
11347         * net/gnutls.el (gnutls-negotiate): Fix typos.
11349 2011-11-24  Glenn Morris  <rgm@gnu.org>
11351         * lpr.el (lpr-windows-system, lpr-lp-system):
11352         * mail/binhex.el (binhex-begin-line):
11353         * progmodes/grep.el (grep-history, grep-find-history):
11354         * textmodes/flyspell.el:
11355         * vc/pcvs-defs.el (cvs-global-menu):
11356         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11357         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11358         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11360         * net/tls.el: Fix case of "GnuTLS".
11362         * paths.el (rmail-file-name): Format doc-string for make-docfile.
11364         * version.el (emacs-build-system): Give it a doc-string.
11366 2011-11-24  Juri Linkov  <juri@jurta.org>
11368         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11370 2011-11-24  Glenn Morris  <rgm@gnu.org>
11372         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11373         if called on a non-mime message just toggle the headers.  (Bug#8006)
11375 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
11377         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11378         (allout-lead-with-comment-string, allout-structure-deleted-hook)
11379         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11380         (allout-rebullet-heading, allout-open-sibtopic)
11381         (allout-toggle-current-subtree-encryption)
11382         (allout-toggle-subtree-encryption, allout-encrypt-string)
11383         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11384         (allout-distinctive-bullets-string, allout-auto-activation):
11385         * window.el (window-normalize-buffer-to-display):
11386         * progmodes/verilog-mode.el (verilog-batch-indent):
11387         * textmodes/bibtex.el (bibtex-field-braces-opt)
11388         (bibtex-field-strings-opt):
11389         * vc/cvs-status.el (cvs-tree-merge):
11390         Fix typos.
11392 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
11394         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11395         `non-essential' to t, in order to avoid remote connections.
11397 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
11399         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11400         On MS-DOS and MS-Windows, compare with loaddefs.el
11401         case-insensitively.
11403 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
11405         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
11407 2011-11-23  Glenn Morris  <rgm@gnu.org>
11409         * paths.el (rmail-file-name): Reformat the doc-string so that it
11410         is picked up.
11412         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11413         (rmail-auto-file): Ignore case in the "special" field names,
11414         as mail-fetch-field does for all others.
11416         * mail/rmail.el (rmail-forward):
11417         * mail/rmailkwd.el (rmail-set-label):
11418         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11419         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
11421         * mail/rmail.el (rmail-current-message): Doc fix.
11423         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
11425 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11427         * server.el (server-eval-and-print): Allow C-g (bug#6585).
11429 2011-11-22  Glenn Morris  <rgm@gnu.org>
11431         * mail/rmailmm.el (test-rmail-mime-handler)
11432         (test-rmail-mime-bulk-handler)
11433         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11435 2011-11-21  Juri Linkov  <juri@jurta.org>
11437         * calc/calc.el (calc-read-key-sequence):
11438         Let-bind `input-method-function' to nil.  (Bug#10018)
11440 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11442         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11443         Tell the caller that the next line needs recomputation, even
11444         though it doesn't start a sexp (bug#10094).
11446 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11448         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11450 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11452         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11453         Use force-same-window.
11455 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
11457         * descr-text.el (describe-char-unicode-data):
11458         * json.el (json-string-escape):
11459         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11460         (Footnote-unicode, Footnote-style-p):
11461         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11463 2011-11-20  Chong Yidong  <cyd@gnu.org>
11465         * window.el (replace-buffer-in-windows): Restore interactive spec.
11467 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11469         * electric.el (electric-indent-mode): Fix last change (too optimistic).
11471         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11472         (byte-compile-global-not-obsolete-vars): New var.
11473         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11474         Use it.
11475         (byte-compile-warn-obsolete): Align text with the one in *Help*.
11477 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
11479         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11480         * progmodes/pascal.el (electric-pascal-equal):
11481         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11482         * xml.el (xml-substitute-special): Fix typos.
11484 2011-11-20  Glenn Morris  <rgm@gnu.org>
11486         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11487         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11488         Doc fixes.
11489         (rmail-decode-mime-charset): Mark as obsolete.
11491         * mail/rmailsum.el (rmail-message-regexp-p-1):
11492         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11493         Before using mime functions, check they are set.  (Bug#10077)
11495 2011-11-19  Juri Linkov  <juri@jurta.org>
11497         * info.el (Info-finder-find-node): Use `package--builtins' instead
11498         of `package-alist'.  Use node names formed by the pattern "Keyword "
11499         and the keyword name.
11501 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
11503         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11505 2011-11-19  Juri Linkov  <juri@jurta.org>
11507         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11508         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
11509         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11510         `old-history', `old-history-forward'.  Add let-binding
11511         `window-selected'.  Remove calls to `kill-buffer',
11512         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
11513         before calling `Info-find-node', so `Info-find-node-2' will reread
11514         the Info file.  Restore window positions only when `window-selected'
11515         is non-nil.
11517 2011-11-19  Juri Linkov  <juri@jurta.org>
11519         * isearch.el (isearch-lazy-highlight-new-loop):
11520         Remove condition `(not isearch-error)'.  (Bug#9918)
11522         * misearch.el (multi-isearch-search-fun): Add condition
11523         `(not bound)' to ignore lazy-highlighting search.
11524         Add the search-failed message "end of multi" when the end of
11525         multi-sequence is reached.  Uncapitalize the search-failed
11526         message "Repeat for next buffer".
11528         * info.el (Info-search): Add the search-failed message
11529         "end of the manual" when the end of the manual is reached
11530         in Isearch mode.
11532 2011-11-19  Juri Linkov  <juri@jurta.org>
11534         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11535         Use non-destructive `remove' instead of `delete' because
11536         `Info-history-list' stored to `Info-isearch-initial-history-list' in
11537         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11539 2011-11-19  Juri Linkov  <juri@jurta.org>
11541         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11542         to nil instead of binding `search-ring' and `regexp-search-ring'.
11543         (Bug#9185)
11545 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
11547         * simple.el (line-move): Force movement by logical lines for any
11548         hscrolled window, not only when auto-hscroll-mode is on.
11549         (line-move-visual): Update doc string to that effect.  (Bug#10076)
11551 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
11553         * language/european.el (macintosh): Define as alias for mac-roman.
11555 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
11557         * mail/rmailmm.el (rmail-mime-display-header)
11558         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11559         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11560         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11561         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11562         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11563         of a raw aref.
11564         (rmail-mime-entity-segment): To get past the tagline, move forward
11565         2 more lines, to account for the 2 empty lines that precede and
11566         follow the line with the buttons.
11567         (rmail-mime-update-tagline): Move one more line, to get past the
11568         empty line that follows the buttons in the tagline.  (Bug#9520)
11570 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
11572         * window.el (window-max-delta-1, window-min-delta-1)
11573         (window-min-size-1, window-state-get-1, window-state-put-1)
11574         (window-state-put-2): Use "window--" prefix.
11576 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11578         * emacs-lisp/smie.el: Improve warnings and conflict detection.
11579         (smie-warning-count): New var.
11580         (smie-set-prec2tab): Use it.
11581         (smie-bnf->prec2): Improve warnings.  Add docstring.
11582         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11583         (smie-bnf--set-class): New function.
11584         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
11585         corner case.
11587         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11588         (compilation-error-properties, compilation-move-to-column):
11589         Handle compilation-first-column while in the target buffer.
11591         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11592         Don't hardcode point-min==1.
11594         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11595         (eshell-rewrite-for-command): Remove workaround.
11596         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11597         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11598         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11600         * files-x.el (modify-file-local-variable): Obey commenting conventions.
11602 2011-11-17  Glenn Morris  <rgm@gnu.org>
11604         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11605         Ignore buffer-local generated-autoload-file if it is the same
11606         as the global value.  (Bug#10049)
11608 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
11610         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11611         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11612         (reftex-toc-previous-heading, reftex-toc-max-level)
11613         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11614         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11615         (reftex-toc-do-promote, reftex-toc-promote-prepare)
11616         (reftex-toc-promote-action, reftex-toc-extract-section-number)
11617         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11618         (reftex-toc-rename-label, reftex-toc-visit-location)
11619         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11620         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11621         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11622         leaving "*toc*" only for references to the buffer.
11624 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
11626         * window.el (window-resize, delete-window, split-window):
11627         Replace window-splits by window-combination-resize.
11628         * cus-start.el (window-splits): Replace by window-combination-resize.
11630 2011-11-17  Glenn Morris  <rgm@gnu.org>
11632         * progmodes/sh-script.el (sh-font-lock-keywords-var):
11633         Make bash entry derive from sh entry, not shell entry.
11635 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
11637         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11638         local file name.
11640 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
11642         * menu-bar.el (menu-bar-file-menu):
11643         * printing.el (pr-ps-utility):
11644         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11645         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11646         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11647         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11648         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11649         (icalendar--convert-cyclic-to-ical)
11650         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
11651         (icalendar--convert-ical-to-diary)
11652         (icalendar--convert-recurring-to-diary)
11653         (icalendar--convert-non-recurring-all-day-to-diary)
11654         (icalendar-import-format-sample):
11655         * progmodes/idlw-shell.el (idlwave-shell-mode):
11656         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
11657         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
11658         (vhdl-ps-print-init): Fix typos.
11660 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
11662         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
11663         FSF and collapse date sequence, obscure author/maintainer email address
11664         better, remove extra version line, track relocation of author's webpage.
11666         * progmodes/python.el (python-pdbtrack-input-prompt)
11667         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
11668         regular python pdb prompts.  Adjustments shamelessly taken exactly as
11669         suggested in EmacsWiki page (tiny change):
11670         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
11672 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
11674         * expand.el (expand-pos, expand-index, expand-point):
11675         Remove redundant info from docstring.
11676         (expand-add-abbrevs): Doc fix.
11677         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
11678         (expand-sample-perl-mode-expand-list): Fix typos.
11680         * net/dbus.el (dbus-event-member-name):
11681         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
11682         * term/pc-win.el (msdos-create-frame-with-faces):
11683         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
11685 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
11687         * window.el (split-window, window-state-get-1)
11688         (window-state-put-1, window-state-put-2): Rename occurrences of
11689         window-nest to window-combination-limit.
11690         * cus-start.el (window-nest): Rename to window-combination-limit.
11692 2011-11-16  Chong Yidong  <cyd@gnu.org>
11694         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
11695         regexp (Bug#10033).
11697 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11699         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
11700         `completing-read' will remove *Completions* and will preserve
11701         current-buffer for us.
11702         (tmm-add-prompt): Users of *Completions* will always (re)set its
11703         major mode.
11704         (tmm-old-comp-map): Remove.
11706 2011-11-16  Glenn Morris  <rgm@gnu.org>
11708         * mail/rmailedit.el: Require rmailmm when compiling.
11709         (rmail-old-mime-state): New declaration.
11710         (rmail-edit-current-message): If editing a mime message,
11711         edit the "raw" message from the mbox buffer.
11712         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
11714 2011-11-15  Glenn Morris  <rgm@gnu.org>
11716         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
11717         which wasn't being used.  Add optional arg to force given state.
11718         (rmail-mime): Add optional arg to force given state.
11720 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
11722         * allout.el (allout-encryption-plaintext-sanitization-regexps):
11723         * frame.el (display-mm-dimensions-alist):
11724         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
11725         (outline-move-subtree-down):
11726         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
11727         (newsticker--treeview-do-get-node):
11728         * net/quickurl.el (quickurl-list-buffer-name):
11729         * progmodes/dcl-mode.el (dcl-mode):
11730         * progmodes/gdb-mi.el (gdb-mapcar*):
11731         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
11733 2011-11-15  Glenn Morris  <rgm@gnu.org>
11735         * mail/rmail.el (rmail-file-coding-system): It's only ever used
11736         in a boolean sense, so just make it a boolean, and fix the doc.
11737         (rmail-show-mime-function, rmail-mime-feature)
11738         (rmail-require-mime-maybe): Doc fixes.
11739         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
11741         * mail/rmailmm.el (rmail-show-mime): Doc fix.
11743 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
11745         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
11746         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
11747         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
11748         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
11750 2011-11-15  Glenn Morris  <rgm@gnu.org>
11752         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
11753         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
11754         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
11755         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
11756         (rmail-mime, rmail-show-mime): Doc fixes.
11758         * term/ns-win.el (mode-line-frame-identification):
11759         Leave it alone.  (Bug#10051)
11761         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
11763         * mail/rmailout.el (rmail-output-to-rmail-buffer):
11764         Handle empty buffers.  (Bug#9978)
11766 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
11768         * international/mule.el (define-charset):
11769         * mail/rmailmm.el (rmail-mime-find-header-encoding):
11770         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
11771         * progmodes/verilog-mode.el (verilog-backward-token):
11772         * textmodes/ispell.el (lookup-words):
11773         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
11775 2011-11-14  Glenn Morris  <rgm@gnu.org>
11777         * progmodes/executable.el
11778         (executable-make-buffer-file-executable-if-script-p):
11779         Handle file-modes returning nil.
11781         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
11782         message - not necessary, and causes problems.  (Bug#9831)
11784         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
11786         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
11788         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
11789         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
11790         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
11792 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
11794         * window.el (window-resize, delete-window): Use window-splits
11795         variable instead of function.
11796         (window-state-get-1, window-state-put-2, window-state-put):
11797         Don't deal with windows' splits status.
11799 2011-11-12  Glenn Morris  <rgm@gnu.org>
11801         * apropos.el (apropos-do-all, apropos-library, apropos-value)
11802         (apropos-documentation): Doc fixes.
11804 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
11806         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
11807         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
11809 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11811         * electric.el (electric-indent-post-self-insert-function): Make it
11812         possible for a char to only indent in some circumstances.
11813         (electric-indent-mode): Simplify.
11815 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
11817         * window.el (windows-with-parameter): Remove unused function.
11818         (windows-at-side): Rename to window-at-side-list.
11819         (window-check, window-atom-check, window-atom-check-1)
11820         (window-side-check, window-size-ignore, window-size-fixed-1)
11821         (window-in-direction-2): Prefix with "window--".
11822         (window-tree-1): Rename to window--subtree, fix doc-string.
11824 2011-11-11  Glenn Morris  <rgm@gnu.org>
11826         * subr.el (eval-after-load): If FILE is already loaded,
11827         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
11829 2011-11-10  Glenn Morris  <rgm@gnu.org>
11831         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
11832         Call svn via vc-svn-command rather than vc-do-command.
11833         (vc-svn-command): Add --non-interactive.  (Bug#9993)
11834         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
11836         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11837         Add toggle-read-only.  (Bug#7292)
11838         * files.el (toggle-read-only): Mention that it should only
11839         be used interactively.  (Bug#10006)
11841 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11843         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11844         Adjust regexp for OCaml warnings.
11846         * electric.el (electric-pair-post-self-insert-function): Let user
11847         turn it off buffer-locally (bug#9932).
11849         * progmodes/python.el (python-beginning-of-statement):
11850         Rewrite (bug#2703).
11852         * progmodes/compile.el: Better handle TABs (bug#9749).
11853         (compilation-internal-error-properties)
11854         (compilation-next-error-function): Obey the target buffer's
11855         compilation-error-screen-columns.
11857 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
11859         * progmodes/meta-mode.el: Remove obsolete comments.
11860         (meta-right-comment-regexp, meta-ignore-comment-regexp):
11861         Fix typos in docstrings.
11863 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
11865         * window.el (window-size-fixed-p): Rewrite doc-string.
11866         (window-resizable-p): Rename to window--resizable-p.  Update callers.
11867         (window--resizable): New function.  Make all callers of
11868         window-resizable call window--resizable instead.
11869         (window-resizable): Rewrite in terms of window--resizable.
11871 2011-11-08  Glenn Morris  <rgm@gnu.org>
11873         * progmodes/delphi.el (delphi-mode-syntax-table):
11874         Let define-derived-mode define a proper syntax table.  (Bug#9994)
11876 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11878         * window.el: Stay away from defsubst.
11879         (window-list-no-nils): Remove.
11880         (window-state-get-1, window-state-get): Use backquote instead.
11882 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11884         * emacs-lisp/find-func.el (find-function-read):
11885         Fix incorrect use of default argument in `completing-read'.
11887 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
11889         * window.el (display-buffer-function, special-display-function):
11890         Mention display-buffer-record-window but do not mention
11891         help-setup parameter in doc-strings.
11892         (window-min-delta): Fix doc-string typo.
11894 2011-11-08  Chong Yidong  <cyd@gnu.org>
11896         * window.el (window-total-height, window-total-width): Doc fix.
11897         (window-body-size): Move from C.
11898         (window-body-height, window-body-width): Move to C.
11900 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11902         * window.el: Make special-display like display-buffer-alist (bug#9532).
11903         (display-buffer--special-action): New function, morphed
11904         from display-buffer--special.
11905         (display-buffer): Use it to handle special-display-buffers at higher
11906         priority (just after display-buffer-alist).
11907         (display-buffer-fallback-action, display-buffer--other-frame-action)
11908         (pop-to-buffer-same-window): Remove display-buffer--special.
11910 2011-11-07  Glenn Morris  <rgm@gnu.org>
11912         * calendar/cal-menu.el (cal-menu-set-date-title):
11913         Do nothing if not in a calendar.  (Bug#9976)
11915 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11917         * files.el (find-file): Always use selected-window.
11919 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
11921         * window.el (window-combinations): Make WINDOW argument
11922         mandatory.  Rewrite doc-string.
11923         (walk-window-subtree, window-atom-check, window-min-delta)
11924         (window-max-delta, window--resize-this-window)
11925         (window--resize-root-window-vertically, window-tree)
11926         (balance-windows, window-state-put): Rewrite doc-strings as to
11927         not mention the term "subwindow".
11928         (window--resize-subwindows-skip-p): Rename to
11929         window--resize-child-windows-skip-p.
11930         (window--resize-subwindows-normal): Rename to
11931         window--resize-child-windows-normal.
11932         (window--resize-subwindows): Rename to
11933         window--resize-child-windows.
11934         (window-or-subwindow-p): Rename to window--in-subtree-p.
11936 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
11938         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
11939         Ensure that mbox format messages end in two newlines (Bug#9974).
11941 2011-11-06  Chong Yidong  <cyd@gnu.org>
11943         * window.el (window-combination-p): Function deleted; its
11944         side-effect is not used in any existing code.
11945         (window-combinations, window-combined-p): Call window-*-child
11946         directly.
11948 2011-11-05  Chong Yidong  <cyd@gnu.org>
11950         * window.el (window-valid-p): Rename from window-any-p.
11951         (window-size-ignore, window-state-get): Callers changed.
11952         (window-normalize-window): Rename from window-normalize-any-window.
11953         New arg LIVE-ONLY, replacing window-normalize-live-window.
11954         (window-normalize-live-window): Delete.
11955         (window-combination-p, window-combined-p, window-combinations)
11956         (walk-window-subtree, window-atom-root, window-min-size)
11957         (window-sizable, window-sizable-p, window-size-fixed-p)
11958         (window-min-delta, window-max-delta, window-resizable)
11959         (window-resizable-p, window-full-height-p, window-full-width-p)
11960         (window-current-scroll-bars, window-point-1, set-window-point-1)
11961         (window-at-side-p, window-in-direction, window-resize)
11962         (adjust-window-trailing-edge, maximize-window, minimize-window)
11963         (window-deletable-p, delete-window, delete-other-windows)
11964         (record-window-buffer, unrecord-window-buffer)
11965         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
11966         (quit-window, split-window, window-state-put)
11967         (set-window-text-height, fit-window-to-buffer)
11968         (shrink-window-if-larger-than-buffer): Callers changed.
11970 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
11972         * mail/rmail.el (rmail-simplified-subject): Decode subject with
11973         rfc2047-decode-string.
11974         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
11975         warnings.
11977         * window.el (window-body-height, window-body-width): Mention in
11978         the doc string that the return values are in frame's canonical
11979         units.  (Bug#9949)
11981 2011-11-03  Alan Mackenzie  <acm@muc.de>
11983         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
11984         change in cc-engine.el.
11986 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11988         * window.el (switch-to-buffer): Use `force-same-window' interactively.
11990 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
11992         * window.el (quit-window): Call unrecord-window-buffer after
11993         showing another buffer in the window.  (Bug#9937)
11994         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
11996 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
11998         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
11999         Accept status with more than 9 shelves.  (Bug#9935)
12000         Reported by Colin D Bennett <colin@gibibit.com>.
12002 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
12004         * help.el (with-help-window): Don't reference
12005         temp-buffer-show-specifiers in doc-string.
12007 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12009         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12010         menu-item.
12012 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12014         * whitespace.el: New version 13.2.2.
12015         (whitespace-newline-mode): Disable properly.  Reported by Sarah
12016         <EmacsWiki>.
12018 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
12020         * net/newst-treeview.el: Remove "Time-stamp".
12021         (newsticker--group-manage-orphan-feeds): Do not call
12022         newsticker--treeview-tree-update.
12023         (newsticker-treeview-update, newsticker-treeview):
12024         Call newsticker--treeview-tree-update if necessary.
12026 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
12028         * window.el (window-iso-combination-p, window-iso-combined-p)
12029         (window-iso-combinations): Remove "iso-" infix.
12030         Suggested by Chong Yidong.
12031         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12032         (window-max-delta-1, window-resize, window--resize-siblings)
12033         (window--resize-this-window, adjust-window-trailing-edge)
12034         (split-window, balance-windows-1)
12035         (shrink-window-if-larger-than-buffer):
12036         * calendar/calendar.el (calendar-generate-window):
12037         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12039 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12041         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12042         in place (bug#9907).
12043         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12044         (eshell-rewrite-if-command, eshell-rewrite-for-command)
12045         (eshell-structure-basic-command, eshell-rewrite-while-command)
12046         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12047         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12048         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12049         (eshell-do-pipelines-synchronously, eshell-eval-command):
12050         Use backquotes and prefer setq to set.
12051         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12052         (eshell-macrop): Use functionp.
12053         (eshell-do-eval): Handle multiple expressions in `while' body.
12055 2011-10-30  Chong Yidong  <cyd@gnu.org>
12057         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12058         instead of set-mark (Bug#9810).
12060 2011-10-30  Chong Yidong  <cyd@gnu.org>
12062         * window.el (split-window-below, split-window-right): Rename from
12063         split-window-above-each-other and split-window-side-by-side
12064         respectively.  All callers changed.
12065         (split-window-sensibly, split-window-sensibly): Use them.
12066         (split-window-keep-point): Doc fix.
12068         * isearch.el: Add isearch-scroll property to split-window-below
12069         and split-window-right.
12071         * follow.el (follow-mode):
12072         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12073         * progmodes/ada-xref.el (ada-gdb-application):
12074         * emulation/vip.el (vip-buffer-in-two-windows):
12075         * image-dired.el (image-dired-dired-with-window-configuration):
12076         * dired-x.el (dired-do-find-marked-files):
12077         * dired.el (dired-pop-to-buffer):
12078         * bs.el (bs--show-with-configuration):
12079         * vc/emerge.el (emerge-setup-windows):
12080         * textmodes/two-column.el (2C-two-columns):
12081         * textmodes/reftex-toc.el (reftex-toc):
12082         * progmodes/gdb-mi.el (gdb-setup-windows):
12083         * progmodes/fortran.el (fortran-window-create):
12084         * net/newst-treeview.el (newsticker--treeview-window-init):
12085         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12086         * emulation/tpu-edt.el (tpu-gold-map):
12087         * emulation/crisp.el (crisp-mode-map):
12088         * calendar/calendar.el (calendar-basic-setup): Callers changed.
12090 2011-10-29  Chong Yidong  <cyd@gnu.org>
12092         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12094         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12096         * textmodes/flyspell.el (flyspell-word): Fix char offset for
12097         forged Ispell output (Bug#7904).
12099         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12101 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12103         * doc-view.el: Avoid ugly errors about not finding nil.
12104         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12105         (doc-view-dvipdf-program, doc-view-unoconv-program)
12106         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12107         Avoid nil or absolute file name as default value.
12108         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12110 2011-10-28  Alan Mackenzie  <acm@muc.de>
12112         * progmodes/cc-defs.el (c-version): -> 5.32.2.
12114 2011-10-28  Alan Mackenzie  <acm@muc.de>
12116         Amend the handling of c-beginning/end-of-defun in nested declaration
12117         scopes.
12119         * progmodes/cc-vars.el (c-defun-tactic): Move here from
12120         cc-langs.el.  Change it to a defcustom.
12122         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12123         cc-vars.el.
12125         * progmodes/cc-engine.el (c-beginning-of-statement-1):
12126         Prevent "class foo : bar" being spuriously recognized as a label.
12128         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12129         Add parameter `inclusive' (to include enclosing braces in the region).
12130         (c-widen-to-enclosing-decl-scope): New function.
12131         (c-while-widening-to-decl-block): New macro.
12132         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12133         outward for defun boundaries, and correspondingly change symbol
12134         `respect-enclosure' to `go-outward'.
12135         (c-declaration-limits): Change algorithm to report only the "innermost"
12136         defun's boundaries.
12138 2011-10-28  Deniz Dogan  <deniz@dogan.se>
12140         * net/rcirc.el (rcirc-mode): Use hard newlines.
12142 2011-10-28  Alan Mackenzie  <acm@muc.de>
12144         Amend to indent and fontify macros "which include their own semicolon"
12145         correctly, using the "virtual semicolon" mechanism.
12147         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12149         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12150         Recode to scan one line at a time rather than having \n and \r
12151         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12152         (c-forward-label): Amend for virtual semicolons.
12153         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12155         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12156         of the new C macros.
12158         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12159         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12160         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12161         (c-opt-cpp-macro-define): Make into a full language variable.
12162         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12163         AWK Mode (including \n, \r) removed, no longer needed.
12165         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12166         Invoke c-make-macro-with-semi-re.
12168         * progmodes/cc-vars.el (c-macro-with-semi-re):
12169         (c-macro-names-with-semicolon): New variables.
12170         (c-make-macro-with-semi-re): New function.
12172 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12174         * vc/log-edit.el: Fill empty field rather than adding new one.
12175         (log-edit-add-field): New function.
12176         (log-edit-insert-changelog): Use it.
12178 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
12180         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12182 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12184         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12185         (gdb--check-interpreter): New function.
12186         (gdb): Use it.
12188 2011-10-27  Glenn Morris  <rgm@gnu.org>
12190         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12191         (least-positive-float, least-negative-float)
12192         (least-positive-normalized-float, least-negative-normalized-float)
12193         (float-epsilon, float-negative-epsilon):
12194         Remove unnecessary declarations.
12196         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12197         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12198         (least-positive-float, least-negative-float)
12199         (least-positive-normalized-float, least-negative-normalized-float)
12200         (float-epsilon, float-negative-epsilon): Add doc-strings,
12201         based on those in cl.texi.
12203         * files.el (set-visited-file-name): If the major-mode changed,
12204         reload the local variables.  (Bug#9796)
12206 2011-10-27  Chong Yidong  <cyd@gnu.org>
12208         * subr.el (change-major-mode-after-body-hook): New hook.
12209         (run-mode-hooks): Run it.
12211         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12212         Use change-major-mode-before-body-hook.
12214         * simple.el (fundamental-mode):
12215         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12216         change introducing fundamental-mode-hook.
12218 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
12220         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12222 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
12224         * ido.el (ido-file-name-all-completions-1): Do not require
12225         tramp.el explicitly.  (Bug#7583)
12227 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12229         * progmodes/octave-mod.el:
12230         * progmodes/octave-inf.el: Update maintainer.
12232 2011-10-26  Chong Yidong  <cyd@gnu.org>
12234         * subr.el (with-wrapper-hook): Rewrite doc.
12236 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
12238         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12239         filenames "/method:foo:".  (Bug#9793)
12241 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12243         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12244         (bug#9865).
12246 2011-10-24  Glenn Morris  <rgm@gnu.org>
12248         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
12250 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
12252         * notifications.el: Add the requirement of a running D-Bus session
12253         bus to the Commentary.
12255 2011-10-24  Juri Linkov  <juri@jurta.org>
12257         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12258         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12259         (Bug#9364)
12261 2011-10-24  Juri Linkov  <juri@jurta.org>
12263         * info.el (Info-following-node-name-re): Add newline to the list
12264         of allowed characters for leading space.  (Bug#9824)
12266 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12268         * progmodes/octave-inf.el (inferior-octave-mode-map):
12269         Fix C-c C-h binding.
12270         * progmodes/octave-mod.el (octave-help): Remove.
12272 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
12274         Sync with Tramp 2.2.3.
12276         * net/tramp-cache.el (top): Pacify byte-compiler using
12277         `init-file-user' and `site-run-file'.
12279         * net/trampver.el: Update release number.
12281 2011-10-23  Chong Yidong  <cyd@gnu.org>
12283         * files.el (toggle-read-only): Remove obsolete comment about
12284         version control.
12286         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12287         for toggle-read-only.  Note that this hasn't called vc-next-action
12288         since 2008-05-02, though it wasn't documented at the time.
12290         * vc/ediff-init.el (ediff-toggle-read-only-function):
12291         Use toggle-read-only.
12293 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
12295         Fix bug #9560, sporadic wrong indentation; improve instrumentation
12296         of c-parse-state.
12298         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12299         correct faulty logical expression.
12300         (c-parse-state-state, c-record-parse-state-state):
12301         (c-replay-parse-state-state): New defvar/defuns.
12302         (c-debug-parse-state): Use new functions.
12304 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
12306         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12307         last fix.  Use window-in-direction correctly.
12309 2011-10-21  Chong Yidong  <cyd@gnu.org>
12311         * progmodes/idlwave.el (idlwave-mode):
12312         * progmodes/vera-mode.el (vera-mode): No need to set
12313         require-final-newline; that's done in prog-mode.
12314         Suggested by Stefan Monnier.
12316 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
12318         * mouse.el (mouse-drag-window-above)
12319         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12320         (mouse-drag-mode-line-1, mouse-drag-header-line)
12321         (mouse-drag-vertical-line-rightward-window): Remove.
12322         (mouse-drag-line): New function.
12323         (mouse-drag-mode-line, mouse-drag-header-line)
12324         (mouse-drag-vertical-line): Call mouse-drag-line.
12325         * window.el (window-at-side-p, windows-at-side): New functions.
12327 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
12329         * tar-mode.el (tar-grind-file-mode):
12330         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
12332 2011-10-21  Chong Yidong  <cyd@gnu.org>
12334         * progmodes/idlwave.el (idlwave-mode):
12335         * progmodes/vera-mode.el (vera-mode):
12336         Use mode-require-final-newline.
12338 2011-10-20  Glenn Morris  <rgm@gnu.org>
12340         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
12342 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
12344         * emulation/cua-base.el (cua-set-mark): Fix case of string.
12346 2011-10-20  Chong Yidong  <cyd@gnu.org>
12348         * emulation/cua-base.el (cua-mode):
12349         * mail/footnote.el (footnote-mode):
12350         * mail/mailabbrev.el (mail-abbrevs-mode):
12351         * net/xesam.el (xesam-minor-mode):
12352         * progmodes/bug-reference.el (bug-reference-mode):
12353         * progmodes/cap-words.el (capitalized-words-mode):
12354         * progmodes/compile.el (compilation-minor-mode)
12355         (compilation-shell-minor-mode):
12356         * progmodes/gud.el (gud-tooltip-mode):
12357         * progmodes/hideif.el (hide-ifdef-mode):
12358         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12359         * progmodes/subword.el (subword-mode):
12360         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12361         * progmodes/which-func.el (which-function-mode):
12362         * term/tvi970.el (tvi970-set-keypad-mode):
12363         * term/vt100.el (vt100-wide-mode):
12364         * textmodes/flyspell.el (flyspell-mode):
12365         * textmodes/ispell.el (ispell-minor-mode):
12366         * textmodes/nroff-mode.el (nroff-electric-mode):
12367         * textmodes/paragraphs.el (use-hard-newlines):
12368         * textmodes/refill.el (refill-mode):
12369         * textmodes/reftex.el (reftex-mode):
12370         * textmodes/rst.el (rst-minor-mode):
12371         * textmodes/sgml-mode.el (html-autoview-mode)
12372         (sgml-electric-tag-pair-mode):
12373         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12374         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12375         * emulation/crisp.el (crisp-mode):
12376         * emacs-lisp/eldoc.el (eldoc-mode):
12377         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12378         minor mode behavior.
12380 2011-10-19  Juri Linkov  <juri@jurta.org>
12382         * descr-text.el (describe-char): Add #x2010 and #x2011 to
12383         the list of hard-coded chars with escape-glyph face.
12385 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12387         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12389 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
12391         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12392         running process.
12394 2011-10-19  Glenn Morris  <rgm@gnu.org>
12396         * vc/vc-bzr.el (vc-bzr-after-dir-status):
12397         Ignore ignored files.  (Bug#9726)
12399 2011-10-19  Chong Yidong  <cyd@gnu.org>
12401         Doc fix for minor modes, stating that an omitted argument enables
12402         the mode unconditionally when called from Lisp.
12404         * abbrev.el (abbrev-mode):
12405         * allout.el (allout-mode):
12406         * autoinsert.el (auto-insert-mode):
12407         * autoarg.el (autoarg-mode, autoarg-kp-mode):
12408         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12409         (global-auto-revert-mode):
12410         * battery.el (display-battery-mode):
12411         * composite.el (global-auto-composition-mode)
12412         (auto-composition-mode):
12413         * delsel.el (delete-selection-mode):
12414         * desktop.el (desktop-save-mode):
12415         * dired-x.el (dired-omit-mode):
12416         * dirtrack.el (dirtrack-mode):
12417         * doc-view.el (doc-view-minor-mode):
12418         * double.el (double-mode):
12419         * electric.el (electric-indent-mode, electric-pair-mode):
12420         * emacs-lock.el (emacs-lock-mode):
12421         * epa-hook.el (auto-encryption-mode):
12422         * follow.el (follow-mode):
12423         * font-core.el (font-lock-mode):
12424         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12425         * help.el (temp-buffer-resize-mode):
12426         * hilit-chg.el (highlight-changes-mode)
12427         (highlight-changes-visible-mode):
12428         * hi-lock.el (hi-lock-mode):
12429         * hl-line.el (hl-line-mode, global-hl-line-mode):
12430         * icomplete.el (icomplete-mode):
12431         * ido.el (ido-everywhere):
12432         * image-file.el (auto-image-file-mode):
12433         * image-mode.el (image-minor-mode):
12434         * iswitchb.el (iswitchb-mode):
12435         * jka-cmpr-hook.el (auto-compression-mode):
12436         * linum.el (linum-mode):
12437         * longlines.el (longlines-mode):
12438         * master.el (master-mode):
12439         * mb-depth.el (minibuffer-depth-indicate-mode):
12440         * menu-bar.el (menu-bar-mode):
12441         * minibuf-eldef.el (minibuffer-electric-default-mode):
12442         * mouse-sel.el (mouse-sel-mode):
12443         * msb.el (msb-mode):
12444         * mwheel.el (mouse-wheel-mode):
12445         * outline.el (outline-minor-mode):
12446         * paren.el (show-paren-mode):
12447         * recentf.el (recentf-mode):
12448         * reveal.el (reveal-mode, global-reveal-mode):
12449         * rfn-eshadow.el (file-name-shadow-mode):
12450         * ruler-mode.el (ruler-mode):
12451         * savehist.el (savehist-mode):
12452         * scroll-all.el (scroll-all-mode):
12453         * scroll-bar.el (scroll-bar-mode):
12454         * server.el (server-mode):
12455         * shell.el (shell-dirtrack-mode):
12456         * simple.el (auto-fill-mode, transient-mark-mode)
12457         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12458         (line-number-mode, column-number-mode, size-indication-mode)
12459         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12460         * strokes.el (strokes-mode):
12461         * time.el (display-time-mode):
12462         * t-mouse.el (gpm-mouse-mode):
12463         * tool-bar.el (tool-bar-mode):
12464         * tooltip.el (tooltip-mode):
12465         * type-break.el (type-break-mode-line-message-mode)
12466         (type-break-query-mode):
12467         * view.el (view-mode):
12468         * whitespace.el (whitespace-mode, whitespace-newline-mode)
12469         (global-whitespace-mode, global-whitespace-newline-mode):
12470         * xt-mouse.el (xterm-mouse-mode): Doc fix.
12472         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12473         Fix autogenerated docstring.
12475 2011-10-19  Juri Linkov  <juri@jurta.org>
12477         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12478         by checking environment variables "DESKTOP_SESSION" and
12479         "XDG_CURRENT_DESKTOP".  (Bug#9779)
12481 2011-10-19  Juri Linkov  <juri@jurta.org>
12483         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12484         (browse-url-chromium-program, browse-url-chromium-arguments):
12485         New defcustoms.
12486         (browse-url-default-browser): Check for `browse-url-chromium' and
12487         call `browse-url-chromium-program'.
12488         (browse-url-chromium): New command.  (Bug#9779)
12490 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
12492         * facemenu.el (list-colors-duplicates): On Windows, detect more
12493         duplicates by assuming that only colors matching "^System" are
12494         special "system colors".  (Bug#9722)
12496 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12498         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12499         to distinguish the author from the committer.
12501 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
12503         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12505 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
12507         * international/mule.el (sgml-html-meta-auto-coding-function):
12508         Add support for detecting encoding in HTML5 specified only as
12509         <meta charset="UTF-8">.  Implementation just makes http-equiv and
12510         content-type parts from HTML4 encoding string optional.  (Bug#9716)
12512 2011-10-18  Glenn Morris  <rgm@gnu.org>
12514         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
12516 2011-10-18  Chong Yidong  <cyd@gnu.org>
12518         * faces.el (cursor): Doc fix.
12520 2011-10-17  Chong Yidong  <cyd@gnu.org>
12522         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12524 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
12526         * dirtrack.el (dirtrack): Support shell buffers with path
12527         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
12529 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
12531         * json.el: Bump version to 1.3 and note change in History.
12532         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12534 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12536         * comint.el (comint-insert-input, comint-send-input)
12537         (comint-get-old-input-default, comint-backward-matching-input)
12538         (comint-next-prompt): Use nil instead of `input' for field property of
12539         past user input (bug#114).
12541         * minibuffer.el (completion--replace): Inherit surrounding properties
12542         (bug#114).
12543         (minibuffer-complete-and-exit): Use it.
12545         * comint.el (comint--table-subvert): Quote the all-completions output
12546         (bug#9160).
12548 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
12550         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12552         * menu-bar.el (menu-bar-file-menu): Add entry for making new
12553         window on right of selected.  (Bug#9350) Reword other window
12554         entries and separate them from frame entries.
12556 2011-10-15  Glenn Morris  <rgm@gnu.org>
12558         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12559         Doc fixes.
12561 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
12563         * net/network-stream.el (network-stream-open-starttls):
12564         Improve detection of failure due to lack of TLS support.
12566         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12567         putting the input text in front and in bold.
12569 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12571         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12573         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12574         empty buffer.
12576         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12577         unread-command-events rather than pushing yet-another event.
12579 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
12581         * mail/sendmail.el (sendmail-query-once): Improve the wording of
12582         the explanation of the possible choices.  Make the options passed
12583         to completing-read shorter.
12585 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12587         * textmodes/flyspell.el (flyspell-large-region): Make sure
12588         extended character mode is used if defined (Bug#1339).
12590 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
12592         * simple.el (what-cursor-position): Fix the display of the
12593         character info for LRE, LRO, RLE, and RLO characters by appending
12594         an invisible PDF.
12596 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12598         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12599         even in case of error; add debug spec; simplify data flow.
12600         (with-timeout-handler): Remove.
12602 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
12604         Fix Bug#6019, Bug#9315.
12606         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12607         complete `buffer-file-name', the local file name part could look
12608         remotely (for example on VMS).
12610         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12611         `tramp-run-real-handler'.
12612         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12613         already quoted by '"'.
12615         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12616         Let `file-name-handler-alist' be nil, the local file name part
12617         could look remotely (for example on VMS).
12619 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12621         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12622         from here...
12623         (flyspell-post-command-hook): ...to here.
12625 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12627         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12628         if not needed.
12629         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
12630         using completion.  Protect against "slow" callers.
12631         Remove the "message hack".
12633 2011-10-11  Juri Linkov  <juri@jurta.org>
12635         * isearch.el (isearch-lazy-highlight-word): New variable.
12636         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12637         Use it.  (Bug#9727)
12639 2011-10-11  Glenn Morris  <rgm@gnu.org>
12641         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12642         like f90-previous-statement does.
12644 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12646         * eshell/eshell.el (eshell-command): History should be saved
12647         only in interactive use, to avoid error.
12649 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12651         * minibuffer.el (completion-file-name-table): Fix last change,
12652         i.e. ignore normal errors but not the other ones.
12654 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
12656         * window.el (special-display-buffer-names)
12657         (special-display-regexps): Remove some remnants of earlier
12658         changes from doc-strings.
12659         (quit-windows-on): New function.
12661         * vc/vc.el (vc-revert, vc-rollback):
12662         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
12663         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
12664         (Bug#6183) (Bug#7074) (Bug#7447)
12666 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
12668         * window.el (frame-auto-hide-function): Add version tag.
12669         (Bug#9699)
12671 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
12673         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
12674         condition.
12676 2011-10-09  Leo Liu  <sdl.web@gmail.com>
12678         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
12679         (Bug#9701)
12681 2011-10-08  Glenn Morris  <rgm@gnu.org>
12683         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
12684         before the first code statement zero indent.  (Bug#9690)
12686 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
12688         * simple.el (count-words-region): Always count in the region.
12689         Report the number of lines and characters too.
12690         (count-words): New command, which counts in the buffer if the
12691         region is inactive, as count-words-region used to.
12692         (count-words--message): New function.  Handle plurals.
12693         (count-lines-region): Make it an alias for count-words-region.
12695         * bindings.el (esc-map): Replace count-lines-region with
12696         count-words-region.
12698 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
12700         * window.el (window--delete): Delete dedicated frame
12701         unconditionally when argument KILL is non-nil.  (Bug#9699)
12702         (switch-to-buffer): Fix doc-string typo.
12704 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12706         * eshell/eshell.el (eshell-command): Avoid using hooks.
12708 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
12710         * bindings.el ([M-left],[M-right]): Bind to left-word and
12711         right-word respectively.
12713 2011-10-07  Glenn Morris  <rgm@gnu.org>
12715         * cus-start.el (debug-on-quit): Fix custom type.
12717 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12719         * subr.el (define-key-after): Clarify that the function is not
12720         useful for non-menu keymaps.
12722         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
12724 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12726         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
12727         in current minibuffer (Fix bug with recursive minibuffers).
12729 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
12731         * progmodes/gdb-mi.el (gdb): Doc fix.
12733 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
12735         * window.el (frame-auto-hide-function): New option replacing
12736         frame-auto-delete.  Suggested by Stefan Monnier.
12737         (window--delete): Call frame-auto-hide-function instead of
12738         investigating frame-auto-delete.
12739         (window-point-1, set-window-point-1): New functions.
12740         (window-in-direction, record-window-buffer, window-state-get-1)
12741         (display-buffer-record-window): Use window-point-1 instead of
12742         window-point.
12743         (set-window-buffer-start-and-point): Use set-window-point-1.
12745 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12747         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
12749 2011-10-05  Glenn Morris  <rgm@gnu.org>
12751         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
12752         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
12754 2011-10-05  Leo Liu  <sdl.web@gmail.com>
12756         * subr.el (read-char-choice): Fix argument to buffer-live-p which
12757         works with buffer object.
12759 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12761         * mpc.el (mpc-tool-bar-map): Add labels.
12763 2011-10-04  Glenn Morris  <rgm@gnu.org>
12765         * calendar/holidays.el (calendar-check-holidays): Doc fix.
12767 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
12769         * window.el (window--delete): New function.
12770         (frame-auto-delete): Resuscitate option.
12771         (bury-buffer, replace-buffer-in-windows)
12772         (quit-window): Rewrite using window--delete.
12773         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
12774         Pass display-buffer-mark-dedicated to window--display-buffer-2
12775         (Bug#9639).
12777 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12779         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
12780         returns a list (bug#9554).  Add remote file name completion.
12781         * comint.el (comint--table-subvert): Curry and get quote&unquote
12782         functions as arguments.
12783         (comint--complete-file-name-data): Adjust call accordingly.
12784         * pcomplete.el (pcomplete--table-subvert): Remove.
12785         (pcomplete-completions-at-point): Use comint--table-subvert instead.
12787         * minibuffer.el (completion-table-case-fold): Use currying.
12788         (completion--styles-type, completion--cycling-threshold-type):
12789         New constants.
12790         (completion-styles, completion-category-overrides)
12791         (completion-cycle-threshold): Use them.
12792         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
12793         completion-table-case-fold.
12795 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
12797         * minibuffer.el (completion-category-overrides): Fix type of styles
12798         and add more user friendly tags (bug#9660).
12800 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12802         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
12803         (mule-input-method-string): New widget.
12804         (default-input-method, language-info-custom-alist): Use it.
12806 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12808         * pcomplete.el: Require comint.
12809         (pcomplete--common-suffix): Remove.
12810         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
12811         (pcomplete--table-subvert): Sync with comint--table-subvert.
12812         (pcomplete--entries): Use comint-completion-file-name-table.
12813         * comint.el (comint-unquote-filename): Simplify.
12814         (comint-completion-file-name-table): New function (bug#9616).
12815         (comint--complete-file-name-data): Use it.
12817         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
12818         (pcmpl-gnu-tar-buffer): Remove.
12819         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
12820         around.  Make sure pcomplete-suffix-list is only changed temporarily.
12821         Don't look inside the tar's file if it's too large.
12823 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
12825         * cus-edit.el (custom-mode-map):
12826         * epa.el (epa-key-list-mode-map):
12827         * man.el (Man-mode-map):
12828         * startup.el (splash-screen-keymap):
12829         * simple.el (special-mode-map): Use scroll-up-command and
12830         scroll-down-command.
12832         * progmodes/idlw-help.el (idlwave-help-mode-map):
12833         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
12834         * net/newst-plainview.el (newsticker-mode-map):
12835         * emulation/ws-mode.el (wordstar-mode-map):
12836         * emulation/vi.el (vi-com-map):
12837         * calc/calc-graph.el (calc-graph-show-dumb):
12838         * term/sun.el (terminal-init-sun):
12839         * term/ns-win.el (global-map):
12840         * progmodes/grep.el (grep-mode-map):
12841         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
12842         * mail/rmail.el (rmail-mode-map):
12843         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
12845         * custom.el (custom-safe-themes, load-theme): Treat value of t for
12846         custom-safe-themes as special.
12848 2011-10-01  Julien Danjou  <julien@danjou.info>
12850         * notifications.el (notifications-notify): Fix docstring.
12852 2011-10-01  Per Starbäck  <per@starback.se>
12854         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
12856 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
12858         * startup.el (command-line-1): Fix last fix by inserting
12859         initial-scratch-message into *scratch* before displaying it.
12860         (Bug#9605) and (Bug#9636)
12862 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
12864         * simple.el (line-move): If auto-hscroll-mode is disabled and the
12865         window is hscrolled, move by logical lines.  (Bug#9607)
12866         (line-move-visual): Update the doc string to the above effect.
12868 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
12870         * window.el (display-buffer-record-window): When WINDOW is the
12871         selected window use `point' instead of `window-point'.  (Bug#9626)
12873         * startup.el (command-line-1): Use insert-before-markers when
12874         inserting initial-scratch-message.  (Bug#9605)
12876         * help.el (help-window): Remove variable.
12878 2011-09-29  Glenn Morris  <rgm@gnu.org>
12880         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
12882 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
12884         * descr-text.el (describe-char-categories): Accept category
12885         descriptions more than one line long.
12887 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12889         * simple.el (delete-trailing-whitespace): Fix last change.
12891         * progmodes/perl-mode.el (perl-syntax-propertize-function):
12892         Don't confuse "y => 3" as the beginning of a `y' operation.
12894         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
12895         object has more than 4 slots (bug#9613).
12897 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
12899         * subr.el (with-output-to-temp-buffer):
12900         * net/quickurl.el (quickurl, quickurl-browse-url):
12901         Fix typos in docstrings.
12903 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
12905         * minibuffer.el (completion-styles)
12906         (completion-category-overrides): Cross reference each other in doc
12907         strings.
12909 2011-09-27  Glenn Morris  <rgm@gnu.org>
12911         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
12912         to split-string.  (Bug#9606)
12914 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
12916         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
12917         (bug#9615).
12919 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
12921         * emacs-lisp/package.el (list-packages): Fix echo area message.
12923 2011-09-27  Leo Liu  <sdl.web@gmail.com>
12925         * ido.el (ido-read-internal): Accept cons cell HIST arg.
12927 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
12929         * net/dbus.el (dbus-unregister-object): Don't release services for
12930         registered signals.  (Bug#9581)
12932 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
12934         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
12935         function that picks between cfengine 2 and 3 support
12936         automatically.  Update docs accordingly.
12938 2011-09-22  Kenichi Handa  <handa@m17n.org>
12940         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
12941         ZERO.
12942         (indian-itrans-v5-table-for-tamil): New variable.
12943         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
12945 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
12947         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
12948         that's true if the current command involved collapsing of text.
12949         It's reset to false at the beginning of the next command.
12950         (allout-post-command-business): Move the cursor to the beginning
12951         of entry if the cursor is hidden and collapsing activity just
12952         happened.
12954 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
12956         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
12957         tracking (Bug#9541).
12959 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
12961         * net/newst-reader.el (newsticker-html-renderer)
12962         (newsticker-show-news): Automatically load html rendering package
12963         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
12964         because w3m-fill-column is let-bound" and the error "Symbol's value
12965         as variable is void: w3m-fill-column".
12967 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
12969         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
12970         Release services only if they are defined.  (Bug#9581)
12972 2011-09-23  Richard Stallman  <rms@gnu.org>
12974         * textmodes/paragraphs.el (forward-sentence): For backwards case,
12975         distinguish start of paragraph from start of its text.
12977         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
12979         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
12980         (rmail-generate-viewer-buffer): Put that hook on view buffer.
12981         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
12983 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
12985         * international/mule-diag.el (mule-diag): Insert a newline after
12986         each fontset description.
12988 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12990         * simple.el (delete-trailing-whitespace):
12991         Document last change; simplify.
12993 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
12995         * simple.el (delete-trailing-whitespace): Also delete
12996         extra newlines at the end of the buffer.
12998         * textmodes/picture.el: Make motion commands obey shift-select-mode.
12999         (picture-newline): Use forward-line so as to ignore fields.
13001 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13003         * subr.el (with-wrapper-hook): Fix edebug spec.
13005 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13007         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13008         (bug#4538).
13010 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
13012         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13013         Fix nasty bug using wrong cached values.
13015 2011-09-23  Alan Mackenzie  <acm@muc.de>
13017         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13019 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
13021         * window.el (pop-to-buffer): Ensure right window is selected if we
13022         chose another frame.
13024 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
13026         * simple.el (what-cursor-position): Use get-char-property-change
13027         and next-single-char-property-change, to be able to show display
13028         properties that come from overlays as well as text properties.
13030 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
13032         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13034         * cmuscheme.el (run-scheme, switch-to-scheme):
13035         * cus-edit.el (customize-group, custom-buffer-create)
13036         (customize-browse):
13037         * info.el (info):
13038         * shell.el (shell):
13039         * mail/sendmail.el (mail):
13040         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13042 2011-09-22  Richard Stallman  <rms@gnu.org>
13044         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13045         move back only to line beg, don't move back over blank lines.
13047 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
13049         * files.el (copy-directory): Set directory attributes only in case
13050         they could be retrieved from the source directory.  (Bug#9565)
13052 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
13054         * progmodes/hideshow.el (hs-looking-at-block-start-p)
13055         (hs-find-block-beginning, hs-hide-level-recursive):
13056         Ignore strings as well as comments.  (Bug#9502)
13058 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
13060         * progmodes/sql.el (sql-comint-postgres):
13061         Convert port number to a string.  (Bug#9566)
13063 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
13065         * window.el (quit-window): Undedicate window when switching to
13066         previous buffer.  Reported by Thierry Volpiatto
13067         <thierry.volpiatto@gmail.com>.
13068         (special-display-popup-frame): When popping up a new frame reset
13069         its previous buffers to nil.  Simplify code.
13071 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
13073         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13074         and process filter, as done also in `shell-command'.
13076 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
13078         * window.el (set-window-buffer-start-and-point):
13079         Call set-window-start with NOFORCE argument t.
13080         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13081         (quit-window): Reword doc-string.  Handle new format of
13082         quit-restore parameter.  Don't delete window if it has a
13083         previous buffer we can show instead of the present one.
13084         (display-buffer-record-window): Rewrite using a new format for
13085         the quit-restore window parameter
13086         (special-display-popup-frame, display-buffer-same-window)
13087         (display-buffer-reuse-window, display-buffer-pop-up-frame)
13088         (display-buffer-pop-up-window, display-buffer-use-some-window):
13089         Adapt symbol passed to display-buffer-record-window.
13090         * help.el (help-window-setup): Handle new format of quit-restore
13091         parameter.
13093 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13095         * faces.el (face-list): Fix docstring (bug#9564).
13097         * window.el (display-buffer--action-function-custom-type):
13098         Don't include internal functions in the Custom interface.
13100 2011-09-20  Juri Linkov  <juri@jurta.org>
13102         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13103         (Info-forward-node, Info-backward-node, Info-next-preorder)
13104         (Info-last-preorder): Use it.  (Bug#9528)
13106 2011-09-20  Juri Linkov  <juri@jurta.org>
13108         * info.el (Info-last-preorder): Visit last menu item only when
13109         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13111 2011-09-20  Julien Danjou  <julien@danjou.info>
13113         * password-cache.el (password-cache-remove): Remove entries even if the
13114         value is nil, so that password with a nil value (negative caching) is
13115         possible to invalidate.
13117 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
13119         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13120         all whitespace around breakpoint.  (Bug#9553)
13121         (f90-find-breakpoint): Only break at whitespace inside a comment.
13123 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13125         * minibuffer.el (completion-file-name-table): Keep track of errors.
13126         (completion-table-with-predicate): Handle the case where pred1 is nil.
13127         * pcomplete.el (pcomplete-completions-at-point): Simplify.
13129 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13131         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13132         (debugger-return-value): Signal an error if the debugging context does
13133         not await any return value.
13135         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13136         * image-mode.el (image-toggle-display-text)
13137         (image-toggle-display-image): Stay away from evil `intangible'.
13139 2011-09-19  Leo Liu  <sdl.web@gmail.com>
13141         * replace.el (occur-revert-arguments): Make it permanent-local.
13142         (occur-mode): Don't call font-lock-defontify.
13144 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
13146         * net/ldap.el (ldap-search-internal): Don't push empty search
13147         result (Bug#9508).
13149 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13151         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13153 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
13155         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13156         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13158 2011-09-18  Juri Linkov  <juri@jurta.org>
13160         * buff-menu.el (Buffer-menu-mode-map):
13161         * dired.el (dired-mode-map):
13162         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13163         (lisp-interaction-mode-map):
13164         * emacs-lisp/package.el (package-menu-mode-map):
13165         * epa.el (epa-key-list-mode-map):
13166         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13167         (menu-bar-options-menu):
13168         * outline.el (outline-mode-menu-bar-map):
13169         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13170         * vc/vc-dir.el (vc-dir-menu-map):
13171         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13172         Capitalize non-function content words in menu item strings.
13174         * dired.el (dired-mode-map): Add menu item for
13175         `image-dired-dired-toggle-marked-thumbs'.
13177 2011-09-18  Juri Linkov  <juri@jurta.org>
13179         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13180         to `isearch-case-fold-search' and restore its original value
13181         after the `isearch-mode' call.
13183 2011-09-18  Juri Linkov  <juri@jurta.org>
13185         * progmodes/grep.el (grep-process-setup): Don't check code for 1
13186         because `zgrep' returns 1 for successful matches (bug#9226).
13188 2011-09-18  Juri Linkov  <juri@jurta.org>
13190         * info.el (Info-extract-menu-node-name): Check the second match
13191         for empty string (second test-case of bug#9528).
13192         (Info-last-preorder): Let-bind `Info-history' to nil to not add
13193         intermediate nodes to the history (first test-case of bug#9528).
13195 2011-09-18  Juri Linkov  <juri@jurta.org>
13197         * info.el (Info-mode-syntax-table): New variable.
13198         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13200 2011-09-18  Juri Linkov  <juri@jurta.org>
13202         * info.el (Info-file-supports-index-cookies):
13203         Increment line-beginning-position's arg from 3 to 4 because makeinfo
13204         outputs one more line for long file names (bug#4142).
13206 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
13208         * newcomment.el (comment-normalize-vars): If prompting for
13209         comment-start, set comment-start-skip too (Bug#8424).
13211 2011-09-18  Johan Bockgård  <bojohan@gnu.org>
13213         * icomplete.el: Fix previous fix of Bug#5849.
13214         (icomplete-mode): Don't set completion-show-inline-help.
13215         (icomplete-minibuffer-setup): Set completion-show-inline-help
13216         locally during icompletion.
13218 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
13220         * woman.el (woman2-process-escapes): Don't delete unrecognized
13221         escapes (Bug#7843).
13223         * files.el (inhibit-first-line-modes-regexps): Add image files.
13224         (hack-local-variables-prop-line): Return nil for malformed
13225         prop-lines (Bug#9044).
13227 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
13229         * net/tramp.el (top): Don't require 'shell.
13230         (tramp-methods): Fix docstring.
13231         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13232         Return complete remote file name.  Handle "smb" case.
13233         Use `tramp-tmpdir', if defined for the respective method.
13234         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13236         * net/tramp-compat.el (top): Require 'shell.
13238         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13239         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13240         `tramp-current-host'.
13241         (tramp-get-remote-tmpdir): Remove.
13243         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13244         `tramp-tmpdir' entries.
13245         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13246         (tramp-smb-handle-file-attributes): Ignore errors.
13247         (tramp-smb-wait-for-output): Check also for process end.
13249 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13251         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13252         when sending QUIT (bug#9312).
13254 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
13256         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13257         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13258         occur-mode-display-occurrence.
13259         (occur-edit-mode): Add usage message.
13260         (occur-cease-edit): New command.
13261         (occur-after-change-function): Use text properties to find the
13262         position of the prefix text.
13263         (occur-engine): Set stickiness of prefix text properties.
13265 2011-09-17  Glenn Morris  <rgm@gnu.org>
13267         * progmodes/etags.el (complete-tag):
13268         Fix call to completion-in-region.  (Bug#9526)
13270 2011-09-17  Juri Linkov  <juri@jurta.org>
13272         * textmodes/ispell.el (ispell-word): Add to the error message
13273         the word, ispell program name and current dictionary (bug#9121).
13274         (ispell-tex-arg-end): Capitalize "error" in the error message.
13276 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
13278         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13279         check.  (Bug#4251)
13281 2011-09-17  Juri Linkov  <juri@jurta.org>
13283         * window.el (window-safe-min-height, window-safe-min-width):
13284         Fix typos (followup to bug#9522).
13286 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
13288         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13290 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
13292         * simple.el (line-move): If goal-column is set, move by logical
13293         lines, not by display lines.  (Bug#971)
13294         (next-line, previous-line, goal-column, line-move-visual): Doc fix
13295         to reflect the above change.
13297 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13299         * image.el (imagemagick-register-types): Use regexp-opt.
13301 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
13303         * window.el (display-buffer-base-action): Rename from
13304         display-buffer-default-action.  Make default value empty.
13305         (display-buffer-overriding-action): Convert to defvar.
13306         (display-buffer-fallback-action): New var.
13308 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
13310         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13311         declaration.
13312         (package--add-to-archive-contents): If there is a duplicate entry
13313         with an older version, remove it.
13314         (package-menu-mark-delete, package-menu-mark-install)
13315         (package-menu-mark-unmark): Make unused args optional.
13316         (package-menu-mark-obsolete-for-deletion):
13317         Use package-menu-get-status instead of a regexp search.
13318         (package-menu-get-status): Use tabulated-list-entry.
13319         (package-menu-mark-upgrades): New command.
13320         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
13321         (package-menu-execute): Do installation before deletion.
13322         (package-menu-refresh, package-menu-execute): Use derived-mode-p
13323         instead of checking major-mode.
13324         (package-menu--find-upgrades): New function.
13326 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13328         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13329         passwords in the log buffer.
13330         (smtpmail-process-filter): Update the process marker so that the
13331         "broken by peer" status message is inserted in the right place.
13333 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13335         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13336         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13337         bibtex-completion-at-point-function.
13338         (bibtex-completion-at-point-function): Use them.
13340         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13342         * mpc.el (mpc-constraints-tag-lookup): New function.
13343         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13344         also to browser "album|playlist".
13346 2011-09-14  Juri Linkov  <juri@jurta.org>
13348         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
13349         (isearch-edit-string): Use length of `isearch-string' when
13350         `isearch-fail-pos' returns nil.
13351         (isearch-message): Remove duplicate code and call
13352         `isearch-fail-pos' with arg `t'.
13354 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
13356         * replace.el (occur-mode-goto-occurrence): Don't force using other
13357         window (Bug#9499).
13359         * dired-aux.el (dired-do-chmod): Don't provide initial input.
13361 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
13363         * window.el (display-buffer-window): Remove.
13364         (display-buffer-record-window): Use help-setup window parameter
13365         instead of variable display-buffer-window.
13366         (display-buffer-function, special-display-buffer-names)
13367         (special-display-function): Mention help-setup parameter instead
13368         of display-buffer-window in doc-string.
13369         * help.el (help-window-setup): New argument help-window.
13370         Use help-window-setup parameter instead of display-buffer-window.
13371         Reword some messages.
13372         (with-help-window): Pass window used for displaying the buffer
13373         to help-window-setup.  Don't set display-buffer-window.
13375 2011-09-13  Glenn Morris  <rgm@gnu.org>
13377         * emacs-lisp/debug.el (debugger-make-xrefs):
13378         Preserve point.  (Bug#9462)
13380 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
13382         * window.el (window-deletable-p): Use next-frame.
13384 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
13386         * window.el (window-auto-delete): Remove.
13387         (window-deletable-p): Remove argument FORCE.  Don't deal with
13388         dedication and previous buffers.
13389         (switch-to-prev-buffer): Don't delete window.
13390         (delete-windows-on): Delete a window's frame if and only if the
13391         window is dedicated.
13392         (replace-buffer-in-windows): Delete buffer's window or frame if
13393         and only if window is dedicated.
13394         (quit-window): Handle quit-restore as before last change.
13395         (bury-buffer): Delete window only if window-deletable-p returns t.
13397 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
13399         * window.el (window-deletable-p): Never delete the last frame on a
13400         given terminal.
13402 2011-09-13  Glenn Morris  <rgm@gnu.org>
13404         * help.el (describe-key-briefly): Copy previous standard-output change.
13406 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
13408         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
13410 2011-09-13  Glenn Morris  <rgm@gnu.org>
13412         * emacs-lisp/lisp-mode.el (lisp-indent-function):
13413         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13415 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
13417         * dired-aux.el (dired-mark-read-string): Don't return default
13418         value on empty input (Bug#9361).
13419         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13420         Omit initial minibuffer contents.
13421         (dired-do-chmod): Signal an error on empty input.
13422         (dired-mark-read-string): Don't return default on empty input.
13424         * files.el (file-modes-symbolic-to-number): Doc fix.
13426 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13428         * international/mule-cmds.el (ucs-completions): Remove.
13429         (read-char-by-name): Use complete-with-action instead; add metadata.
13431 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
13433         * window.el (display-buffer--action-function-custom-type)
13434         (display-buffer--action-custom-type): New vars.
13435         (display-buffer-alist, display-buffer-default-action)
13436         (display-buffer-overriding-action): Add defcustom types.
13438         * frame.el (delete-other-frames): Doc fix (Bug#276).
13440 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13442         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13444 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
13446         Change modes that used same-window-* vars to use switch-to-buffer.
13448         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13449         Use switch-to-buffer.
13451         * cus-edit.el (customize-group, custom-buffer-create)
13452         (customize-browse, custom-buffer-create-other-window):
13453         Use switch-to-buffer or switch-to-buffer-other-window.
13455         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13456         (Info-prev, Info-up, Info-speedbar-goto-node)
13457         (info-display-manual): Use switch-to-buffer.
13458         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13460         * mail/sendmail.el (mail): Use switch-to-buffer.
13461         (mail-recover): Use switch-to-buffer-other-window.
13463         * cmuscheme.el (run-scheme, switch-to-scheme):
13464         * ielm.el (ielm):
13465         * shell.el (shell):
13466         * net/rlogin.el (rlogin):
13467         * net/telnet.el (telnet, rsh):
13468         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13470 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
13472         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13474 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13476         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13477         so don't mention it (bug#9301).
13478         (dired-sort-toggle-or-edit): Clarify string further.
13480         * faces.el (face-spec-set-match-display): Make `(type graphic)'
13481         match `x', `w32' and `ns', like the manual says (bug#9029).
13483         * subr.el (eval-after-load): Doc string clarification (bug#9125).
13484         (process-kill-buffer-query-function): Mention the buffer name in
13485         the query.
13487         * image-mode.el (image-next-line): The line parameter is mandatory
13488         (bug#9258).
13490         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13491         which can be useful (bug#9301).
13493         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13495         * subr.el (match-string): Mention that the current buffer should
13496         be the same as the search was done in (bug#9282).
13498         * facemenu.el: Disable the remove-* commands if the mark isn't
13499         active (bug#9162).
13501 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
13503         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13504         of display-buffer.
13505         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13507         * replace.el (occur-mode-goto-occurrence)
13508         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13509         and display-buffer.
13511         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13512         display-buffer.
13514         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13515         special-display and same-window variables.
13516         (mail-other-window): Use switch-to-buffer-other-window.
13517         (mail-other-frame): USe switch-to-buffer-other-frame.
13519         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13520         Use display-buffer-other-frame.
13521         (gdb-display-gdb-buffer): Use pop-to-buffer.
13523         * progmodes/gud.el (gud-goto-info): Use info-other-window.
13525         * progmodes/python.el: Don't set same-window-buffer-names.
13527         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13529         * window.el (display-buffer-alist): Add *Python*.
13531 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
13533         * window.el (display-buffer-alist): Add entry for buffers
13534         previously handled same-window-*.
13535         (display-buffer-alist, display-buffer-default-action)
13536         (display-buffer-overriding-action): Mark as risky.
13537         (display-buffer-alist): Document action function changes.
13538         (display-buffer--same-window-action)
13539         (display-buffer--other-frame-action): New variables.
13540         (switch-to-buffer, display-buffer-other-frame): Use them.
13541         (display-buffer): Rename reuse-frame entry to reusable-frames.
13542         (display-buffer-reuse-selected-window): Function deleted.
13543         (display-buffer-reuse-window): Handle reusable-frames alist entry.
13544         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13545         (display-buffer-special): New function.
13546         (display-buffer--maybe-pop-up-frame-or-window): Rename from
13547         display-buffer-reuse-or-pop-window.  Split off special-display
13548         part into display-buffer-special.
13549         (display-buffer-use-some-window): Don't perform any special
13550         pop-up-frames handling.
13551         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13552         (display-buffer--maybe-same-window): Rename from
13553         display-buffer-maybe-same-window.
13555         * info.el: Don't set same-window-regexps.
13556         (info-setup): New function.
13557         (info-other-window, info): Call it.
13559         * cus-edit.el: Don't set same-window-regexps.
13560         (customize-group): New argument.
13561         (customize-group-other-window): Use it.
13562         (customize-face, customize-face-other-window): Likewise.
13563         (custom-buffer-create-other-window): Use pop-to-buffer directly.
13565         * net/rlogin.el:
13566         * net/telnet.el:
13567         * progmodes/gud.el: Don't set same-window-regexps.
13569         * cmuscheme.el:
13570         * ielm.el:
13571         * shell.el:
13572         * mail/sendmail.el:
13573         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13575 2011-09-10  Juri Linkov  <juri@jurta.org>
13577         * isearch.el (isearch-edit-string): Remove obsolete mention of
13578         `C-w' (`isearch-yank-word-or-char') from docstring.
13579         (isearch-query-replace): Fix typo in docstring (bug#9466).
13581 2011-09-10  Juri Linkov  <juri@jurta.org>
13583         * paren.el (show-paren-function): Don't show escaped parens.
13584         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
13586 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
13588         * mail/sendmail.el (mml-to-mime, mml-attach-file)
13589         (mm-default-file-encoding): Remove autoload forms, they are
13590         replaced with autoload cookies in mml.el and mm-encode.el.
13591         (mail-add-attachment): New command.
13592         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13593         (mail-mode): Mention mail-insert-file and mail-add-attachment in
13594         the doc string.
13595         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13597 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
13599         * simple.el (count-words-region): Use buffer if there's no region
13600         (bug#9429).
13602 2011-09-09  Juri Linkov  <juri@jurta.org>
13604         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13605         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13606         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
13608 2011-09-09  Alan Mackenzie  <acm@muc.de>
13610         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13611         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
13613 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
13615         Fix for Savannah bug#9392.
13616         * simple.el (mail-encode-mml): New defvar.
13618         * mail/rmail.el (mail-encode-mml): Add a defvar.
13619         (rmail-enable-mime-composing): Default to t.
13620         (rmail-forward): Use MIME method of forwarding only if both
13621         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13622         Set mail-encode-mml non-nil if the MIME method was used.
13624         * mail/sendmail.el (mml-to-mime): Add autoload form.
13625         (mail-encode-mml): Add a defvar.
13626         (mail-mode): Make mail-encode-mml buffer-local and initialize it
13627         to nil.
13628         (mail-send): If mail-encode-mml is non-nil, run the outgoing
13629         message through mml-to-mime, and reset mail-encode-mml to nil.
13631 2011-09-09  Glenn Morris  <rgm@gnu.org>
13633         * woman.el (woman-if-body): When processing an .el block,
13634         do not delete the next .el block as well.  (Bug#9447)
13635         (woman-special-characters): Add oq, cq, and hy characters.
13637 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
13639         * window.el (window-deletable-p): Make sure window is live before
13640         invoking window-prev-buffers.
13642 2011-09-08  Leo Liu  <sdl.web@gmail.com>
13644         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
13646 2011-09-08  Juri Linkov  <juri@jurta.org>
13648         * progmodes/compile.el (compilation-environment): Make it
13649         a defcustom (bug#8340).
13651 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
13653         * window.el (frame-auto-delete): Rename to window-auto-delete.
13654         Make it control auto-deletion of windows and/or frames.
13655         (window-deletable-p): New argument FORCE.  Rewrite conditions
13656         for deleting window/frame.  (Bug#9419)
13657         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
13658         Rewrite handling of case when window/frame can be deleted.
13659         (delete-windows-on): Call window-deletable-p with new FORCE
13660         argument t.  (Bug#9456)
13662 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
13664         * help-mode.el (help-mode): Restore autoload.
13666 2011-09-07  Juri Linkov  <juri@jurta.org>
13668         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
13669         `compilation-environment'.  Set buffer-local
13670         `compilation-environment' to `thisenv' later after (funcall mode).
13671         (Bug#8340)
13673         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
13674         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
13675         instead of replacing its value.  (Bug#8340)
13677 2011-09-07  Juri Linkov  <juri@jurta.org>
13679         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
13680         based on text properties put by `grep-filter' instead of matching
13681         escape sequences.
13682         (grep-mode): Set buffer-local `compilation-error-screen-columns'
13683         to the value of `grep-error-screen-columns' (bug#9438).
13685 2011-09-07  Juri Linkov  <juri@jurta.org>
13687         * simple.el (next-error-highlight, next-error-highlight-no-select):
13688         Doc fix (bug#9432).
13690 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
13692         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
13693         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
13695 2011-09-07  Leo Liu  <sdl.web@gmail.com>
13697         * net/rcirc.el (rcirc-mode): Conditionally initialize
13698         rcirc-input-ring.
13700 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13702         * emacs-lisp/find-func.el (find-function-C-source): Only set
13703         find-function-C-source-directory after checking that we found a source
13704         file there (bug#9440).
13706 2011-09-06  Alan Mackenzie  <acm@muc.de>
13708         * isearch.el (isearch-other-meta-char): Wherever a key list is
13709         unread, "unread" the prefix arg, too.  This fixes bug #8901.
13711 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
13713         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
13715 2011-09-05  Juri Linkov  <juri@jurta.org>
13717         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
13719 2011-09-05  Juri Linkov  <juri@jurta.org>
13721         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
13722         keeping point where processing of grep matches begins, and
13723         continue to delete remaining escape sequences from the same point.
13724         (grep-filter): Make leading zero optional in "0?1;31m" because
13725         git-grep emits "\033[1;31m" escape sequences unlike expected
13726         "\033[01;31m" as GNU Grep does (bug#9408).
13727         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
13729 2011-09-05  Juri Linkov  <juri@jurta.org>
13731         * subr.el (y-or-n-p): Capitalize "yes".
13733 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
13735         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
13736         `tramp-cache-unload-hook' where appropriate.
13737         (tramp-methods): Rename `tramp-remote-sh' to
13738         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
13739         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
13741         * net/tramp-sh.el (top): Don't require 'shell.
13742         (tramp-methods): Add `tramp-remote-shell' and
13743         `tramp-remote-shell-args' entries.
13744         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
13745         (tramp-sh-handle-shell-command): Remove.
13746         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13747         Use `tramp-remote-shell'.
13749 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
13751         * mail/sendmail.el (sendmail-query-once-function): Delete.
13752         (sendmail-query-once): Save directly to send-mail-function.
13753         Update message-send-mail-function too.
13755         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
13757 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
13759         * progmodes/python.el (python-mode-map): Use correct function to
13760         start python interpreter from menu-bar (as reported by Geert
13761         Kloosterman).
13762         (inferior-python-mode-map): Fix typo.
13763         (python-shell-map): Remove.
13765 2011-09-03  Deniz Dogan  <deniz@dogan.se>
13767         * net/rcirc.el (rcirc-print): Simplify code for
13768         rcirc-scroll-show-maximum-output.  There is no need to walk
13769         through all windows to find the right one.
13771 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
13773         * help.el (help-return-method): Doc fix.
13775 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
13777         * window.el (window-deletable-p): Don't return a non-nil value
13778         when there's a buffer that was shown in the window before.
13779         (Bug#9419)
13780         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13781         Set window's previous buffers to nil.
13783 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
13785         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
13786         newline before and after the tag line, so it doesn't interfere
13787         with determining the paragraph direction of bidirectional text.
13789 2011-09-03  Leo Liu  <sdl.web@gmail.com>
13791         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
13793 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
13795         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
13796         (pop-to-buffer): Change interactive spec.  Pass second argument
13797         directly to display-buffer.
13798         (display-buffer): Fix interactive spec.  Use functionp to
13799         distinguish between a function and a list of functions.
13801         * abbrev.el (edit-abbrevs):
13802         * arc-mode.el (archive-extract):
13803         * autoinsert.el (auto-insert):
13804         * bookmark.el (bookmark-bmenu-list):
13805         * files.el (find-file):
13806         * view.el (view-buffer):
13807         * progmodes/compile.el (compilation-goto-locus):
13808         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
13810 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
13812         * window.el (display-buffer-alist): Doc fix.
13813         (display-buffer): Add docstring.  Don't treat
13814         display-buffer-default specially.
13815         (display-buffer-reuse-selected-window)
13816         (display-buffer-same-window, display-buffer-maybe-same-window)
13817         (display-buffer-reuse-window, display-buffer-pop-up-frame)
13818         (display-buffer-pop-up-window)
13819         (display-buffer-reuse-or-pop-window)
13820         (display-buffer-use-some-window): New functions.
13821         (display-buffer-default-action): Use them.
13822         (display-buffer-default): Delete.
13823         (pop-to-buffer-1): Fix choice of actions.
13825 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13827         * minibuffer.el (completion--insert-strings): Don't get confused by
13828         completion entries that end with an LF char.
13830 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
13832         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
13834 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
13836         * window.el (display-buffer): Restore interactive spec.
13837         (display-buffer-same-window, display-buffer-other-window):
13838         New functions.
13839         (pop-to-buffer-1): New function.  Use the above.
13840         (pop-to-buffer, pop-to-buffer-same-window): Use it.
13841         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
13843         * view.el (view-buffer-other-window, view-buffer-other-frame):
13844         Just use pop-to-buffer.
13846 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13848         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
13850 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
13852         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
13854 2011-08-31  Richard Stallman  <rms@gnu.org>
13856         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
13857         of the separation of rmail-view-buffer from rmail-buffer.
13858         If you say no to "replace original", the decrypt is in the
13859         view buffer.  If you say yes, the decrypt goes into the
13860         rmail buffer also.
13862 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
13864         * window.el (display-buffer-window): Rewrite doc-string.
13865         (display-buffer-record-window): New function.
13866         (display-buffer-macro-specifiers)
13867         (display-buffer-even-window-sizes, display-buffer-set-height)
13868         (display-buffer-set-width, display-buffer-in-window)
13869         (display-buffer-reuse-window, display-buffer-split-specifiers)
13870         (display-buffer-side-specifiers, display-buffer-split-window-1)
13871         (display-buffer-split-window, display-buffer-split-atom-window)
13872         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
13873         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
13874         (display-buffer-other-window-means-other-frame)
13875         (display-buffer-normalize-special)
13876         (display-buffer-normalize-default)
13877         (display-buffer-normalize-argument)
13878         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
13879         (display-buffer-normalize-specifiers, display-buffer-frame)
13880         (display-buffer-same-window, display-buffer-same-frame)
13881         (display-buffer-other-window)
13882         (display-buffer-same-frame-other-window)
13883         (display-buffer-other-frame, pop-to-buffer-same-window)
13884         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
13885         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
13886         (switch-to-buffer-same-frame)
13887         (switch-to-buffer-other-window-same-frame)
13888         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
13889         (display-buffer-alist-set-1, display-buffer-alist-set-2)
13890         (display-buffer-alist-set): Remove.
13891         (display-buffer-function, special-display-buffer-names)
13892         (special-display-regexps, special-display-function):
13893         In doc-string refer to display-buffer-window and quit-restore
13894         parameter.
13895         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
13896         (special-display-frame-alist, special-display-popup-frame)
13897         (same-window-buffer-names, same-window-regexps, same-window-p)
13898         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13899         (split-window-preferred-function, split-height-threshold)
13900         (split-width-threshold, window-splittable-p)
13901         (split-window-sensibly, window--try-to-split-window)
13902         (window--frame-usable-p, even-window-heights)
13903         (window--even-window-heights, window--display-buffer-1)
13904         (window--display-buffer-2, display-buffer-other-frame):
13905         Restore old Emacs 23 code, order and doc-strings where applicable.
13906         (display-buffer-default, display-buffer-assq-regexp): New functions.
13907         (display-buffer-alist): Rewrite doc-string.
13908         (display-buffer-default-action)
13909         (display-buffer-overriding-action): New variables.
13910         (display-buffer, switch-to-buffer): Rewrite.
13911         (pop-to-buffer): Restore Emacs 23 behavior but use
13912         window-normalize-buffer-to-display.
13913         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
13914         Restore Emacs 23 behavior but use
13915         window-normalize-buffer-to-switch-to.
13916         (pop-to-buffer-same-window): Rewrite.
13917         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
13918         Rewrite using Emacs 23 options.
13920 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
13922         * net/tramp.el (tramp-root-regexp): Remove.
13923         (tramp-completion-file-name-regexp-unified)
13924         (tramp-completion-file-name-regexp-separate)
13925         (tramp-completion-file-name-regexp-url): Don't use leading volume
13926         letter on w32 systems.  (Bug#5303, Bug#9311)
13927         (tramp-drop-volume-letter): Simplify definition.
13928         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
13930 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13932         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
13933         (bug#9356).
13935 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
13937         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
13939 2011-08-29  Juri Linkov  <juri@jurta.org>
13941         * isearch.el (isearch-done): Don't display message "Mark saved"
13942         when arg `edit' is non-nil to prevent its flicker in the echo area.
13944 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
13946         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
13947         obsolete packages for deletion.
13949 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
13951         * help-mode.el (help-mode-map): Add special-mode-map to parent.
13952         (help-mode): Derive help-mode from special-mode.  Don't invoke
13953         view-mode from help-mode.
13954         (help-xref-override-view-map): Remove.
13955         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
13956         view-mode is not used anymore.
13958 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
13960         * server.el (server-port): Doc fix.
13962         * cus-theme.el (custom-theme-choose-mode): Inherit from
13963         special-mode (Bug#9124).
13964         (custom-theme-choose-mode-map): Add special-mode to parent.
13966 2011-08-28  Alan Mackenzie  <acm@muc.de>
13968         * progmodes/cc-fonts.el
13969         (c-make-font-lock-BO-decl-search-function): New function.
13970         (c-basic-matchers-after - "Fontify the clauses after various
13971         keywords"): Extract the three keyword lists for the 3 erroneous
13972         constructs from the list of four, and use the new function above
13973         in place of an old one.
13975 2011-08-28  Deniz Dogan  <deniz@dogan.se>
13977         * net/rcirc.el (rcirc-insert-prev-input)
13978         (rcirc-insert-next-input): Remove unused argument.
13980 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13982         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
13984 2011-08-27  Alan Mackenzie  <acm@muc.de>
13986         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
13987         handle function pointer parameters properly.
13989 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
13991         * window.el (display-buffer-reuse-window): Fix case where
13992         selected window was reused with non-nil OTHER-WINDOW argument.
13993         (Bug#9381)
13995 2011-08-27  Deniz Dogan  <deniz@dogan.se>
13997         * net/rcirc.el (rcirc-check-auth-status): Adding support for
13998         oftc's NickServ messages.
14000 2011-08-27  Glenn Morris  <rgm@gnu.org>
14002         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
14004 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
14006         * emacs-lisp/package.el (package-install): Call package-initialize
14007         if called interactively.
14009 2011-08-26  Leo Liu  <sdl.web@gmail.com>
14011         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
14013 2011-08-25  Juri Linkov  <juri@jurta.org>
14015         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14016         `search-whitespace-regexp' (bug#9364).
14018 2011-08-25  Juri Linkov  <juri@jurta.org>
14020         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14021         `regexp-search-ring' to their global values to protect from
14022         updating by `read-from-minibuffer' (bug#9185).
14024 2011-08-25  Juri Linkov  <juri@jurta.org>
14026         * textmodes/ispell.el (ispell-command-loop): Add newline
14027         at the end of the "Use option `i'..." line.
14029 2011-08-25  Juri Linkov  <juri@jurta.org>
14031         * battery.el (display-battery-mode): If `battery-status-function'
14032         or `battery-mode-line-format' is nil, display the message and set
14033         `display-battery-mode' to nil (bug#9363).
14035 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
14037         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14038         bidi-string-mark-left-to-right; they are unnecessary now.
14040 2011-08-25  Deniz Dogan  <deniz@dogan.se>
14042         * net/quickurl.el: Documentation typo fixes.
14044 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
14046         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14048 2011-08-25  Glenn Morris  <rgm@gnu.org>
14050         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14052         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14053         (smtpmail-via-smtp): Handle nil response from smtp.
14055 2011-08-24  Juri Linkov  <juri@jurta.org>
14057         * proced.el (proced-marked): Inherit from `error' instead of
14058         `font-lock-warning-face'.
14060         * ibuffer.el (ibuffer-marked-face): Change default face from
14061         `font-lock-warning-face' to `warning'.
14062         (ibuffer-deletion-face): Change default face from
14063         `font-lock-type-face' to `error'.
14065         * battery.el (battery-update): Use the face `error' instead of
14066         `font-lock-warning-face' (bug#6117).
14068 2011-08-24  Juri Linkov  <juri@jurta.org>
14070         * faces.el (success): Change face color from "Green3" to
14071         "ForestGreen" on light background (bug#9353).
14073 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
14075         * window.el (quit-window): Rename from quit-restore-window.
14076         Use same arglist as old quit-window.
14077         (frame-auto-delete): Doc fix.
14079         * view.el (view-mode-exit): Use quit-window.
14081 2011-08-24  Juri Linkov  <juri@jurta.org>
14083         * isearch.el (isearch-ring-adjust1): Start visiting previous
14084         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14085         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14086         for empty search string (when the last search string is reused
14087         automatically) to adjust the isearch ring to the last element and
14088         prepare the correct index for further M-p commands (bug#9185).
14090 2011-08-24  Kenichi Handa  <handa@m17n.org>
14092         * international/ucs-normalize.el: If decomposition property of
14093         CHAR is the default one (i.e. a list of CHAR itself), treat it as
14094         nil.
14095         (nfd, nfkd): Likewise.
14097 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14099         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14100         from process filters aren't reliably transmitted to the surrounding
14101         accept-process-output.
14102         (mpc-proc-check): New function.
14103         (mpc-proc-sync): Use it (bug#8293)
14105 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14107         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14108         Add compatibility functions (bug#9313).
14110 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
14112         * cus-start.el (all): Add entry for bidi-paragraph-direction.
14114         * international/uni-bidi.el: Regenerate.
14116 2011-08-23  Kenichi Handa  <handa@m17n.org>
14118         * international/charprop.el:
14119         * international/uni-bidi.el:
14120         * international/uni-category.el:
14121         * international/uni-combining.el:
14122         * international/uni-comment.el:
14123         * international/uni-decimal.el:
14124         * international/uni-decomposition.el:
14125         * international/uni-digit.el:
14126         * international/uni-lowercase.el:
14127         * international/uni-mirrored.el:
14128         * international/uni-name.el:
14129         * international/uni-numeric.el:
14130         * international/uni-old-name.el:
14131         * international/uni-titlecase.el:
14132         * international/uni-uppercase.el: Regenerate.
14134 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
14136         * help.el (help-window-setup): Fix message displayed when other
14137         window is reused.  (Bug#9341)
14139 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14141         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14142         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14144         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14145         Mark obsolete.
14146         * shell.el (shell-parse-pcomplete-arguments): New function.
14147         (shell-completion-vars): Use it instead (bug#9160).
14149 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14151         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14152         strings and comments (bug#9333).
14154         * emacs-lisp/debug.el (debug-arglist): New function.
14155         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
14156         (debug-on-entry-1): Handle interpreted closures (bug#9120).
14158 2011-08-22  Juri Linkov  <juri@jurta.org>
14160         * progmodes/compile.el (compilation-mode-font-lock-keywords):
14161         Revert regexp that highlights output switches to its old
14162         pre-2010-10-28 value and remove one `?' from it (bug#9319).
14164         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14165         to check for empty output (bug#9226).
14167 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
14169         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14170         symbol-constituent as the default, as that stops font-lock from
14171         working properly (Bug#8843).
14173 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14175         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14176         `coding-system-for-*' around the process open call to avoid
14177         auth-source side effects.
14178         (smtpmail-try-auth-methods): Expand the secret password.
14179         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14180         probe hangs.
14182 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
14184         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14186         * emacs-lisp/find-func.el (find-function-noselect): New arg
14187         lisp-only.
14189         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14190         signal an error for built-in functions (Bug#6664).
14192 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14194         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14195         (smtpmail-try-auth-methods): Use it.
14197 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
14199         * font-lock.el (font-lock-fontify-region)
14200         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14201         (font-lock-default-unfontify-buffer)
14202         (font-lock-default-fontify-region)
14203         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14205         * progmodes/compile.el (compilation-error-properties):
14206         Fix confusion between file struct and message struct (Bug#9319).
14207         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14208         `ant' regexp.
14210         * net/browse-url.el (browse-url-firefox): Don't call
14211         browse-url-firefox-sentinel unless using -remote (Bug#9328).
14213 2011-08-20  Glenn Morris  <rgm@gnu.org>
14215         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14217         * tutorial.el (tutorial--default-keys): Update some default bindings.
14219         * files.el (hack-local-variables): Fully ignore case for "mode:".
14221 2011-08-20  Alan Mackenzie  <acm@muc.de>
14223         Resolve invalid use of a regexp in regexp-opt.
14225         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14226         detection for a java annotation.
14228         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14229         detection for a java annotation.
14231         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14232         handling for java.
14233         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14235 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
14237         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14238         (Bug#9274).
14240 2011-08-20  Alan Mackenzie  <acm@muc.de>
14242         Fontify CPP expressions correctly when starting in the middle of
14243         such a construct.  Mainly for when jit-lock etc. starts a chunk
14244         here.
14246         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14247         variable.
14248         (c-make-font-lock-search-form): New function, extracted from
14249         c-make-font-lock-search-function.
14250         (c-make-font-lock-search-function): Use the above function.
14251         (c-make-font-lock-context-search-function): New function.
14252         (c-cpp-matchers): Enhance the preprocessor expression case with
14253         the above function
14254         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14255         which takes an expression.
14257         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14259 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
14261         * window.el (display-buffer-reuse-window)
14262         (display-buffer-pop-up-window): Don't reuse or split a side
14263         window.
14265 2011-08-19  Glenn Morris  <rgm@gnu.org>
14267         * files.el (hack-local-variables-prop-line, hack-local-variables):
14268         Downcase "Mode:".  (Bug#9331)
14270 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
14272         * international/characters.el: Add L and R categories.
14274         * subr.el (bidi-string-mark-left-to-right): Rename from
14275         string-mark-left-to-right.  Use category search.
14277         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14279 2011-08-18  Juri Linkov  <juri@jurta.org>
14281         * faces.el (error, warning, success): New faces with definitions
14282         copied from old default values of `font-lock-warning-face',
14283         `compilation-warning', `compilation-info' (bug#6117).
14285         * font-lock.el (font-lock-warning-face): Inherit from `error'.
14287         * progmodes/compile.el (compilation-error): Inherit from `error'.
14288         (compilation-warning): Inherit from `warning'.
14289         (compilation-info): Inherit from `success'.
14291         * dired.el (dired-marked): Inherit from `warning'.
14292         (dired-flagged): Inherit from `error'.
14294 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14296         * mail/smtpmail.el (auth-source): Require to avoid problems with
14297         binding variables (bug#9298).  Also clean up some unused
14298         autoloads.
14300         * net/network-stream.el (network-stream-open-starttls):
14301         Support using starttls.el without using gnutls-cli.
14303 2011-08-17  Juri Linkov  <juri@jurta.org>
14305         * progmodes/grep.el (rgrep): Handle the case when
14306         `grep-find-command' is a cons cell (bug#9278).
14308 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
14310         * window.el (display-buffer-pop-up-frame): Run frame creation
14311         function with BUFFER current (as special-display-popup-frame
14312         does).  Reported by Drew Adams.
14314 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
14316         * epa-mail.el: Simplify GnuPG group expansion using
14317         epg-expand-group.
14318         (epa-mail-group-alist, epa-mail-group-modtime)
14319         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14320         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14321         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14322         Remove.
14324 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
14326         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14328 2011-08-16  Alan Mackenzie  <acm@muc.de>
14330         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14331         Correct, to avoid the inside of macros.
14333 2011-08-16  Richard Stallman  <rms@gnu.org>
14335         * epa-mail.el: Handle GnuPG group definitions.
14336         (epa-mail-group-alist, epa-mail-group-modtime)
14337         (epa-mail-gnupg-conf-file): New variables.
14338         (epa-mail-parse-groups, epa-mail-sync-groups)
14339         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14340         (epa-mail-expand-recipients): New functions.
14341         (epa-mail-encrypt): Call epa-mail-expand-recipients.
14343         * mail/rmail.el (rmail-epa-decrypt): New command.
14345         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14346         Don't bind buffer-read-only, just inhibit-read-only.
14347         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14348         (epa-decrypt-armor-in-region): Make error message clearer.
14350 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14352         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14353         and "a2b" to "ab" for `prefix'.
14355 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
14357         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14358         filter groups.
14359         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
14360         Fourquet (Bug#8804).
14362 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
14364         * startup.el (argi): Declare as global variable (bug#9275).
14366 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
14368         * subr.el (string-mark-left-to-right): Search the entire string
14369         for RTL script, not just the terminating character.  Doc fix.
14371 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14373         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14374         New function.
14375         (js--regexp-literal, js-syntax-propertize-function): Remove.
14376         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14377         (js-mode-map): Don't rebind electric keys.
14378         (js-insert-and-indent): Remove.
14379         (js-mode): Setup electric-layout and electric-indent instead.
14381         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14383 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
14385         * epa.el (epa-progress-callback-function): Fix the logic of
14386         displaying progress.
14387         * epa-file.el (epa-file-insert-file-contents): Make progress
14388         display more user-friendly.
14389         (epa-file-write-region): Ditto.
14391 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
14393         * subr.el (string-mark-left-to-right): New function.
14395         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14396         Use string-mark-left-to-right.
14397         (list-buffers-noselect): Caller changed.
14399         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14400         Use string-mark-left-to-right.
14401         (tabulated-list-print): Recenter after moving point.
14403 2011-08-10  Juri Linkov  <juri@jurta.org>
14405         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14406         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14407         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14409 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
14411         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14412         (Bug#7554).
14414 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14416         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14417         character.  (Bug#6594)
14419 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
14421         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14422         (image-dired--with-db-file): New macro.
14423         (image-dired-write-tags, image-dired-remove-tag)
14424         (image-dired-create-gallery-lists, image-dired-write-comments)
14425         (image-dired-get-comment, image-dired-mark-tagged-files)
14426         (image-dired-list-tags, image-dired-gallery-generate): Use it.
14427         (image-dired-gallery-generate): Use insert-file-contents.
14429         * time.el (display-time-world-list, display-time-world-display):
14430         * time-stamp.el (time-stamp-string):
14431         * vc/add-log.el (add-change-log-entry): Use setenv instead of
14432         set-time-zone-rule (Bug#7337).
14434 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
14436         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14437         (epg-error-to-string, epg-errors-to-string): New function.
14438         (epg-wait-for-completion): Reverse errors list.
14439         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14440         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14441         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14442         (epg-sign-keys, epg-generate-key-from-file)
14443         (epg-generate-key-from-string): Format errors by using
14444         epg-errors-to-string (bug#9255).
14445         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14447 2011-08-07  Juri Linkov  <juri@jurta.org>
14449         * faces.el (list-faces-display): Remove extra angle bracket
14450         from `help-mode-map'.
14452         * info.el (Info-history-toc-nodes): Doc fix.
14454         * longlines.el (longlines-mode): Doc fix.
14456 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14458         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14459         of statements and in a few more cases (bug#9183).
14461         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14462         New functions.
14463         (cl-transform-lambda): Use them (bug#9239).
14465 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
14467         * window.el (display-buffer-same-window)
14468         (display-buffer-same-frame, display-buffer-other-window)
14469         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14470         (pop-to-buffer-other-window)
14471         (pop-to-buffer-same-frame-other-window)
14472         (pop-to-buffer-other-frame): Make them defuns.
14473         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14475 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14477         * subr.el (make-composed-keymap): Move from C.  Change calling
14478         convention, and improve docstring to bring attention to a subtle point.
14479         * minibuffer.el (completing-read-default): Adjust accordingly.
14481 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
14483         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14484         (tramp-open-shell): Use `tramp-shell-quote-argument'.
14486         * net/trampver.el: Update release number.
14488 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14490         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14491         "in" (bug#9190).
14493 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14495         * mail/sendmail.el (sendmail-query-once): Restore the current
14496         buffer after querying (bug#9074).
14498         * dired.el (dired-flagged): Use different faces for marked and
14499         flagged files (bug#6117).
14501         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14502         (bug#4433).
14504         * ido.el (ido-mode): Switch off the message if called
14505         non-interactively.
14507         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14508         before 587, since it appears that that's more likely to work for
14509         more people.
14511         * cus-edit.el (custom-file): When running under emacs -q, always
14512         refuse to save the customizations, even if the .emacs file doesn't
14513         exist.
14515         * info.el: Remove the `Info-beginning-of-buffer' function
14516         (bug#8325).
14518         * net/network-stream.el (network-stream-open-starttls):
14519         Use `starttls-available-p' to see whether starttls.el can be used.
14521 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
14523         * window.el (display-buffer-in-window): Don't set dedicated status
14524         of window here (Bug#9215).
14525         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14526         (display-buffer-pop-up-side-window)
14527         (display-buffer-in-side-window): Set dedicated status of window here.
14529 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14531         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14532         before binding generated-autoload-file.
14534 2011-08-01  Deniz Dogan  <deniz@dogan.se>
14536         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14538 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
14540         Sync with Tramp 2.2.2.
14542         * net/trampver.el: Update release number.
14544 2011-07-30  Juri Linkov  <juri@jurta.org>
14546         * dired-aux.el (dired-touch-initial): Remove function.
14547         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14548         current time, and `default' to the last modification time of the
14549         current marked file (bug#6887).
14551 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
14553         * simple.el (goto-line): Use string-to-number to provide a
14554         numeric argument to read-number (bug#9163).
14556 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
14558         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14559         connection process, it could be nil.
14561 2011-07-27  Leo Liu  <sdl.web@gmail.com>
14563         Simplify url handling in rcirc-mode.
14565         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14566         (rcirc-browse-url-at-mouse): Remove.
14567         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14569 2011-07-26  Alan Mackenzie  <acm@muc.de>
14571         Fontify bitfield declarations properly.
14573         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14574         (c-symbol-chars): Now exported as a lang variable.
14575         (c-not-primitive-type-keywords): New lang variable.
14577         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14578         QT keyword "more" to prevent "more slots: ...." being spuriously
14579         parsed as a bitfield declaration.
14581         * progmodes/cc-engine.el (c-beginning-of-statement-1):
14582         Refactor and enhance to handle bitfield declarations.
14583         (c-punctuation-in): New function.
14584         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14585         declarations properly.
14587 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
14589         * calendar/icalendar.el (icalendar--all-events): Take care of
14590         multiple vcalendars in a single file.
14591         (icalendar--convert-float-to-ical): Checkdoc fixes.
14593 2011-07-25  Deniz Dogan  <deniz@dogan.se>
14595         * image.el (insert-image): Clarifying docstring.
14597 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
14599         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14600         `tramp-send-command-and-check' if there is no error.
14601         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14603 2011-07-22  Alan Mackenzie  <acm@muc.de>
14605         Prevent cc-langs.elc being loaded at run time.
14607         * progmodes/cc-mode.el: Remove two autoload forms which loaded
14608         cc-langs.
14610         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14611         "(require 'cc-langs)".  Quote a form so it will evaluate at
14612         (cc-mode's) compilation time.
14614 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
14616         * net/tramp.el (tramp-file-name-handler): Avoid recursive
14617         loading.  (Bug#9114)
14619 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
14621         * window.el (display-buffer-pop-up-window)
14622         (display-buffer-pop-up-side-window)
14623         (display-buffer-in-side-window): Call display-buffer-set-height
14624         and display-buffer-set-width after setting the new window's
14625         buffer so `fit-window-to-buffer' and friends work on the right buffer.
14627 2011-07-20  Sam Steingold  <sds@gnu.org>
14629         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14630         (etags-tags-included-tables): Call `convert-standard-filename' on
14631         the file names contained in TAGS so that windows Emacs can handle
14632         TAGS files created by cygwin ctags.
14634 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14636         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14637         which apparently didn't work.
14639 2011-07-19  Roland Winkler  <winkler@gnu.org>
14641         * proced.el (proced-send-signal): For *Marked Processes* buffer
14642         put point at beginning of buffer.
14644 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
14646         * proced.el (proced-format): Make header lines align with the text
14647         (bug#1779).
14649 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14651         * view.el (view-buffer): Allow running in `special' modes if we're
14652         visiting a file (bug#8615).
14654 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
14656         * window.el (display-buffer-alist-of-strings-p)
14657         (display-buffer-alist-set-1, display-buffer-alist-set-2):
14658         New functions.
14659         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
14660         more accurately.
14662 2011-07-18  Alan Mackenzie  <acm@muc.de>
14664         Fontify declarators properly when, e.g., a jit-lock chunk begins
14665         inside a declaration.
14667         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
14669         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14670         New function.
14671         (c-complex-decl-matchers): Insert reference to
14672         c-font-lock-enclosing-decls.
14674         * progmodes/cc-engine.el (c-backward-single-comment):
14675         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
14676         to nil around calls to (forward-comment -1).
14678 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14680         * image.el (put-image): Doc typo fix.
14682         * progmodes/etags.el (tags-search): Doc typo fix.
14684         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
14685         password if we get errors 550 to 554.
14687 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14689         * net/gnutls.el (gnutls-log-level): Remove.
14691         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
14692         indentation character (bug#6380).
14694         * files.el (buffer-offer-save): Made permanently local (bug#6241).
14696         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
14697         to clarify what the problem is (bug#4291).
14699         * simple.el (current-kill): Clarify what
14700         `interprogram-paste-function' does (bug#7500).
14701         (auto-fill-mode): Document `auto-fill-function' in relation to
14702         `auto-fill-mode' (bug#2470).
14704 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
14706         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
14707         method if slot is read-only (bug#9035).
14709 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
14711         * frame.el (select-frame-set-input-focus): New argument NORECORD.
14712         * window.el (pop-to-buffer): Select window used even if it was
14713         selected before, see discussion of (Bug#8615), (Bug#6954).
14714         Pass argument NORECORD on to select-frame-set-input-focus.
14716 2011-07-15  Glenn Morris  <rgm@gnu.org>
14718         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
14719         Respect help-form.
14721 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
14723         * net/gnutls.el (gnutls-min-prime-bits): New variable.
14724         (gnutls-negotiate): Use it.
14726 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14728         * net/gnutls.el (gnutls-negotiate):
14729         Upcase `gnutls-algorithm-priority'.
14731 2011-07-15  Glenn Morris  <rgm@gnu.org>
14733         * jka-compr.el (jka-compr-verbose): Move from here...
14734         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
14735         Add missing :version tag.
14736         * info.el: No need to require jka-compr when compiling.
14738 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14740         * net/gnutls.el (gnutls-algorithm-priority): New variable.
14741         (gnutls-negotiate): Use it.
14743         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
14745         * info.el (Info-beginning-of-buffer): New command.
14746         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
14747         announcing `b' as the key (bug#8325).
14748         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
14750         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
14752         * international/mule-cmds.el
14753         (describe-specified-language-support): Make the error message
14754         clearer (bug#8905).
14756         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
14758         * isearch.el (isearch-barrier): Add a doc string, since it's
14759         mentioned in a function doc string (bug#8678).
14761 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
14763         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
14764         buffer argument (Bug#9083) and self-identifying label argument.
14766 2011-07-15  Glenn Morris  <rgm@gnu.org>
14768         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
14770 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14772         * man.el (Man-fontify-manpage): Fix message when formatting the
14773         man page (bug#7929).
14775 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
14777         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
14778         argument LRM; if non-nil, append an invisible LRM character to the
14779         buffer name.
14780         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
14781         last argument non-nil, when formatting buffer names.
14782         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
14783         paragraph direction.
14785 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14787         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
14788         the man page name (bug#7929).
14790         * image.el (put-image): Mention the `put-image' overlay property
14791         (bug#7834).
14793         * scroll-bar.el (set-scroll-bar-mode): Mention that
14794         `scroll-bar-mode' lists the values (bug#7772).
14796         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
14797         command (bug#7729).
14799         * rect.el (apply-on-rectangle): Return the point after the last
14800         operation.
14801         (string-rectangle): Go to the point after the last operation
14802         (bug#7522).
14804         * printing.el (pr-toggle-region): Clarify the documentation
14805         slightly (bug#7493).
14807         * time.el (display-time-update):
14808         Allow `display-time-mail-function' to return nil (bug#7158).
14809         Fix suggested by Detlev Zundel.
14811         * vc/diff.el (diff): Clarify the order the file names are read
14812         (bug#7111).
14814         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
14815         the doc string (bug#7015).
14817         * font-lock.el (font-lock-maximum-decoration): Mention what
14818         numeric levels mean (bug#6935).
14820         * startup.el (initial-buffer-choice): Don't mention the `none'
14821         selection, which is against policy.
14823 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
14825         * window.el (display-buffer-normalize-special):
14826         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
14828 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
14830         * subr.el (version<, version<=, version=): Mention "-CVS" and
14831         "-12345" alpha version numbers.
14833 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
14835         * bindings.el: Add advertised binding for set-mark-command
14836         (Bug#5772).
14838 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
14840         * bindings.el (mode-line-other-buffer):
14841         * bookmark.el (bookmark-bmenu-2-window):
14842         * bs.el (bs-cycle-next, bs-cycle-previous):
14843         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
14844         switch-to-buffer.
14846         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
14847         Delete.
14849 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
14851         * follow.el (follow-debug-message, follow-redisplay):
14852         * jka-cmpr-hook.el (with-auto-compression-mode):
14853         Fix typos in docstrings.
14855 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14857         * subr.el (with-silent-modifications): Clarify somewhat what the
14858         macro inhibits (bug#6525).
14860         * simple.el (eval-expression): Note what it does if called
14861         interactively (bug#6495).
14863 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
14865         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
14866         Use pop-to-buffer buffer-or-name if it is nil.
14868         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
14869         Remove switch-to-buffer.
14871 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14873         * files.el (make-directory): Clarify that an error will be raised
14874         if there's an error (bug#6397).
14876         * startup.el (initial-buffer-choice): Add `none' as a choice
14877         (bug#6234).
14879         * subr.el (add-hook): Clarify section about buffer-local hooks
14880         (bug#6218).
14882         * dired.el (dired-flagged): Clarify doc string (bug#6117).
14884 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
14886         * tabify.el (untabify): Preserve the current column so that point
14887         doesn't move (bug#6032).
14889 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14891         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
14892         Rewrite to avoid awkward possessive "s" (bug#5986).
14894 2011-07-13  Glenn Morris  <rgm@gnu.org>
14896         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
14897         (dired-insert-directory): Give a message the first time
14898         if ls is found not to support --dired.
14900 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14902         * simple.el (toggle-truncate-lines): Clarify what is toggled
14903         (bug#5580).  Text by Drew Adams.
14905 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
14907         * simple.el (blink-matching-open): Make the error message from the
14908         last change less verbose.
14910 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
14912         * font-lock.el (font-lock-comment-face): Use the high contrast
14913         "yellow" color for font-lock-comment-face on low color terminals
14914         using a dark background color (bug#4221).
14916 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14918         * dired.el (dired-insert-set-properties): Make the doc string
14919         reflect what it does now (bug#5325).
14921         * simple.el (blink-matching-open): Say that we were unable to find
14922         the match within the limit, if we're limited (bug#5122).
14924         * international/mule-cmds.el (prefer-coding-system): Add an
14925         example (bug#4869).
14927         * progmodes/etags.el (tags-search): Document `file-list-form'
14928         (bug#4731).
14930 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
14932         * net/browse-url.el (browse-url-default-browser)
14933         (browse-url-browser-function): Make the default browser choice a
14934         bit more logical (bug#4300).  Also clean up the doc string.
14936 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
14938         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
14939         binary endings (bug#4440).
14941 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14943         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
14944         which can be pretty annoying (bug#8971).
14946         * jka-compr.el (jka-compr-verbose): New variable, and use
14947         throughout (bug#8971).
14949         * info.el (Info-find-file): Fall back on the installation
14950         directory if we can't find the info node anywhere else.
14952 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
14954         * vc/vc.el (vc-revert-file):
14955         Don't set file time-stamp in the past.  (Bug#5181)
14957 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14959         * files.el (after-find-file): Give a better error message when
14960         trying to find a symlink that points to a file that doesn't exist
14961         (bug#4398).
14963         * progmodes/cc-vars.el: Remove (probably) misleading comment
14964         (bug#4396).
14966 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
14968         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
14970 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
14972         * mouse-sel.el: Hack restoring functionality, while keeping
14973         compatibility with 2010-07-03 changes to mouse selection.
14974         (mouse-sel-primary-overlay): New var.
14975         (mouse-sel-selection-alist): Use it.
14976         (mouse-sel-mode): Doc fix; remove points that are default features
14977         of mouse.el.
14979 2011-07-12  Johan Bockgård  <bojohan@gnu.org>
14981         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14982         Fix previous fix (bug#2490).
14984 2011-07-12  Roland Winkler  <winkler@gnu.org>
14986         * textmodes/bibtex.el (bibtex-initialize):
14987         Use pop-to-buffer-same-window.
14988         (bibtex-search-entries): Fix interactive call.
14990 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14992         * progmodes/compile.el (compilation-error-regexp-alist-alist):
14993         Fontise bytecomp Error lines more correctly (bug#2490).
14994         Fix suggested by Johan Bockgård.
14996         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
14998         * dired-x.el (dired-guess-default): Use `delete-dups'.
15000 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
15002         * dired.el (dired-mark-prompt):
15003         * dired-aux.el (dired-read-shell-command): Doc fix.
15005 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15007         * mail/sendmail.el (sendmail-query-once):
15008         Use `customize-save-variable' unconditionally, now that it works under
15009         emacs -Q.
15011         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15013         * cus-edit.el (custom-file): Take an optional no-error variable.
15014         (customize-save-variable): Set the variable, and give a warning if
15015         running under "emacs -q".
15017 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
15019         * loadhist.el (unload-feature-special-hooks):
15020         Add `auto-coding-functions', `fill-nobreak-predicate' and
15021         `find-directory-functions' (bug#5327).
15023 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15025         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15027         * cus-edit.el (custom-guess-name-alist): -alist variables should
15028         use the `alist' type (bug#3120).  Suggested by Drew Adams.
15030         * printing.el: Add documentation to all the `pr-toggle-' commands.
15032 2011-07-11  Leo Liu  <sdl.web@gmail.com>
15034         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15035         backends where it makes sense (bug#2623).
15037 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15039         * dired-x.el (dired-guess-default): Remove duplicate shell command
15040         entries (bug#2028).
15041         (dired-guess-default): Fix grammar in doc string (bug#2028).
15042         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15044         * subr.el (remove-duplicates): New conveniency function.
15046 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15048         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15049         (bug#1526).
15051 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
15053         * window.el (display-buffer-normalize-default): Don't invert
15054         meaning of even-window-heights.  Reported by Eli Zaretskii
15055         <eliz@gnu.org>.
15057 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
15059         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15061 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
15063         * window.el (display-buffer): Fix arguments to
15064         display-buffer-reuse-window in last change.
15066         * faces.el (link): Use a less saturated blue on light backgrounds.
15068         * startup.el (fancy-startup-text, fancy-about-text)
15069         (fancy-startup-tail): Use font-lock faces, for background safety.
15071 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
15073         * emulation/viper-cmd.el (viper-change-state-to-vi):
15074         Limit triggering of abbrev expansion (Bug#9038).
15076 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
15078         * window.el (display-buffer-default-specifiers): Remove.
15079         (display-buffer-macro-specifiers): Remove default specifiers.
15080         (display-buffer-alist): Default to nil.
15081         (display-buffer-reuse-window): New optional argument other-window.
15082         (display-buffer-pop-up-window): Allow splitting internal
15083         windows.  Check whether a live window was created.
15084         (display-buffer-other-window-means-other-frame)
15085         (display-buffer-normalize-arguments): Rename to
15086         display-buffer-normalize-argument and rewrite.  Set the
15087         other-window specifier.
15088         (display-buffer-normalize-special): New function.
15089         (display-buffer-normalize-options): Rename to
15090         display-buffer-normalize-default and rewrite.
15091         (display-buffer-normalize-options-inhibit): Remove.
15092         (display-buffer-normalize-specifiers): Rewrite.
15093         (display-buffer): Process other-window specifier and call
15094         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
15095         more faithfully.
15096         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15097         (display-buffer-alist-set): Don't handle 'unset default values.
15098         (display-buffer-in-window, display-buffer-alist-set):
15099         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
15100         <tassilo@member.fsf.org>.
15102 2011-07-09  Leo Liu  <sdl.web@gmail.com>
15104         * register.el (insert-register): Restore accidental change on
15105         2011-06-26.  (Bug#9028)
15107 2011-07-09  Glenn Morris  <rgm@gnu.org>
15109         * subr.el (remq): Handle the empty list.  (Bug#9024)
15111 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
15113         * mail/sendmail.el (send-mail-function): No longer delay custom
15114         initialization.
15115         * custom.el (custom-initialize-delay): Doc fix.
15117 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15119         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15121 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
15123         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15124         human-friendly prompt.
15126 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15128         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15129         provided by a particular plugin.
15131 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15133         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15134         save customizations (with "emacs -Q"), just set the variable
15135         instead of erroring out.
15137         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15139 2011-07-08  Juri Linkov  <juri@jurta.org>
15141         * arc-mode.el (archive-zip-expunge, archive-zip-update)
15142         (archive-zip-update-case): Use 7z if found by `executable-find'.
15143         The order of searching the available programs is the same as in
15144         `archive-zip-extract' (bug#8968).
15146 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
15148         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15149         (menu-bar-options-menu): Tweak descriptions.
15151 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15153         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15154         menu items into verb phrases (bug#1421).  Also refill to fit under
15155         80 columns.
15157 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
15159         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15160         (Info-read-node-name): Doc fix (Bug#1084).
15162         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15163         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15164         (end-of-sexp, beginning-of-sexp)
15165         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15166         (forward-symbol, forward-same-syntax, word-at-point)
15167         (sentence-at-point): Doc fix (Bug#1144).
15169 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15171         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15172         should cover it (bug#1281).
15174         * cus-edit.el (custom-show): Mark as obsolete.
15176         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15177         negotiation fails, then possibly try again with a non-encrypted
15178         connection (bug#9017).
15180         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15181         be used.
15183 2011-07-07  Richard Stallman  <rms@gnu.org>
15185         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15186         property, and handle its changed format.
15187         Look for the correct line number.
15188         Use file's line contents (but not past first =) to find
15189         correct line in message.
15191 2011-07-07  Kenichi Handa  <handa@m17n.org>
15193         * international/characters.el (build-unicode-category-table):
15194         Delete it.
15195         (unicode-category-table): Set it by unicode-property-table-internal.
15197         * international/mule-cmds.el (char-code-property-alist): Move to
15198         to src/chartab.c.
15199         (get-char-code-property): Call unicode-property-table-internal to
15200         load a file.  Call get-unicode-property-internal where necessary.
15201         (put-char-code-property): Call unicode-property-table-internal to
15202         load a file.  Call put-unicode-property-internal where necessary.
15203         put-unicode-property-internal where necessary.
15204         (char-code-property-description):
15205         Call unicode-property-table-internal to load a file.
15207         * international/charprop.el:
15208         * international/uni-bidi.el:
15209         * international/uni-category.el:
15210         * international/uni-combining.el:
15211         * international/uni-comment.el:
15212         * international/uni-decimal.el:
15213         * international/uni-decomposition.el:
15214         * international/uni-digit.el:
15215         * international/uni-lowercase.el:
15216         * international/uni-mirrored.el:
15217         * international/uni-name.el:
15218         * international/uni-numeric.el:
15219         * international/uni-old-name.el:
15220         * international/uni-titlecase.el:
15221         * international/uni-uppercase.el: Regenerate.
15223         * loadup.el: Load international/charprop.el before
15224         international/characters.
15226 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
15228         * window.el (next-buffer, previous-buffer): Signal an error if
15229         called from a minibuffer window.
15231         * bindings.el: Revert 2011-07-04 change.
15233 2011-07-06  Richard Stallman  <rms@gnu.org>
15235         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15236         (rmail-mime-insert-bulk, rmail-mime-insert-text):
15237         Treat markers like ints.
15238         (rmail-mime-entity): Doc fix.
15240 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15242         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15243         defcustom again for backwards compatibility.
15245         * simple.el (shell-command-on-region): Fill.
15247         * dired-aux.el (dired-kill-line): Add a doc string.
15249         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15250         to "\\sw\\|\\s_" (bug#358).
15252         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15253         (dired-unmark-backward): Ditto.
15254         (dired-flag-backup-files): Ditto.
15256         * dired-x.el (dired-mark-sexp): Ditto.
15258 2011-07-06  Richard Stallman  <rms@gnu.org>
15260         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15261         (rmail-mime-entity): New arg TRUNCATED.
15262         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15263         New functions.
15264         (rmail-mime-save): Warn if entity is truncated.
15265         (rmail-mime-toggle-hidden): Likewise, for showing.
15266         (rmail-mime-process-multipart): Record when an entity is truncated.
15268         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15269         if ENTITY is a string.
15271 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15273         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15274         of faces when `M-C-x'-ing their definitions (bug#8378).
15275         Also clean up the code slightly.
15277         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15278         because that makes the colors go away.
15280         * mail/sendmail.el (send-mail-function): Change the default to
15281         `sendmail-query-once'.
15282         (sendmail-query-once): Add an autoload cookie.
15284         * net/network-stream.el (network-stream-open-starttls): Try using
15285         a plain connection even if the server offered STARTTLS, and we
15286         kinda wanted to use it, if Emacs doesn't have any STARTTLS
15287         capability.  This should make smtpmail.el work in slightly more
15288         configurations.
15290 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
15292         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15293         New defun.
15294         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15296 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
15298         * progmodes/sql.el: Version 3.0
15299         (sql-product-alist): Add product :completion-object,
15300         :completion-column, and :statement attributes.
15301         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15302         (sql-mode-syntax-table): Mark all punctuation.
15303         (sql-font-lock-keywords-builder): Temporarily remove fallback on
15304         ansi keywords.
15305         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15306         (sql-mode-oracle-font-lock-keywords): Improve.
15307         (sql-oracle-show-reserved-words): New function for development.
15308         (sql-product-font-lock): Simplify for source code buffers.
15309         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15310         New functions.
15311         (sql-highlight-product): Set product specific syntax table.
15312         (sql-mode-map): Add statement movement functions.
15313         (sql-ansi-statement-starters, sql-oracle-statement-starters):
15314         New variable.
15315         (sql-statement-regexp, sql-beginning-of-statement)
15316         (sql-end-of-statement, sql-signum): New functions.
15317         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15318         (sql-show-sqli-buffer): Bug fix.
15319         (sql-interactive-mode): Store connection data as buffer local.
15320         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
15321         with sql-interactive-mode.
15322         (sql-save-connection): Save buffer local settings.
15323         (sql-connection-menu-filter): Change menu entry name.
15324         (sql-product-interactive): Bug fix.
15325         (sql-preoutput-hold): New variable.
15326         (sql-interactive-remove-continuation-prompt): Bug fixes.
15327         (sql-debug-redirect): New variable.
15328         (sql-str-literal): New function.
15329         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15330         Redesign.
15331         (sql-oracle-save-settings, sql-oracle-restore-settings)
15332         (sql-oracle-list-all, sql-oracle-list-table): New functions.
15333         (sql-completion-object, sql-completion-column)
15334         (sql-completion-sqlbuf): New variables.
15335         (sql-build-completions-1, sql-build-completions)
15336         (sql-try-completion): New functions.
15337         (sql-read-table-name): Use them.
15338         (sql-contains-names): New buffer local variable.
15339         (sql-list-all, sql-list-table): Use it.
15340         (sql-oracle-completion-types): New variable.
15341         (sql-oracle-completion-object, sql-sqlite-completion-object)
15342         (sql-postgres-completion-object): New functions.
15344 2011-07-06  Glenn Morris  <rgm@gnu.org>
15346         * window.el (pop-to-buffer): Doc fix.
15348 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
15350         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15352 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
15354         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15356         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15358 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
15360         * button.el (button): Inherit from link face.  Suggested by Dan
15361         Nicolaescu.
15363 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15365         * progmodes/gdb-mi.el: Fit in 80 columns.
15366         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15367         switch-to-buffer.
15369         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15370         if imenu is simply not configured (bug#8941).
15372 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
15374         * allout.el (allout-post-undo-hook): New allout outline-change
15375         event hook to signal undo activity.
15376         (allout-post-command-business): Run allout-post-undo-hook if an
15377         undo just occurred.
15378         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15379         * allout-widgets.el (allout-widgets-after-undo-function):
15380         Ensure the integrity of the current item's decoration after it has been
15381         in the vicinity of an undo.
15382         (allout-widgets-mode): Include allout-widgets-after-undo-function
15383         on the new allout-post-undo-hook.
15385 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15387         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15388         Let define-derived-mode define it.
15389         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15390         cycles of abbrev-table inheritance (bug#8998).
15392 2011-07-05  Roland Winkler  <winkler@gnu.org>
15394         * textmodes/bibtex.el: Add support for biblatex.
15395         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15396         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15397         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15398         (bibtex-entry-alist, bibtex-field-alist): New variables.
15399         (bibtex-entry-field-alist): Obsolete alias for
15400         bibtex-BibTeX-entry-alist.
15401         (bibtex-entry-alist, bibtex-field-alist): New widgets.
15402         (bibtex-set-dialect): New command.
15403         (bibtex-entry-type, bibtex-entry-head)
15404         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15405         Bind via bibtex-set-dialect.
15406         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15407         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15408         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15409         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15410         Define via bibtex-set-dialect.
15411         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15412         Obey bibtex-no-opt-remove-re.
15413         (bibtex-vec-push, bibtex-vec-incr): New functions.
15414         (bibtex-format-entry, bibtex-field-list)
15415         (bibtex-print-help-message, bibtex-validate)
15416         (bibtex-search-entries): Use new format of bibtex-entry-alist.
15418 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15420         * progmodes/compile.el (compilation-goto-locus):
15421         * net/tramp-cmds.el (tramp-append-tramp-buffers):
15422         * bs.el (bs-cycle-next, bs-cycle-previous):
15423         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15424         * bindings.el (mode-line-other-buffer):
15425         * autoinsert.el (auto-insert):
15426         * arc-mode.el (archive-extract):
15427         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15429 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
15431         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15432         Fix check of `emacs-lock-unlockable-modes'.
15433         Coerce true values of `emacs-lock--try-unlocking' to t.
15435 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
15437         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15438         * emacs-lock.el: New file.
15440 2011-07-05  Julien Danjou  <julien@danjou.info>
15442         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15443         than `boundp' to check if face is set.
15445 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
15447         * register.el (registerv-make):
15448         * window.el (window-min-height): Fix typos in docstrings.
15450 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
15452         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15453         Update doc string.
15455 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
15457         * server.el (server-execute): Catch quit and call
15458         `server-return-error' to pass the error back to emacsclient and
15459         close the connection (bug#8942).
15461 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
15463         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15464         insecure exception for current topic.  Also note that auto-saves
15465         are handled differently.
15467         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15468         State variables for tracking auto-save inhibition situation.
15470         (allout-write-contents-hook-handler): Rename from
15471         'allout-write-file-hook-handler', and describe how it depends on
15472         write-contents-functions sensitivity to non-nil value to prevent
15473         file write.
15475         (allout-auto-save-hook-handler): Remove.  auto-save does not check
15476         this in individual buffers, only in the starting buffer, so this
15477         is not the right way for us to inhibit auto-save in a buffer
15478         according to its condition.
15480         (allout-mode): Use new allout-write-contents-hook-handler, and
15481         only with write-contents-functions.  Remove auto-save provisions -
15482         they're implemented elsewhere.
15484         (allout-before-change-handler): If undo is in progress, note that
15485         for attention of allout-post-command-business.
15487         (allout-post-command-business): If the command we're following was
15488         an undo, check for change in the status of encrypted items and
15489         adjust auto-save inhibitions accordingly.
15491         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15492         according to whether there are or aren't any plain-text topics
15493         pending encryption.
15495         (allout-inhibit-auto-save-info-for-decryption):
15496         Adjust buffer-saved-size and some allout state to inhibit auto-saves
15497         if there are plain-text topics pending encryption.
15499         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15500         buffer-saved-size and some allout state to not inhibit auto-saves
15501         if there are no longer any plain-text topics pending encryption.
15503         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15504         No longer provide for exemption of the current topic.
15506 2011-07-04  Juri Linkov  <juri@jurta.org>
15508         Add 7z operations to delete and save changed members (bug#8968).
15509         * arc-mode.el (archive-7z-expunge, archive-7z-update):
15510         New defcustoms.
15511         (archive-7z-write-file-member): New function.
15512         (archive-7z-summarize): Fix the number of dashes in the
15513         listing output.
15515 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15517         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15518         (bug#8958).
15520 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
15522         * bindings.el: Ignore next-buffer and previous-buffer in
15523         minibuffer-local-map.
15525         * font-lock.el (font-lock-builtin-face): Change light background
15526         color to dark slate blue (Bug#6693).
15528 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
15530         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15532 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15534         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15535         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15536         Add switch-to-buffer.
15538 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15540         * isearch.el (isearch-search-fun-function): Clarify further the
15541         meaning of the function returned.
15543 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
15545         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15547         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15548         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15549         Use it.
15550         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
15551         `tramp-default-remote-path' does not exist.
15552         (tramp-send-command-and-read): New optional argument NOERROR.
15553         (tramp-open-connection-setup-interactive-shell)
15554         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15555         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15556         (tramp-process-sentinel): Flush also process' connection property.
15557         (tramp-sh-handle-start-file-process): Do not set process
15558         sentinel.  It is done now ...
15559         (tramp-maybe-open-connection): ... here.  (Bug#8929)
15561 2011-07-04  MON KEY  <monkey@sandpframing.com>
15563         * play/animate.el (animate-string): Doc fixes and allow changing
15564         the buffer name (bug#5417).
15566 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15568         * play/animate.el (animation-buffer-name): Rename from *animate*.
15570 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
15572         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15573         This is simpler and helps future-proof the code.
15574         (timer-until): Use time-subtract and float-time.
15575         (timer--time-less-p): Use time-less-p.
15577 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
15579         * type-break.el (timep): Use the value of `float-time' to avoid a
15580         byte-compiler warning.
15582         * server.el (server-eval-and-print): Return any result, even nil.
15584 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
15586         * type-break.el: Accept time formats that the builtins accept.
15587         (timep, type-break-time-difference): Accept any format that
15588         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15589         This is simpler and helps future-proof the code.
15590         (type-break-time-difference): Round rather than ignoring
15591         subseconds components.
15593 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15595         * info.el (Info-apropos-matches): Make non-interactive, since it
15596         doesn't seem to do anything useful as a command (bug#8829).
15598 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
15600         * frame.el (frame-background-mode, frame-set-background-mode):
15601         Move from faces.el.
15602         (frame-default-terminal-background): New function.
15604         * custom.el (custom-push-theme): Don't record faces in `changed'
15605         theme; this doesn't work correctly for per-frame face settings.
15606         (disable-theme): Use face-set-after-frame-default to reset faces.
15607         (custom--frame-color-default): New function.
15609 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15611         * dired.el (dired-flagging-regexp): Remove unused variable
15612         (bug#8769).
15614 2011-03-29  Kevin Ryde  <user42@zip.com.au>
15616         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15617         `perl-Test2' extend to match possible "fail #N" rep count
15618         (bug#8377).
15620 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15622         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15623         `smtpmail-via-smtp' now returns the error instead of nil.
15625         * isearch.el (isearch-search-fun-function): Clarify the doc string
15626         (bug#8101).
15628 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
15630         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15631         unnecessary spaces (bug#8987).
15633 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15635         * net/network-stream.el (open-network-stream): Use the
15636         :end-of-capability command thoughout.
15638 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
15640         * net/network-stream.el (open-network-stream): Add the
15641         :end-of-capability command parameter, used by pop3.el.
15643 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15645         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15647         * fringe.el (fringe-query-style): Remove redundant text " (type ?
15648         for list)" (bug#6475).
15650         * files.el (file-expand-wildcards): Ignore non-readable
15651         sub-directories while trying to find matches instead of signaling
15652         an error (bug#6297).
15654         * man.el (Man-reference-regexp): Allow matching possible
15655         word-wrapped references (bug#6289).
15657         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
15658         for consistency with the other vc buffers (bug#6197).
15659         (vc-checkin): Ditto.
15661         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
15663         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
15665 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15667         * custom.el (defcustom): Clarify that :set is only used in the
15668         Customize user interface (bug#6089).
15670         * progmodes/flymake.el (flymake-mode): If the buffer isn't
15671         associated with a file, refuse to run instead of erroring out
15672         (bug#6084).
15674         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
15675         the doc string, since it appears that using `fill-column' always
15676         controls the width (bug#7845).
15678         * simple.el (shell-command-on-region): Say where the error output
15679         went if `shell-command-default-error-buffer' is set (bug#6857).
15681 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
15683         * allout.el (allout-yank-processing): Adjust cursor position for
15684         backwards-deleted space.
15686         (allout-rebullet-heading): Register changes with
15687         allout-exposure-changed-hook, so the modified topic is properly
15688         decorated.
15690 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15692         * minibuffer.el (completion-in-region): Document PREDICATE
15693         (bug#7136).
15695         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
15696         of keyword/argument pairs (bug#6904).
15698         * replace.el (multi-occur):
15699         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
15701 2011-07-02  Drew Adams  <drew.adams@oracle.com>
15703         * dired.el (dired-mark-if): Make the message about whether it's
15704         marking or unmarking clearer (bug#8523).
15706 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15708         * disp-table.el (display-table-print-array): New function.
15709         (describe-display-table): Use it to print the vectors more pretty
15710         (Bug#8859).
15712 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
15714         * window.el (window-state-get-1): Don't assign clone numbers.
15715         Add clone-of item to list of window parameters.
15716         (window-state-put-2): Don't process clone numbers.
15717         (display-buffer-alist): Fix doc-string.
15719 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15721         * subr.el (remq): Don't allocate if it's not needed.
15722         (keymap--menu-item-binding, keymap--menu-item-with-binding)
15723         (keymap--merge-bindings): New functions.
15724         (keymap-canonicalize): Use them to refine the canonicalization.
15725         * minibuffer.el (minibuffer-local-completion-map)
15726         (minibuffer-local-must-match-map): Move initialization from C.
15727         (minibuffer-local-filename-completion-map): Move initialization from C;
15728         don't inherit from anything here.
15729         (minibuffer-local-filename-must-match-map): Make obsolete.
15730         (completing-read-default): Use make-composed-keymap to combine
15731         minibuffer-local-filename-completion-map with either
15732         minibuffer-local-must-match-map or
15733         minibuffer-local-filename-completion-map.
15735 2011-07-01  Glenn Morris  <rgm@gnu.org>
15737         * type-break.el (type-break-time-sum): Use dolist.
15739         * textmodes/flyspell.el (flyspell-word-search-backward):
15740         Replace CL function.
15742 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15744         * mouse.el (mouse--strip-first-event): New function.
15745         (function-key-map): Use it to map fringe clicks to normal clicks
15746         by default.
15748         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
15749         (vc-bzr-revision-completion-table): Add support for annotate and date.
15751         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
15752         inherit from parent.
15754 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15756         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
15757         (dired-show-file-type): Doc fixup (bug#8818).
15759         * dired.el (dired-mode): Fix up the doc string as suggested by
15760         Drew Adams (bug#8817).
15762         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
15763         cookie, since the manual says that it should be possible to add
15764         this function to `find-file-hook' (bug#8709).
15766 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
15768         * progmodes/cfengine.el: Moved all cfengine3.el functionality
15769         here.  Noted Ted Zlatanov as the maintainer.
15770         (cfengine-common-settings, cfengine-common-syntax): New functions
15771         to set up common things between `cfengine-mode' and
15772         `cfengine3-mode'.
15773         (cfengine3-mode): New mode.
15774         (cfengine3-defuns cfengine3-defuns-regex
15775         (cfengine3-class-selector-regex cfengine3-category-regex)
15776         (cfengine3-vartypes cfengine3-font-lock-keywords)
15777         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
15778         (cfengine3-indent-line): Add from cfengine3.el.
15780 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
15782         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
15784         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
15786 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
15788         * window.el (same-window-buffer-names, same-window-regexps)
15789         (same-window-p, special-display-frame-alist)
15790         (special-display-popup-frame, special-display-function)
15791         (special-display-buffer-names, special-display-regexps)
15792         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
15793         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
15794         (split-window-preferred-function, split-height-threshold)
15795         (split-width-threshold, even-window-heights)
15796         (display-buffer-mark-dedicated, window-splittable-p)
15797         (split-window-sensibly, window-safely-shrinkable-p):
15798         Un-obsolete.
15799         (display-buffer): Don't spread args with function specifier
15800         because special-display-popup-frame won't like it.
15802 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
15804         Time-stamp simplifications and fixes.
15805         These improve accuracy slightly, and future-proof the code
15806         against some potential changes to current-time format.
15808         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
15809         by using time-since and float-time.
15811         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
15812         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
15813         + NNN microseconds".
15815         * type-break.el (type-break-time-sum): Rewrite using time-add.
15817         * play/hanoi.el (hanoi-current-time-float): Remove.
15818         All uses replaced by float-time.
15820         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
15821         This yields a more-accurate answer.
15822         (rng-time-to-float): Remove; no longer needed.
15824         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
15826         * calendar/timeclock.el (timeclock-seconds-to-time):
15827         Defalias to seconds-to-time, since they're the same thing.
15829         * emacs-lisp/elp.el (elp-elapsed-time):
15830         * emacs-lisp/benchmark.el (benchmark-elapse):
15831         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
15833 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15835         * window.el (bury-buffer): Don't iconify the only frame.
15836         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
15837         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
15839 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
15841         * eshell/em-smart.el (eshell-smart-display-navigate-list):
15842         Add mouse-yank-primary.
15844 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
15846         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
15848 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15850         * emacs-lisp/find-func.el (find-library--load-name): New fun.
15851         (find-library-name): Use it to find relative load names when provided
15852         absolute file name (bug#8803).
15854 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15856         * textmodes/flyspell.el (flyspell-word): Consider words that
15857         differ only in case as potential doublons (bug#5687).
15859         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
15860         Remove two rather uninteresting debugging-like messages to make
15861         debbugs.el more silent.
15863         * comint.el (comint-password-prompt-regexp): Accept "Response" as
15864         a password-like phrase.
15866 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
15868         * progmodes/cc-guess.el: New file.
15870         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
15872         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
15873         derived from `c-basic-common-init'.
15875         * progmodes/cc-mode.el (top-level): Require cc-guess.
15876         (c-basic-common-init): Use `cc-choose-style-for-mode'.
15878 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
15880         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
15882 2011-06-30  Alan Mackenzie  <acm@muc.de>
15884         * progmodes/cc-engine.el (c-guess-continued-construct):
15885         Correct the handling of template-args-cont, particularly for when font
15886         lock is disabled.  Name this case as "CASE G".
15888 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
15890         * allout.el (allout-yank-processing): Fix injection of extra space
15891         between bullet and non-whitespace character in first topic when
15892         pasting, ensuring that the actual spacing in the pasted topic
15893         following the bullet char is preserved.  This extra space was
15894         causing pasted encrypted topics to get a decrypted status even
15895         when the content was actually still encrypted.  Now the decryption
15896         status from before the paste is preserved.
15898         (allout-flag-region): Set all allout overlays so they evaporate
15899         when reduced to zero length (evanescent), to prevent overlay
15900         leakage.
15902 2011-06-30  Glenn Morris  <rgm@gnu.org>
15904         * w32-fns.el (w32-charset-info-alist): Declare.
15906         * find-dired.el (find-grep-options): Simplify.
15908         * term/ns-win.el (ns-set-resource): Declare.
15910         * ses.el (row, col): Declare dynamic variables honestly.
15912         * textmodes/reftex-parse.el (index-tags): Declare.
15914 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
15916         * cus-edit.el (customize-push-and-save): New function.
15918         * files.el (hack-local-variables-confirm): Use it.
15920         * custom.el (load-theme): New arg NO-CONFIRM.
15921         Use customize-push-and-save (Bug#8720).
15922         (custom-enabled-themes): Doc fix.
15924         * cus-theme.el (customize-create-theme)
15925         (custom-theme-merge-theme): Callers to load-theme changed.
15927 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15929         * thingatpt.el (thing-at-point-short-url-regexp): Require that
15930         short URLs have at least one dot in them (bug #7614).
15932         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
15933         nil, because using a pty is apparently too slow (bug #895).
15935 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15937         * mail/sendmail.el (sendmail-query-once): New function.
15938         (sendmail-query-once-function): New variable.
15940 2011-06-29  Glenn Morris  <rgm@gnu.org>
15942         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
15944         * ses.el (top-level): Require cl when compiling.
15945         (ses-set-localvars): Fix error statement.
15946         Call it at compile time to silence a storm of warnings.
15948 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
15950         * window.el (normalize-live-buffer): Rename to
15951         window-normalize-buffer.
15952         (normalize-live-frame): Rename to window-normalize-frame.
15953         (normalize-any-window): Rename to window-normalize-any-window.
15954         (normalize-live-window): Rename to window-normalize-live-window.
15955         (make-window-atom): Rename to window-make-atom.
15956         (window-resize-reset): Rename to window--resize-reset.
15957         (window-resize-reset-1): Rename to window--resize-reset-1.
15958         (resize-mini-window): Rename to window--resize-mini-window.
15959         (resize-subwindows-skip-p): Rename to
15960         window--resize-subwindows-skip-p.
15961         (resize-subwindows-normal): Rename to
15962         window--resize-subwindows-normal.
15963         (resize-subwindows): Rename to window--resize-subwindows.
15964         (resize-other-windows): Rename to window--resize-siblings.
15965         (resize-this-window): Rename to window--resize-this-window.
15966         (resize-root-window): Rename to window--resize-root-window.
15967         (resize-root-window-vertically): Rename to
15968         window--resize-root-window-vertically.
15969         (normalize-buffer-to-display): Rename to
15970         window-normalize-buffer-to-display.
15971         (normalize-buffer-to-switch-to): Rename to
15972         window-normalize-buffer-to-switch-to.
15973         Correspondingly update all callers of the functions listed
15974         above.
15975         (display-buffer-alist, display-buffer-normalize-arguments)
15976         (display-buffer-normalize-options, display-buffer)
15977         (display-buffer-alist-set): Use "function" instead of
15978         "fun-with-args".
15980 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
15982         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
15983         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
15984         debbugs.gnu.org.  Mention acknowledgment email.
15986 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15988         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
15989         buffer multibyteness, since it shouldn't matter.
15991 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
15993         * window.el (display-buffer-in-side-window): Handle dedicated
15994         windows as in display-buffer-reuse-window.
15995         (display-buffer-normalize-alist): Use value of override
15996         specifier.
15997         (display-buffer-normalize-specifiers): Use value of
15998         other-window-means-other-frame specifier.
15999         (display-buffer-alist): Rewrite some texts in widgets.
16000         (display-buffer): Spread arguments when calling function
16001         specified by fun-with-args.
16003 2011-06-28  Deniz Dogan  <deniz@dogan.se>
16005         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16006         Unnest `let'.
16008         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16009         selectors (Bug#5732).
16010         (css-proprietary-nmstart-re): Use `regexp-opt'.
16012 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
16014         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16015         (eshell-ls-date-format): New defcustom.
16016         (eshell-ls-file): Use it.
16018 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16020         * help-fns.el (describe-variable): Fix message for terminal-local vars.
16022 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
16024         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16025         (ange-ftp-make-tmp-name): New arg.
16026         (ange-ftp-file-local-copy): Use it.
16028 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
16030         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16031         no-conversion (Bug#8870).
16033 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
16035         * window.el (window-right, window-left, window-child)
16036         (window-child-count, window-last-child)
16037         (window-iso-combination-p, walk-window-tree-1)
16038         (window-atom-check-1, window-tree-1, delete-window)
16039         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16040         new naming conventions - window-vchild, window-hchild,
16041         window-next and window-prev are now called window-top-child,
16042         window-left-child, window-next-sibling and window-prev-sibling
16043         respectively.
16044         (resize-window-reset): Rename to window-resize-reset.
16045         (resize-window-reset-1): Rename to window-resize-reset-1.
16046         (resize-window): Rename to window-resize.
16047         (window-min-height, window-min-width)
16048         (resize-mini-window, resize-this-window, resize-root-window)
16049         (resize-root-window-vertically, adjust-window-trailing-edge)
16050         (enlarge-window, shrink-window, maximize-window)
16051         (minimize-window, delete-window, quit-restore-window)
16052         (split-window, balance-windows, balance-windows-area-adjust)
16053         (balance-windows-area, window-state-put-2)
16054         (display-buffer-even-window-sizes, display-buffer-set-height)
16055         (display-buffer-set-width, set-window-text-height)
16056         (fit-window-to-buffer): Rename all "resize-window" prefixed
16057         calls to use the "window-resize" prefix convention.
16058         (display-buffer-alist): Fix symbol for label specifier.
16059         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16060         corresponding specifier.
16061         Reported by Juanma Barranquero <lekktu@gmail.com>.
16063 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16065         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16066         convention.
16067         (ses-call-printer): Does not pass an empty string to formatter when the
16068         cell is empty to keep from barking printer Calc math-format-value.
16070 2011-06-27  Richard Stallman  <rms@gnu.org>
16072         * battery.el (battery-mode-line-limit): New variable.
16073         (battery-update): Handle it.
16075         * mail/rmailmm.el (rmail-mime-process-multipart):
16076         Handle truncated messages.
16078 2011-06-27  Glenn Morris  <rgm@gnu.org>
16080         * progmodes/flymake.el (flymake-err-line-patterns):
16081         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
16083 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16085         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16086         (ses--clean-!, ses--clean-_): New functions.
16087         (ses-range): Add configurability of readout order, and conversion
16088         to Calc vector.
16090         * ses.el (ses-repair-cell-reference-all): New function.
16091         (ses-cell-symbol): Set macro as safe, so that it can be used in
16092         formulas.
16094         * ses.el: Update cycle detection algorithm.
16095         (ses-localvars): Add ses--Dijkstra-attempt-nb and
16096         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16097         (ses-set-localvars): New function.
16098         (ses-make-cell): Add property-list as a cell element.
16099         (ses-cell-property-get-fun, ses-cell-property-get)
16100         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16101         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16102         New functions.
16103         (ses-cell-property-set, ses-cell-property-pop)
16104         (ses-cell-property-get-handle): New macro.
16105         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16106         New aliases, used for code readability.
16107         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16108         cycle detection.
16109         (ses-self-reference-early-detection): New defcustom.
16110         (ses-formula-references): Robustify against self-referring cells.
16111         (ses-mode): Use ses-set-localvars.
16112         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16113         before lauching the update processing.
16114         (ses-initialize-Dijkstra-attempt): New function.
16115         (ses-recalculate-cell): Update for cycle detection based on
16116         Dijkstra algorithm.
16118         * ses.el: Fix commenting and indenting convention.
16120 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16122         * bs.el (bs-cycle-next): Complete last change.
16124 2011-06-27  Drew Adams  <drew.adams@oracle.com>
16126         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16128 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16130         * net/network-stream.el (network-stream-open-starttls):
16131         Don't re-get capabilities unless we've reestablished connection.
16132         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16134         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16135         to binary to possibly avoid line encoding issues on Windows (among
16136         other things).
16138 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16140         * net/network-stream.el (open-network-stream): Return an :error
16141         saying what the problem was, if possible.
16143         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16144         server.
16146         * net/network-stream.el (network-stream-open-starttls): If we
16147         wanted to use STARTTLS, and the server offered it, but we weren't
16148         able to because we had no STARTTLS support, then close the connection.
16149         (open-network-stream): Return an :error element, if present.
16151 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
16153         * hl-line.el (hl-line-sticky-flag): Doc fix.
16154         (global-hl-line-sticky-flag): New option (Bug#8323).
16155         (global-hl-line-highlight): Obey it.
16157         * vc/vc.el (vc-revert-show-diff): Default to t.
16159 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
16161         * allout-widgets.el (allout-widgets-post-command-business):
16162         Stop decorating intermediate isearch matches.  They're not being
16163         undecorated when an isearch is continued past, and isearch
16164         automatically collapses them.  This leads to "widget leaks", where
16165         decorated items accumulate in collapsed areas.  Lines with lots of
16166         hidden widgets can slow down cursor travel, substantially.
16167         Too much complicated machinery would be needed to ensure undecoration,
16168         so we're doing without this nicety.
16170         (allout-widgets-tally-string): Don't try to do a hash-table-count
16171         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
16172         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16173         *Messages* when allout-widgets-maintain-tally is t.
16175 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
16177         * window.el (display-buffer-normalize-argument): Rename to
16178         display-buffer-normalize-arguments.  Handle special meaning of
16179         LABEL argument.  Respect special-display-function when popping up
16180         a new frame.  Fix code searching for a window showing the buffer
16181         on another frame.
16182         (display-buffer-normalize-specifiers):
16183         Call display-buffer-normalize-arguments.
16184         (display-buffer-in-window): Don't undedicate the window if its
16185         buffer remains the same.
16186         Reported by Drew Adams <drew.adams@oracle.com>.
16187         (display-buffer-alist): Add choice for same-window macro
16188         specfier.
16189         (display-buffer): Mention special meaning of LABEL argument in
16190         doc-string.  Fix quoting.  Don't pop up a new frame even as
16191         fallback.
16193 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
16195         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16196         avoid deleting the current window in some cases (bug#8911).
16198 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
16200         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16201         (Bug#8934)
16203 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16205         * net/network-stream.el (network-stream-open-starttls):
16206         Use built-in TLS support if `gnutls-available-p' is true.
16207         (network-stream-open-tls): Ditto.
16209 2011-06-26  Leo Liu  <sdl.web@gmail.com>
16211         * register.el (registerv): New struct.
16212         (registerv-make): New function.
16213         (jump-to-register, describe-register-1, insert-register):
16214         Support the jump-func, print-func and insert-func slot of a registerv
16215         struct.  (Bug#8415)
16217 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
16219         * vc/vc.el (vc-revert-show-diff): New defcustom.
16220         (vc-diff-internal): New arg specifying diff buffer.
16221         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
16222         reuse an existing *vc-diff* buffer (Bug#8927).
16224         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16226 2011-06-26  Glenn Morris  <rgm@gnu.org>
16228         * progmodes/f90.el (f90-critical-indent): New option.
16229         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16230         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16231         (f90-mode): Doc fix.
16232         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16233         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16234         (f90-beginning-of-block, f90-next-block, f90-indent-region)
16235         (f90-match-end): Handle block, critical.
16237 2011-06-25  Glenn Morris  <rgm@gnu.org>
16239         * calendar/diary-lib.el (diary-included-files): Doc fix.
16240         (diary-include-files): New function, extracted from
16241         diary-include-other-diary-files and diary-mark-included-diary-files.
16242         (diary-include-other-diary-files, diary-mark-included-diary-files):
16243         Just call diary-include-files.
16244         (diary-mark-entries): Reset diary-included-files on first call.
16246         * calendar/diary-lib.el (diary-mark-entries)
16247         (diary-mark-included-diary-files):
16248         Visit included diary-files in temp buffers.
16250         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16251         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16252         (f90-start-block-re, f90-imenu-generic-expression)
16253         (f90-looking-at-program-block-start, f90-no-block-limit):
16254         Add support for submodules.
16256         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16257         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16259 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
16261         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16262         buffer-file-type before setting its value, to avoid disastrous
16263         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
16265 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
16267         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16269         * ses.el (ses-unload-function):
16270         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16272         * proced.el (proced-unload-function):
16273         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16275 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
16277         * server.el (server-create-window-system-frame): Add parameters arg.
16278         (server-process-filter): Doc fix.  Handle frame-parameters.
16280 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
16282         Fix bug#8730, bug#8781.
16284         * loadhist.el (unload--set-major-mode): New function.
16285         (unload-feature): Use it.
16287         * progmodes/python.el (python-after-info-look): Add autoload cookie.
16288         (python-unload-function): New function.
16290 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16292         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16294 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
16296         * net/browse-url.el (browse-url-firefox-program): Add icecat to
16297         the candidates list.
16299 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
16301         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16303 2011-06-23  Richard Stallman  <rms@gnu.org>
16305         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16306         (rmail-variables): Set next-error-move-function.
16307         (rmail-what-message): Take argument POS.
16308         (rmail-next-error-move): New function.
16310 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16312         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16313         messages for adjacent non-terminals.
16315 2011-06-23  Richard Stallman  <rms@gnu.org>
16317         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16318         (rmail-show-message-1): Preserve buffer modified flag.
16319         (rmail-start-mail): Don't specify use of rmail-mail-return;
16320         that's done by mail-bury now.
16321         (rmail-mail-return): Handle arg NEWBUF.
16323 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
16325         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16326         SIZE is a number.
16328 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
16330         * window.el (get-lru-window, get-mru-window)
16331         (get-largest-window): Never return a minibuffer window.
16332         (display-buffer-pop-up-window): Fix a bug that could lead to
16333         reusing the minibuffer window.
16334         (display-buffer): Pass original specifier argument to
16335         display-buffer-function instead of the normalized one.
16336         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16338 2011-06-22  Leo Liu  <sdl.web@gmail.com>
16340         * minibuffer.el (completing-read-function)
16341         (completing-read-default): Move from minibuf.c
16343 2011-06-22  Richard Stallman  <rms@gnu.org>
16345         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16346         to Rmail even if not started by a special Rmail command.
16348         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16349         Copy the buffer currently showing just one message.
16351 2011-06-22  Roland Winkler  <winkler@gnu.org>
16353         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16354         (bibtex-clean-entry): First delete the old key so that a
16355         customized algorithm for generating the new key does not get
16356         confused by the old key.
16357         (bibtex-url): Obey regexp of first step.
16358         (bibtex-search-entries): Do not use add-to-list with local
16359         list-var.
16361 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16363         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16364         stored a user name, then query for the password first, instead of
16365         waiting for SMTP to give an error message and the trying again.
16367 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
16369         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16370         BUFFER in call-process.
16372 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16374         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16375         QUIT twice.
16376         (smtpmail-try-auth-methods): Require user name and password from
16377         auth-source.
16379 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
16381         * window.el (display-buffer-default-specifiers)
16382         (display-buffer-alist): Remove entries for pop-up-frame-alist.
16383         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16384         (split-window): Normalize SIDE argument (Bug#8916).
16386         * frame.el (pop-up-frame-alist, pop-up-frame-function)
16387         (special-display-frame-alist, special-display-popup-frame):
16388         Remove duplicate declarations.  These are now in window.el.
16390 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16392         * mail/smtpmail.el (smtpmail-via-smtp):
16393         Set :use-starttls-if-possible so that we always use STARTTLS if the
16394         server supports it.  SMTP servers that support STARTTLS commonly
16395         require it.
16397         * net/network-stream.el (network-stream-open-starttls): Support
16398         upgrading to STARTTLS always, even if we don't have built-in support.
16399         (open-network-stream): Add the :always-query-capabilities keyword.
16401         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16402         upgrades with `open-network-stream', and rely solely on
16403         auth-source for all credentials.  Big changes throughout the file,
16404         but in particular:
16405         (smtpmail-auth-credentials): Remove.
16406         (smtpmail-starttls-credentials): Remove.
16407         (smtpmail-via-smtp): Check for servers saying they want AUTH after
16408         MAIL FROM, too.
16410         * net/network-stream.el (network-stream-open-starttls):
16411         Provide support for client certificates both for external and built-in
16412         STARTTLS.
16413         (auth-source): Require.
16414         (open-network-stream): Document the :client-certificate keyword.
16415         (network-stream-certificate): Change cert-cert to cert and
16416         cert-key to key.
16418 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
16420         * net/tramp-cache.el (top): Don't load the persistency file when
16421         "emacs -Q" has been called.
16423 2011-06-21  Tim Harper  <timcharper@gmail.com>
16425         * term/ns-win.el (ns-initialize-window-system):
16426         Set application-specific `ApplePressAndHoldEnabled' system
16427         resource to NO as it is not yet supported by the NS port.
16429 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
16431         * misc.el (list-dynamic-libraries--refresh): Compute header here...
16432         (list-dynamic-libraries): ...not here.
16434 2011-06-21  Leo Liu  <sdl.web@gmail.com>
16436         * subr.el (sha1): Implement sha1 using secure-hash.
16438 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
16440         * window.el (display-buffer-alist): In default value do not
16441         enforce searching a window on any but the selected frame.
16442         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16443         (display-buffer-select-window): Remove function.
16444         (display-buffer-in-window): When a window on another frame gets
16445         reused, do not select it any more but just raise its frame if
16446         necessary (Bug#8851) and (Bug#8856).
16447         (display-buffer-normalize-options): Handle pop-up-frames related
16448         options more faithfully.
16449         (pop-to-buffer): Don't rely on `display-buffer' selecting the
16450         window if it is on another frame.
16451         (display-buffer-alist, display-buffer-default-specifiers):
16452         Don't make new frame unsplittable by default.
16453         (display-buffer-normalize-argument): Fix doc-string typo and use
16454         'same-frame-other-window instead of 'other-window when associating
16455         with display-buffer-macro-specifiers.
16457 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
16459         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16460         New functions.
16461         (5x5-mode-map, 5x5-mode-menu): Bind them.
16462         (5x5-draw-grid): Tweak the solver's rendering.
16464 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16466         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16467         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16469 2011-06-21  Drew Adams  <drew.adams@oracle.com>
16471         * menu-bar.el: Use function variable instead of switch-to-buffer.
16472         (menu-bar-select-buffer-function): New variable.
16473         (menu-bar-update-buffers): Use it (bug#8876).
16475 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16477         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16478         variable's status.
16480 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
16482         * x-dnd.el (x-dnd-version-from-flags)
16483         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16484         and long as number (Bug#8899).
16485         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16487 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16489         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16490         (completion-try-completion, completion-all-completions): Compute the
16491         metadata argument if it's missing; make it optional (bug#8795).
16493         * wid-edit.el: Use lex-bind and move towards completion-at-point.
16494         (widget-complete): Use new :completion-function property.
16495         (widget-completions-at-point): New function.
16496         (default): Use :completion-function instead of :complete.
16497         (widget-default-completions): Rename from widget-default-complete;
16498         Rewrite.
16499         (widget-string-complete, widget-file-complete, widget-color-complete):
16500         Remove functions.
16501         (file, symbol, function, variable, coding-system, color):
16502         * international/mule-cmds.el (default-input-method, charset)
16503         (language-info-custom-alist):
16504         * cus-edit.el (face): Use new property :completions.
16506         * progmodes/pascal.el (pascal-completions-at-point): New function.
16507         (pascal-mode): Use it.
16508         (pascal-mode-map): Use completion-at-point.
16509         (pascal-toggle-completions): Make obsolete.
16510         (pascal-complete-word, pascal-show-completions):
16511         * progmodes/octave-mod.el (octave-complete-symbol):
16512         Redefine as obsolete alias.
16513         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16514         Signal absence of completion info for old Octave,
16515         (inferior-octave-complete): Redefine as obsolete alias.
16516         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16517         (meta-completions-at-point): Rename from meta-complete-symbol and
16518         adapt it for use on completion-at-point-functions.
16519         (meta-common-mode): Use it.
16520         (meta-looking-at-backward, meta-match-buffer): Remove.
16521         (meta-complete-symbol): Redefine as obsolete alias.
16522         (meta-common-mode-map): Use completion-at-point.
16523         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16524         (makefile-mode-map): Use completion-at-point.
16525         (makefile-completions-at-point): Rename from makefile-complete and
16526         adapt it for use on completion-at-point-functions.
16527         (makefile-mode): Use it.
16528         (makefile-complete): Redefine as obsolete alias.
16530 2011-06-20  Deniz Dogan  <deniz@dogan.se>
16532         * net/rcirc.el: Delete trailing whitespaces once and for all.
16534 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
16536         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16538 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
16540         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16542         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16544 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
16546         * window.el (display-buffer-other-window-means-other-frame):
16547         Call display-buffer-normalize-alist.
16548         (display-buffer-normalize-specifiers-1): Rename to
16549         display-buffer-normalize-argument.  New argument other-frame.
16550         Rewrite.
16551         (display-buffer-normalize-specifiers-2): Rename to
16552         display-buffer-normalize-options.
16553         (display-buffer-normalize-alist-1): New function.
16554         (display-buffer-normalize-specifiers-3): Rename to
16555         display-buffer-normalize-alist.
16556         Call display-buffer-normalize-alist-1.
16557         (display-buffer-normalize-options-inhibit): New variable.
16558         (display-buffer-normalize-specifiers): Rewrite calling
16559         display-buffer-normalize-alist,
16560         display-buffer-normalize-argument, and
16561         display-buffer-normalize-options.  Don't call the latter if
16562         display-buffer-normalize-options-inhibit is non-nil.
16563         (frame-auto-delete): New option.
16564         (window-deletable-p): Use frame-auto-delete.
16565         (window-list-no-nils, window-state-ignored-parameters)
16566         (window-state-get-1, window-state-get, window-state-put-list)
16567         (window-state-put-1, window-state-put-2, window-state-put):
16568         New functions.
16569         (display-buffer-normalize-options): Move special-display-p group
16570         after pop-up-frame group (Bug#8851) and (Bug#8856).
16572 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
16574         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16575         groups (Bug#8776).
16576         (rx-submatch-n): New function.
16577         (rx): Document it.
16579         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16580         (Bug#8768).
16582         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16584         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16586         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16587         anytime existing face settings are present (Bug#8889).
16589         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16590         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16591         Remove unused argument.
16593 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
16595         * window.el (display-buffer-default-specifiers):
16596         Remove pop-up-frame.  Add pop-up-window-min-height,
16597         pop-up-window-min-width, and another reuse-window specifier
16598         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
16599         (display-buffer-normalize-specifiers-2):
16600         Handle split-height-threshold and split-width-threshold also when
16601         pop-up-windows is unset.  Add a reuse-window specifier for the
16602         case popping up a new window fails.
16603         (special-display-popup-frame): Remove double quoting.
16604         (display-buffer-normalize-specifiers-1): Fix thinko.
16606 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16608         * shell.el (shell-completion-vars): Set pcomplete-termination-string
16609         according to comint-completion-addsuffix.
16611         * pcomplete.el: Convert to lexical binding and fix bug#8819.
16612         (pcomplete-suffix-list): Mark as obsolete.
16613         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16614         pcomplete-seen in the closure.
16615         (pcomplete-comint-setup): Setup completion-at-point as well.
16616         (pcomplete--entries): New function.
16617         (pcomplete--env-regexp): New var.
16618         (pcomplete-entries): Rewrite to work with partial-completion and
16619         without relying on pcomplete-suffix-list.
16620         (pcomplete-pare-list): Remove, unused.
16622 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
16624         * window.el (display-buffer-alist): Set pop-up-window-min-height
16625         and pop-up-window-min-width in default value.  Reported by
16626         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
16627         other-window-means-other-frame.
16628         (display-buffer-macro-specifiers): Comment out entry for
16629         other-window specifier.
16630         (display-buffer-other-window-means-other-frame): New function.
16631         (display-buffer-normalize-specifiers-1): New arguments
16632         buffer-name and label.  Treat other-window case specially.
16633         (display-buffer-normalize-specifiers-2): Treat other-window case
16634         specially.
16635         (display-buffer-normalize-specifiers-3): New function.
16636         (display-buffer-normalize-specifiers):
16637         Call display-buffer-normalize-specifiers-3.
16639 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
16641         * window.el (same-window-p): Fix two typos introduced when
16642         adding with-no-warnings.
16643         (display-buffer-normalize-specifiers-1): Don't check
16644         pop-up-frames for 'unset initialization.
16645         (display-buffer-normalize-specifiers-2): Major rewrite using
16646         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16647         (pop-up-frames, display-buffer-reuse-frames)
16648         (display-buffer-mark-dedicated): Don't initialize to 'unset.
16649         Suggested by David Engster <deng@randomsample.de>.
16650         (even-window-heights): Initialize to 'unset.
16651         (display-buffer-alist-set): Handle new 'unset initializations.
16652         (display-buffer-macro-specifiers): Don't pop up a new frame in the
16653         other window case.
16655 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
16657         * window.el (display-buffer-normalize-specifiers-1):
16658         Respect current value of pop-up-frames for most reasonable values of
16659         second argument of display-buffer (Bug#8865).
16660         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
16661         (switch-to-buffer-other-window-same-frame)
16662         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
16663         Adams (Bug#8875).
16664         (display-buffer): Don't check noninteractive when calling
16665         display-buffer-pop-up-frame.
16666         (display-buffer-pop-up-frame): Never pop up a frame in
16667         noninteractive mode (Bug#8857).
16668         (enlarge-window, shrink-window): Don't report an error when the
16669         window can't be resized as requested (Bug#8862).
16671 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16673         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
16675         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
16677         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
16679 2011-06-15  Alan Mackenzie  <acm@muc.de>
16681         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
16682         for declarators, disable knr checking to speed up for normal files.
16683         2: Refactor, replacing a sequence of nested if forms by a cond form.
16685 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16687         * net/network-stream.el (open-network-stream): Add the keyword
16688         :always-query-capabilities for the case where you want to force a
16689         `plain' network connection, but the protocol still requires the
16690         capabilitiy command (i.e., SMTP and EHLO).
16692         * subr.el (process-live-p): Rename from `process-alive-p' for
16693         consistency with other `-live-p' functions.
16695 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16697         * window.el (same-window-buffer-names, same-window-regexps)
16698         (special-display-frame-alist, special-display-popup-frame)
16699         (special-display-function, special-display-buffer-names)
16700         (special-display-regexps, pop-up-frame-alist)
16701         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
16702         (pop-up-windows, split-window-preferred-function)
16703         (split-height-threshold, split-width-threshold, even-window-heights)
16704         (display-buffer-mark-dedicated): Don't encourage the use of
16705         display-buffer-alist from Elisp code.
16707 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
16709         * progmodes/python.el (python-mode): Derive from prog-mode.
16710         * progmodes/ps-mode.el (ps-mode):
16711         * progmodes/mixal-mode.el (mixal-mode):
16712         * progmodes/cfengine.el (cfengine-mode):
16713         * progmodes/ld-script.el (ld-script-mode): Likewise.
16715 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
16717         * window.el (display-buffer-alist): Trim default value to avoid
16718         popping up a new frame (Bug#8857) or reusing an arbitrary window
16719         on another frame.
16720         (display-buffer): Do not fall back on popping up a new frame in
16721         batch mode (Bug#8857).
16723 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
16725         * cus-theme.el (describe-theme-1): Use custom-theme-p.
16726         (custom-theme-summary): New function.
16727         (customize-themes): Use it.
16729 2011-06-13  Glenn Morris  <rgm@gnu.org>
16731         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
16733 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
16735         * help.el (help-window): Remove variable.
16736         (help-window-point-marker, temp-buffer-max-height)
16737         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
16738         (help-print-return-message): Don't set help-window.
16739         (resize-temp-buffer-window): Rewrite cod eand doc-string.
16740         (help-window-setup-finish): Remove.
16741         (help-window-display-message, help-window-setup)
16742         (with-help-window): Major rewrite based on new
16743         display-buffer-window variable.
16745         * help-mode.el (help-mode-finish): Remove help-window related
16746         code.
16748         * view.el (view-exits-all-viewing-windows): Remove reference to
16749         view-return-to-alist in doc-string.
16750         (view-return-to-alist): Make obsolete.
16751         (view-buffer): Call pop-to-buffer-same-window and remove
16752         undo-window code.
16753         (view-buffer-other-window): Call pop-to-buffer-other-window and
16754         simplify code.  Ignore second argument.
16755         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
16756         simplify code.  Ignore second argument.
16757         (view-return-to-alist-update): Make obsolete.
16758         (view-mode-enter): Rename second argument to QUIT-RESTORE.
16759         Rewrite using quit-restore window parameters.
16760         (view-mode-exit): Rename second argument to EXIT-ONLY.
16761         Rewrite using quit-restore-window.
16762         (View-exit, View-exit-and-edit, View-leave, View-quit)
16763         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
16764         appropriate arguments.
16765         (view-end-message): Use quit-restore window parameter.
16767         * window.el (display-buffer-function): Rewrite doc-string.
16768         (display-buffer-window, display-buffer-alist): New variables.
16769         (display-buffer-split-specifiers)
16770         (display-buffer-side-specifiers)
16771         (display-buffer-macro-specifiers): New constants.
16772         (display-buffer-even-window-sizes, display-buffer-set-height)
16773         (display-buffer-set-width, display-buffer-select-window)
16774         (display-buffer-in-window, display-buffer-reuse-window)
16775         (display-buffer-split-window-1, display-buffer-split-window)
16776         (display-buffer-split-atom-window, display-buffer-pop-up-window)
16777         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
16778         (display-buffer-in-side-window, normalize-buffer-to-display)
16779         (display-buffer-normalize-specifiers-1)
16780         (display-buffer-normalize-specifiers-2)
16781         (display-buffer-normalize-specifiers, display-buffer-frame):
16782         New functions.
16783         (display-buffer): Major rewrite.
16784         (display-buffer-other-window, display-buffer-other-frame)
16785         (pop-to-buffer, switch-to-buffer-other-window)
16786         (switch-to-buffer-other-frame): Rewrite.
16787         (display-buffer-same-window, display-buffer-same-frame)
16788         (display-buffer-same-frame-other-window)
16789         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
16790         (pop-to-buffer-other-window)
16791         (pop-to-buffer-same-frame-other-window)
16792         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
16793         (switch-to-buffer-other-window-same-frame): New functions.
16794         (same-window-p, special-display-p): Rewrite disabling warnings.
16795         Make obsolete.
16796         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16797         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
16798         Make obsolete
16799         (same-window-buffer-names, same-window-regexps)
16800         (special-display-frame-alist, special-display-popup-frame)
16801         (special-display-function, special-display-buffer-names)
16802         (special-display-regexps, pop-up-frame-alist)
16803         (pop-up-frame-function, split-window-preferred-function)
16804         (split-height-threshold, split-width-threshold)
16805         (even-window-heights): Make obsolete.
16807 2011-06-12  Glenn Morris  <rgm@gnu.org>
16809         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
16810         Misc simplifications.
16812 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
16814         * window.el (window-safely-shrinkable-p): Restore function which
16815         was inadvertently removed in change from 2011-06-11.  Declare as
16816         obsolete.
16818         * calendar/calendar.el (calendar-generate-window):
16819         Use window-iso-combined-p instead of combination of one-window-p and
16820         window-safely-shrinkable-p.
16822 2011-06-12  Glenn Morris  <rgm@gnu.org>
16824         * progmodes/fortran.el (fortran-mode-syntax-table):
16825         * progmodes/f90.el (f90-mode-syntax-table):
16826         Set % to punctuation.  (Bug#8820)
16827         (f90-find-tag-default): Remove, no longer needed.
16829 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
16831         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
16833 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
16835         * image.el (image-animated-p): Return animation delay in seconds.
16836         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
16837         (image-animate-timeout): Remove DELAY argument.  Don't assume
16838         every subimage has the same delay; get it from image-animated-p.
16839         (image-animate): Caller changed.
16841 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
16843         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
16844         to ignored backtrace functions.
16846 2011-06-11  Glenn Morris  <rgm@gnu.org>
16848         * calendar/appt.el (appt-disp-window-function): Doc fix.
16849         (appt-check): Handle overlapping appointments.  (Bug#8337)
16851 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
16853         * window.el (window-tree-1, window-tree): New functions, moving
16854         the latter to window.el.
16855         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
16856         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
16857         (bw-refresh-edges): Remove.
16858         (balance-windows-1, balance-windows-2): New functions.
16859         (balance-windows): Rewrite in terms of window tree functions,
16860         balance-windows-1 and balance-windows-2.
16861         (bw-adjust-window): Remove.
16862         (balance-windows-area-adjust): New function with functionality of
16863         bw-adjust-window but using resize-window.
16864         (set-window-text-height): Rewrite doc-string.
16865         Use normalize-live-window and resize-window.
16866         (enlarge-window-horizontally, shrink-window-horizontally):
16867         Rename argument to DELTA.
16868         (window-buffer-height): New function.
16869         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
16870         Rewrite using new window resize routines.
16871         (kill-buffer-and-window, mouse-autoselect-window-select):
16872         Use ignore-errors instead of condition-case.
16873         (quit-window): Call delete-frame instead of delete-windows-on
16874         for the only buffer on frame.
16876 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
16878         * loadup.el (top-level): Load window before files for the sake
16879         of replace-buffer-in-windows.
16881         * files.el (read-buffer-to-switch)
16882         (switch-to-buffer-other-window)
16883         (switch-to-buffer-other-frame, display-buffer-other-frame):
16884         Move to window.el.
16886         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
16887         (previous-buffer): Move to window.el.
16889         * bindings.el (unbury-buffer): Move to window.el.
16891         * window.el (delete-other-windows-vertically): Move after
16892         definition of delete-other-windows.
16893         (other-window, delete-windows-on, replace-buffer-in-windows):
16894         Move here from window.c.
16895         (record-window-buffer, unrecord-window-buffer)
16896         (set-window-buffer-start-and-point, switch-to-prev-buffer)
16897         (switch-to-next-buffer): New functions.
16898         (get-next-valid-buffer, last-buffer, next-buffer): Move here
16899         from simple.el.  Call switch-to-next-buffer.
16900         (previous-buffer): Move here from simple.el.
16901         Call switch-to-prev-buffer.
16902         (bury-buffer): Move here from buffer.c.  Switch to previous
16903         buffer when window cannot be deleted.
16904         (unbury-buffer): Move here from bindings.el.
16905         (ctl-x-map): Move binding for other-window from window.c to
16906         here.
16907         (read-buffer-to-switch, switch-to-buffer-other-window)
16908         (switch-to-buffer-other-frame): Move here from files.el.
16909         (normalize-buffer-to-switch-to): New functions.
16910         (switch-to-buffer): Move here from buffer.c.
16911         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
16913 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
16915         * window.el (window-min-height, window-min-width): Move here
16916         from window.c.  Add defcustoms and rewrite doc-strings.
16917         (resize-mini-window, resize-window): New functions.
16918         (adjust-window-trailing-edge, enlarge-window, shrink-window):
16919         Move here from window.c.
16920         (maximize-window, minimize-window): New functions.
16921         (delete-window, delete-other-windows, split-window): Move here
16922         from window.c.
16923         (window-split-min-size): New function.
16924         (split-window-keep-point): Mention split-window-above-each-other
16925         instead of split-window-vertically.
16926         (split-window-above-each-other, split-window-vertically):
16927         Rename split-window-vertically to split-window-above-each-other
16928         and provide defalias for old definition.
16929         (split-window-side-by-side, split-window-horizontally):
16930         Rename split-window-horizontally to split-window-side-by-side
16931         and provide defalias for the old definition.
16932         (ctl-x-map): Move bindings for delete-window,
16933         delete-other-windows and enlarge-window here from window.c.
16934         Replace bindings for split-window-vertically and
16935         split-window-horizontally by bindings for
16936         split-window-above-each-other and split-window-side-by-side.
16938         * cus-start.el (all): Remove entries for window-min-height and
16939         window-min-width.  Add entries for window-splits and
16940         window-nest.
16942 2011-06-09  Glenn Morris  <rgm@gnu.org>
16944         * calendar/appt.el (appt-mode-line): New function.
16945         (appt-check, appt-disp-window): Use it.
16947         * files.el (hack-one-local-variable-eval-safep):
16948         Allow minor-modes with explicit +/-1 arguments.
16950 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
16952         * term/xterm.el (xterm): Add defgroup.
16953         (xterm-extra-capabilities): Add defcustom to supply known xterm
16954         capabilities, skip querying them, or query them (default).
16955         (terminal-init-xterm): Use it.
16956         (terminal-init-xterm-modify-other-keys): New function to set up
16957         modifyOtherKeys support to simplify `terminal-init-xterm'.
16959 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
16961         * window.el (resize-window-reset, resize-window-reset-1)
16962         (resize-subwindows-skip-p, resize-subwindows-normal)
16963         (resize-subwindows, resize-other-windows, resize-this-window)
16964         (resize-root-window, resize-root-window-vertically)
16965         (window-deletable-p, window-or-subwindow-p)
16966         (frame-root-window-p): New functions.
16968 2011-06-09  Glenn Morris  <rgm@gnu.org>
16970         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
16971         (ange-ftp-get-files): Use it.
16973 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
16975         * mail/sendmail.el (mail-recover-1, mail-recover):
16976         * files.el (recover-file, recover-session):
16977         Handle dired-listing-switches not being just a single short option.
16979 2011-06-09  Glenn Morris  <rgm@gnu.org>
16981         * calendar/appt.el (appt-display-message, appt-disp-window):
16982         Handle lists of appointments.
16984 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
16986         * window.el (one-window-p): Move down in code.
16987         Rewrite doc-string.
16988         (window-current-scroll-bars): Rewrite doc-string.
16989         Normalize live window argument.
16990         (walk-windows, get-window-with-predicate, count-windows):
16991         Rewrite doc-string.  Use window-list-1.
16992         (window-in-direction-2, window-in-direction, get-mru-window):
16993         New functions.
16995 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
16997         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
16998         Doc fix (Bug#8713).
17000 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
17002         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17004 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
17006         * loadhist.el (unload-feature-special-hooks):
17007         Add `comint-output-filter-functions'.
17009 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
17011         * calendar/appt.el (appt-check): Move some initializations into the let.
17013 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
17015         * window.el (window-height): Defalias to window-total-height.
17016         (window-width): Defalias to window-body-width.
17018 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
17020         * image-mode.el (image-toggle-animation): New command.
17021         (image-mode-map): Bind it to RET.
17022         (image-mode): Update message.
17023         (image-toggle-display-image): Avoid a spurious cache flush.
17024         (image-transform-rotation): Doc fix.
17025         (image-transform-properties): Return quickly in the normal case.
17026         (image-animate-loop): Rename from image-animate-max-time.
17028         * image.el (image-animate-max-time): Move to image-mode.el.
17029         (create-animated-image): Remove unnecessary function.
17030         (image-animate): Rename from image-animate-start.  New arg.
17031         (image-animate-stop): Remove; just use image-animate-timer.
17032         (image-animate-timer): Use car-safe.
17033         (image-animate-timeout): Rename argument.
17035 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
17037         * window.el (get-lru-window, get-largest-window): Move here from
17038         window.c.  Rename first argument to ALL-FRAMES.
17039         Rephrase doc-strings.
17040         (get-buffer-window-list): Rewrite using window-list-1.
17041         Rephrase doc-string.
17042         (window-safe-min-height, window-safe-min-width): New constants.
17043         (window-size-ignore, window-min-size, window-min-size-1)
17044         (window-sizable, window-sizable-p, window-size-fixed-1)
17045         (window-size-fixed-p, window-min-delta-1, window-min-delta)
17046         (window-max-delta-1, window-max-delta, window-resizable)
17047         (window-resizable-p, window-total-height, window-total-width)
17048         (window-body-width): New functions.
17049         (window-full-height-p, window-full-width-p): Rewrite using
17050         window-total-size.
17051         (window-body-height): Rewrite using window-body-size.
17053 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
17055         * window.el (window-right, window-left, window-child)
17056         (window-child-count, window-last-child, window-any-p)
17057         (normalize-live-buffer, normalize-live-frame)
17058         (normalize-any-window, normalize-live-window)
17059         (window-iso-combination-p, window-iso-combined-p)
17060         (window-iso-combinations)
17061         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17062         (windows-with-parameter, window-with-parameter)
17063         (window-atom-root, make-window-atom, window-atom-check-1)
17064         (window-atom-check, window-side-check, window-check):
17065         New functions.
17066         (ignore-window-parameters, window-sides, window-sides-vertical)
17067         (window-sides-slots): New variables.
17068         (window-size-fixed): Move down in code.  Minor doc-string fix.
17070 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
17072         * comint.el (comint-dynamic-complete-as-filename)
17073         (comint-dynamic-complete-filename): Correctly call
17074         completion-in-region.
17076 2011-06-05  Deniz Dogan  <deniz@dogan.se>
17078         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17079         in last change.
17081 2011-06-05  Deniz Dogan  <deniz@dogan.se>
17083         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17084         (rcirc): Use it to prompt for encryption.
17086 2011-06-05  Roland Winkler  <winkler@gnu.org>
17088         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17089         (bibtex-search-entries): New command bound to C-c C-a.
17090         (bibtex-display-entries): New function.
17092 2011-06-05  Roland Winkler  <winkler@gnu.org>
17094         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17095         (bibtex-insert-kill): After yanking insert newline if necessary.
17096         (bibtex-initialize): Call bibtex-string-files-init only once.
17097         (bibtex-mode): Do not call easy-menu-add.
17098         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17099         (bibtex-yank): Set arg properly if nil.
17101 2011-06-05  Roland Winkler  <winkler@gnu.org>
17103         * textmodes/bibtex.el (bibtex-search-entry-globally):
17104         New variable.
17105         (bibtex-search-entry): Use it.
17107 2011-06-05  Roland Winkler  <winkler@gnu.org>
17109         * textmodes/bibtex.el (bibtex-entry-format): New option
17110         sort-fields.
17111         (bibtex-format-entry, bibtex-reformat): Honor this option.
17112         (bibtex-parse-entry): Return fields in proper order.
17114 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
17116         * doc-view.el (doc-view-remove-if): Move computation of result out
17117         of `dolist' to silence misleading lexical-binding warning.
17119 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
17121         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17122         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17124 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
17126         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17127         "SunOS 5.10".
17129 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
17131         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17132         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17133         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17134         (tramp-parse-putty):
17135         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17136         (tramp-completion-function-alist-ssh)
17137         (tramp-completion-function-alist-telnet)
17138         (tramp-completion-function-alist-su)
17139         (tramp-completion-function-alist-putty): Set `tramp-autoload'
17140         cookie.
17142         * net/tramp-ftp.el:
17143         * net/tramp-sh.el:
17144         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17145         load "tramp.el" `tramp-set-completion-function'.
17147 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17149         * shell.el: Require and use pcomplete.
17150         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17151         (shell-completion-vars): Set pcomplete-default-completion-function.
17153 2011-06-04  Deniz Dogan  <deniz@dogan.se>
17155         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17156         `memq' (Bug#8799).
17158 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17160         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17162 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
17164         * bs.el (bs--mark-unmark, bs--nth-wrapper):
17165         * mpc.el (mpc-select-extend, mpc-songpointer-context):
17166         * vc/log-view.el (log-view-beginning-of-defun):
17167         * vc/smerge-mode.el (smerge-apply-resolution-patch)
17168         (smerge-refine-forward, smerge-refine-chopup-region):
17169         Silence warning for unused `dotimes' counter variables.
17171 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17173         * net/tramp.el (tramp-with-progress-reporter): Rename from
17174         with-progress-reporter.  Use `declare'.
17175         * net/tramp-smb.el:
17176         * net/tramp-sh.el:
17177         * net/tramp-gvfs.el: Update all uses.
17179 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
17181         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17182         buffer isn't killed before making it current.
17184 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17186         Silence various byte-compiler warnings.
17187         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17188         `access-type' and new obsolescence format.
17189         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17190         new format.
17191         (byte-compile-check-variable): New `access-type' argument.
17192         Only warn if the access-type is obsolete.
17193         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17194         (byte-compile-variable-set): Adjust callers.
17195         * help-fns.el (describe-variable): Adjust to new obsolescence format.
17196         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17197         setting it as obsolete.
17198         * simple.el (minibuffer-completing-symbol):
17199         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17200         access as obsolete.
17201         * minibuffer.el (minibuffer-completing-file-name): Don't make it
17202         obsolete yet.
17203         * international/quail.el (quail-mouse-choose-completion): Remove unused
17204         code referring to obsolete var.
17205         (quail-choose-completion-string): Remove.
17206         * server.el (server-clients-with, server-kill-buffer-query-function)
17207         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17208         * proced.el (proced-send-signal):
17209         * emacs-lisp/lisp.el (lisp-complete-symbol):
17210         Replace completion-annotate-function with completion-extra-properties.
17212 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17214         * simple.el (goto-line): Use read-number.
17215         (overriding-map-is-bound): Remove.
17216         (saved-overriding-map): Change default.
17217         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17218         Take the map as argument.
17219         (universal-argument, negative-argument, digit-argument): Use it.
17220         (restore-overriding-map): Adjust.
17221         (do-auto-fill): Use fill-forward-paragraph.
17222         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17224         * minibuffer.el (minibuffer-inactive-mode-map): New var.
17225         (minibuffer-inactive-mode): New major mode.
17226         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17227         the *Messages* buffer" hack.
17228         (mouse-popup-menubar): Don't burp if the event is a normal key.
17230         Miscellaneous tweaks.
17231         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17232         lexical scoping as in subr.el's dolist and dotimes.
17233         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17234         Silence compiler warning.
17235         * thingatpt.el (forward-whitespace): Trivial coding style fix.
17236         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17237         * international/ccl.el (ccl-compile): Trivial simplification.
17238         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17239         * emacs-lisp/testcover.el (testcover-end): Remove spurious
17240         `printflag' argument.
17241         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17242         Purecopy the whole obsolescence data.
17244 2011-06-01  Leo Liu  <sdl.web@gmail.com>
17246         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17247         improve doc-string as suggested by Marco Pessotto
17248         <melmothx@gmail.com>.
17249         (rcirc-print): Fix last change.
17251 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17253         * minibuffer.el (complete-with-action): Return nil for the metadata and
17254         boundaries of non-functional tables.
17255         (completion-table-dynamic): Return nil for the metadata.
17256         (completion-table-with-terminator): Add default case, using
17257         complete-with-action.
17258         (completion--metadata): New function.
17259         (completion-all-sorted-completions, minibuffer-completion-help): Use it
17260         to try and avoid pathological performance problems.
17261         (completion--embedded-envvar-table): Return `category' metadata.
17263 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17265         * subr.el (process-alive-p): New tiny convenience function.
17267 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17269         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17270         content but also its previous major mode.
17272 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
17274         * emacs-lisp/debug.el (debug): Restore the previous content of the
17275         *Backtrace* buffer when we exit with C-M-c.
17277 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17279         * minibuffer.el: Add metadata method to completion tables.
17280         (completion-category-overrides): New defcustom.
17281         (completion-metadata, completion--field-metadata)
17282         (completion-metadata-get, completion--styles)
17283         (completion--cycle-threshold): New functions.
17284         (completion-try-completion, completion-all-completions):
17285         Add `metadata' argument to choose completion-styles.
17286         (completion--do-completion): Use metadata to choose cycling.
17287         (completion-all-sorted-completions): Use metadata for sorting.
17288         Remove :completion-cycle-penalty which is not needed any more.
17289         (completion--try-word-completion): Add `metadata' argument.
17290         (minibuffer-completion-help): Check metadata for annotation function
17291         and sorting.
17292         (completion-file-name-table): Return `category' metadata.
17293         (minibuffer-completing-file-name): Make obsolete.
17294         * simple.el (minibuffer-completing-symbol): Make obsolete.
17295         * icomplete.el (icomplete-completions): Pass new `metadata' param to
17296         completion-try-completion.
17298 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17300         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17302 2011-05-30  Leo Liu  <sdl.web@gmail.com>
17304         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17305         (rcirc-print): Decode all incoming messages (bug#8744).
17306         (rcirc-decode-coding-system): Allow value nil for automatic coding
17307         system detection.
17309 2011-06-01  Glenn Morris  <rgm@gnu.org>
17311         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17313 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
17315         * image.el (image-animate-max-time): Allow nil and t values.
17316         Default to nil.
17317         (create-animated-image): Doc fix.
17318         (image-animate-start): Remove second arg; just use
17319         image-animate-max-time.
17320         (image-animate-timeout): Doc fix.  Args changed.
17322         * image-mode.el (image-toggle-display-image): Ensure that the
17323         image spec passed to the animate timer is the same object as in
17324         the buffer's display property (Bug#6981).
17325         (image-transform-properties): Doc fix.
17327         * image.el (image-animate-max-time): Default to nil.
17329 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
17331         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17332         entire buffer list (Bug#8184).
17334 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
17336         * image.el (imagemagick-types-inhibit)
17337         (imagemagick-register-types): Doc fix.
17339 2011-05-29  Deniz Dogan  <deniz@dogan.se>
17341         * net/rcirc.el (rcirc): Use the user's stored encryption method by
17342         default.
17344 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
17346         * select.el: Don't perform clipboard-manager saving in hooks;
17347         leave the hooks empty.
17349 2011-05-28  Leo Liu  <sdl.web@gmail.com>
17351         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17352         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
17353         (occur-edit-mode): New major mode (Bug#8463).
17354         (occur-after-change-function): New function.
17355         (occur-engine): Give Occur tags a read-only property.
17357 2011-05-28  Kevin Ryde  <user42@zip.com.au>
17359         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17361 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
17363         * bindings.el (help-echo): Make the initial non-indicator dash
17364         empty on graphical terminals (Bug#7295).
17366         * files.el (auto-mode-alist): Move config rule after the
17367         in-stripping one (Bug#8547).
17369         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17371         * startup.el (normal-splash-screen): Remove gratuitous mode-line
17372         setting (Bug#8740).
17374 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
17376         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17377         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17378         (Bug#8539).
17380 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
17382         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17384 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
17386         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17387         (hs-hide-block-at-point, hs-find-block-beginning)
17388         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17389         (Bug#8279).
17391 2011-05-28  Glenn Morris  <rgm@gnu.org>
17393         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
17395 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
17397         * help-fns.el (describe-function-1): If the function is a derived
17398         major mode, print the parent mode.
17400         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17401         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17403 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17405         * minibuffer.el (completion--capf-wrapper): Check applicability before
17406         returning non-nil for non-exclusive completion data.
17407         * progmodes/etags.el (tags-completion-at-point-function):
17408         * info-look.el (info-lookup-completions-at-point): Mark as
17409         non-exclusive.
17410         (info-complete): Adjust accordingly.
17412         * info-look.el: Convert to lexical-binding and completion-at-point.
17413         (info-lookup-completions-at-point): New function.
17414         (info-complete): Use it and completion-in-region.
17416 2011-05-28  Drew Adams  <drew.adams@oracle.com>
17418         * isearch.el: Let M-e start with point at the first mismatched char.
17419         (isearch-fail-pos): New function.
17420         (isearch-edit-string): Use it.
17422 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
17424         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17426 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
17428         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
17429         traversal functions for avl-trees.
17430         (avl-tree--stack): New struct.
17431         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17432         (avl-tree-enter): Add optional `updatefun' arg.
17433         (avl-tree--do-enter): Add optional `updatefun' arg.
17434         Change return value.
17435         (avl-tree-delete): Add optional `test' and `nilflag' args.
17436         (avl-tree--do-delete): Add `test' and `nilflag' args.
17437         Change return value.
17438         (avl-tree-member): Add optional `nilflag'
17439         (avl-tree-member-p): New function.
17440         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17441         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17442         (avl-tree-stack-empty-p): New functions.
17444         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17445         avl-tree--del-balance1 and make it work both ways.
17446         (avl-tree--del-balance2): Remove.
17447         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17448         make it work both ways.
17449         (avl-tree--enter-balance2): Remove.
17450         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17451         New macros.
17452         (avl-tree--mapc, avl-tree-map): Add direction argument.
17454 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
17456         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17458 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
17460         * select.el: Support clipboard managers with built-in function
17461         x-clipboard-manager-save, via delete-frame-functions and
17462         kill-emacs-hook.
17463         (xselect-convert-to-targets): Add MULTIPLE target to list.
17464         (xselect-convert-to-save-targets): New function.
17466 2011-05-27  Kenichi Handa  <handa@m17n.org>
17468         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17469         let-binding rfc2047-encode-encoded-words to nil.
17471 2011-05-27  Glenn Morris  <rgm@gnu.org>
17473         * mail/emacsbug.el: Don't require url-util.
17475         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
17477         * files.el (set-auto-mode):
17478         Also respect mode: entries at the end of the file.  (Bug#8586)
17480 2011-05-26  Glenn Morris  <rgm@gnu.org>
17482         * files.el (hack-local-variables-prop-line, hack-local-variables):
17483         Downcase mode names, as seems to be traditional.
17484         (hack-local-variables, hack-local-variables-apply): Doc fixes.
17486         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17487         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
17489 2011-05-25  Julien Danjou  <julien@danjou.info>
17491         * textmodes/rst.el (rst-define-level-faces): Do not define face
17492         symbol if it is already defined.
17494 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17496         * play/5x5.el (5x5-new-game, 5x5-randomize):
17497         Reset 5x5-solver-output to nil when a new grid is cast.
17498         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17499         these debugging traces, as defmacro breaks the compiled code.
17501 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
17503         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17505 2011-05-24  Leo Liu  <sdl.web@gmail.com>
17507         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17508         (vc-bzr-sha1): Adapt.
17510         * sha1.el: Remove.  Function `sha1' is now builtin.
17512         * bindings.el: Provide sha1 feature.
17514 2011-05-24  Kenichi Handa  <handa@m17n.org>
17516         * mail/sendmail.el: Require `rfc2047'.
17517         (mail-insert-from-field): Do not perform RFC2047 encoding.
17518         (mail-encode-header): New function.
17519         (sendmail-send-it): Set buffer-file-coding-system of the work
17520         buffer to the return value of select-message-coding-system.
17521         Call mail-encode-header.
17523         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17525 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
17527         * mail/supercite.el (sc-default-cite-frame):
17528         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17530 2011-05-24  Glenn Morris  <rgm@gnu.org>
17532         * progmodes/python.el (brm-menu): Declare.
17534         * emulation/viper.el (viper-set-hooks): Declare.
17536         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17537         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17538         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17539         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17540         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17541         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17543 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17545         Add an :exit-function for completion-at-point.
17547         * minibuffer.el (completion--done): New fun.
17548         (completion--do-completion): Use it.  New arg `expect-exact'.
17549         (minibuffer-complete, minibuffer-complete-word): Don't output message,
17550         since completion--do-completion does it for us now.
17551         (minibuffer-force-complete): Use completion--done and
17552         completion--replace.  Handle sole-completion case with more care.
17553         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17554         (completion-extra-properties): New var.
17555         (completion-annotate-function): Make obsolete.
17556         (minibuffer-completion-help): Adjust accordingly.
17557         Use completion-list-insert-choice-function.
17558         (completion-at-point, completion-help-at-point):
17559         Bind completion-extra-properties.
17560         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17561         * simple.el (completion-list-insert-choice-function): New var.
17562         (completion-setup-function): Preserve it.
17563         (choose-completion): Pay attention to it, shuffle the code a bit.
17564         (choose-completion-string): New arg `insert-function'.
17566         * textmodes/bibtex.el: Convert to lexical binding.
17567         (bibtex-mode-map): Use completion-at-point.
17568         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17569         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17570         (bibtex-complete): Define as obsolete alias.
17571         (bibtex-complete-internal): Remove.
17572         (bibtex-format-entry): Remove unused sub-group in regexp.
17573         * shell.el (shell--command-completion-data)
17574         (shell-environment-variable-completion):
17575         * pcomplete.el (pcomplete-completions-at-point):
17576         * comint.el (comint--complete-file-name-data): Use :exit-function
17577         instead of completion-table-with-terminator so it also works for
17578         choose-completion.
17580 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17582         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17584         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17585         (bug#8710).
17587         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17589 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
17591         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17592         customization variable and implement: If non-nil, auto-fill will
17593         be inhibited while on topic's header line.
17595 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17597         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17598         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
17599         always have a solution in grid size = 5 cases.
17600         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17601         (5x5-solver-output, 5x5-log-buffer): New vars.
17602         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17603         Make these variables buffer local to achieve 5x5 multi-session-ness.
17604         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17605         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17606         (5x5-solve-suggest): New funs.
17607         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17608         randomize a grid so that we ensure that there is always a solution.
17609         (5x5-make-random-grid): Allow other movement than flipping.
17611 2011-05-23  Kevin Ryde  <user42@zip.com.au>
17613         * emacs-lisp/advice.el (ad-read-advised-function):
17614         Use `function-called-at-point' as the default, if it has
17615         advice and passes PREDICATE.
17617 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17619         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17620         byte-compile-lambda if it's actually a lambda.
17622         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17623         Fix function quoting.  Use backquote better.
17625 2011-05-22  Yuanle Song  <sylecn@gmail.com>
17627         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17628         matching (Bug#8516).
17630 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
17632         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17633         different face (Bug#8178).
17635 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
17637         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17638         defface (Bug#8144).
17640 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17642         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17643         funcall as well (bug#8712).  Warn when performing those conversions.
17644         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17646         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17648 2011-05-22  Glenn Morris  <rgm@gnu.org>
17650         * files.el (hack-local-variables-prop-line): Small simplifications.
17651         (hack-local-variables, hack-local-variables-prop-line):
17652         If MODE-ONLY, return the mode, rather than just `t'.
17654 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17656         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
17658 2011-05-21  Glenn Morris  <rgm@gnu.org>
17660         * files.el (hack-local-variables-prop-line, hack-local-variables):
17661         If only interested in the mode, don't bother doing the other stuff.
17663         * image-mode.el (image-after-revert-hook):
17664         Redraw all frames on which the image is visible.  (Bug#8567)
17666         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
17668         * wid-edit.el (widget-checklist-match-inline):
17669         Fix 2011-04-19 change.  (Bug#8649)
17671 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
17673         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
17674         Also allow singlespace after single-letter capitals followed by a dot.
17676         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
17677         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
17679 2011-05-20  Nix  <nix@esperi.org.uk>
17681         * files.el (basic-save-buffer-2):
17682         Fix handling of break-hardlink-on-save with non-existent files.
17684 2011-05-19  Deniz Dogan  <deniz@dogan.se>
17686         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
17687         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
17689 2011-05-19  Glenn Morris  <rgm@gnu.org>
17691         * progmodes/f90.el (f90-type-def-re):
17692         Handle "type, bind(c)".  (Bug#8691)
17694         * emacs-lisp/autoload.el (batch-update-autoloads):
17695         Set autoload-excludes by parsing loadup.el rather than Makefiles.
17697 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
17699         * net/tramp.el (tramp-process-actions): Set "first-password-request"
17700         property for the correct connection in case of multihops.
17702 2011-05-18  Glenn Morris  <rgm@gnu.org>
17704         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
17705         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
17707         Rationalize calendar handling of day and month abbrev-arrays.
17708         * calendar/calendar.el (calendar-customized-p): New function.
17709         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
17710         (calendar-day-name-array, calendar-month-name-array): Doc fix.
17711         Add :set function.
17712         (calendar-abbrev-length, calendar-day-abbrev-array)
17713         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
17714         (calendar-day-abbrev-array, calendar-month-abbrev-array):
17715         Elements may no longer be nil.
17716         (calendar-day-name, calendar-month-name):
17717         Update for changed nature of abbrev arrays.
17718         * calendar/diary-lib.el (diary-name-pattern):
17719         Update for changed nature of abbrev arrays.
17720         (diary-mark-entries-1): Update calendar-make-alist calls.
17721         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
17722         * calendar/cal-html.el (cal-html-day-abbrev-array):
17723         Simply inherit from calendar-day-abbrev-array.
17725 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17727         * progmodes/grep.el (grep-mode): Disable default
17728         compilation-directory-matcher setting (bug#8684).
17730 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
17732         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
17733         instead of "head" and "tail".  There were problems with SunOS 5.9,
17734         and it performs better.
17736 2011-05-17  Glenn Morris  <rgm@gnu.org>
17738         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
17740         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
17741         Replace obsolete function.
17743         * shell.el (pcomplete-parse-arguments-function): Declare.
17745         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
17746         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
17747         (appt-check): Doc fixes.
17748         (appt-disp-window-function, appt-delete-window-function):
17749         Remove needless special case in custom :type.
17750         (appt-display-count): Default to 0, not nil.
17751         (appt-check): Reset appt-display-count to 0, not nil.
17753 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
17755         * progmodes/python.el (python-font-lock-keywords):
17756         Add the Python 3.X keyword "nonlocal" (bug#8639).
17758 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17760         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
17762 2011-05-16  Kevin Ryde  <user42@zip.com.au>
17764         * info-look.el (makefile-automake-mode): New setups, looking in
17765         automake manual, then makefile-mode.
17766         (makefile-mode): Remove automake manual, have it just in
17767         makefile-automake-mode since there's various things different or
17768         not relevant to plain make.
17769         (makefile-mode): Remove "other-modes" non-existent automake-mode,
17770         believe a hypothetical automake-mode would go to makefile-mode,
17771         not the other way around.
17773 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
17775         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
17776         hunk-end tags (Bug#8672).
17778         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
17779         vc-annotate-show-diff-revision-at-line (Bug#8671).
17781 2011-05-14  Glenn Morris  <rgm@gnu.org>
17783         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
17784         in the middle of an existing one with multiple authors.  (Bug#8645)
17785         (change-log-font-lock-keywords): Also handle multiple author lines
17786         with leading tabs.  (Bug#8644)
17788         * calendar/appt.el (appt-check): Rename some local variables.
17789         Some simplification/reordering.
17791         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
17792         (feedmail-sendmail-f-doesnt-sell-me-out)
17793         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17794         (feedmail-debug-sit-for, feedmail-queue-express-hook)
17795         (feedmail-queue-runner-message-sender): Set :version.
17796         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
17797         (bbdb-dwim-net-address, vm-mail): Declare.
17798         (feedmail-binmail-gnulinuxish-template):
17799         Rename from feedmail-binmail-linuxish-template.
17800         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
17801         Use insert-buffer-substring.
17803 2011-05-14  Bill Carpenter  <bill@carpenter.org>
17805         * mail/feedmail.el (feedmail-patch-level): Increase.
17806         (feedmail-debug): New custom group.
17807         (feedmail-confirm-outgoing-timeout)
17808         (feedmail-sendmail-f-doesnt-sell-me-out)
17809         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
17810         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
17811         (feedmail-sender-line, feedmail-from-line)
17812         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
17813         (feedmail-spray-this-address)
17814         (feedmail-spray-address-fiddle-plex-list)
17815         (feedmail-queue-use-send-time-for-date)
17816         (feedmail-queue-use-send-time-for-message-id)
17817         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
17818         (feedmail-buffer-eating-function):
17819         Doc fixes.
17820         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
17821         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
17822         (feedmail-message-action-scroll-down): New functions.
17823         (feedmail-queue-directory, feedmail-queue-draft-directory):
17824         Use expand-file-name.
17825         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
17826         Remove C-v help entry.
17827         (feedmail-queue-buffer-file-name): New variable.
17828         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
17829         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
17830         (feedmail-message-action-send-strong, feedmail-message-action-edit)
17831         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
17832         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
17833         (feedmail-message-action-toggle-spray)
17834         (feedmail-run-the-queue-no-prompts)
17835         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
17836         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
17837         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
17838         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
17839         (feedmail-envelope-deducer, feedmail-fiddle-from)
17840         (feedmail-fiddle-sender, feedmail-default-date-generator)
17841         (feedmail-fiddle-date, feedmail-fiddle-message-id)
17842         (feedmail-fiddle-spray-address)
17843         (feedmail-fiddle-list-of-spray-fiddle-plexes)
17844         (feedmail-fiddle-list-of-fiddle-plexes)
17845         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
17846         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
17847         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
17848         Change default.  Doc fix.
17849         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
17850         (feedmail-binmail-linuxish-template): New constant.
17851         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
17852         Respect feedmail-sendmail-f-doesnt-sell-me-out.
17853         (feedmail-send-it): Add debug call.
17854         Use feedmail-queue-buffer-file-name, and
17855         feedmail-send-it-immediately-wrapper.
17856         (feedmail-message-action-send): Add debug call.
17857         Use feedmail-send-it-immediately-wrapper.
17858         (feedmail-queue-express-to-queue): Add debug call.
17859         Run feedmail-queue-express-hook.
17860         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
17861         (feedmail-message-action-help-blat):
17862         Rename from feedmail-queue-send-edit-prompt-help-first.
17863         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
17864         Check line-endings.  Handle errors better.
17865         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
17866         Doc fix.  Add debug call.
17867         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
17868         Use feedmail-queue-send-edit-prompt-inner.
17869         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
17870         (feedmail-queue-send-edit-prompt-inner): New function, extracted
17871         from feedmail-queue-send-edit-prompt.
17872         (feedmail-queue-send-edit-prompt-help)
17873         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
17874         (feedmail-tidy-up-slug): Add debug call.
17875         Respect feedmail-queue-slug-suspect-regexp.
17876         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
17877         (feedmail-dump-message-to-queue): Add debug call.
17878         Expand queue-directory.
17879         (feedmail-dump-message-to-queue): Change message slightly.
17880         Use feedmail-say-chatter.
17881         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
17882         (feedmail-send-it-immediately-wrapper): New function.
17883         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
17884         Insert empty string rather than newline.  Handle full-frame case.
17885         Use catch/throw.  Use feedmail-say-chatter.
17886         (feedmail-fiddle-from): Try mail-host-address.
17887         (feedmail-default-message-id-generator): Doc fix.
17888         Bind system-time-locale.  Handle missing end.
17889         (feedmail-fiddle-x-mailer): Add debug call.
17890         Handle feedmail-x-mailer-line being nil.
17891         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
17892         Add debug call.  Use buffer-substring-no-properties.
17893         (feedmail-say-debug, feedmail-say-chatter): New functions.
17894         (feedmail-find-eoh): Give an explicit error.
17896 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
17898         * net/newst-treeview.el (newsticker-treeview-face): Change default
17899         family from helvetica to sans.
17900         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
17901         etc/images/newsticker.
17903         * net/newst-reader.el (newsticker-feed-face): Change default
17904         family from helvetica to sans.
17906         * net/newst-plainview.el (newsticker-new-item-face)
17907         (newsticker-old-item-face, newsticker-immortal-item-face)
17908         (newsticker-obsolete-item-face, newsticker-date-face)
17909         (newsticker-statistics-face): Change default family from
17910         helvetica to sans.
17911         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
17912         etc/images/newsticker.
17914         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
17915         (newsticker--process-auto-mark-filter-match): Tell user about
17916         auto-marking.
17918 2011-05-13  Didier Verna  <didier@xemacs.org>
17920         Common Lisp indentation improvements on defmethod and lambda-lists.
17921         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
17922         TODO entries.
17923         (lisp-lambda-list-keyword-parameter-indentation)
17924         (lisp-lambda-list-keyword-parameter-alignment)
17925         (lisp-lambda-list-keyword-alignment): New customizable user options.
17926         (lisp-indent-defun-method): Improve docstring.
17927         (extended-loop-p): Fix comment.
17928         (lisp-indent-lambda-list-keywords-regexp): New variable.
17929         (lisp-indent-lambda-list): New function.
17930         (lisp-indent-259): Use it.
17931         (lisp-indent-defmethod): Support for more than one
17932         method qualifier and properly indent methods lambda-lists.
17933         (defgeneric): Provide a missing common-lisp-indent-function property.
17935 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
17937         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
17938         bounds for the empty string (bug#8667).
17940 2011-05-13  Glenn Morris  <rgm@gnu.org>
17942         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
17944         * mail/sendmail.el (sendmail-program): Try executable-find first.
17945         (sendmail-send-it): `sendmail-program' cannot be unbound.
17947         * calendar/appt.el (appt-make-list): Simplify.
17948         (appt-time-msg-list): Doc fix.
17949         (appt-check): Change mode-line message at the time of the appointment.
17951 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
17953         * progmodes/ld-script.el (ld-script-keywords)
17954         (ld-script-builtins): Update keywords list.
17956 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17958         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
17960         * shell.el (shell-completion-vars): New function.
17961         (shell-mode):
17962         * simple.el (read-shell-command): Use it.
17963         (blink-matching-open): No need for " [...]" in minibuffer-message.
17965 2011-05-12  Glenn Morris  <rgm@gnu.org>
17967         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
17968         (appt-check): Simplify.
17970 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
17972         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
17973         literal "/dev/null".
17975 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17977         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
17978         Fix typo.
17980 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
17982         * progmodes/which-func.el (which-function):
17983         Use add-log-current-defun instead of add-log-current-defun-function,
17984         which might not be defined (Bug#8260).
17986 2011-05-12  Glenn Morris  <rgm@gnu.org>
17988         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
17989         Let byte-compile-initial-macro-environment always take precedence.
17991 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
17993         * net/rcirc.el: Add support for SSL/TLS connections.
17994         (rcirc-server-alist): New field `encryption'.
17995         (rcirc): Check `encryption' settings.
17996         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
17997         Merge make-local-variable into `set'.
17998         (rcirc--connection-open-p): New function.
17999         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18000         the process is not a network process (e.g. running gnutls-cli).
18001         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18002         Make rcirc-(en|de)code-coding-system local here.
18003         (rcirc-mode): Merge make-local-variable into `set'.
18004         (rcirc-parent-buffer): Make permanent buffer-local.
18005         (rcirc-multiline-minor-mode): Don't do it here.
18006         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18007         there's no server buffer.
18009 2011-05-11  Glenn Morris  <rgm@gnu.org>
18011         * newcomment.el (comment-kill): Prefix "unused" local.
18013         * term/w32console.el (get-screen-color): Declare.
18015         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18016         Handle symbol elements of byte-compile-initial-macro-environment.
18018 2011-05-10  Leo Liu  <sdl.web@gmail.com>
18020         * bookmark.el (bookmark-bmenu-mode-map):
18021         Bind bookmark-bmenu-search to `/'.
18023         * mail/footnote.el: Convert to utf-8 encoding.
18024         (footnote-unicode-string, footnote-unicode-regexp): New variable.
18025         (Footnote-unicode): New function.
18026         (footnote-style-alist): Add unicode style to the list.
18027         (footnote-style): Doc fix.
18029 2011-05-10  Jim Meyering  <meyering@redhat.com>
18031         Fix doubled-word typos.
18032         * international/quail.el (quail-insert-kbd-layout): and and -> and
18033         * kermit.el: and and -> and
18034         * net/ldap.el (ldap-search-internal): to to -> to
18035         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18036         * progmodes/js.el (js-mode): and and -> and
18037         * textmodes/artist.el (artist-move-to-xy): at at -> at
18038         (artist-draw-region-trim-line-endings): if if -> if
18039         And Safetyc -> Safety.
18040         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18042 2011-05-10  Glenn Morris  <rgm@gnu.org>
18043             Stefan Monnier  <monnier@iro.umontreal.ca>
18045         * files.el (hack-one-local-variable-eval-safep):
18046         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
18048 2011-05-10  Glenn Morris  <rgm@gnu.org>
18050         * calendar/diary-lib.el (diary-list-entries-hook)
18051         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18052         (diary-nongregorian-marking-hook, diary-list-entries)
18053         (diary-include-other-diary-files, diary-mark-entries)
18054         (diary-mark-included-diary-files): Doc fixes.
18056 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
18058         * misc.el: Require tabulated-list.el during compilation.
18060 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
18062         * progmodes/compile.el (compilation-start):
18063         Run compilation-filter-hook for the async case too.
18064         (compilation-filter-hook): Doc fix.
18066 2011-05-09  Deniz Dogan  <deniz@dogan.se>
18068         * wdired.el: Remove outdated installation comment.  Fix usage
18069         comment.
18071 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
18073         * misc.el: Implement new command `list-dynamic-libraries'.
18074         (list-dynamic-libraries--loaded-only-p): New variable.
18075         (list-dynamic-libraries--refresh): New function.
18076         (list-dynamic-libraries): New command.
18078 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
18080         * progmodes/compile.el (compilation-error-regexp-alist-alist):
18081         Fix the ant regexp to handle end-line and end-column info from jikes.
18082         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
18083         higher priority to avoid clobbering by gnu.
18085 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
18087         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18088         if the face has existing theme settings (Bug#8454).
18090 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
18092         * progmodes/perl-mode.el (perl-imenu-generic-expression):
18093         Only match variables declared via `my' or `our' (Bug#8261).
18095         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18096         special file names `.' and `..' (Bug#8259).
18098 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
18100         * progmodes/grep.el (grep-mode-font-lock-keywords):
18101         Remove buffer-changing entries.
18102         (grep-filter): New function.
18103         (grep-mode): Add it to compilation-filter-hook.
18105         * progmodes/compile.el (compilation-filter-hook)
18106         (compilation-filter-start): New defvars.
18107         (compilation-filter): Call compilation-filter-hook prior to
18108         updating the process mark.
18110 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18112         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18114 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
18116         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18117         mailclient-send-it even if window-system is nil.  (Bug#8595)
18119         * term/w32console.el (terminal-init-w32console):
18120         Call get-screen-color and use its output to set the frame
18121         background-mode.  (Bug#8597)
18123 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18125         Make bytecomp.el understand that defmethod defines funs (bug#8631).
18126         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18127         New functions.
18128         (defgeneric, eieio--defmethod): Use them.
18129         (eieio-defgeneric): Remove.
18130         (defmethod): Call defgeneric in a way visible to the byte-compiler.
18132 2011-05-07  Glenn Morris  <rgm@gnu.org>
18134         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18135         Use let rather than let*.
18136         (timeclock-find-discrep): Remove unused local.
18138         * calendar/diary-lib.el (diary-comment-start): Doc fix.
18140         * calendar/appt.el (appt-time-msg-list): Doc fix.
18142 2011-05-06  Noah Friedman  <friedman@splode.com>
18144         * apropos.el (apropos-print-doc): Only use
18145         emacs-lisp-docstring-fill-column when it is bound to an integer,
18146         per that variable's documentation.
18148 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18150         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18151         and warnings are not silently discarded (e.g. use -d instead of -P).
18153 2011-05-06  Glenn Morris  <rgm@gnu.org>
18155         * calendar/appt.el (appt-message-warning-time): Doc fix.
18156         (appt-warning-time-regexp): New option.
18157         (appt-make-list): Respect appt-message-warning-time.
18159         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18160         New options.
18161         (diary-add-to-list): Strip comments from the displayed string.
18162         (diary-mode): Set comment-start and comment-end.
18164         * vc/diff-mode.el (smerge-refine-subst): Declare.
18165         (diff-refine-hunk): Don't require smerge-mode when compiling.
18167 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
18169         * simple.el (list-processes): Return nil as the docstring says.
18171 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
18173         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18174         to "".
18175         (ange-ftp-write-region, ange-ftp-insert-file-contents)
18176         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18177         determining of binary transfer.  (Bug#7383)
18179 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
18181         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18182         Fix port computation bug.  (Bug#8618)
18184 2011-05-05  Glenn Morris  <rgm@gnu.org>
18186         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18188         * simple.el (shell-dynamic-complete-functions)
18189         (comint-dynamic-complete-functions): Declare.
18191         * net/network-stream.el (gnutls-negotiate):
18192         * simple.el (tabulated-list-print): Fix declarations.
18194         * progmodes/gud.el (syntax-symbol, syntax-point):
18195         Remove unnecessary and incorrect declarations.
18197         * emacs-lisp/check-declare.el (check-declare-scan):
18198         Handle byte-compile-initial-macro-environment in bytecomp.el
18200 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18202         Fix earlier half-done eieio-defmethod change (bug#8338).
18203         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18204         Streamline and change calling convention.
18205         (defmethod): Adjust accordingly and simplify.
18206         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18207         new eieio--defmethod.
18208         (slot-boundp): Minor CSE simplification.
18210 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
18212         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18213         (glasses-make-readable): Use glasses-separate-capital-groups.
18215 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
18217         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18218         (warning-series): Doc fix.
18219         (display-warning): Don't try to create the buffer if we just found it.
18221 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
18223         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18224         (autoload-find-generated-file): New function.
18225         (generate-file-autoloads): Bind generated-autoload-file to
18226         buffer-file-name.
18227         (update-file-autoloads, update-directory-autoloads):
18228         Use autoload-find-generated-file.  If called interactively, prompt for
18229         output file (Bug#7989).
18230         (batch-update-autoloads): Doc fix.
18232 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
18234         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18236 2011-05-04  Glenn Morris  <rgm@gnu.org>
18238         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18239         function, so it follows changes in calendar-date-style.
18240         (diary-fancy-date-matcher): New function.
18241         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18242         (diary-fancy-font-lock-fontify-region-function):
18243         Use diary-fancy-date-pattern as a function.
18245         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18246         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
18248 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
18250         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18251         instead of positional arguments.  Allow :keylist and :crlfiles
18252         arguments.
18253         (open-gnutls-stream): Call it.
18255         * net/network-stream.el (network-stream-open-starttls): Adjust to
18256         call `gnutls-negotiate' with :process and :hostname arguments.
18258 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18260         * minibuffer.el (completion--message): New function.
18261         (completion--do-completion, minibuffer-complete)
18262         (minibuffer-force-complete, minibuffer-complete-word): Use it.
18263         (completion--do-completion): Don't ignore completion-auto-help when in
18264         icomplete-mode.
18266         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18267         internal encoding (e.g. tibetan zero is not whitespace).
18268         (global-whitespace-mode): Prefer save-current-buffer.
18269         (whitespace-trailing-regexp): Remove useless save-match-data.
18270         (whitespace-empty-at-bob-regexp): Minor simplification.
18272 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
18274         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18276 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
18278         * textmodes/ispell.el (ispell-add-per-file-word-list):
18279         Use `concat' to create string for insertion.
18281 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18283         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18284         Avoid open-line which runs post-self-insert-hook.
18285         (bibtex-fill-entry): Remove unused `end' var.
18287 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
18289         * textmodes/ispell.el (ispell-add-per-file-word-list):
18290         Protect against `nil' value of `comment-start' (Bug#8579).
18292 2011-05-03  Leo Liu  <sdl.web@gmail.com>
18294         * isearch.el (isearch-yank-pop): New command.
18295         (isearch-mode-map): Bind it to `M-y'.
18296         (isearch-forward): Mention it.
18298 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18300         * simple.el (minibuffer-complete-shell-command): Remove.
18301         (minibuffer-local-shell-command-map): Use completion-at-point.
18302         (read-shell-command): Setup completion vars here instead.
18303         (read-expression-map): Bind TAB to symbol completion.
18305         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18306         error directly rather via storing it into `results'.
18308 2011-05-02  Leo Liu  <sdl.web@gmail.com>
18310         * vc/diff.el: Fix description.
18312 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18314         * server.el (server-eval-at): New function.
18316 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18318         * net/network-stream.el (open-network-stream): Take a :nowait
18319         parameter and pass it on to `make-network-process'.
18320         (network-stream-open-plain): Ditto.
18322 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
18324         * faces.el (face-spec-set-match-display): Don't match toolkit
18325         options on terminal frames.
18327 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18329         * progmodes/pascal.el: Use lexical binding.
18330         (pascal-mode-map): Remove author preferences.
18332         * pcomplete.el (pcomplete-std-complete): Don't abuse
18333         completion-at-point.
18335 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
18337         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18338         removing code that has been dead since 1991 or so.
18340         * startup.el (command-line): When warning about "_emacs", use a
18341         delayed warning to allow the user to filter it out.
18343 2011-04-28  Deniz Dogan  <deniz@dogan.se>
18345         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18346         user has not joined.
18348 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18350         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18351         aren't any completions at point.
18353 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
18355         * subr.el (display-delayed-warnings): New function.
18356         (delayed-warnings-hook): New variable.
18358 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18360         * minibuffer.el (completion-at-point, completion-help-at-point):
18361         Don't presume that a given completion-at-point-function will always
18362         use the same calling convention.
18364         * pcomplete.el (pcomplete-completions-at-point):
18365         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
18366         pcomplete-seen is non-nil.
18367         (pcomplete-comint-setup): Also recognize the new comint/shell
18368         completion functions.
18369         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18370         pcomplete-seen is non-nil.
18372 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
18374         * calendar/icalendar.el (diary-lib): Add require statement.
18375         (icalendar--create-uid): Read out a uid from a text-property on
18376         the first character in the entry.  This allows for code to add its
18377         own uid to the entry.
18378         (icalendar--convert-float-to-ical): Add export of
18379         `diary-float'-entries save for those with the optional DAY
18380         argument.
18382 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
18384         * subr.el (shell-quote-argument): Use alternate escaping strategy
18385         when we spot a variable reference in a string.
18387 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
18389         * cus-start.el (all): Define customization for debug-on-event.
18391 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
18393         * subr.el (shell-quote-argument): Escape correctly under Windows.
18395 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18397         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18399 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
18401         * net/tramp.el (tramp-process-actions): Add POS argument.
18402         Delete region between POS and (pos).
18404         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18405         Use `nil' position in `tramp-process-actions' call.
18406         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18408         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18409         position in `tramp-process-actions' call.
18411         * net/trampver.el: Update release number.
18413 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18415         * custom.el (defcustom): Obey lexical-binding.
18417         Fix octave-inf completion problems reported by Alexander Klimov.
18418         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18419         Inherit from octave-mode-syntax-table.
18420         (inferior-octave-mode): Set info-lookup-mode.
18421         (inferior-octave-completion-at-point): New function.
18422         (inferior-octave-complete): Use it and completion-in-region.
18423         (inferior-octave-dynamic-complete-functions): Use it as well, and use
18424         comint-filename-completion.
18425         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18426         symbol elements which shouldn't be word elements.
18427         (octave-font-lock-keywords, octave-beginning-of-defun)
18428         (octave-function-header-regexp): Adjust regexps accordingly.
18429         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18431 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
18433         * net/gnutls.el (gnutls-errorp): Declare before first use.
18435 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
18437         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18438         verify-error, and verify-hostname-error parameters.  Check whether
18439         default trustfile exists before going to use it.  Add missing
18440         argument to gnutls-message-maybe call.  Return value.
18441         Reported by Claudio Bley <claudio.bley@gmail.com>.
18442         (open-gnutls-stream): Add usage example.
18444         * net/network-stream.el (network-stream-open-starttls): Give host
18445         parameter to `gnutls-negotiate'.
18446         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18447         * subr.el (shell-quote-argument): Escape correctly under Windows.
18449 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
18451         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18452         Use correct match group (bug#8438).
18454 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
18456         * emacs-lisp/package.el (package-built-in-p): Fix typo.
18457         (package-menu--generate): New arg specifying packages to show.
18458         (package-menu-refresh, package-menu-execute, list-packages):
18459         Callers changed.
18460         (package-show-package-list): New function, replacing deleted
18461         package--list-packages (renamed because it is non-internal).
18463         * finder.el (finder-list-matches): Use package-show-package-list
18464         instead of deleted package--list-packages.
18466         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18467         Based on a previous implementation by Juanma Barranquero (Bug#8366).
18468         (vc-annotate-mode-map): Bind it to RET.
18470 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
18472         * progmodes/etags.el (next-file): Don't use set-buffer to change
18473         buffers (Bug#8478).
18475 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
18477         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18479         * apropos.el (apropos-label-face): Avoid variable-pitch face.
18480         (apropos-accumulator): Doc fix.
18481         (apropos-function, apropos-macro, apropos-command)
18482         (apropos-variable, apropos-face, apropos-group, apropos-widget)
18483         (apropos-plist): Add face property.
18484         (apropos-symbols-internal): Fix indentation.
18485         (apropos-print): Simplify help, and recognize apropos-multi-type.
18486         (apropos-print-doc): Use button-type-get to extract the button's
18487         face property.  Fill docstring (Bug#8352).
18489 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
18491         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18493         * play/mpuz.el (mpuz-silent): Doc fix.
18494         (mpuz-mode-map): Use mapc.
18495         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18496         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18497         Fix typos in docstrings.
18499         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18500         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18502         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18504 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
18506         * minibuffer.el (completion--do-completion): Avoid the "Next char
18507         not unique" prompt if icomplete-mode is enabled (Bug#5849).
18509         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18510         mouse-2 into unread-command-events, it is interpreted correctly.
18512         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18513         (image-toggle-display): Doc fix.
18515 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
18517         * textmodes/page.el (what-page): Use line-number-at-pos to
18518         calculate line number (Bug#6825).
18520 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
18522         * eshell/esh-mode.el (find-tag-interactive): Declare function.
18523         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18524         Pass argument NO-DEFAULT to `find-tag-interactive'.
18526 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
18528         Lexical-binding cleanup.
18530         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18531         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18532         * progmodes/ada-prj.el (ada-prj-initialize-values)
18533         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18534         (ada-prj-show-value):
18535         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18536         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18537         (antlr-invalidate-context-cache, antlr-options-menu-filter)
18538         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18539         * progmodes/bug-reference.el (bug-reference-push-button):
18540         * progmodes/fortran.el (fortran-line-length):
18541         * progmodes/glasses.el (glasses-change):
18542         * progmodes/octave-mod.el (octave-fill-paragraph):
18543         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18544         (python-pdbtrack-grub-for-buffer, python-sentinel):
18545         * progmodes/sql.el (sql-save-connection):
18546         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18547         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18548         Mark unused parameters.
18550         * progmodes/compile.el (compilation--flush-directory-cache)
18551         (compilation--flush-parse, compile-internal): Mark unused parameters.
18552         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18553         (compilation-next-error-function): Remove unused variable `timestamp'.
18555         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18556         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18558         * progmodes/dcl-mode.el (dcl-end-of-command):
18559         Remove unused variable `start'.
18560         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18561         (dcl-option-value-basic, dcl-option-value-offset)
18562         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18563         Mark unused parameters.
18564         (dcl-save-local-variable): Remove unused variable `val'.
18565         (mode): Declare.
18567         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18568         Mark unused parameters.
18569         (delphi-ignore-changes): Move before first use.
18570         (delphi-charset-token-at): Remove unused variable `start'.
18571         (delphi-else-start): Remove unused variable `if-count'.
18572         (delphi-comment-block-start, delphi-comment-block-end):
18573         Remove unused variable `kind'.
18574         (delphi-indent-line): Remove unused variable `new-point'.
18576         * progmodes/ebrowse.el (ebrowse-files-list)
18577         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18578         Mark unused parameters.  Don't quote `lambda'.
18579         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18580         Don't quote `lambda'.
18581         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18582         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18583         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18584         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18585         Use `ignore-errors'.
18586         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18587         (ebrowse-view/find-file-and-search-pattern)
18588         (ebrowse-view/find-member-declaration/definition):
18589         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18590         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18591         Rename parameter PREFIX-ARG to PREFIX.
18592         (ebrowse-tags-read-name): Remove unused variables `start' and
18593         `member-info'.
18594         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18595         to `tags-file'.
18597         * progmodes/etags.el (local-find-tag-hook): Declare.
18598         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18599         Mark unused parameters.
18601         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18602         (executable-interpret): Mark unused parameter.
18604         * progmodes/flymake.el (flymake-process-sentinel)
18605         (flymake-after-change-function)
18606         (flymake-create-temp-with-folder-structure)
18607         (flymake-get-include-dirs-dot): Mark unused parameters.
18608         (flymake-safe-delete-directory): Remove unused variable `err'.
18610         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18611         (speedbar-timer-fn, speedbar-line-text)
18612         (speedbar-change-expand-button-char, speedbar-delete-subblock)
18613         (speedbar-center-buffer-smartly): Declare functions.
18614         (gdb-find-watch-expression): Remove unused variable `array'.
18615         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18616         (gdb-starting): Mark unused parameters.
18617         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18618         (gdb-table-string): Remove unused variable `res'.
18619         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18620         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18621         (gdb-display-buffer): Remove unused variable `cur-size'.
18623         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18624         allow lexical-binding compilation.
18625         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18626         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18627         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18628         Mark unused parameters.
18629         (gud-gdb-marker-filter): Remove unused variable `match'.
18630         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18631         lambda expressions and funcall them, instead of using `fset'.
18633         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18634         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18636         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18637         variable `header-beg'; use `let'.
18639         * progmodes/icon.el (indent-icon-exp): Remove unused variables
18640         `restart', `last-sexp' and `at-do'.
18642         * progmodes/js.el (js--debug): Mark unused parameter.
18643         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18644         (js--splice-into-items): Remove unused variable `item'.
18645         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18647         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18648         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18649         (makefile-complete): Remove unused variable `try'.
18650         (makefile-fill-paragraph, makefile-match-function-end):
18651         Mark unused parameters.
18653         * progmodes/octave-inf.el (inferior-octave-complete):
18654         Remove unused variable `proc'.
18655         (inferior-octave-output-digest): Mark unused parameter.
18657         * progmodes/perl-mode.el (perl-calculate-indent):
18658         Remove unused variable `err'.
18660         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
18661         (prolog-indent-line): Mark unused parameters.
18662         (prolog-indent-line): Remove unused variable `beg'.
18664         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
18665         (reporter-dont-compact-list): Declare.
18667         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
18668         Remove unused variable `char'.
18669         (sh-debug): Mark unused parameter.
18670         (sh-get-indent-info): Remove unused variable `start'.
18671         (sh-calculate-indent): Remove unused variable `var'.
18673         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
18674         (simula-electric-keyword): Remove unused variable `null'.
18675         (simula-search-backward, simula-search-forward): Remove unused
18676         variables `begin' and `end'.
18678         * progmodes/vera-mode.el (vera-guess-basic-syntax):
18679         Remove unused variable `pos'.
18680         (vera-electric-tab, vera-comment-uncomment-region):
18681         Mark unused parameters.
18682         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
18684 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
18686         * emacs-lisp/package.el (package--builtins, package-alist)
18687         (package-load-descriptor, package-built-in-p, package-activate)
18688         (define-package, package-installed-p)
18689         (package-compute-transaction, package-buffer-info)
18690         (package--push): Doc fix.  Distinguish more clearly between
18691         version strings and version lists.
18693 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
18695         Lexical-binding cleanup.
18697         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
18698         (5x5-make-mutate-best):
18699         * play/fortune.el (fortune-in-buffer):
18700         * play/gomoku.el (gomoku-init-display):
18701         * play/solitaire.el (solitaire, solitaire-do-check):
18702         * play/tetris.el (tetris-default-update-speed-function):
18703         Mark unused parameters.
18705         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
18706         (bubbles--shift): Remove unused variable `char-org'.
18707         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
18708         (bubbles--show-images): Remove unused variable `char'.
18710         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
18711         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
18712         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
18713         (decipher-analyze-buffer): Use ?\s.
18714         (decipher-make-checkpoint): Remove unused variable `mapping'.
18716         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
18718         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
18719         Remove unused variable `result'; use `let'.
18721         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
18722         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
18723         (gametree-children-shown-p, gametree-compute-reduced-score):
18724         Use `ignore-errors'.
18726         * play/handwrite.el (ps-lpr-switches): Declare.
18727         (handwrite): Remove unused variables `pmin' and `lastp'.
18729         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
18731         * play/landmark.el (landmark-init-display)
18732         (landmark-update-naught-weights): Mark unused parameters.
18733         (landmark-y): Remove unused variable `noise'.  Simplify.
18734         (landmark-human-plays): Remove unused variable `score'.
18736         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
18737         (mpuz-try-proposal): Remove unused variable `game'.
18739         * play/zone.el (life-patterns): Declare.
18741 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
18743         * vc/vc.el (ediff-vc-internal): Declare function.
18745 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18747         * shell.el: Use lexical-binding and std completion UI.
18748         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
18749         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
18750         comint-preoutput-filter-functions rather than on
18751         comint-output-filter-functions.
18752         (shell-command-completion, shell--command-completion-data)
18753         (shell-filename-completion, shell-environment-variable-completion)
18754         (shell-c-a-p-replace-by-expanded-directory): New functions.
18755         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
18756         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
18757         (shell-dynamic-complete-environment-variable): Use them.
18758         (shell-dynamic-complete-as-environment-variable)
18759         (shell-dynamic-complete-as-command): Remove.
18760         (shell-match-partial-variable): Match past point.
18761         * comint.el: Clean up use of completion-at-point-functions.
18762         (comint-completion-at-point): New function.
18763         (comint-mode): Use it completion-at-point-functions.
18764         (comint-dynamic-complete): Make it obsolete.
18765         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
18766         (comint-c-a-p-replace-by-expanded-history): New function.
18767         (comint-dynamic-complete-functions)
18768         (comint-replace-by-expanded-history): Use it.
18769         * minibuffer.el (completion-table-with-terminator): Allow dynamic
18770         termination strings.  Try harder to avoid second try-completion.
18771         (completion-in-region-mode-map): Disable bindings that don't work yet.
18773         * comint.el: Use lexical-binding.  Require CL.
18774         (comint-dynamic-complete-functions): Use comint-filename-completion.
18775         (comint-completion-addsuffix): Tweak custom type.
18776         (comint-filename-completion, comint--common-suffix)
18777         (comint--common-quoted-suffix, comint--table-subvert)
18778         (comint--complete-file-name-data): New functions.
18779         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
18780         (comint-dynamic-list-filename-completions): Use them.
18781         (comint-dynamic-simple-complete): Make obsolete.
18783         * minibuffer.el (completion-in-region-mode):
18784         Keep completion-in-region-mode--predicate global.
18785         (completion-in-region--postch):
18786         Assume completion-in-region-mode--predicate is not null.
18788         * progmodes/flymake.el (flymake-start-syntax-check-process):
18789         Obey `dir'.  Simplify.
18791         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
18792         we're in VC after all.
18794 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
18796         * vc/vc.el (vc-diff-build-argument-list-internal)
18797         (vc-version-ediff, vc-ediff): New commands.
18798         (vc-version-diff): Use vc-diff-build-argument-list-internal.
18800 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18802         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
18803         add sanity check.
18805         * obsolete/erc-hecomplete.el: Make obsolete.
18806         * obsolete/: Standardize obsolescence info in the header.
18808 2011-04-20  Glenn Morris  <rgm@gnu.org>
18810         * calendar/solar.el (solar-horizontal-coordinates):
18811         Use the longitude argument rather than `calendar-longitude'.
18812         (solar-date-next-longitude): Remove unused locals.
18814 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
18816         * whitespace.el: New version 13.2.1.
18818 2011-04-20  felix  <EmacsWiki>  (tiny change)
18820         * whitespace.el (global-whitespace-mode): Keep highlight when
18821         switching between major modes on a file.
18823 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
18825         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
18826         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
18827         multi-line comments as well.
18829 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
18831         Lexical-binding cleanup.
18833         * arc-mode.el (archive-mode-revert):
18834         * cmuscheme.el (scheme-interactively-start-process):
18835         * custom.el (custom-initialize-delay):
18836         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
18837         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
18838         * emacs-lock.el (emacs-lock-clear-sentinel):
18839         * ezimage.el (defezimage):
18840         * follow.el (follow-avoid-tail-recenter):
18841         * fringe.el (set-fringe-mode-1):
18842         * generic-x.el (bat-generic-mode-compile):
18843         * help-mode.el (help-info-variable, help-do-xref)
18844         (help-mode-revert-buffer):
18845         * help.el (view-emacs-todo):
18846         * iswitchb.el (iswitchb-completion-help):
18847         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
18848         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
18849         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
18850         * locate.el (locate-update):
18851         * longlines.el (longlines-encode-region)
18852         (longlines-after-change-function):
18853         * outline.el (outline-isearch-open-invisible):
18854         * ps-def.el (declare-function, charset-dimension, char-width)
18855         (encode-char):
18856         * ps-mule.el (ps-mule-plot-string):
18857         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
18858         (recentf-edit-list-select, recentf-edit-list-validate)
18859         (recentf-open-files-action):
18860         * rect.el (delete-whitespace-rectangle-line)
18861         (rectangle-number-line-callback):
18862         * register.el (window-configuration-to-register)
18863         (frame-configuration-to-register):
18864         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
18865         * select.el (xselect-convert-to-string, xselect-convert-to-length)
18866         (xselect-convert-to-targets, xselect-convert-to-delete)
18867         (xselect-convert-to-filename, xselect-convert-to-charpos)
18868         (xselect-convert-to-lineno, xselect-convert-to-colno)
18869         (xselect-convert-to-os, xselect-convert-to-host)
18870         (xselect-convert-to-user, xselect-convert-to-class)
18871         (xselect-convert-to-name, xselect-convert-to-integer)
18872         (xselect-convert-to-atom, xselect-convert-to-identity):
18873         * subr.el (declare, ignore, process-kill-without-query)
18874         (text-clone-maintain):
18875         * terminal.el (te-get-char, te-tic-sentinel):
18876         * tool-bar.el (tool-bar-make-keymap):
18877         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
18878         * type-break.el (type-break-mode, type-break-noninteractive-query):
18879         * view.el (View-back-to-mark):
18880         * wid-browse.el (widget-browse-action, widget-browse-widget)
18881         (widget-browse-widgets, widget-browse-sexp):
18882         * widget.el (define-widget-keywords):
18883         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
18884         Mark unused parameters.
18886         * align.el (align-adjust-col-for-rule): Mark unused parameter.
18887         (align-areas): Remove unused variable `look'.
18888         (align-region): Remove unused variables `real-end' and `pos-list'.
18890         * apropos.el (apropos-score-doc): Remove unused variable `i'.
18892         * bindings.el (mode-line-modified, mode-line-remote):
18893         Mark unused parameters.
18894         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
18896         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
18897         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
18899         * comint.el (comint-history-isearch-pop-state)
18900         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
18901         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
18902         (comint-substitute-in-file-name): Doc fix.
18904         * completion.el (cmpl-statistics-block): Mark unused parameter.
18905         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
18906         (save-completions-to-file, load-completions-from-file):
18907         Remove unused local variable `e'.
18909         * composite.el (compose-chars): Remove unused variable `len'.
18910         (lgstring-insert-glyph): Remove unused variable `g'.
18911         (compose-glyph-string): Remove unused variables `ascent',
18912         `descent', `lbearing' and `rbearing'.
18913         (compose-glyph-string-relative): Remove unused variables
18914         `lbearing', `rbearing' and `wadjust'.
18915         (compose-gstring-for-graphic): Remove unused variables `header',
18916         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
18917         (compose-gstring-for-terminal): Remove unused variables `header'
18918         and `nchars'.  Use `let', not `let*'.
18920         * cus-edit.el (Custom-set, Custom-save, custom-reset)
18921         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
18922         (Custom-buffer-done, custom-buffer-create-internal)
18923         (custom-browse-visibility-action, custom-browse-group-tag-action)
18924         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
18925         (widget-magic-mouse-down-action, custom-toggle-parent)
18926         (custom-add-parent-links, custom-toggle-hide-variable)
18927         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
18928         (custom-toggle-hide-face, face, hook, custom-group-link-action)
18929         (custom-face-menu-create, custom-variable-menu-create, get)
18930         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
18931         (custom-reset-standard-save-and-update): Remove unused variable `value'.
18932         (customize-apropos): Remove unused variable `tests'.
18933         (custom-group-value-create): Remove unused variable `hidden-p'.
18934         (sort-fold-case): Declare.
18936         * cus-theme.el (custom-reset-standard-faces-list)
18937         (custom-reset-standard-variables-list): Declare.
18938         (customize-create-theme, custom-theme-revert, custom-theme-write)
18939         (custom-theme-choose-mode, customize-themes, custom-theme-save):
18940         Mark unused parameters.
18942         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
18944         * delim-col.el (delimit-columns-max): Move defvar before first use.
18946         * descr-text.el (describe-char-categories): Don't quote `lambda'.
18947         (describe-char): Don't quote `lambda'.  Mark unused parameter.
18949         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
18950         (auto-insert): Declare.
18951         (desktop-restore-file-buffer): Rename desktop-* parameters;
18952         mark unused ones.
18953         (desktop-create-buffer): Rename desktop-* parameters and bind them.
18954         (desktop-buffer): Rename desktop-* parameters.
18956         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
18957         (dframe-reposition-frame-xemacs, dframe-help-echo)
18958         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
18959         Mark unused parameters.
18961         * dired-aux.el (backup-extract-version-start, overwrite-query)
18962         (overwrite-backup-query, rename-regexp-query)
18963         (rename-non-directory-query): Declare.
18964         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
18965         (dired-add-entry): Remove unused variable `orig-file-name'.
18966         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
18967         Use parameter PRESERVE-TIME instead of accessing dynamic variable
18968         `dired-copy-preserve-time' directly.
18969         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
18970         (dired-insert-subdir-newpos): Rename unused variable `pos'.
18972         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
18973         (dired-virtual-revert, dired-make-relative-symlink):
18974         Mark unused parameters.
18975         (manual-program): Declare.
18976         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
18977         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
18978         wrapped in `with-no-warnings' to avoid replacing one warning by another.
18980         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
18982         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
18984         * echistory.el (electric-history-in-progress, Helper-return-blurb):
18985         Declare.
18987         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
18989         * electric.el (Electric-command-loop): Rename parameter
18990         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
18992         * expand.el (expand-in-literal): Remove unused variable `here'.
18994         * facemenu.el (facemenu-add-new-color):
18995         Remove unused variable `docstring'.
18997         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
18998         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
18999         (face-attr-construct): Mark unused parameter.  Doc fix.
19000         (read-color): Remove unused variable `hex-string'.
19002         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19003         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19004         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19005         (display-buffer-other-frame): Remove unused variable `old-window'.
19006         (kill-buffer-hook): Declare.
19007         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19008         Mark unused parameters.
19009         (after-find-file): Pass 1 to `auto-save-mode', not t.
19011         * files-x.el (auto-insert): Declare.
19012         (modify-file-local-variable-prop-line): Remove unused variable `val'.
19014         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19015         variable `buf'.  Mark unused parameter.
19016         (find-lisp-insert-directory): Mark unused parameter.
19018         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19019         (format-encode-region): Remove unused variables `cur-buf' and `result'.
19020         (format-common-tail): Remove, unused.
19021         (format-deannotate-region): Remove unused variable `loc'.
19022         (format-annotate-region): Remove unused variable `p'.
19023         (format-annotate-single-property-change): Remove unused variables
19024         `default' and `tail'.
19026         * forms.el (read-file-filter): Declare.
19027         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19029         * frame.el (frame-creation-function-alist): Mark unused parameter.
19030         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19032         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19033         Remove unused parameters.
19034         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19035         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19037         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19038         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19039         (hfy-prepare-tag-map): Mark unused parameters.
19040         (htmlfontify-buffer): Use `called-interactively-p'.
19042         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19043         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19044         (ibuffer-do-occur): Mark unused parameters.
19045         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19046         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19048         * ibuffer.el: Don't quote `lambda'.
19049         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19050         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19051         Mark unused parameters.
19053         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19054         (ido-completing-read): Mark unused parameters.
19055         (ido-copy-current-word): Mark unused parameters;
19056         remove unused variable `name'.
19057         (ido-sort-merged-list): Remove unused parameter `dirs'.
19059         * ielm.el (ielm-input-sender): Mark unused parameter.
19060         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19061         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19062         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19063         `ielm-string' as a dynamic variable accessible from the IELM prompt.
19064         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
19066         * image-dired.el (image-dired-display-thumbs): Remove unused
19067         variables `curr-file' and `count'.
19068         (image-dired-remove-tag): Remove unused variable `start'.
19069         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19070         variable `curr-file'
19071         (image-dired-rotate-original): Remove unused variable `temp-file'.
19072         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19073         Remove unused variable `file'.
19074         (image-dired-gallery-generate): Remove unused variable `curr'.
19075         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19077         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19079         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19081         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19083         * isearch.el (minibuffer-history-symbol): Declare.
19084         (isearch-edit-string): Remove unused variable `err'.
19085         (isearch-message-prefix, isearch-message-suffix):
19086         Mark unused parameters.
19088         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19090         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19092         * makesum.el (double-column): Remove unused variable `cnt'.
19094         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19095         (ido-ignore-item-temp-list): Declare.
19097         * mouse-drag.el (mouse-drag-throw): Remove unused variables
19098         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19099         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19100         (mouse-drag-drag): Remove unused variables `mouse-delta' and
19101         `mouse-col-delta'.
19103         * mouse-sel.el (mouse-extend-internal):
19104         Remove unused variable `orig-window-frame'.
19106         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19107         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19108         Move declarations before first use.
19109         (pcomplete-opt): Mark unused parameters; doc fix.
19111         * proced.el (proced-revert): Mark unused parameter.
19112         (proced-send-signal): Remove unused variable `err'.
19114         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19115         Rename parameter PREFIX-ARG to ARG.
19116         (ps-basic-plot-string, ps-basic-plot-whitespace):
19117         Mark unused parameters.
19119         * replace.el (replace-count): Define.
19120         (occur-revert-function): Mark unused parameters.
19121         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19122         (isearch-case-fold-search, isearch-string): Declare.
19123         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19124         bind `case-fold-search'.  Remove unused variables `beg' and `end',
19125         and simplify.
19126         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19127         COUNT and bind `replace-count'.
19128         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19129         to COUNT.
19131         * savehist.el (print-readably, print-string-length): Declare.
19133         * shadowfile.el (shadow-expand-cluster-in-file-name):
19134         Remove unused variable `cluster'.
19135         (shadow-copy-file): Remove unused variable `i'.
19136         (shadow-noquery, shadow-clusters, shadow-site-cluster)
19137         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19138         (shadow-define-literal-group, shadow-define-regexp-group)
19139         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19141         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19142         (shell): Use `called-interactively-p'.
19143         (shell-directory-tracker): Remove unused variable `chdir-failure'.
19145         * simple.el (compilation-context-lines, comint-file-name-quote-list)
19146         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19147         (delete-backward-char): Remove unused variable `ocol'.
19148         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19149         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19150         (event-apply-hyper-modifier, event-apply-shift-modifier)
19151         (event-apply-control-modifier, event-apply-meta-modifier):
19152         Mark unused parameters.
19153         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19154         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19156         * speedbar.el (speedbar-ignored-directory-expressions)
19157         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19158         (speedbar-find-file, speedbar-dir-follow)
19159         (speedbar-directory-buttons-follow, speedbar-tag-find)
19160         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19161         (speedbar-buffers-line-directory, speedbar-buffer-click):
19162         Mark unused parameters.
19163         (speedbar-tag-file): Remove unused variable `mode'.
19164         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19166         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19168         * talk.el (talk): Remove unused variable `display'.
19170         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19171         (tar-write-region-annotate): Mark unused parameter.
19173         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19174         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19175         Declare them, wrapped in `with-no-warnings' to avoid replacing one
19176         warning by another.
19178         * time-stamp.el (time-stamp-string-preprocess):
19179         Remove unused variable `require-padding'.
19181         * tree-widget.el (widget-glyph-enable): Declare.
19182         (tree-widget-action): Mark unused parameter.
19184         * w32-fns.el (x-get-selection): Mark unused parameter.
19185         (autoload-make-program, generated-autoload-file): Declare.
19187         * wdired.el (wdired-revert): Mark unused parameters.
19188         (wdired-xcase-word): Remove unused variable `err'.
19190         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19191         (whitespace-help-scroll): Remove unused variable `data-help'.
19193         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19194         (widget-image-insert, widget-after-change, default)
19195         (widget-default-format-handler, widget-default-notify)
19196         (widget-default-prompt-value, widget-info-link-action)
19197         (widget-url-link-action, widget-function-link-action)
19198         (widget-variable-link-action, widget-file-link-action)
19199         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19200         (widget-field-prompt-internal, widget-field-action, widget-field-match)
19201         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19202         (widget-insert-button-action, widget-delete-button-action, visibility)
19203         (widget-documentation-link-action, widget-documentation-string-action)
19204         (widget-const-prompt-value, widget-regexp-match, symbol)
19205         (widget-coding-system-prompt-value)
19206         (widget-key-sequence-value-to-external, sexp)
19207         (widget-sexp-value-to-internal, character, vector, cons)
19208         (widget-choice-prompt-value, widget-boolean-prompt-value)
19209         (widget-color--choose-action): Mark unused parameters.
19210         (widget-item-match-inline, widget-choice-match-inline)
19211         (widget-checklist-match, widget-checklist-match-inline)
19212         (widget-group-match): Rename parameter VALUES to VALS.
19213         (widget-field-value-set): Remove unused variable `size'.
19214         (widget-color-action): Remove unused variables `value' and `start'.
19216         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19217         variable `dir'.  Doc fix.
19218         (windmove-find-other-window): Don't pass it.
19220         * window.el (count-windows): Mark unused parameter.
19221         (bw-adjust-window): Remove unused variable `err'.
19223         * woman.el (woman-file-name): Remove unused variable `default'.
19224         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19225         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19226         (global-font-lock-mode): Declare.
19227         (woman-decode-region): Mark unused parameter.
19228         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19230         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19231         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19232         (x-dnd-handle-moz-url): Remove unused variable `title'.
19233         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19235         * xml.el (xml-parse-tag, xml-parse-attlist):
19236         Remove unused variable `pos'.
19238 2011-04-19  Glenn Morris  <rgm@gnu.org>
19240         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19241         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19242         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19243         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19244         * calendar/cal-html.el (cal-html-insert-minical):
19245         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19246         (calendar-mark-date-pattern):
19247         Prefix "unused" locals.
19249         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19250         optional argument `style'.
19252         * calendar/appt.el (appt-make-list):
19253         * calendar/cal-china.el (calendar-chinese-date-string):
19254         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19255         (diary-hebrew-yahrzeit):
19256         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19257         * calendar/calendar.el (calendar-generate-window):
19258         * calendar/time-date.el (time-to-days):
19259         Remove unused local variables.
19261 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
19263         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19264         glyphless-char-display table.
19265         (tabulated-list-glyphless-char-display): New var.
19267 2011-04-18  Sam Steingold  <sds@gnu.org>
19269         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19270         to acknowledgments.
19272 2011-04-17  Glenn Morris  <rgm@gnu.org>
19274         * calendar/diary-lib.el (diary-sexp-entry):
19275         * calendar/holidays.el (holiday-sexp):
19276         Set debug-on-error rather than the removed stack-trace-on-error.
19278 2011-04-16  Glenn Morris  <rgm@gnu.org>
19280         * progmodes/f90.el: Use lexical-binding.
19281         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19283 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19285         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19286         (mail-mode): Setup mailalias completion here instead.
19287         * mail/mailalias.el: Use lexical-binding.
19288         (pattern, mailalias-done): Declare dynamic.
19289         (mail-completion-at-point-function): New function, from mail-complete.
19290         (mail-complete): Use it.
19291         (mail-completion-expand): New function.
19292         (mail-get-names): Use it.
19293         (mail-directory, mail-directory-process, mail-directory-stream):
19294         Don't use `pattern' for lexically bound arg.
19296         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19298         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19299         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19300         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19302         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19303         (byte-save-window-excursion, byte-temp-output-buffer-setup)
19304         (byte-interactive-p): Define them again, for use when inlining
19305         old code.
19307 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
19309         * loadup.el: Use `string-to-number', not `string-to-int'.
19311 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19313         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19314         gud-gdb-complete-command.
19315         (gud-gdb-completions): New function, from gud-gdb-complete-command.
19316         (gud-gdb-completion-at-point): New function.
19317         (gud-gdb-completions): Remove.
19319 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
19321         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19322         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
19323         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19324         whether `executable-find' is bound.
19326         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19328 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19330         * minibuffer.el (completion-in-region-mode-predicate)
19331         (completion-in-region-mode--predicate): New vars.
19332         (completion-in-region, completion-in-region--postch)
19333         (completion-in-region-mode): Use them.
19334         (completion--capf-wrapper): Also return the hook function.
19335         (completion-at-point, completion-help-at-point):
19336         Adjust and provide a predicate.
19338         Preserve arg names for advice of subr and lexical functions (bug#8457).
19339         * help-fns.el (help-function-arglist): Consolidate the subr and
19340         new-byte-code cases.  Add argument `preserve-names' to extract names
19341         from the docstring when needed.
19342         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19343         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19344         (ad-arglist): Use help-function-arglist's new arg.
19345         (ad-definition-type): Use cond.
19347 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
19349         * autorevert.el (auto-revert-handler):
19350         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19351         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19352         Don't quote lambda.
19354         * image-mode.el (image-transform-set-scale):
19355         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19357 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19359         * net/network-stream.el (network-stream-open-starttls): Only do
19360         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19361         Upgrades via gnutls-cli are too slow to be done opportunistically.
19363 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
19365         * dframe.el (dframe-current-frame): Remove spurious quote.
19367 2011-04-12  Glenn Morris  <rgm@gnu.org>
19369         * calendar/cal-tex.el (cal-tex-end-document):
19370         Try to automatically use latin1 input if needed.
19372         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19373         Don't try to cons a mark onto an empty element.
19375 2011-04-11  Leo Liu  <sdl.web@gmail.com>
19377         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19378         buffers.
19379         (ido-kill-buffer-at-head): Support killing virtual buffers.
19381 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
19383         * minibuffer.el (completion-show-inline-help): New var.
19384         (completion--do-completion, minibuffer-complete)
19385         (minibuffer-force-complete, minibuffer-complete-word):
19386         Inhibit minibuffer messages if completion-show-inline-help is nil.
19388         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19389         to avoid interference from inline help (Bug#5849).
19391 2011-04-10  Leo Liu  <sdl.web@gmail.com>
19393         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19394         Fix typo.
19396 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
19398         * image-mode.el (image-toggle-display-image): Signal an error if
19399         not in Image mode.
19400         (image-transform-mode, image-transform-resize)
19401         (image-transform-set-rotation): Doc fix.
19402         (image-transform-set-resize): Delete.
19403         (image-transform-set-scale, image-transform-fit-to-height)
19404         (image-transform-fit-to-width): Handle image-toggle-display-image
19405         and image-transform-resize directly.
19407 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
19409         * doc-view.el (doc-view-fit-width-to-window)
19410         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19411         New functions for fitting the shown image to the Emacs window size.
19412         (doc-view-mode-map): Add bindings for the new functions.
19414 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
19416         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19417         Fix typo in docstring.
19419 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
19421         * files.el (file-size-human-readable): Produce one digit after
19422         decimal, like "ls -lh" does.
19424         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19425         the file size representation.
19427         * simple.el (list-processes): If async subprocesses are not
19428         available, error out with a clear error message.
19430 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
19432         * help.el (help-form-show): New function, to be called from C.
19433         Put help-form output in a buffer named differently than *Help*.
19435 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
19437         * files.el (file-size-human-readable): New function.
19439         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19440         computing the representation inline.  Don't require `cl'.
19442 2011-04-08  Glenn Morris  <rgm@gnu.org>
19444         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19446         * net/browse-url.el (browse-url-firefox):
19447         Test system-type, not system-configuration.
19449         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19450         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19451         Use log-edit-empty-buffer-p.  (Bug#7598)
19453         * net/rlogin.el (rlogin-process-connection-type): Simplify.
19454         (rlogin-mode-map): Initialize in the defvar.
19455         (rlogin): Use ignore-errors.
19457         * replace.el (occur-mode-map): Some fixes for menu items.
19459 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
19461         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
19463 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
19465         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19466         issuing unused warnings.
19468         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19469         macro directly.
19471         * simple.el: Lisp reimplement of list-processes.  Based on an
19472         earlier reimplementation by Leo Liu, but using tabulated-list.el.
19473         (process-menu-mode): New major mode.
19474         (list-processes--refresh, list-processes):
19475         (process-menu-visit-buffer): New functions.
19477         * files.el (save-buffers-kill-emacs): Don't assume any return
19478         value of list-processes, which is undocumented anyway.
19480 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
19482         * emacs-lisp/tabulated-list.el: New file.
19484         * emacs-lisp/package.el: Use Tabulated List mode.
19485         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19486         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
19487         table format using Tabulated List mode variables.
19488         (package--push): New macro, replacing package-list-maybe-add.
19489         (package-menu--generate): Use package--push.  Renamed from
19490         package--generate-package-list.
19491         (package-menu-refresh, list-packages): Use it.
19492         (package-menu--print-info): Rename from package-print-package.
19493         Return insertion data instead of inserting it directly.
19494         (package-menu-describe-package, package-menu-execute):
19495         Use tabulated-list-get-id.
19496         (package-menu-mark-delete, package-menu-mark-install)
19497         (package-menu-mark-unmark, package-menu-backup-unmark)
19498         (package-menu-mark-obsolete-for-deletion):
19499         Use tabulated-list-put-tag.
19500         (package--list-packages, package-menu-revert)
19501         (package-menu-get-package, package-menu-get-version)
19502         (package-menu-sort-by-column): Functions deleted.
19503         (package-menu-package-list, package-menu-sort-key): Vars deleted.
19504         (package-menu--status-predicate, package-menu--version-predicate)
19505         (package-menu--name-predicate)
19506         (package-menu--description-predicate): Handle arguments in the
19507         Tabulated List format.
19508         (package-list-packages-no-fetch): Call list-packages.
19510 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
19512         * files.el (after-find-file-from-revert-buffer): Remove variable.
19513         (after-find-file): Don't bind it.
19514         (revert-buffer-in-progress-p): New variable.
19515         (revert-buffer): Bind it.
19516         Pass nil for `after-find-file-from-revert-buffer'.
19518         * saveplace.el (save-place-find-file-hook): Use new variable
19519         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19521 2011-04-06  Glenn Morris  <rgm@gnu.org>
19523         * Makefile.in (AUTOGEN_VCS): New variable.
19524         (autoloads): Use $AUTOGEN_VCS.
19526         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19527         * calendar/calendar.el (calendar-mode-map):
19528         Check for toolkit scroll bars.  (Bug#8305)
19530 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
19532         * minibuffer.el (completion-in-region--postch)
19533         (completion-in-region-mode): Remove unnecessary messages.
19535 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
19537         * font-lock.el (font-lock-refresh-defaults):
19538         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19539         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19541         * info.el (Info-directory-list, Info-read-node-name-2)
19542         (Info-split-parameter-string): Doc fixes.
19543         (Info-virtual-nodes): Reflow docstring.
19544         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19545         (Info-apropos-toc-nodes, info-finder, Info-get-token)
19546         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19547         Fix typos in docstrings.
19548         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19549         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19550         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19551         (Info-restore-desktop-buffer): Mark unused parameters.
19552         (Info-directory-find-file, Info-directory-find-node)
19553         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19554         (Info-virtual-index-find-node, Info-apropos-find-file)
19555         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19556         Mark unused parameters; fix typos in docstrings.
19557         (Info-virtual-index): Remove unused local variable `nodename'.
19559 2011-04-05  Deniz Dogan  <deniz@dogan.se>
19561         * net/rcirc.el: Update my e-mail address.
19562         (rcirc-mode-map): Remove M-o binding.
19564 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
19566         * startup.el (command-line): Save the cursor's theme-face
19567         directly, instead of using face-override-spec.
19569         * custom.el (load-theme): Minor optimization in assigning faces.
19571 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
19573         * help-fns.el (describe-variable): Complete all variables having
19574         documentation, including keywords.
19575         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19577 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
19579         Convert to lexical-binding.
19581         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19582         (bs--get-marked-string, bs--get-modified-string)
19583         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19584         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19585         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19587         * ehelp.el (electric-help-execute-extended)
19588         (electric-help-ctrl-x-prefix):
19589         * hexl.el (hexl-revert-buffer-function):
19590         * linum.el (linum-after-change, linum-after-scroll):
19591         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19593         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19595 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
19597         * epa-dired.el:
19598         * epa-mail.el:
19599         * epa-hook.el:
19600         * epa-file.el:
19601         * epa.el:
19602         * epg.el: Use lexical binding.
19604 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
19606         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19608         * textmodes/flyspell.el (flyspell-word): Recognize default
19609         dictionary case for flyspell-mark-duplications-exceptions.
19610         Use regexp matching for languages.
19611         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19612         default dictionary (Bug#7926).
19614 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
19616         * emacs-lisp/package.el (package--with-work-buffer):
19617         Recognize https URLs.
19619         * net/network-stream.el: Move from gnus/proto-stream.el.
19620         Change prefix to network-stream throughout.
19621         (open-protocol-stream): Merge into open-network-stream, leaving
19622         open-protocol-stream as an alias.  Handle nil BUFFER args.
19624         * subr.el (open-network-stream): Move to net/network-stream.el.
19626 2011-04-02  Glenn Morris  <rgm@gnu.org>
19628         * find-dired.el (find-exec-terminator): New option.
19629         (find-ls-option): Test for -ls support.
19630         (find-ls-subdir-switches): Test for -b in find-ls-option.
19631         (find-dired, find-grep-dired): Doc fixes.
19632         (find-dired): Use find-exec-terminator.
19634         * find-dired.el (find-ls-option, find-ls-subdir-switches)
19635         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19636         (find-name-arg): Remove purecopy.
19638         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19639         (grep-compute-defaults): Check for `-exec COMMAND +' support.
19640         Set grep-find-use-xargs, grep-find-command, and grep-find-template
19641         accordingly.  Don't add the null-device if not needed.
19643         * files.el (save-some-buffers): Doc fix.
19645 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
19647         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19649 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
19651         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
19652         Use `dolist' rather than `mapcar'.
19654 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
19656         Add lexical binding.
19658         * subr.el (apply-partially): Use new closures rather than CL.
19659         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
19660         (dolist, dotimes): Use slightly different expansion for lexical code.
19661         (functionp): Move to C.
19662         (letrec): New macro.
19663         (with-wrapper-hook): Use it and apply-partially instead of CL.
19664         (eval-after-load): Preserve lexical-binding.
19665         (save-window-excursion, with-output-to-temp-buffer): Turn them
19666         into macros.
19668         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
19670         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
19671         than the arglist.
19672         (help-add-fundoc-usage): Don't add `Not documented'.
19673         (help-function-arglist): Handle closures, subroutines, and new
19674         byte-code-functions.
19675         (help-make-usage): Remove leading underscores.
19676         (describe-function-1): Handle closures.
19677         (describe-variable): Use special-variable-p for completion.
19679         * files.el (lexical-binding): Declare safe.
19681         * emacs-lisp/pcase.el: Don't use destructuring-bind.
19682         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
19683         (pcase): Add `let' pattern.
19684         Change memoization so it actually works.
19685         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
19686         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
19687         <let>: New case.
19689         * emacs-lisp/macroexp.el: Use lexical binding.
19690         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
19691         Don't convert ' to #' without checking that it's indeed quoting
19692         a lambda.
19694         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
19695         Use eval-sexp-add-defvars.
19696         (eval-sexp-add-defvars): New fun.
19698         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
19700         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
19701         Don't autoload.
19702         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
19703         than the internal `byte-compile-lambda'.
19704         (defmethod): Don't hide code under quotes.
19705         (eieio-defmethod): New `code' argument.
19707         * emacs-lisp/eieio-comp.el: Remove.
19709         * emacs-lisp/edebug.el (edebug-eval-defun)
19710         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
19711         (edebug-toggle): Avoid `eval'.
19713         * emacs-lisp/disass.el (disassemble-internal): Handle new
19714         `closure' objects.
19715         (disassemble-1): Handle new byte codes.
19717         * emacs-lisp/cl.el (pushnew): Silence warning.
19719         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
19720         (cl-byte-compile-throw): Remove.
19721         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
19723         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
19724         closures.
19726         * emacs-lisp/cconv.el: New file.
19728         * emacs-lisp/bytecomp.el: Use lexical binding instead of
19729         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
19730         (byte-compile-initial-macro-environment):
19731         Handle declare-function here.
19732         (byte-compile--lexical-environment): New var.
19733         (byte-stack-ref, byte-stack-set, byte-discardN)
19734         (byte-discardN-preserve-tos): New lap codes.
19735         (byte-interactive-p): Don't use any more.
19736         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
19737         New macros.
19738         (byte-compile-lapcode): Use them and handle new lap codes.
19739         (byte-compile-obsolete): Remove.
19740         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
19741         (byte-compile-arglist-warn): Check late def of inlinable funs.
19742         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
19743         since they should have been expanded by now.
19744         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
19745         (byte-compile-from-buffer): Remove unused second arg.
19746         (byte-compile-preprocess): New function.
19747         (byte-compile-toplevel-file-form): New function to distinguish
19748         file-form calls from outside from file-form calls from hunk-handlers.
19749         (byte-compile-file-form): Simplify.
19750         (byte-compile-file-form-defsubst): Remove.
19751         (byte-compile-file-form-defmumble): Simplify now that
19752         byte-compile-lambda always returns a byte-code-function.
19753         (byte-compile): Preprocess.
19754         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
19755         Remove, not used any more.
19756         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
19757         (byte-compile-make-args-desc): New funs.
19758         (byte-compile-lambda): Handle lexical functions.  Always return
19759         a byte-code-function.
19760         (byte-compile-reserved-constants): New var, to make up room for
19761         closed-over variables.
19762         (byte-compile-constants-vector): Obey it.
19763         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
19764         (byte-compile-macroexpand-declare-function): New function.
19765         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
19766         byte-code-functions.
19767         (byte-compile-form): Check obsolescence here.
19768         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
19769         (byte-compile-variable-ref): Remove.
19770         (byte-compile-dynamic-variable-op): New fun.
19771         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
19772         (byte-compile-variable-set): New funs.
19773         (byte-compile-discard): Add 2 args.
19774         (byte-compile-stack-ref, byte-compile-stack-set)
19775         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
19776         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
19777         macroexpand-all instead.
19778         (byte-compile-quote-form): Remove.
19779         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
19780         (byte-compile-bind, byte-compile-unbind): New funs.
19781         (byte-compile-let): Handle let* and lexical binding.
19782         (byte-compile-let*): Remove.
19783         (byte-compile-catch, byte-compile-unwind-protect)
19784         (byte-compile-track-mouse, byte-compile-condition-case):
19785         Handle a new :fun-body form, used for lexical scoping.
19786         (byte-compile-save-window-excursion)
19787         (byte-compile-with-output-to-temp-buffer): Remove.
19788         (byte-compile-defun): Simplify.
19789         (byte-compile-stack-adjustment): New fun.
19790         (byte-compile-out): Use it.
19791         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
19793         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
19794         handler any more.
19796         * emacs-lisp/byte-opt.el: Use lexical binding.
19797         (byte-inline-lapcode): Remove (to bytecomp).
19798         (byte-compile-inline-expand): Pay attention to inlining to/from
19799         lexically bound code.
19800         (byte-compile-unfold-lambda): Don't handle byte-code-functions
19801         any more.
19802         (byte-optimize-form-code-walker): Don't handle save-window-excursion
19803         any more and don't call compiler-macros.
19804         (byte-compile-splice-in-already-compiled-code): Remove.
19805         (byte-code): Don't inline any more.
19806         (disassemble-offset): Receive `bytes' as argument rather than via
19807         dynamic scoping.
19808         (byte-compile-tag-number): Declare before first use.
19809         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
19810         `return' even if make-spliceable.
19811         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
19812         obsolete interactive-p.
19813         (byte-optimize-lapcode): Optimize new lap-codes.
19814         Don't trip up on new form of `byte-constant' lap code.
19816         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
19818         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
19820         * custom.el (custom-initialize-default, custom-declare-variable):
19821         Use `defvar'.
19823         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
19824         New variables.
19825         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
19826         (COMPILE_FIRST): Add macroexp and cconv.
19827         * makefile.w32-in: Mirror changes in Makefile.in.
19829         * vc/cvs-status.el:
19830         * vc/diff-mode.el:
19831         * vc/log-edit.el:
19832         * vc/log-view.el:
19833         * vc/smerge-mode.el:
19834         * textmodes/bibtex-style.el:
19835         * textmodes/css-mode.el:
19836         * startup.el:
19837         * uniquify.el:
19838         * minibuffer.el:
19839         * newcomment.el:
19840         * reveal.el:
19841         * server.el:
19842         * mpc.el:
19843         * emacs-lisp/smie.el:
19844         * doc-view.el:
19845         * dired.el:
19846         * abbrev.el: Use lexical binding.
19848 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
19850         * info.el (info-display-manual): New function.
19852 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
19854         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
19856 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
19858         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
19859         an entry for that server in rcirc-authinfo.  (Bug#8385)
19861 2011-03-31  Glenn Morris  <rgm@gnu.org>
19863         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
19865         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
19867 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
19869         * progmodes/python.el (python-default-interpreter)
19870         (python-python-command-args, python-jython-command-args)
19871         (python-which-shell, python-which-args, python-which-bufname)
19872         (python-file-queue, python-comint-output-filter-function)
19873         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
19874         variables and functions.
19876 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
19878         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
19879         (completion-in-region-mode): New minor mode.
19880         (completion-in-region): Use it.
19881         (completion-in-region--data, completion-in-region-mode-map): New vars.
19882         (completion-in-region--postch): New function.
19883         (completion--capf-misbehave-funs, completion--capf-safe-funs):
19884         New vars.
19885         (completion--capf-wrapper): New function.
19886         (completion-at-point): Use it to track well-behavedness of
19887         hook functions.
19888         (completion-help-at-point): New command.
19890 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
19892         * vc/add-log.el (add-change-log-entry): Don't use whitespace
19893         syntax class to search for whitespace on a single line
19894         (Message-ID: <4D938140.4030905@redhat.com>).
19896 2011-03-30  Leo Liu  <sdl.web@gmail.com>
19898         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
19899         New commands.
19900         (edit-abbrevs-map): Bind them here.
19901         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
19903 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
19905         * allout.el (allout-hide-by-annotation, allout-flag-region):
19906         Reduce possibility of overlay leakage by making them volatile.
19908         * allout-widgets.el (allout-widgets-tally): Define as nil so the
19909         hash is not shared between buffers.  Mode initialization is
19910         responsible for giving it a useful starting value.
19911         (allout-item-span): Reduce possibility of overlay leakage by
19912         making them volatile.
19913         (allout-widgets-count-buttons-in-region): Add diagnostic function
19914         for tracking down button overlay leaks.
19916 2011-03-29  Leo Liu  <sdl.web@gmail.com>
19918         * ido.el (ido-read-internal): Use the default history var
19919         minibuffer-history if no HISTORY is specified.
19921 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
19923         * net/imap.el (imap-shell-open, imap-process-connection-type):
19924         Use imap-process-connection-type for 'shell' streams as well as
19925         Kerberos, SSL, other subprocesses.
19927 2011-03-28  Leo Liu  <sdl.web@gmail.com>
19929         * abbrev.el (abbrev-table-empty-p): New function.
19930         (prepare-abbrev-list-buffer): Place empty abbrev tables after
19931         nonempty ones.  (Bug#5937)
19933 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
19935         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
19937 2011-03-27  Leo Liu  <sdl.web@gmail.com>
19939         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
19940         for foreground and background colors.
19941         (ansi-color-make-color-map): Adapt.
19943 2011-03-25  Leo Liu  <sdl.web@gmail.com>
19945         * midnight.el (midnight-time-float): Remove.  Note it calculates
19946         the microsecond component incorrectly and seconds-to-time does the
19947         same job.
19948         Remove redundant (require 'timer).
19950         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
19951         (ido-completions): Remove unused arguments.  (Bug#8329)
19953 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19955         * minibuffer.el (completion--flush-all-sorted-completions):
19956         Remove itself from hook.
19957         (completion-at-point): Let the functions perform the completion
19958         immediately and return nil or t.
19959         * comint.el (comint-dynamic-complete-functions): Now identical to
19960         completion-at-point-functions.
19961         (comint-dynamic-list-input-ring): Remove unused var `index'.
19962         (comint--match-partial-filename, comint--unquote&expand-filename):
19963         New funs, split from comint-match-partial-filename.
19964         (comint-dynamic-complete): Use completion-at-point.
19965         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
19967 2011-03-24  Drew Adams  <drew.adams@oracle.com>
19969         * thingatpt.el: Support `defun'.
19971 2011-03-23  Leo Liu  <sdl.web@gmail.com>
19973         * abbrevlist.el: Move to obsolete/abbrevlist.el.
19975         * help-mode.el (help-mode-finish): Tweak regexp.
19977 2011-03-23  Glenn Morris  <rgm@gnu.org>
19979         * eshell/esh-opt.el (eshell-eval-using-options):
19980         Do not bind unused local variable `eshell-option-stub'.
19982         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
19984 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
19986         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
19987         keymap variable in `with-no-warnings' to avoid a warning when the
19988         keymap has been already `defconst'ed.
19990 2011-03-22  Leo Liu  <sdl.web@gmail.com>
19992         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
19993         encode all chars in abbrevs; otherwise use emacs-mule or
19994         utf-8-emacs.  (Bug#8308)
19996 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
19998         * simple.el (backward-delete-char-untabify):
19999         Avoid warning about using `delete-backward-char'.
20001         * image.el (image-type-file-name-regexps): Make it variable.
20002         `imagemagick-register-types' modifies it, and the user may want
20003         to add new extensions for known image types.
20004         (imagemagick-register-types): Throw error if not using ImageMagick.
20006 2011-03-22  Leo Liu  <sdl.web@gmail.com>
20008         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20009         located before rcirc-prompt-end-marker.
20010         (rcirc-complete): Error if point is not after rcirc prompt.
20011         Handle the case when table is nil.
20012         (rcirc-user-authenticated): Define to fix compiler warning.
20014 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
20016         * custom.el (custom--inhibit-theme-enable): Make it affect only
20017         custom-theme-set-variables and custom-theme-set-faces.
20018         (provide-theme): Ignore custom--inhibit-theme-enable.
20019         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20020         (custom-enabling-themes): Delete variable.
20021         (enable-theme): Accept only loaded themes as arguments.
20022         Ignore the special custom-enabled-themes variable.
20023         (custom-enabled-themes): Forbid themes from setting this.
20024         Eliminate use of custom-enabling-themes.
20025         (custom-push-theme): Quote "changed" custom var entry.
20027 2011-03-21  Leo Liu  <sdl.web@gmail.com>
20029         * ido.el (ido-read-internal): Add ido-selected to history instead
20030         of user input.
20032 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20034         * subr.el (deferred-action-list, deferred-action-function):
20035         Mark obsolete.
20037 2011-03-21  Leo Liu  <sdl.web@gmail.com>
20039         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20040         change on 2011-02-13 (bug#8309).
20042         * minibuffer.el (read-file-name-function): Change default value.
20043         (read-file-name--defaults): Rename from read-file-name-defaults.
20044         (read-file-name-default): Rename from read-file-name.
20045         (read-file-name): Call read-file-name-function.
20047 2011-03-21  Glenn Morris  <rgm@gnu.org>
20049         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20050         Doc fixes.
20052 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
20054         * cus-theme.el: Add missing provide statement.
20055         (customize-create-theme): Extract theme value correctly.
20056         (custom-theme-visit-theme): Autoload.
20057         (customize-create-theme): Prompt before inserting default faces.
20059 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
20061         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20062         units and musical notes.
20064 2011-03-20  Leo Liu  <sdl.web@gmail.com>
20066         * ido.el (ido-read-internal): Use completing-read-default.
20067         (ido-completing-read): Fix compatibility with completing-read.
20069 2011-03-20  Christian Ohler  <ohler@gnu.org>
20071         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20072         (ert-delete-all-tests): Use `called-interactively-p' rather than
20073         `interactive-p'.
20074         (ert--make-xrefs-region): Respect END.
20076 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
20078         * dired-aux.el (dired-create-directory): Signal an error if the
20079         directory already exists (Bug#8246).
20081         * facemenu.el (list-colors-display): Call list-faces-display
20082         inside with-help-window.
20083         (list-colors-print): Use display property to align the final
20084         column, instead of checking window-width.
20086 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
20088         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20089         windows-nt systems.
20090         (emerge-protect-metachars): Quote correctly for ms-dos and
20091         windows-nt systems.
20093 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
20095         * info.el (info-initialize): Replace all uses of `:' with
20096         path-separator for compatibility with non-Unix systems.
20097         Cache quoting of path-separator.  (Bug#8258)
20099 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
20101         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20102         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20103         (mouse-avoidance-mode): Fix typos in docstrings.
20105 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
20107         * startup.el (package-subdirectory-regexp): Move from package.el.
20108         Omit \\` and \\', and let callers add them.
20110         * emacs-lisp/package.el (package-strip-version)
20111         (package-load-all-descriptors): Add \\` and \\' to
20112         package-subdirectory-regexp before using it.
20113         (package-untar-buffer): New arg DIR; ensure that file untars only
20114         into this expected directory.  Remove superfluous delete-region.
20115         (package-unpack): Caller changed.
20116         (package-tar-file-info): Use package-subdirectory-regexp.
20118 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20120         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20121         diff-mode-shared-map (bug#8284).
20122         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20124 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20126         * calendar/time-date.el (format-seconds): Use assoc instead of
20127         assoc-string, since assoc-string doesn't exist in XEmacs.
20129 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
20131         * custom.el (custom-known-themes): Reflow docstring.
20132         (custom-theme-load-path): Fix typo in docstring.
20133         (load-theme): Fix typo in error message.
20134         (custom-available-themes, custom-variable-theme-value):
20135         Use `let', not `let*'.
20137 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
20139         * calc/README: Mention inclusion of musical notes.
20141         * calc/calc-units.el (calc-lu-quant): Rename from
20142         `calc-logunits-quantity'.
20143         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20144         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20145         (calc-db): Rename from `calc-dblevel'.
20146         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20147         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20148         (calc-np): Rename from `calc-nplevel'.
20149         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20150         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20151         (calc-lu-plus): Rename from `calc-logunits-add'.
20152         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20153         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20154         (calc-lu-minus): Rename from `calc-logunits-sub'.
20155         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20156         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20157         (calc-lu-times): Rename from `calc-logunits-mul'.
20158         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20159         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20160         (calc-lu-divide): Rename from `calc-logunits-div'.
20161         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20162         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20164         * calc/calc-ext.el (calc-init-extensions): Update the names of the
20165         functions being autoloaded.
20167         * calc/calc.el (calc-lu-power-reference): Rename from
20168         `calc-logunits-power-reference'.
20169         (calc-lu-field-reference): Rename from
20170         `calc-logunits-field-reference'.
20172         * calc/calc-help.el (calc-l-prefix-help):
20173         Mention musical note functions.
20175 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20177         * minibuffer.el (completion-all-sorted-completions):
20178         Use :completion-cycle-penalty text property if present.
20180 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
20182         * allout.el (allout-yank-processing): Adjust for new rebulleting
20183         regime so bullet being yanked is used without prompting the user
20184         for a choice.
20186 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
20188         * startup.el (command-line): Warn the user that _emacs is deprecated.
20190 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
20192         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20193         (delphi-verbose, delphi-comment-face, delphi-string-face)
20194         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20195         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20196         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20197         (delphi-new-comment-line, delphi-font-lock-defaults)
20198         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20199         Fix typos in docstrings.
20201 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
20203         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20204         Invert the roles of character and string values for INSTEAD, so a
20205         string is used for the more common case of a defaulting prompt.
20207 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20209         * progmodes/ruby-mode.el (ruby-backward-sexp):
20210         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20211         * play/gamegrid.el (gamegrid-make-face):
20212         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20213         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20214         * notifications.el (notifications-notify):
20215         * net/xesam.el (xesam-search-engines):
20216         * net/quickurl.el (quickurl-list-insert):
20217         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20219 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
20221         * startup.el (command-line): Update package subdirectory regexp.
20223 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20225         * allout.el (allout-abbreviate-flattened-numbering)
20226         (allout-mode-deactivate-hook): Fix up obsolescence "date".
20228         * subr.el (read-char-choice): Only show the cursor after the prompt,
20229         not after the answer.
20231 2011-03-15  Kevin Ryde  <user42@zip.com.au>
20233         * help-fns.el (variable-at-point): Skip leading quotes, if any
20234         (bug#8253).
20236 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20238         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20239         warning message.
20241 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
20243         * shell.el (shell): When called interactively, offer to change the
20244         shell file name on remote hosts.
20246 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
20248         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20249         integration for LDAP parameters.  The host, base, user or binddn,
20250         and secret tokens can be specified in a netrc file, for instance.
20251         This is optional because an `auth-source' parameter must be
20252         specified in the search attributes.
20254 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
20256         * help.el (describe-mode): Link to the mode's definition (bug#8185).
20258 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20260         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20261         into declaration.  Remove redundant and harmful binding.
20263 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
20265         * files.el (file-ownership-preserved-p): Pass `integer' as an
20266         explicit 2nd argument to `file-attributes'.  If the file's owner
20267         is the Administrators group on Windows, and the current user is
20268         Administrator, consider that a match.
20270         * server.el (server-ensure-safe-dir): Consider server directory
20271         safe on MS-Windows if its owner is the Administrators group while
20272         the current Emacs user is Administrator.  Use `=' to compare
20273         numerical UIDs, since they could be integers or floats.
20275 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
20277         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20279 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
20281         Sync with Tramp 2.2.1.
20283         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20285         * net/trampver.el: Update release number.
20287 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20289         * progmodes/compile.el (compilation--previous-directory): Fix up
20290         various nil/dead-marker mismatches (bug#8014).
20291         (compilation-directory-properties, compilation-error-properties):
20292         Don't call it at a position past the one we're about to change.
20294         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20295         Disable obsolescence warnings in the file that declares it.
20297 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
20299         * allout-widgets.el (allout-widgets-tally):
20300         Initialize allout-widgets-tally as a hash table rather than nil to
20301         prevent mode-line redisplay warnings.  Also, clarify the module
20302         description and fix a comment typo.
20304 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
20306         * help-fns.el (describe-variable): Don't complete keywords.
20307         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20309 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
20311         * emacs-lisp/package.el (package-version-join): Impose a standard
20312         string representation for pre/alpha/beta version lists.
20313         (package-unpack-single): Standardize the directory name by passing
20314         it through package-version-join.
20315         (package-strip-rcs-id): Accept any version string that does not
20316         signal an error in version-to-list.
20318 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
20320         * simple.el (delete-trailing-whitespace): Return nil for the
20321         benefit of `write-file-functions'.
20323 2011-03-10  Glenn Morris  <rgm@gnu.org>
20325         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20327         * vc/vc-git.el (vc-git-program): New option.
20328         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20329         (vc-git--call): Use it.
20331         * eshell/esh-util.el (eshell-condition-case): Doc fix.
20333         * cus-edit.el (Custom-newline): If no button at point, look
20334         for a subgroup button at start-of-line.  (Bug#2298)
20336         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20338 2011-03-10  Julien Danjou  <julien@danjou.info>
20340         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20341         `cursor-type' is nil.
20343 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
20345         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20347 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
20349         * allout.el: Change so yank of distinctive-bullet items
20350         preserves the existing header prefix, rebulleting it if necessary,
20351         rather than replacing it.  This is necessary for proper operation
20352         of cooperative addons like allout-widgets.
20353         (allout-make-topic-prefix, allout-rebullet-heading):
20354         Change SOLICIT arg to INSTEAD, and interpret additionally a string
20355         value as alternate bullet to be used, instead of prompting the user
20356         for a bullet character.
20358 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
20360         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20361         Do not use `tramp-file-name-port', because this returns also
20362         `tramp-default-port'.
20364 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
20366         * net/rcirc.el (rcirc-handler-001): Remove useless
20367         with-rcirc-process-buffer.
20368         (rcirc-check-auth-status): Swap arguments to string-match.
20370 2011-03-09  Glenn Morris  <rgm@gnu.org>
20372         * shell.el (shell-mode):
20373         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
20375         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20376         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
20378 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
20380         * emacs-lisp/package.el (package-refresh-contents)
20381         (package-menu-execute): Use condition-case-no-debug.
20383 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
20385         * simple.el (shell-command-to-string): Use `process-file'.
20387         * emacs-lisp/package.el (package-tar-file-info): Handle also
20388         remote files.
20390         * emacs-lisp/package-x.el (package-upload-buffer-internal):
20391         Use `equal' for upload base check.
20393 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
20395         * textmodes/texinfo.el (texinfo-environments):
20396         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
20398 2011-03-08  Glenn Morris  <rgm@gnu.org>
20400         * cus-start.el (cursor-in-non-selected-windows):
20401         Fix :set quoting oddness.  (Bug#8192)
20403         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20404         in some setf expressions.  (Bug#2159)
20406 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
20408         * custom.el (custom-available-themes): Return themes in
20409         alphabetical order.
20411 See ChangeLog.15 for earlier changes.
20413 ;; Local Variables:
20414 ;; coding: utf-8
20415 ;; End:
20417   Copyright (C) 2011-2012  Free Software Foundation, Inc.
20419   This file is part of GNU Emacs.
20421   GNU Emacs is free software: you can redistribute it and/or modify
20422   it under the terms of the GNU General Public License as published by
20423   the Free Software Foundation, either version 3 of the License, or
20424   (at your option) any later version.
20426   GNU Emacs is distributed in the hope that it will be useful,
20427   but WITHOUT ANY WARRANTY; without even the implied warranty of
20428   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20429   GNU General Public License for more details.
20431   You should have received a copy of the GNU General Public License
20432   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.