Fix typo in earlier cl.texi change
[emacs.git] / lisp / ChangeLog
blobbd535894cdfd0cfb33329ea59d155e3ffb60542f
1 2012-10-30  Glenn Morris  <rgm@gnu.org>
3         * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie.  Doc fix.
5         * emacs-lisp/cl.el (letf): Doc fix.  (Bug#12760)
7 2012-10-29  Chong Yidong  <cyd@gnu.org>
9         * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
10         function key is stored in a keyboard macro (Bug#4894).
12         * thingatpt.el (number-at-point): Apply a thing-at-point property.
14 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16         * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
17         header comments".
18         (diff-unified->context, diff-context->unified)
19         (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
21         * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
23         * files.el (find-alternate-file): Only ask one question (bug#12487).
25 2012-10-29  Chong Yidong  <cyd@gnu.org>
27         * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
28         Suggested by Dan Nicolaescu (Bug#6326).
30         * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
32         * startup.el (fancy-about-screen): Don't message (Bug#12680).
34         * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
36         * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
38         * face-remap.el (face-remap-add-relative): Handle the case where a
39         face-remapping-alist entry is a cons cell (Bug#12762).
41 2012-10-29  Kevin Ryde  <user42@zip.com.au>
43         * woman.el (woman-parse-numeric-value): Handle picas correctly
44         (Bug#12639).
46 2012-10-29  Glenn Morris  <rgm@gnu.org>
48         * emacs-lisp/cl.el (defsetf): Doc fix.
50 2012-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
52         * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
53         syntax to the matching opener, if any (bug#12547).
54         (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
55         matching open as a "case-(".
56         (sh-smie-rc-grammar): Add a corresponding rule for it.
58 2012-10-28  Daniel Hackney  <dan@haxney.org>
60         * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
61         "PKGNAME-autoloads.el" in case we created it.
63 2012-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
65         * minibuffer.el (completion--sifn-requote): Rewrite to handle things
66         like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
67         (completion--twq-all): Disable too-strict assertions.
69         * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
71 2012-10-27  Eli Zaretskii  <eliz@gnu.org>
73         * profiler.el (profiler-report-make-entry-part): Fix help-echo
74         text to match the real keybindings.
76 2012-10-27  Juri Linkov  <juri@jurta.org>
78         * wdired.el (wdired-keep-marker-rename): New defcustom.
79         (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
80         (Bug#11795)
82         * dired.el (dired-keep-marker-rename): Add reference to
83         `wdired-keep-marker-rename' in the docstring.
84         Add default character value ?R to display initially in
85         Customization UI instead of ?@.
87 2012-10-27  Martin Rudalics  <rudalics@gmx.at>
89         * window.el (display-buffer): In doc-string describe
90         window-height and window-width alist entries.
92         * time.el (display-time-world): Restore fit-window-to-buffer
93         behavior.
95 2012-10-27  Chong Yidong  <cyd@gnu.org>
97         * subr.el (insert-buffer-substring-as-yank): Doc fix.
99 2012-10-26  Jambunathan K  <kjambunathan@gmail.com>
101         * minibuffer.el (completion-category-overrides): New completion
102         category `bookmark' (bug#11131).
104 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
106         * emacs-lisp/advice.el (ad-assemble-advised-definition):
107         Silence bogus compiler warnings for ad-do-it.
109         * bookmark.el (bookmark-completing-read): Set the completion category
110         to `bookmark' (bug#11131).
112 2012-10-26  Bastien  <bzg@altern.org>
113             Stefan Monnier  <monnier@iro.umontreal.ca>
115         * face-remap.el: Use lexical-binding.
116         (text-scale-adjust): Improve docstring.  Use itself for the temporary
117         overlay-map bindings, so as to repeat the "Use..." message each time.
119 2012-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
121         * emacs-lisp/macroexp.el (macroexp--expand-all):
122         Obey byte-compile-warning-enabled-p (bug#12486).
124         * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
125         (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
127 2012-10-26  Martin Rudalics  <rudalics@gmx.at>
129         * mouse.el (mouse-drag-line): Move last form into preceding when
130         clause (Bug#12731).
132         * help.el (resize-temp-buffer-window): Fix doc-string.
134 2012-10-25  David Engster  <deng@randomsample.de>
136         * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
137         Remove.  This feature is already integrated in imenu.
139         * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
140         always loaded.  Require `speedbar' unconditionally.
142 2012-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
144         * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
146         * minibuffer.el (minibuffer-force-complete): Fix thinko.
148         * net/ldap.el (ldap-search-internal): The official ldif format starts
149         with a "version: 1" header (bug#12724).
151         * emacs-lisp/package.el (package-installed-p): Warn if not ready
152         (bug#12721).
154 2012-10-25  Glenn Morris  <rgm@gnu.org>
156         * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
158 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
160         * minibuffer.el (minibuffer-force-complete): Use one more marker
161         for the temporary-overlay-map command (bug#12619).
163 2012-10-24  Chong Yidong  <cyd@gnu.org>
165         * time.el (display-time-world-mode): Derive from special-mode.
166         (display-time-world): Use display-buffer (Bug#12708).
167         (display-time-world-mode-map): Variable deleted.
168         (display-time-world-display): Wrap the final delete-char inside
169         inhibit-read-only.
171 2012-10-24  Chong Yidong  <cyd@gnu.org>
173         * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
174         Doc fix.
176         * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
178 2012-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
180         * minibuffer.el (completion--all-sorted-completions-location): New var.
181         (completion--cache-all-sorted-completions)
182         (completion--flush-all-sorted-completions): Use it.
183         (completion-in-region, completion-in-region--postch)
184         (completion-at-point, completion-help-at-point): Use markers in
185         completion-in-region--data (bug#12619).
187 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
189         * progmodes/compile.el (compilation-start): Try to handle common
190         quoting of `cd' argument (bug#12640).
192         * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
193         (bug#12671).
195 2012-10-23  Glenn Morris  <rgm@gnu.org>
197         * progmodes/gud.el (gud-menu-map):
198         Check gdb-active-process is bound.  (Bug#12358)
200 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
202         * repeat.el (repeat): Set real-this-command (bug#12232).
204         * htmlfontify.el (hfy-post-html-hook):
205         * filesets.el (filesets-cache-fill-content-hook):
206         * arc-mode.el (archive-extract-hook):
207         * progmodes/cc-mode.el (c-prepare-bug-report-hook):
208         * net/rcirc.el (rcirc-sentinel-functions)
209         (rcirc-receive-message-functions, rcirc-activity-functions)
210         (rcirc-print-functions):
211         * net/dbus.el (dbus-event-error-functions):
212         * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
213         * emacs-lisp/checkdoc.el (checkdoc-style-functions)
214         (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
215         * term/sun.el (sun-raw-prefix-hooks):
216         * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
218 2012-10-23  Michael Albinus  <michael.albinus@gmx.de>
220         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
221         Set `tramp-chunksize' to 1.  This improves the performance.
222         (tramp-smb-wait-for-output): Add timeout to
223         `tramp-accept-process-output' calls.
225 2012-10-23  Chong Yidong  <cyd@gnu.org>
227         * faces.el (font-list-limit): Define as an obsolete variable.
229         * startup.el (command-line):
230         * cus-start.el: Don't refer to font-list-limit.
232         * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
234 2012-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
236         * subr.el (internal-temp-output-buffer-show): Rename from
237         temp-output-buffer-show, since previously compiled files expect this name.
239 2012-10-23  Glenn Morris  <rgm@gnu.org>
241         * image.el (image-type-from-file-name): If multiple types match,
242         return the first one that is supported.  (Bug#9045)
244 2012-10-22  Glenn Morris  <rgm@gnu.org>
246         * image.el (imagemagick-enabled-types): Doc fix.
248 2012-10-22  Takafumi Arakaki  <aka.tkf@gmail.com>  (tiny change)
250         * progmodes/which-func.el (which-func-current): The hash-table may have
251         an explicit nil (bug#12338).
253 2012-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
255         * electric.el (electric-pair-delete-selection-self-insert-function):
256         Rename to electric-pair-will-use-region, return a boolean.
257         (electric-pair-mode): Adjust accordingly.  Don't require delsel.
259         * delsel.el (delete-selection-helper): Use a function instead of a hook.
260         (delete-selection-pre-hook): Use use-region-p.
261         (delete-selection-self-insert-function): Remove.
262         (self-insert-command): Obey self-insert-uses-region-functions.
263         (self-insert-iso): Revert to previous setting, since we don't actually
264         know what that command does.
265         (delete-selection-self-insert-hooks): Remove.
267 2012-10-22  Simon Law  <sfllaw@sfllaw.ca>  (tiny change)
269         * delsel.el (delete-selection-helper): New function, extracted from
270         delete-selection-pre-hook.
271         (delete-selection-pre-hook): Use it.
272         (delete-selection-self-insert-function): New function.
273         (delete-selection-self-insert-hooks): New hook.
274         (self-insert-command, self-insert-iso): Use it.
275         * electric.el (electric-pair-syntax): New function, extracted from
276         electric-pair-post-self-insert-function.
277         (electric-pair-post-self-insert-function): Use it.
278         (electric-pair-delete-selection-self-insert-function): New function.
279         (electric-pair-mode): Require delsel and setup
280         delete-selection-self-insert-hooks (bug#11520).
282 2012-10-20  Chong Yidong  <cyd@gnu.org>
284         * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
285         no changes to show (Bug#12586).
287         * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
288         list explicitly (Bug#12571).
290 2012-10-20  Arne Jørgensen  <arne@arnested.dk>
292         * progmodes/flymake.el (flymake-create-temp-inplace):
293         Use file-truename.
295 2012-10-20  Eli Zaretskii  <eliz@gnu.org>
297         * loadup.el: Update comment about uncompiled Lisp files.  (Bug#12395)
299 2012-10-20  Jay Belanger  <jay.p.belanger@gmail.com>
301         * calc/calc-units.el (math-extract-units): Properly extract powers
302         of units.
304 2012-10-20  Daniel Colascione  <dancol@dancol.org>
306         * frame.el (make-frame): Set x-display-name as we used to in order
307         to unbreak creating an X11 frame from an Emacs daemon started
308         without a display.
310 2012-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
312         * minibuffer.el (minibuffer-force-complete): Make the next completion use
313         the same completion-field (bug@12221).
315 2012-10-19  Martin Rudalics  <rudalics@gmx.at>
317         * emacs-lisp/debug.el (debug): Record height of debugger window
318         also when debugger will be back (Bug#8789).
320 2012-10-18  Chong Yidong  <cyd@gnu.org>
322         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
323         Convert to defcustom.
324         (gdb-get-source-file): Don't bind pop-up-windows.
326         * progmodes/gud.el (gud-display-line): Don't specially re-use
327         other frames for the gdb-mi case (Bug#12648).
329 2012-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
331         * emacs-lisp/advice.el: Clean up commentary a bit.
332         (ad-do-advised-functions, ad-with-originals): Use `declare'.
333         (byte-code-function-p): Never redefine.
335         * emacs-lisp/gv.el (cond): Same fix as before for `if'.
337 2012-10-18  Glenn Morris  <rgm@gnu.org>
339         * dired.el (dired-sort-toggle): Some ls implementations only allow
340         a single option string.  (Bug#12666)
342         * minibuffer.el (completion-cycle-threshold): Doc fix.
344 2012-10-17  Kenichi Handa  <handa@gnu.org>
346         * international/mule.el (set-keyboard-coding-system):
347         Recover input meta mode when the new coding system doesn not use 8-bit.
348         Supply TERMINAL arg to set-input-meta-mode.
350 2012-10-17  Michael Heerdegen <michael_heerdegen@web.de>
352         * wdired.el (wdired-old-marks): New variable.
353         (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
354         (wdired-do-renames): Move point with renamed file and don't lose
355         mark status (Bug#11795).
357 2012-10-16  Juri Linkov  <juri@jurta.org>
359         * replace.el (query-replace-help): Mention multi-buffer replacement
360         keys in the Help message.  (Bug#12655)
362 2012-10-15  Chong Yidong  <cyd@gnu.org>
364         * emacs-lisp/byte-run.el (defsubst): Doc fix.
366 2012-10-14  Eli Zaretskii  <eliz@gnu.org>
368         * window.el (display-buffer): Doc fix.
370         * progmodes/compile.el (compilation-error-regexp-alist-alist):
371         Adjust the msft regexp to the output of Studio 2010, and move msft
372         before edg-1.  See the discussion on emacs-devel,
373         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
374         for the details.
376 2012-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
378         * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
379         (oset): Move uses of object-class-fast macro after its definition.
381         * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
383 2012-10-13  Chong Yidong  <cyd@gnu.org>
385         * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
386         enabled, re-enable it (Bug#11963).
388 2012-10-13  Martin Rudalics  <rudalics@gmx.at>
390         * emacs-lisp/debug.el (debug): When debugger-will-be-back is
391         non-nil, restore window configuration (Bug#12623).
393 2012-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
395         * help-fns.el (describe-variable, describe-function-1):
396         * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
398         * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
400 2012-10-12  Glenn Morris  <rgm@gnu.org>
402         * mail/rmailsum.el (rmail-header-summary):
403         Fix 2010-11-26 test for multiline Subject: field.  (Bug#12625)
405 2012-10-12  Fabián Ezequiel Gallina  <fgallina@cuca>
407         * progmodes/python.el (python-mode-map):
408         Replace subtitute-key-definition with proper command remapping.
409         (python-nav--up-list): Fix behavior for blocks on the same level.
411 2012-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
413         * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
415         * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
416         changes to the format of load-history.
418         * international/mule-cmds.el (read-char-by-name): Move let-binding of
419         completion-ignore-case in case that var is buffer-local (bug#12615).
421 2012-10-11  Kenichi Handa  <handa@gnu.org>
423         * international/eucjp-ms.el: Re-generated.
425 2012-10-10  Kenichi Handa  <handa@gnu.org>
427         * select.el (xselect--encode-string): If a coding is specified for
428         selection, and that is compatible with COMPOUND_TEXT, use it.
430 2012-10-10  Martin Rudalics  <rudalics@gmx.at>
432         * window.el (switch-to-buffer-preserve-window-point): New option.
433         (switch-to-buffer):
434         Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
436 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
438         * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
439         Don't document nil as a useful value (bug#12583).
441 2012-10-09  Michael Albinus  <michael.albinus@gmx.de>
443         * net/tramp.el (tramp-debug-message):
444         Remove "tramp-with-progress-reporter" from regexp of ignored functions.
445         (with-tramp-progress-reporter): Rename from
446         `tramp-with-progress-reporter'.
447         (with-tramp-file-property, with-tramp-connection-property):
448         Move from tramp-cache.el, rename from `with-file-property' and
449         `with-connection-property', respectively.
451         * net/tramp-cache.el: Remove `with-file-property' and
452         `with-connection-property'.
454         * net/tramp.el:
455         * net/tramp-gvfs.el:
456         * net/tramp-sh.el:
457         * net/tramp-smb.el: Adapt callees.
459         * net/trampver.el: Update release number.
461 2012-10-09  Glenn Morris  <rgm@gnu.org>
463         * w32-fns.el (set-message-beep):
464         * term/w32-win.el (set-message-beep): Update declarations.
466 2012-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
468         * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
469         (mode-line-widen, mode-line-input-method-map)
470         (mode-line-coding-system-map, mode-line-remote)
471         (mode-line-unbury-buffer, mode-line-bury-buffer)
472         (mode-line-next-buffer, mode-line-previous-buffer):
473         Replace save-selected-window+select-window => with-selected-window.
475         * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
476         * progmodes/cc-vars.el (bq-process): Remove, unused.
478         * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
480 2012-10-09  Fabián Ezequiel Gallina  <fgallina@cuca>
482         Implemented `backward-up-list'-like navigation.
483         * progmodes/python.el (python-nav-up-list)
484         (python-nav-backward-up-list): New functions.
485         (python-mode-map): Define substitute key for backward-up-list to
486         python-nav-backward-up-list.
488 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
490         * progmodes/python.el (python-fill-paragraph): Rename from
491         python-fill-paragraph-function.  Fixed fill-paragraph for
492         decorators (Bug#12605).
494 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
496         * progmodes/python.el (python-shell-output-filter): Handle extra
497         carriage return in OSX (Bug#12409).
499 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
501         Fix shell handling of unbalanced quotes and parens in output.
502         * progmodes/python.el (python-rx-constituents): Add string-delimiter.
503         (python-syntax-propertize-function): Use it.
504         (python-shell-output-syntax-table): New var.
505         (inferior-python-mode): Prevent unbalanced parens/quotes from
506         previous output mess with current input context.
508 2012-10-08  Juanma Barranquero  <lekktu@gmail.com>
510         * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
511         Make obsolete aliases of js-mode and js-mode-hook (from js.el).
513 2012-10-08  Michael Albinus  <michael.albinus@gmx.de>
515         * ffap.el (ffap-replace-file-component): Support Tramp file name
516         syntax, not only ange-ftp's one.
518 2012-10-08  Glenn Morris  <rgm@gnu.org>
520         * cus-start.el (message-log-max): Set :version.
522         * calendar/calendar.el (calendar-intermonth-header): Doc fix.
524 2012-10-08  Martin Rudalics  <rudalics@gmx.at>
526         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
527         the minibuffer window (Bug#10851).
529 2012-10-08  Fabián Ezequiel Gallina  <fgallina@cuca>
531         Enhancements on forward-sexp movement.
532         * progmodes/python.el (python-nav-beginning-of-statement)
533         (python-nav-end-of-statement): Return point-marker.
534         (python-nav-forward-sexp): lisp-like forward-sexp behavior.
535         (python-info-current-symbol)
536         (python-info-statement-starts-block-p): Rename from
537         python-info-beginning-of-block-p.
538         (python-info-statement-ends-block-p): Rename from
539         python-info-end-of-block-p.
540         (python-info-beginning-of-statement-p)
541         (python-info-end-of-statement-p)
542         (python-info-beginning-of-block-p, python-info-end-of-block-p):
543         New functions.
545 2012-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
547         * comint.el (comint-preinput-scroll-to-bottom): Preserve the
548         frame-selected-windows.
550 2012-10-08  Daniel Colascione  <dancol@dancol.org>
552         * battery.el (battery-status-function): Check for
553         w32-battery-status itself, not system-time windows-nt.
555         * frame.el: Require cl-lib.
556         (display-format-alist): New variable mapping frame types to
557         functions that initialize them.
558         (window-system-for-display): New function: interprets
559         display-format-alist.
560         (make-frame-on-display): Remove existing display-selection logic
561         and just forward to make-frame, which will now DTRT.
562         (make-frame): Restructure to use window-system-for-display to
563         figure out how to create a frame on a given display.
564         (display-mouse-p): Look for frame-type w32, not a particular
565         system-type.
567         * loadup.el: Load w32 lisp code when we have the w32 feature.
569         * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
570         system-type windows-nt.
572         * server.el (server-create-window-system-frame): Look for window
573         type.
574         (server-proces-filter): Only force a window system when windows-nt
575         _and_ w32.  Explain why.
577         * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
578         of window systems we configure for the mode.
580         * startup.el (command-line): Mark window system is initialized
581         after we've done it.
583         * common-win.el (x-select-text): Look for w32, not windows-nt.
585         * ns-win.el: Require cl-lib.  Add ourselves to
586         display-format-alist.
587         (ns-initialize-window-system): Assert we're not initialized twice.
589         * w32-win.el: Enable lexical binding; require cl-lib; add
590         ourselves to display-format-alist.
591         (w32-handle-dropped-file): Convert incoming dropped files from
592         Windows paths to Cygwin ones before passing them on to the rest of
593         Emacs.
594         (w32-drag-n-drop): New paramter new-frame.  Simplify logic.
595         (w32-initialize-window-system): Assert we're not initialized twice.
597         * x-win.el: Require cl-lib; add ourselves to display-format-alist.
598         (x-initialize-window-system): Assert we're not initialized twice.
600         * w32-common-fns.el: New File.
601         (w32-version, w32-using-nt, w32-get-clipboard-data)
602         (w32-set-clipboard-data, x-set-selection, x-get-selection)
603         (w32-charset-info-alist, x-last-selected, text)
604         (x-get-selection-value, x-selection-value): Move here.
606         * w32-fns.el: Require w32-common-fns.
607         (w32-version, w32-using-nt, w32-get-clipboard-data)
608         (w32-set-clipboard-data, x-set-selection, x-get-selection)
609         (w32-charset-info-alist, x-last-selected, text)
610         (x-get-selection-value, x-selection-value): Move to
611         w32-common-fns.
613         * w32-vars.el:
614         (w32-allow-system-shell, w32-system-shells): Define only in
615         non-cygwin case.
617 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
619         * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
620         (read-passwd): Remove a few more potential sources of leaks.
622 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
624         * progmodes/python.el (inferior-python-mode)
625         (python-shell-make-comint): Fix initialization of local
626         variables copied from parent buffer.
628 2012-10-07  Jan Djärv  <jan.h.d@swipnet.se>
630         * term/ns-win.el (ns-read-file-name): Update declaration to match
631         nsfns.m.
632         (ns-respond-to-change-font): Change fontsize separatly so we are sure
633         it is set when font is acted upon.
635 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
637         Enhancements to indentation.
638         * progmodes/python.el (python-indent-context): Give priority to
639         inside-string context.  Make comments indentation markers.
640         (python-indent-region): Do not mess with strings, unless it's the
641         enclosing set of quotes.
643 2012-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
645         * window.el (internal--before-save-selected-window)
646         (internal--after-save-selected-window): New functions extracted from
647         save-selected-window.  Make sure we return the `alist' we construct.
648         (save-selected-window): Use them.
650         * textmodes/tex-mode.el (tex-recenter-output-buffer):
651         Use with-selected-window.
653         * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
654         forms that define macros (bug#12593).
656 2012-10-07  Kenichi Handa  <handa@gnu.org>
658         * international/mule-conf.el (compound-text-with-extensions):
659         Add :mime-charset property as x-ctext.
661 2012-10-07  Stefan Merten  <smerten@oekonux.de>
663         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
664         (rst-indent-literal-normal, rst-indent-literal-minimized)
665         (rst-indent-comment): Correct :version tag.
666         (rst-official-cvs-rev): Correct version string.
668 2012-10-07  Glenn Morris  <rgm@gnu.org>
670         * mail/rmailmm.el (rmail-mime-process-multipart):
671         Do not confuse a multipart message with an epilogue
672         with a "truncated" one; fixes 2011-06-27 change.  (Bug#10101)
674 2012-10-07  Fabián Ezequiel Gallina  <fgallina@cuca>
676         Fix shell output retrieval and comint-prompt-regexp init.
677         * progmodes/python.el (inferior-python-mode):
678         (python-shell-make-comint): Fix initialization of
679         comint-prompt-regexp from copied file local variables.
680         (python-shell-fetched-lines): Remove var.
681         (python-shell-output-filter-in-progress): Rename from
682         python-shell-fetch-lines-in-progress.
683         (python-shell-output-filter-buffer): Rename from
684         python-shell-fetch-lines-string.
685         (python-shell-fetch-lines-filter): Delete function.
686         (python-shell-output-filter): New function.
687         (python-shell-send-string-no-output): Use them.
689 2012-10-07  Glenn Morris  <rgm@gnu.org>
691         * hi-lock.el (hi-lock-process-phrase):
692         Try to make it less fragile.  (Bug#7161)
694         * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
696 2012-10-06  Glenn Morris  <rgm@gnu.org>
698         * ehelp.el (electric-help-mode): Use help-mode rather than
699         non-existent mode `help'.
700         (electric-help-map): Use button-buffer-map.  (Bug#10917)
702         * textmodes/reftex-vars.el (reftex-create-bibtex-header)
703         (reftex-create-bibtex-footer): Fix custom types.
705         * progmodes/sh-script.el (sh-indent-after-continuation):
706         Add explicit :group.
708         * textmodes/rst.el (rst-preferred-decorations)
709         (rst-shift-basic-offset): Clarify obsolescence versions.
711         * profiler.el (profiler): Add missing group :version tag.
712         * avoid.el (mouse-avoidance-banish-position):
713         * proced.el (proced-renice-command):
714         * calc/calc.el (calc-ensure-consistent-units):
715         * calendar/icalendar.el (icalendar-import-format-uid):
716         * net/tramp.el (tramp-save-ad-hoc-proxies):
717         * progmodes/bug-reference.el (bug-reference-bug-regexp):
718         * progmodes/flymake.el (flymake-error-bitmap)
719         (flymake-warning-bitmap, flymake-fringe-indicator-position):
720         * progmodes/sh-script.el (sh-indent-after-continuation):
721         * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
722         (verilog-before-save-font-hook, verilog-after-save-font-hook):
723         * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
724         (vhdl-array-index-record-field-in-sensitivity-list)
725         (vhdl-indent-comment-like-next-code-line):
726         * textmodes/reftex-vars.el (reftex-ref-style-alist)
727         (reftex-ref-macro-prompt, reftex-ref-style-default-list)
728         (reftex-cite-key-separator, reftex-create-bibtex-header)
729         (reftex-create-bibtex-footer):
730         * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
731         (rst-indent-literal-normal, rst-indent-literal-minimized)
732         (rst-indent-comment): Add missing custom :version tags.
734         * calendar/timeclock.el (timeclock-modeline-display):
735         Add missing obsolete alias for renamed user option.
737         * strokes.el (strokes-modeline-string):
738         * emulation/crisp.el (crisp-mode-modeline-string):
739         * eshell/esh-mode.el (eshell-status-in-modeline):
740         Aliases to defcustoms must come before the defcustom.
742         * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
743         (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
744         (cal-tex-cursor-week-monday): Doc fixes.
745         (cal-tex-cursor-week2-summary): Doc fix.
746         Rename from cal-tex-cursor-week-at-a-glance.
748         * calendar/cal-menu.el (cal-menu-context-mouse-menu):
749         Tweak week descriptions.  Add cal-tex-cursor-week2-summary.
751         * calendar/calendar.el (calendar-mode-map):
752         Add cal-tex-cursor-week2-summary.
754 2012-10-06  Stefan Monnier  <monnier@iro.umontreal.ca>
756         * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
758         * subr.el (read-passwd-map): New var.
759         (read-passwd): Use `read-string' again.
760         * minibuffer.el (delete-minibuffer-contents): Make it interactive.
762 2012-10-06  Jambunathan K  <kjambunathan@gmail.com>
764         * register.el (append-to-register, prepend-to-register):
765         Deactivate mark, as does `copy-to-register' (bug#12389).
767 2012-10-06  Chong Yidong  <cyd@gnu.org>
769         * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
771 2012-10-06  Ikumi Keita  <ikumi@ikumi.que.jp>  (tiny change)
773         * international/characters.el: Fix simple mistake ((car chars) ->
774         elt), delete duplicated code.
776 2012-10-06  Glenn Morris  <rgm@gnu.org>
778         * subr.el (read-passwd): Allow C-u to erase entry.  (Bug#12570)
780 2012-10-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
782         * color.el (color-hsl-to-rgb): Fix incorrect results for
783         small and large hue values.  (Bug#12559)
785 2012-10-05  Fabián Ezequiel Gallina  <fgallina@cuca>
787         Enhancements to docstring formatting when filling paragraphs.
788         * progmodes/python.el (python-fill-docstring-style): Rename from
789         python-fill-string-style.  Added new style.
790         (python-fill-string): Use new style.  Better checks for
791         docstrings.
793 2012-10-05  Glenn Morris  <rgm@gnu.org>
795         * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
797         * color.el (color-name-to-rgb, color-rgb-to-hex)
798         (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
799         (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
800         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
801         (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
803         * emacs-lisp/timer.el (with-timeout): Add missing progn.  (Bug#12577)
805 2012-10-05  Juanma Barranquero  <lekktu@gmail.com>
807         * ido.el (ido-directory-too-big-p): Pass dir through file-truename
808         to get the correct size across symlinks.
810         * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
812 2012-10-04  Juri Linkov  <juri@jurta.org>
814         * replace.el (query-replace-interactive): Declare obsolete.
815         (query-replace-read-from): Add the last incremental search string
816         to the list of default values accessible via M-n.
817         (map-query-replace-regexp): Use `read-regexp'.
818         (query-replace, query-replace-regexp, query-replace-regexp-eval)
819         (map-query-replace-regexp, replace-string, replace-regexp):
820         Fix docstrings to replace mentions of `query-replace-interactive'
821         with alternatives.  (Bug#12526)
823 2012-10-04  Juri Linkov  <juri@jurta.org>
825         * dired.el (dired-shrink-to-fit): Declare obsolete.  (Bug#1806)
826         (dired-pop-to-buffer): Declare obsolete.
827         (dired-mark-pop-up): Doc fix.
829 2012-10-04  Fabián Ezequiel Gallina  <fgallina@cuca>
831         Allow user to set docstring style for fill-paragraph.
832         * progmodes/python.el
833         (python-fill-comment-function, python-fill-string-function)
834         (python-fill-decorator-function, python-fill-paren-function):
835         Remove :safe for defcustoms.
836         (python-fill-string-style): New defcustom
837         (python-fill-paragraph-function): Enhance context detection.
838         (python-fill-string): Honor python-fill-string-style settings.
840 2012-10-04  Martin Rudalics  <rudalics@gmx.at>
842         * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
843         after setting its buffer (Bug#10805).
845 2012-10-03  Fabián Ezequiel Gallina  <fgallina@cuca>
847         Fix cornercase for string syntax.
848         * progmodes/python.el (python-syntax-propertize-function):
849         Simplify and enhance the regexp for unescaped quotes.  Now it also
850         matches quotes in weird situations like the single quote in
851         "something\"'".
852         (python-syntax-stringify): Simplify num-quotes detecting code.
854 2012-10-03  Glenn Morris  <rgm@gnu.org>
856         * help-macro.el (three-step-help):
857         Revert 2012-09-29 change.  (Bug#12567)
859 2012-10-03  Martin Rudalics  <rudalics@gmx.at>
861         * menu-bar.el (kill-this-buffer): Don't do anything when
862         `menu-frame' is not alive or visible (Bug#8184).
864         * emacs-lisp/debug.el (debug): When quitting the debugger window
865         restore current buffer (Bug#12502).
867 2012-10-02  Chong Yidong  <cyd@gnu.org>
869         * progmodes/hideif.el (hif-lookup, hif-defined):
870         Handle semantic-c-takeover-hideif.
872 2012-10-02  Paul Eggert  <eggert@cs.ucla.edu>
874         Change sampling interval units from ms to ns.
875         * profiler.el (profiler-sampling-interval): Change units
876         from ms to ns, multiplying the default by 1000000 so that
877         it remains 1 ms.
878         (profiler-report-cpu-line-format): Give enough room for
879         the maximum counters on 64-bit hosts.
880         (profiler-report-render-calltree-1): Call them "CPU samples",
881         not "Time (ms)", since they are not milliseconds now (and
882         never really were).
884 2012-10-02  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
886         * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
887         Fix querying BBDB for entries without a last name (Bug#11580).
889 2012-10-02  Chong Yidong  <cyd@gnu.org>
891         * emacs-lisp/eieio.el: Restore Version header.
893 2012-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
895         * vc/diff-mode.el (diff--auto-refine-data): New var.
896         (diff-hunk): Use it to delay refinement.
897         (diff-mode): Remove overlays when we turn off font-lock.
899         * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
900         (table-initialize-table-fixed-width-mode)
901         (table-set-table-fixed-width-mode): Remove functions.
902         (table-command-list): Move initialization into declaration.
903         (table--tweak-menu-for-xemacs): Move defun outside mapcar.
904         (table-with-cache-buffer): Use `declare'.
905         (table-span-cell): Simplify via CSE.
906         (table-fixed-width-mode): Use define-minor-mode.
907         (table-call-interactively, table-funcall, table-apply): Remove.
908         (table-function): New function, to replace them.
910         * bookmark.el (bookmark-search-pattern): Remove var.
911         (bookmark-read-search-input): Remove function.
912         (bookmark-bmenu-search): Reimplement using a minibuffer.
914         * faces.el (modeline): Remove obsolete face name.
916         * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
917         and give a non-nil default value.
918         (add-change-log-entry): Simplify accordingly.
920 2012-10-01  Dmitry Gutov  <dgutov@yandex.ru>
922         * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
923         (vc-git-log-edit-toggle-amend): New function.
924         (vc-git-log-edit-toggle-signoff): New function.
925         (vc-git-log-edit-mode): New major mode.
926         (vc-git-log-edit-mode-map): Keymap for it.
927         (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
929         * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
930         header names.
931         (log-edit-toggle-header): New function.
932         (log-edit-extract-headers): Accept function values in HEADERS alist.
934 2012-10-01  David Engster  <deng@randomsample.de>
936         * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
937         from symbol property and change message to be more consistent with
938         Emacs proper.
939         (eieio-describe-generic): Add filename for each implementation.
940         Fix indices for generic and normal methods.
941         (eieio-method-def, eieio-class-def): New buttons.
942         (eieio-help-find-method-definition)
943         (eieio-help-find-class-definition): New functions.
944         (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
945         class, constructor and method definitions.
947         * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
948         information in symbol property.
949         (scoped-class): Remove.
950         (eieio-slot-name-index, call-next-method): Check if it is bound.
952 2012-10-01  Leo P. White  <lpw25@cam.ac.uk>
954         * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
955         (eieio-custom-mode): New major mode.
956         (eieio-customize-object): Use it.
958 2012-10-01  Eric Ludlam  <zappo@gnu.org>
960         * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
961         specifying the expected class, and whether subclassing is allowed.
962         (eieio-persistent-convert-list-to-object):
963         (eieio-persistent-validate/fix-slot-value)
964         (eieio-persistent-slot-type-is-class-p): New functions.
965         (eieio-named::slot-missing): Doc fix.
967         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
968         Stop using unused publd variable.
970         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
971         (eieio-speedbar-description, eieio-speedbar-derive-line-path)
972         (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
973         (eieio-speedbar-handle-click): Do not specify a class for the
974         method.  Fixes method invocation order problems with EDE.
976 2012-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
978         * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
979         (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
981 2012-10-01  Karl Fogel  <kfogel@red-bean.com>
983         * bookmark.el (bookmark-version-control): Give tags in the
984         :type choices (Bug#12309), and improve doc string.
985         (bookmark-write-file): Bind `print-circle' to `t' to allow
986         circular custom bookmark types.  (Bug#12503)
988 2012-10-01  Paul Eggert  <eggert@cs.ucla.edu>
990         Revert the FOLLOW-SYMLINKS change for file-attributes.
991         * files.el (remote-file-name-inhibit-cache, after-find-file):
992         * time.el (display-time-file-nonempty-p): Undo last change.
994         * profiler.el (profiler-sampling-interval): Change default back to 1.
995         See Stefan Monnier in
996         <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
998 2012-10-01  Fabián Ezequiel Gallina  <fgallina@cuca>
1000         Shell output catching a la gud-gdb.
1001         * progmodes/python.el (python-shell-fetch-lines-in-progress)
1002         (python-shell-fetch-lines-string, python-shell-fetched-lines):
1003         New Vars.
1004         (python-shell-fetch-lines-filter): New function.
1005         (python-shell-send-string-no-output): Use them.
1007 2012-09-30  Tomohiro Matsuyama  <tomo@cx4a.org>
1009         * profiler.el (profiler-sampling-interval): Rename from
1010         profiler-sample-interval.
1011         (profiler-sampling-interval): Default to 10.
1012         (profiler-find-profile): New command (was profiler-find-log).
1013         (profiler-find-profile-other-window): New command.
1014         (profiler-find-profile-other-frame): New command.
1015         (profiler-profile): Introduce API-level data structure.
1017 2012-09-30  Paul Eggert  <eggert@cs.ucla.edu>
1019         file-attributes has a new optional arg FOLLOW-SYMLINKS.
1020         * files.el (remote-file-name-inhibit-cache):
1021         * time.el (display-time-file-nonempty-p): Use it.
1022         * files.el (after-find-file): Don't chase links before calling
1023         file-exists-p, as file-exists-p already does the right thing.
1025 2012-09-30  Ralf Angeli  <angeli@caeruleus.net>
1027         Merge from standalone RefTeX repository.
1029         The following ChangeLog entries are shortened versions of the
1030         original ones with file paths adapted.  A not so strongly edited
1031         version of the original ChangeLog can be found in the commit log.
1033         * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
1034         (reftex-arg-cite): Use `reftex-cite-key-separator'.
1035         Correctly handle new value type returned by `reftex-citation'.
1037         * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
1038         that entries with whitespace at various places are found.
1039         Doc fix. Include entries that are cross-referenced from cited entries.
1040         Include @String definitions in the resulting bib file.  Add header
1041         and footer defined in `reftex-create-bibtex-header' and
1042         `reftex-create-bibtex-footer'.
1043         (reftex-do-citation): Make it possible again to insert
1044         non-existent entries.  Save match data when asking for optional
1045         arguments. Return all keys, not just the first one.
1046         (reftex-all-used-citation-keys): Fix regexp to correctly extract
1047         all citations in the same line.
1048         (reftex-parse-bibtex-entry): Accept additional optional argument
1049         `raw' and keep quotes or braces if it is non-nil.  Match fields
1050         containing hyphens besides word constituents.
1051         (reftex-get-string-refs): New function.
1052         (reftex-extract-bib-entries): Check if BibTeX file changed on disk
1053         and ask if it should be reread in case it did.
1054         (reftex-pop-to-bibtex-entry)
1055         (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
1056         entries with spaces or tabs in front of arguments.
1057         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
1058         (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
1059         Match entries containing numbers and symbol constituents.
1060         (reftex-do-citation, reftex-figure-out-cite-format):
1061         Use `reftex-cite-key-separator'.
1063         * textmodes/reftex-dcr.el: Move provide statement to end of file.
1064         (reftex-mouse-view-crossref): Explain why point is set.
1066         * textmodes/reftex-global.el: Whitespace changes.
1068         * textmodes/reftex-index.el: Move provide statement to end of
1069         file.
1070         (reftex-index-selection-or-word): Use `reftex-region-active-p'.
1071         (reftex-index-visit-phrases-buffer): Set marker when visiting
1072         buffer.  This allows for returning from the phrases file to the
1073         file one was just editing instead of the file where the last
1074         phrases was added from.
1075         (reftex-index-phrases-syntax-table): New variable.  Give ?\"
1076         punctuation syntax as it usually is not used as string quote in
1077         TeX-related modes and may occur unmatched.  The change also
1078         prevents fontification of quoted content.
1079         (reftex-index-phrases-mode): Use it.
1081         * textmodes/reftex-parse.el (reftex-parse-from-file):
1082         Move backward one char if a `\' was matched after a section macro.
1083         (reftex-parse-from-file): Use beginning of match instead of end as
1084         bound.
1086         * textmodes/reftex-ref.el: Adapt creation of
1087         `reftex-<package>-<macro>' functions to new structure of
1088         `reftex-ref-style-alist'.
1089         (reftex-reference): Use `reftex-ref-style-list' function.
1090         Adapt to new structure of `reftex-ref-style-alist'.  Prompt for a
1091         reference macro if `reftex-ref-macro-prompt' is non-nil.
1092         (reftex-reference): Pass refstyle to `reftex-format-special'.
1093         Determine reference macro by looking at
1094         `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
1095         Use only one special format function.
1096         (reftex-varioref-vref, reftex-fancyref-fref)
1097         (reftex-fancyref-Fref): Remove definitions.  The functions are now
1098         generated from `reftex-ref-style-alist'.
1099         (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
1100         Remove.
1101         (reftex-format-special): New function.
1103         * textmodes/reftex-sel.el
1104         (reftex-select-cycle-ref-style-internal): Adapt to new structure
1105         of `reftex-ref-style-alist'. Remove code for testing macro type.
1106         (reftex-select-toggle-varioref)
1107         (reftex-select-toggle-fancyref): Remove.
1108         (reftex-select-cycle-ref-style-internal)
1109         (reftex-select-cycle-ref-style-forward)
1110         (reftex-select-cycle-ref-style-backward): New functions.
1111         (reftex-select-label-map): Use `v' and `V' for general cycling
1112         through reference styles.  Add `p' for switching between number
1113         and page reference types.
1115         * textmodes/reftex-toc.el (reftex-re-enlarge):
1116         Call `enlarge-window' only if there is something to do because in Emacs
1117         the horizontal version throws an error even if the parameter is 0.
1119         * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
1120         (reftex-plug-into-AUCTeX): Doc fix.
1121         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
1122         string.  Adapt to new name.
1123         (reftex-ref-style-alist): Change structure so that it is not
1124         possible to use multiple different package names within a style.
1125         Remove the symbols for symbols for macro type distinction.
1126         Add characters for macro selection.
1127         (reftex-ref-macro-prompt, reftex-create-bibtex-header)
1128         (reftex-create-bibtex-footer): New variables.
1129         (reftex-format-ref-function): Mention third argument of special
1130         format function.
1131         (reftex-ref-style-alist, reftex-ref-style-default-list):
1132         New variables.
1133         (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
1134         to new implementation.  Mark as obsolete.  Add compatibility code
1135         for honoring the variable values in case they are set.
1136         (reftex-cite-format-builtin, reftex-bibliography-commands):
1137         Add support for ConTeXt.
1138         (reftex-format-ref-function, reftex-format-cite-function):
1139         Fix custom type.
1140         (reftex-cite-key-separator): New variable.
1142         * textmodes/reftex.el (reftex-syntax-table-for-bib)
1143         (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
1144         `reftex-syntax-table' because parens have to retain their paren
1145         syntax in order for parsing of BibTeX entries like @book(...) to
1146         work.
1147         (reftex-in-comment): Do not error out if `comment-start-skip' is
1148         not set.  Deal correctly with escaped comment characters.
1149         (reftex-tie-multifile-symbols): Add doc string.
1150         Initialize `reftex-ref-style-list'.
1151         (reftex-untie-multifile-symbols): Add doc string.
1152         (reftex-add-index-macros): Doc fix.
1153         (reftex-ref-style-activate, reftex-ref-style-toggle)
1154         (reftex-ref-style-list): New functions.
1155         (reftex-mode-menu): Use them.  Adapt to new structure of
1156         `reftex-ref-style-alist'.
1157         (reftex-select-with-char): Kill the RefTeX Select buffer when
1158         done.
1159         (reftex-remove-if): New function.
1160         (reftex-erase-all-selection-and-index-buffers)
1161         (reftex-mode-menu): Reference styles are now computed from
1162         `reftex-ref-style-alist'.  Fix typo.
1163         (reftex-report-bug): New function.
1164         (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
1165         algorithms with O(n log n).  Introduce optional argument SORT (not
1166         yet used).
1168 2012-09-30  Fabián Ezequiel Gallina  <fgallina@cuca>
1170         Enhancements for triple-quote string syntax.
1171         * progmodes/python.el (python-syntax-propertize-function):
1172         Match both quote cases in one regexp.
1173         (python-syntax-stringify): Handle matches properly.
1175 2012-09-30  Juri Linkov  <juri@jurta.org>
1177         * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
1178         to nil around the call to `insert' to prevent
1179         directory time modification by lock_file.  (Bug#2295)
1180         * tar-mode.el (tar-summarize-buffer): Idem.
1182 2012-09-30  Juri Linkov  <juri@jurta.org>
1184         * facemenu.el (list-colors-sort): Add option "Luminance".
1185         (list-colors-sort-key): Implement it.
1187         * vc/diff-mode.el (diff-refine-removed):
1188         * vc/ediff-init.el (ediff-fine-diff-A):
1189         * vc/smerge-mode.el (smerge-refined-removed):
1190         Change background color "#ffaaaa" to "#ffbbbb".  (Bug#10181)
1192 2012-09-30  Jan Djärv  <jan.h.d@swipnet.se>
1194         * term/ns-win.el (x-file-dialog): New function.
1196 2012-09-30  Juanma Barranquero  <lekktu@gmail.com>
1198         * ido.el (ido-max-directory-size): Default to nil; the current
1199         default is small for POSIX systems, and impractical on Windows 7
1200         now that lstat returns directory sizes for NTFS.
1202 2012-09-30  Martin Rudalics  <rudalics@gmx.at>
1204         In buffer display functions handle window-height/window-width
1205         alist entries.  Suggested by Juri Linkov as fix for Bug#1806.
1206         * window.el (window--display-buffer): New argument ALIST.
1207         Obey window-height and window-width alist entries.
1208         (window--try-to-split-window): New argument ALIST.
1209         Bind window-combination-limit to t when the window's size shall be
1210         changed and window-combination-limit equals `window-size'.
1211         (display-buffer-in-atom-window)
1212         (display-buffer-in-major-side-window)
1213         (display-buffer-in-side-window, display-buffer-same-window)
1214         (display-buffer-reuse-window, display-buffer-pop-up-frame)
1215         (display-buffer-pop-up-window, display-buffer-below-selected)
1216         (display-buffer-at-bottom, display-buffer-in-previous-window)
1217         (display-buffer-use-some-window): Adjust all callers of
1218         window--display-buffer and window--try-to-split-window.
1219         (fit-frame-to-buffer): New option.
1220         (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
1221         is non-nil.
1222         (display-buffer-in-major-side-window): Evaluate window-height /
1223         window-width alist entries.
1225         * help.el (temp-buffer-resize-frames)
1226         (temp-buffer-resize-regexps): Remove options.
1227         (temp-buffer-resize-mode): Adjust doc-string.
1228         (resize-temp-buffer-window): Don't consult
1229         temp-buffer-resize-regexps.  Use fit-frame-to-buffer instead of
1230         temp-buffer-resize-frames.
1232         * dired.el (dired-mark-pop-up):
1233         Call display-buffer-below-selected with a fit-window-to-buffer alist
1234         entry.
1236 2012-09-30  Chong Yidong  <cyd@gnu.org>
1238         * server.el (server-host): Document the security implications.
1239         (server-auth-key): Doc fix.
1241         * startup.el (initial-buffer-choice): Doc fix.
1243         * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
1245         * simple.el (delete-trailing-whitespace): Avoid an unnecessary
1246         restriction change.
1248         * bindings.el (goto-map): Bind M-g TAB to move-to-column.
1250         * help-fns.el (help-fns--obsolete): Fix last change.
1252 2012-09-30  Stefan Monnier  <monnier@iro.umontreal.ca>
1254         * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
1255         (minor-mode-map-alist): Remove redundant code.
1257         * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
1258         visited in a buffer.
1259         (cvs-insert-visited-file): New function.
1260         (find-file-hook): Use it.
1262         * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
1264         * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
1265         chose face.
1266         (log-edit-empty-buffer-p): Don't require a space after a header.
1268         * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
1270         * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
1272         * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
1273         a proper minor-mode.
1275         * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
1277 2012-09-29  Glenn Morris  <rgm@gnu.org>
1279         * winner.el (winner-mode): Remove variable (let define-minor-mode
1280         handle it).
1281         (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
1282         Doc fixes.
1283         (winner-mode-leave-hook): Rename to winner-mode-off-hook.
1284         (winner-mode): Use define-minor-mode.
1286         * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
1287         the full definition in loaddefs, rather than duplicating it.
1289         * help-macro.el (three-step-help): No need to autoload defcustom.
1291         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
1292         (inferior-lisp-program, inferior-lisp-load-command)
1293         (inferior-lisp-prompt, inferior-lisp-mode-hook):
1294         No need to autoload defcustoms.
1296         * hippie-exp.el (hippie-expand-try-functions-list)
1297         (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
1298         (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
1299         (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
1300         (hippie-expand-only-buffers): No need to autoload defcustoms.
1301         * progmodes/vhdl-mode.el (vhdl-line-expand):
1302         Explicitly load hippie-exp, so it does not get autoloaded
1303         while hippie-expand-try-functions-list is let-bound.
1305 2012-09-28  Glenn Morris  <rgm@gnu.org>
1307         * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
1309         * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
1310         Only "cl.el" counts as cl these days.
1312 2012-09-28  Juri Linkov  <juri@jurta.org>
1314         Display archive errors in the echo area instead of inserting
1315         to the file buffer.
1317         * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
1318         to STDERR-TEST that can be a regexp matching a successful output.
1319         Create a temporary file and redirect stderr to it.  Search for
1320         STDERR-TEST in the stderr output and display it in the echo area
1321         if no match is found.
1322         (archive-extract-by-file): New function like
1323         `archive-extract-by-stdout' but extracting archives to files
1324         and looking for successful matches in stdout.  Function body is
1325         mostly copied from `archive-rar-extract'.
1326         (archive-rar-extract): Use `archive-extract-by-file'.
1327         (archive-7z-extract): Use `archive-extract-by-stdout'.  (Bug#10347)
1329 2012-09-28  Leo Liu  <sdl.web@gmail.com>
1331         * pcomplete.el (pcomplete-show-completions):
1332         Use minibuffer-message to make pcomplete usable in minibuffer.
1334         * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
1336 2012-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1338         * type-break.el: Use lexical-binding.
1339         (type-break-mode): Use define-minor-mode.
1341         * emacs-lisp/pcase.el (pcase--mark-used): New.
1342         (pcase--u1): Use it (bug#12512).
1344         * custom.el (load-theme): Set buffer-file-name so the load is recorded
1345         in load-history with the right file name.
1347 2012-09-28  Tassilo Horn  <tsdh@gnu.org>
1349         * doc-view.el (doc-view-current-cache-doc-pdf): New function.
1350         (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
1351         (doc-view-get-bounding-box): Make bounding box slicing work for
1352         ODF and DVI documents.
1354 2012-09-28  Glenn Morris  <rgm@gnu.org>
1356         * type-break.el (type-break-mode, type-break-interval)
1357         (type-break-good-rest-interval, type-break-keystroke-threshold):
1358         No need to autoload.
1359         (type-break-good-rest-interval, type-break-keystroke-threshold):
1360         Add :set-after.
1362 2012-09-28  Chong Yidong  <cyd@gnu.org>
1364         * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
1365         Add :version tag.
1367 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1369         * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
1371 2012-09-27  Glenn Morris  <rgm@gnu.org>
1373         * faces.el (x-display-name): Declare (for without-x builds).
1375         * linum.el (linum-format): Don't autoload it.  Improve :type.
1377         * progmodes/tcl.el: Don't require outline when compiling.
1378         (outline-regexp, outline-level): Declare.
1379         * textmodes/sgml-mode.el: Don't require outline when compiling.
1380         (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
1382         * term.el (term-ansi-reset):
1383         Try setting term-ansi-face-already-done to nil.  (Bug#11785)
1385         * vc/vc.el (vc-next-action): Only gripe about committing read-only
1386         files for RCS and SCCS.  (Bug#9781)
1388 2012-09-27  Chong Yidong  <cyd@gnu.org>
1390         * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
1391         change; value should be t.
1393 2012-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1395         * image-mode.el: Use lexical-binding.
1396         (image-mode-winprops): Use t to stand for the window of
1397         a buffer that's not displayed.
1398         * doc-view.el (doc-view-new-window-function): Handle the new
1399         t in winprops.
1400         (doc-view-enlarge): Make it a real nop if the size is not changed.
1401         (doc-view-display): Handle the case where the buffer is not (yet?)
1402         displayed in any window.
1403         (doc-view-saved-settings): New var.
1404         (doc-view-mode): Use it.
1405         (doc-view-fallback-mode): Set it.
1407         * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
1408         Set lexical-binding.
1409         (minibuffer-eldef-shorten-default): New var.
1410         (minibuffer-default-in-prompt-regexps): Use it for new default.
1411         (minibuf-eldef-setup-minibuffer): Add replacement functionality.
1413 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
1415         * international/uni-bidi.el:
1416         * international/uni-category.el:
1417         * international/uni-name.el:
1418         * international/uni-numeric.el: Regenerate.
1420 2012-09-26  Tomohiro Matsuyama  <tomo@cx4a.org>
1421             Stefan Monnier  <monnier@iro.umontreal.ca>
1423         * profiler.el: New file.
1425 2012-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1427         * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
1428         (testcover-reinstrument): Simplify with CSE.
1430 2012-09-26  Juanma Barranquero  <lekktu@gmail.com>
1432         * window.el (temp-buffer-window-setup): Fix typo in docstring.
1434 2012-09-25  Wilson Snyder  <wsnyder@wsnyder.org>
1436         * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
1437         (verilog-auto-input, verilog-auto-insert-lisp)
1438         (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
1439         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
1440         (verilog-auto-unused, verilog-auto-wire)
1441         (verilog-forward-or-insert-line): Fix AUTOs with no trailing
1442         newline.  Reported by Andrew Jones.
1443         (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
1444         Reported by Brad Dobbie.
1445         (verilog-batch-delete-trailing-whitespace):
1446         Create verilog-batch-delete-trailing-whitespace.
1447         Reported by Brad Dobbie.
1448         (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
1449         parameters from another module.  Reported by Dan Katz.
1450         (verilog-auto, verilog-auto-assign-modport)
1451         (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
1452         AUTOINOUTMODPORT for UVM interface module shell generation.
1453         Reported by Brad Dobbie.
1454         (verilog-auto-inst-interfaced-ports): Make default nil, as more
1455         standard behavior.
1456         (verilog-auto): Fix AUTO parameters with parenthesis arguments.
1457         Reported by Matt Martin.
1459 2012-09-25  Martin Rudalics  <rudalics@gmx.at>
1461         * window.el (window--resize-child-windows): When resizing child
1462         windows proportionally, process them in reverse order to
1463         preserve the "when splitting a window the new one gets the odd
1464         line" behavior.
1465         (window--resize-root-window-vertically): When resizing the
1466         minibuffer window try to affect only windows at the bottom of the
1467         frame.  (Bug#12419)
1469 2012-09-25  Chong Yidong  <cyd@gnu.org>
1471         * subr.el (declare): Doc fix.
1473         * help-fns.el (help-fns--obsolete): Handle macros properly.
1475 2012-09-25  Chong Yidong  <cyd@gnu.org>
1477         * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
1478         this function obsolete.
1480         * calendar/cal-x.el (calendar-two-frame-setup)
1481         (calendar-only-one-frame-setup, calendar-one-frame-setup):
1482         * calendar/calendar.el (american-calendar, european-calendar)
1483         (calendar-for-loop):
1484         * comint.el (comint-dynamic-simple-complete)
1485         (comint-dynamic-complete-as-filename, comint-unquote-filename):
1486         * desktop.el (desktop-load-default):
1487         * dired-x.el (dired-omit-here-always)
1488         (dired-hack-local-variables, dired-default-directory):
1489         * emacs-lisp/derived.el (derived-mode-class):
1490         * emacs-lisp/timer.el (timer-set-time-with-usecs):
1491         * emacs-lock.el (toggle-emacs-lock):
1492         * epa.el (epa-display-verify-result):
1493         * epg.el (epg-sign-keys, epg-start-sign-keys)
1494         (epg-passphrase-callback-function):
1495         * eshell/esh-util.el (eshell-for):
1496         * eshell/eshell.el (eshell-remove-from-window-buffer-names)
1497         (eshell-add-to-window-buffer-names):
1498         * files.el (locate-file-completion):
1499         * imenu.el (imenu-example--create-c-index)
1500         (imenu-example--create-lisp-index)
1501         (imenu-example--lisp-extract-index-name)
1502         (imenu-example--name-and-position):
1503         * international/mule-cmds.el (princ-list):
1504         * international/mule-diag.el (decode-codepage-char):
1505         * international/mule-util.el (detect-coding-with-priority):
1506         * iswitchb.el (iswitchb-read-buffer):
1507         * mail/mailalias.el (mail-complete):
1508         * mail/sendmail.el (mail-sent-via):
1509         * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
1510         (mouse-major-mode-menu):
1511         * password-cache.el (password-read-and-add):
1512         * pcomplete.el (pcomplete-parse-comint-arguments):
1513         * progmodes/sh-script.el (sh-maybe-here-document):
1514         * replace.el (query-replace-regexp-eval):
1515         * savehist.el (savehist-load):
1516         * simple.el (choose-completion-delete-max-match):
1517         * term.el (term-dynamic-simple-complete):
1518         * vc/ediff-init.el (ediff-check-version):
1519         * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
1520         * vc/vc.el (vc-diff-switches-list):
1521         * view.el (view-return-to-alist-update): Likewise.
1523         * subr.el (eval-next-after-load, makehash, insert-string)
1524         (assoc-ignore-representation, assoc-ignore-case): Use declare to
1525         mark obsolete.
1526         (mode-line-inverse-video): Variable deleted.
1528         * international/mule-util.el (string-to-sequence): Remove.
1530         * calendar/calendar.el (calendar-version):
1531         * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
1532         (icalendar-convert-diary-to-ical):
1533         * cus-edit.el (custom-mode):
1534         * ansi-color.el (ansi-color-unfontify-region):
1535         * international/latin1-disp.el (latin1-char-displayable-p):
1536         * progmodes/cwarn.el (turn-on-cwarn-mode):
1537         * progmodes/which-func.el (which-func-update-1):
1538         Use define-obsolete-function-alias.
1540         * net/newst-backend.el (newsticker-cache-filename):
1541         * net/newst-treeview.el (newsticker-groups-filename):
1542         Fix incorrect obsolescence declaration.
1544         * allout.el (allout-passphrase-hint-string): Likewise.
1545         (allout-init): Use a declare form to mark obsolete.
1547         * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
1548         this applies to functions.
1550         * iswitchb.el (iswitchb-read-buffer): Move code of
1551         iswitchb-define-mode-map here, and delete that obsolete function.
1553         * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
1554         font-lock-reference-face.
1556 2012-09-25  Glenn Morris  <rgm@gnu.org>
1558         * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
1559         Doc fixes.
1561         * eshell/em-term.el (eshell-term-name):
1562         Default to term-term-name.  (Bug#12485)
1564 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
1566         * progmodes/python.el (python-shell-send-buffer): Better handling
1567         of "if __name__ == '__main__':" conditionals when sending the buffer.
1569 2012-09-24  Glenn Morris  <rgm@gnu.org>
1571         * eshell/esh-cmd.el (eshell-find-alias-function):
1572         Tighten up file-name regexp.  (Bug#12499)
1574 2012-09-24  Fabián Ezequiel Gallina  <fgallina@cuca>
1576         Enhancements for triple-quote string syntax.
1577         * progmodes/python.el (python-quote-syntax): Remove.
1578         (python-syntax-propertize-function): New value.
1579         (python-syntax-count-quotes, python-syntax-stringify):
1580         New functions.
1582 2012-09-24  Chong Yidong  <cyd@gnu.org>
1584         * mail/supercite.el (sc-version): Remove obsolete function.
1585         (sc-describe): Don't mark as obsolete, since it is bound.
1586         (sc-submit-bug-report): Remove.
1588         * vc/log-edit.el (cvs-changelog-full-paragraphs)
1589         (cvs-commit-buffer-require-final-newline): Remove.
1590         (log-edit-require-final-newline)
1591         (log-edit-changelog-full-paragraphs): Default to t.
1593         * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
1594         * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
1595         * vc/vc.el (vc-checkout-carefully): Likewise.
1597         * vc/emerge.el (emerge-mode): Make it an obsolete alias.
1598         (emerge-version): Remove.
1600         * progmodes/compile.el (compile-internal): Remove.
1601         (compilation-parse-errors-function): Fix typo.
1603         * international/mule.el (set-char-table-default): Remove.
1604         (set-coding-priority, make-coding-system, generic-char-p)
1605         (charset-list, charset-bytes, charset-id): Use declare to mark
1606         functions as obsolete.
1608         * vc/pcvs-defs.el (cvs-buffer-name-alist)
1609         (cvs-invert-ignore-marks): Remove references to obsolete vars.
1610         * vc/vc-hooks.el (vc-default-registered): Don't use
1611         vc-master-templates.
1613         * font-lock.el (font-lock-reference-face):
1614         Use define-obsolete-variable-alias.
1616         * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
1617         * calendar/calendar.el (calendar-font-lock-keywords):
1618         * calendar/diary-lib.el (diary-font-lock-keywords)
1619         (diary-fancy-font-lock-keywords):
1620         * textmodes/reftex-sel.el (reftex-insert-docstruct):
1621         * textmodes/reftex-index.el (reftex-insert-index):
1622         * textmodes/reftex-cite.el (reftex-format-bib-entry):
1623         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
1624         * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
1625         * progmodes/prolog.el (prolog-font-lock-keywords):
1626         * progmodes/idlwave.el (idlwave-idl-keywords):
1627         * progmodes/ada-mode.el (ada-font-lock-keywords):
1628         * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
1630 2012-09-24  Glenn Morris  <rgm@gnu.org>
1632         * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
1634 2012-09-23  Fabián Ezequiel Gallina  <fgallina@cuca>
1636         * progmodes/python.el (python-indent-line): More consistent cursor
1637         movement behavior.
1639 2012-09-23  Stefan Merten  <smerten@oekonux.de>
1641         * textmodes/rst.el: Fix compiler warning.
1643 2012-09-23  Roland Winkler  <winkler@gnu.org>
1645         * textmodes/bibtex.el (bibtex-autokey-transcriptions):
1646         Transcribe also LaTeX hyphenation.
1647         (bibtex-reformat): Bug fix. Do not quote twice the elements of
1648         bibtex-reformat-previous-options.
1650 2012-09-23  Roland Winkler  <winkler@gnu.org>
1652         * proced.el (proced-renice-command): New variable.
1653         (proced-marked-processes): New function.
1654         (proced-with-processes-buffer): New macro.
1655         (proced-send-signal): Use them.
1656         (proced-renice): New command bound to r.
1658 2012-09-23  Roland Winkler  <winkler@gnu.org>
1660         * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
1661         ibuffer-saved-filter-groups has one element, shortcut the call of
1662         completing-read.  (Bug#12331)
1664 2012-09-23  Chong Yidong  <cyd@gnu.org>
1666         * bindings.el (mode-line-toggle-read-only):
1667         * bs.el (bs-toggle-readonly):
1668         * buff-menu.el (Buffer-menu-toggle-read-only):
1669         * dired.el (dired-toggle-read-only):
1670         * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
1672 2012-09-23  Chong Yidong  <cyd@gnu.org>
1674         * image.el (image-type-available-p): Adapt to init-image-library
1675         argument changes.
1677 2012-09-22  Juri Linkov  <juri@jurta.org>
1679         * dired.el (dired-mode-map): Add [remap read-only-mode] for
1680         `dired-toggle-read-only'.  (Bug#12462)
1682 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
1684         * subr.el (temp-output-buffer-show): New function.
1685         (with-output-to-temp-buffer): Call temp-output-buffer-show
1686         instead of internal-temp-output-buffer-show.
1688 2012-09-22  Chong Yidong  <cyd@gnu.org>
1690         * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
1691         (Bug#12462).
1693         * repeat.el (repeat): Doc fix (Bug#12348).
1695         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
1696         (Bug#10909).
1698         * simple.el (shell-command-on-region): Doc fix.
1699         (read-only-mode): Doc fix.
1701 2012-09-22  Eli Zaretskii  <eliz@gnu.org>
1703         * emacs-lisp/timer.el (run-with-idle-timer)
1704         (timer-activate-when-idle): Warn against reinvoking an idle timer
1705         from within its own timer action.  (Bug#12447)
1707 2012-09-22  Martin Rudalics  <rudalics@gmx.at>
1709         * cus-start.el (window-combination-limit): Add new optional
1710         values.
1711         * window.el (temp-buffer-window-show)
1712         (window--try-to-split-window): Handle new values of
1713         window-combination-limit (Bug#1806).
1714         (split-window): Test window-combination-limit for t instead of
1715         non-nil.
1716         (display-buffer-at-bottom): New buffer display action function.
1717         * help.el (temp-buffer-resize-regexps): New option.
1718         (temp-buffer-resize-mode): Rewrite doc-string.
1719         (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
1720         Don't resize reused window.  Suggested by Glenn Morris.
1722 2012-09-22  Stefan Merten  <smerten@oekonux.de>
1724         * textmodes/rst.el: Revamp section title faces.
1725         (rst-official-version)
1726         (rst-package-emacs-version-alist): Sync with official version
1727         V1.4.0.
1728         (rst-faces-defaults, rst-set-level-default)
1729         (rst-level-face-max, rst-level-face-base-color)
1730         (rst-level-face-base-light, rst-level-face-format-light)
1731         (rst-level-face-step-light, rst-define-level-faces): Obsolete.
1732         (rst-adornment-faces-alist): Match new setup.
1733         (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
1734         (rst-level-5, rst-level-6): New faces.
1736 2012-09-22  Chong Yidong  <cyd@gnu.org>
1738         * simple.el (undo): Handle indirect buffers (Bug#8207).
1740 2012-09-21  Leo Liu  <sdl.web@gmail.com>
1742         IDO: Disable match re-ordering for buffer switching.
1743         * ido.el (ido-buffer-disable-smart-matches): New variable.
1744         (ido-set-matches-1): Use it.  (Bug#2042)
1746 2012-09-21  Jose Marino  <marinoj@nso.edu>  (tiny change)
1748         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
1749         Fix 2011-05-17 change.  (Bug#12418)
1751 2012-09-21  Leo Liu  <sdl.web@gmail.com>
1753         * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
1755 2012-09-21  Glenn Morris  <rgm@gnu.org>
1757         * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
1758         Be more robust about locating simple.el.
1760 2012-09-21  Glenn Morris  <rgm@gnu.org>
1762         * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
1764 2012-09-21  Joel Bion  <jpbion@westvi.com>  (tiny change)
1766         * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz.  (Bug#12382)
1768 2012-09-20  Juri Linkov  <juri@jurta.org>
1770         * replace.el (query-replace-read-from): Use `read-regexp' instead
1771         of `read-from-minibuffer' when `regexp-flag' is non-nil.
1772         (occur-read-primary-args): Use `read-regexp' instead of
1773         `read-string'.
1774         (multi-occur-in-matching-buffers): Use `read-regexp' instead of
1775         `read-from-minibuffer'.
1776         * isearch.el (isearch-occur): Use `read-regexp' instead of
1777         `read-string'.
1778         * dired.el (dired-read-regexp): Use `read-regexp' instead of
1779         `read-from-minibuffer'.
1780         * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
1781         of `read-string'.  (Bug#7567)
1783         * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
1784         and allow accepting a list of strings prepended to a list of
1785         standard default values.  Doc fix.  (Bug#12321)
1787         * replace.el (read-regexp): Add HISTORY arg.  (Bug#7567)
1789         * replace.el (read-regexp): Don't add ": " when PROMPT already
1790         ends with a colon and space.  (Bug#12321)
1792 2012-09-20  Tassilo Horn  <tsdh@gnu.org>
1794         * doc-view.el (doc-view-display): Better fix for the cl-assertion
1795         error.
1797 2012-09-20  Stefan Merten  <smerten@oekonux.de>
1799         * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
1800         Fixes feature request bug#11711.
1801         (rst-mode): Create `imenu-create-index-function'.
1802         (rst-get-stripped-line): Delete after refactoring.
1803         (rst-section-tree, rst-section-tree-rec)
1804         (rst-section-tree-point): Refactor and document properly.
1805         (rst-imenu-find-adornments-for-position)
1806         (rst-imenu-convert-cell, rst-imenu-create-index):
1807         New function.
1809 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1811         * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
1812         (macroexp--expand-all): Use it.
1813         (macroexp--funcall-and-return): Remove by folding it into its sole
1814         caller (macroexp--warn-and-return).
1815         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
1816         Use macroexp--obsolete-warning.
1818         * calc/calc.el: Fix last change by removing the whole chunk, since it
1819         was only needed back when Calc was not bundled.
1821 2012-09-20  Martin Rudalics  <rudalics@gmx.at>
1823         * emacs-lisp/debug.el (debug): Restore assignment to
1824         debugger-old-buffer removed on 2012-09-08.
1826 2012-09-20  Juri Linkov  <juri@jurta.org>
1828         * dired-aux.el (dired-diff): Remove (require 'diff) since
1829         `diff-latest-backup-file' is now autoloaded.
1831 2012-09-20  Chong Yidong  <cyd@gnu.org>
1833         * vc/diff.el (diff-latest-backup-file): Autoload.
1835 2012-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1837         * calc/calc.el: Remove redundant autoload shape check.
1838         (sel-mode): Don't defvar.
1839         (calc-get-stack-element): Add `sel-mode' arg instead.
1840         (calc-top, calc-top-list): Pass it this additional argument.
1841         * calc/calc-store.el (calc-store-map):
1842         * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
1843         (calc-map-equation, calc-outer-product, calc-inner-product):
1844         * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
1846         * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
1848 2012-09-19  Juri Linkov  <juri@jurta.org>
1850         * dired-aux.el (dired-diff): Add (require 'diff) because
1851         `diff-latest-backup-file' is not autoloaded.
1852         (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
1853         of `dired-get-filename' to t to not report error when there is
1854         no default file on the current line.
1856 2012-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1858         * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
1859         macroexp--eval-if-compile.
1860         (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
1861         (macroexp--expand-all): Use them (bug#12371).
1863         * doc-view.el (doc-view-guess-paper-size)
1864         (doc-view-scale-bounding-box): Fix unbound `caddr'.
1866 2012-09-19  Tassilo Horn  <tsdh@gnu.org>
1868         New feature: set optimal slice from BoundingBox information.
1869         * doc-view.el (doc-view-mode-map): Add keybinding.
1870         (doc-view-menu): Add menu entry.
1871         (doc-view-set-slice): Adapt docstring.
1872         (doc-view-get-bounding-box, doc-view-guess-paper-size)
1873         (doc-view-scale-bounding-box)
1874         (doc-view-set-slice-from-bounding-box): New functions.
1875         (doc-view-paper-sizes): New defvar.
1877 2012-09-19  Glenn Morris  <rgm@gnu.org>
1879         * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
1880         (byte-compile-log-warning): Autoload.  (Bug#12371)
1882         * calendar/calendar.el (calendar-american-month-header)
1883         (calendar-european-month-header, calendar-iso-month-header)
1884         (calendar-month-header): New options.
1885         (calendar-set-date-style): Set calendar-month-header.  Redraw calendar.
1886         (calendar-generate-month): Use calendar-month-header.  (Bug#9510)
1888 2012-09-19  Jan Djärv  <jan.h.d@swipnet.se>
1890         * startup.el (command-line-ns-option-alist): Add -g and --geometry.
1892 2012-09-18  Juri Linkov  <juri@jurta.org>
1894         * dired-aux.el (dired-diff): Restore original functionality of
1895         getting the default value, but keep new feature of using the
1896         latest existing backup file (`diff-latest-backup-file').
1898 2012-09-18  Juri Linkov  <juri@jurta.org>
1900         * dired.el (dired-mark): If the region is active in Transient Mark
1901         mode, mark all files in the active region.  Doc fix.
1902         (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
1903         Doc fix.  (Bug#10624)
1905 2012-09-18  Juri Linkov  <juri@jurta.org>
1907         * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
1908         attributes for M-n are pulled from the file at point.
1909         (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
1910         Suggested by Drew Adams.  (Bug#10624)
1912 2012-09-18  Dmitry Gutov  <dgutov@yandex.ru>
1914         * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
1915         whitespace after "end".
1916         (ruby-do-end-to-brace): Collapse block to one line if it fits
1917         within fill-column.
1919 2012-09-18  Martin Rudalics  <rudalics@gmx.at>
1921         * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
1922         value.
1923         (debug): Don't remove debugger window when debugger is expected
1924         to be back.
1926 2012-09-18  Chong Yidong  <cyd@gnu.org>
1928         * custom.el (defface): Doc fix.
1930         * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
1932 2012-09-18  Martin Blais  <blais@furius.ca>  (tiny change)
1934         * progmodes/compile.el (compilation-start): Use compilation-always-kill
1935         to initialize query-on-exit; then test that instead (bug#12288).
1937 2012-09-17  Stefan Merten  <smerten@oekonux.de>
1939         * textmodes/rst.el: Add support for `testcover'.
1940         (rst-defcustom-testcover, rst-testcover-add-compose)
1941         (rst-testcover-add-1value): New functions.
1942         (rst-portable-mark-active-p): Replace by `use-region-p'.
1943         (rst-update-section, rst-classify-adornment)
1944         (rst-find-title-line): Mark `1value' forms.
1945         (rst-classify-adornment): Remove superfluous form.
1946         (rst-update-section, rst-get-adornments-around)
1947         (rst-adornment-complete-p, rst-get-next-adornment)
1948         (rst-adjust, rst-promote-region)
1949         (rst-display-adornments-hierarchy, rst-straighten-adornments)
1950         (rst-find-pfx-in-region, rst-section-tree-rec)
1951         (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
1952         (rst-toc-node, rst-toc, rst-forward-section)
1953         (rst-iterate-leftmost-paragraphs)
1954         (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
1955         (rst-bullet-list-region)
1956         (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
1957         (rst-compile-find-conf, rst-compile)
1958         (rst-repeat-last-character): Fix style.
1960 2012-09-17  Chong Yidong  <cyd@gnu.org>
1962         * comint.el (comint--complete-file-name-data): Don't add a space
1963         if the status is `sole'; that adds a gratuitous space in the
1964         completion-cycling case (Bug#12092).
1966         * pcomplete.el (pcomplete-completions-at-point): Likewise.
1968 2012-09-17  Richard Stallman  <rms@gnu.org>
1970         * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
1971         only in the mime-shown mode, not in raw mode.
1972         (rmail-mime): Toggle off mime by displaying the message without
1973         mime processing.  (Bug#12305)
1975         * mail/rmail.el (rmail-retry-failure):
1976         Turn off mime processing first.  (Bug#12037)
1978         * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
1980 2012-09-17  Chong Yidong  <cyd@gnu.org>
1982         * shell.el (shell-file-name-chars, shell-file-name-quote-list)
1983         (shell-dynamic-complete-functions): Convert to defcustom.
1984         (shell-prompt-pattern, shell-completion-fignore): Doc fix.
1986         * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
1987         * comint.el (comint-prompt-read-only):
1988         * custom.el (defcustom):
1989         * hi-lock.el (hi-lock-mode):
1990         * ibuffer.el (ibuffer-formats):
1991         * ielm.el (ielm-prompt-read-only):
1992         * novice.el (disable-command):
1993         * saveplace.el (toggle-save-place):
1994         * speedbar.el (speedbar-supported-extension-expressions):
1995         * startup.el (auto-save-list-file-prefix, init-file-user)
1996         (after-init-hook, inhibit-startup-echo-area-message):
1997         * strokes.el (strokes-help):
1998         * time-stamp.el (time-stamp):
1999         * calendar/calendar.el (calendar, diary-file):
2000         * calendar/diary-lib.el (diary-mail-entries, diary)
2001         (diary-list-entries-hook):
2002         * calendar/holidays.el (holidays, calendar-holidays):
2003         * calendar/lunar.el (lunar-phases):
2004         * calendar/solar.el (sunrise-sunset):
2005         * emulation/edt.el (edt-load-keys):
2006         * emulation/viper.el (viper-mode):
2007         * eshell/em-alias.el (eshell-command-aliases-list):
2008         * eshell/esh-util.el (eshell-convert-numeric-arguments):
2009         * international/ogonek.el (ogonek-information):
2010         * net/tramp-cmds.el (tramp-bug):
2011         * net/quickurl.el (quickurl-reread-hook-postfix):
2012         * play/decipher.el (decipher-font-lock-keywords):
2013         * progmodes/cc-styles.el (c-set-style):
2014         * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
2015         * progmodes/inf-lisp.el (inferior-lisp-prompt):
2016         * progmodes/octave-mod.el (octave-mode):
2017         * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
2018         * progmodes/verilog-mode.el (verilog-read-defines):
2019         * textmodes/two-column.el (2C-mode): Likewise.
2021 2012-09-16  Katsumi Yamaoka  <yamaoka@jpl.org>
2023         * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
2024         that holds many addresses.
2026 2012-09-16  Chong Yidong  <cyd@gnu.org>
2028         * align.el (align-areas): Call the indication function with
2029         positions instead of markers for arguments (Bug#12343).
2031         * files.el (parse-colon-path): Use split-string (Bug#12351).
2033         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
2034         (display-buffer-function): Mark as obsolete.
2036         * progmodes/compile.el (compilation-parse-errors): Accept list
2037         values similar to font-lock-keywords (Bug#12136).
2038         Suggested by Oleksandr Manzyuk.
2039         (compilation-error-regexp-alist): Doc fix.
2041 2012-09-15  Glenn Morris  <rgm@gnu.org>
2043         * version.el (emacs-bzr-version-bzr): New function.
2044         (emacs-bzr-get-version): Add optional EXTERNAL argument.
2046         * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
2047         checkouts, check the parent dirstate matches the branch.
2048         Add "--tree" to "bzr revno" arguments.  Don't try to shorten the
2049         empty string.
2051         * version.el (emacs-bzr-version): Doc fix.
2052         (emacs-bzr-version-dirstate): New function.
2053         (emacs-bzr-get-version): For lightweight checkouts, if the parent
2054         is local try and check that it matches the branch.  If not, just
2055         use dirstate information.  (Bug#12441)
2057 2012-09-14  Juri Linkov  <juri@jurta.org>
2059         * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
2060         (Bug#12399)
2062 2012-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2064         * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
2066         * emacs-lisp/edebug.el: Miscellaneous cleanup.
2067         Remove obsolete byte-compiler hack that tried to silence some warnings.
2068         (edebug-submit-bug-report): Remove.
2069         (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
2070         Remove aliases, use the un-prefixed name instead.
2071         (edebug-pop-to-buffer): Consider other frames.
2072         (edebug-original-read):: Make it more obvious that it's always defined.
2073         (edebug--make-form-data-entry, edebug--form-data-name)
2074         (edebug--form-data-begin, edebug--form-data-end): Rename from the
2075         single-dashed name, and implement with cl-defstruct.
2076         (edebug-set-form-data-entry): Use the standard accessors.
2077         (edebug-make-top-form-data-entry): Use push.
2078         (edebug-no-match): Drop useless `funcall'.
2079         (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
2080         to functions.
2081         (defsubst, dont-compile, eval-when-compile, eval-and-compile)
2082         (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
2083         (with-syntax-table, push, pop, 1value, noreturn, defadvice)
2084         (easy-menu-define, with-custom-print): Remove redundant specs.
2085         (edebug-outside-overriding-local-map)
2086         (edebug-outside-overriding-terminal-local-map): Remove, unused.
2087         (edebug--display): Bind unread-command-events directly to nil rather
2088         than binding it to unread-command-events and later setting it to nil.
2089         (edebug--display): Kill edebug-eval-buffer here...
2090         (edebug--recursive-edit): ...rather than here.
2091         Bind standard-output and standard-input.
2092         (edebug-eval): Check cl-macroexpand-all is fboundp.
2093         (edebug-temp-display-freq-count): Fix last change.
2095         * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
2096         * subr.el (noreturn, 1value): Add `debug' spec.
2097         * emacs-lisp/advice.el: Require cl-lib.
2098         (ad-copy-tree): Remove, use copy-tree instead.
2099         (ad-dolist): Remove use dolist or cl-dolist instead.
2100         (ad-do-return): Remove, use cl-return instead.
2101         (defadvice): Add `debug' spec.
2103 2012-09-13  Juri Linkov  <juri@jurta.org>
2105         * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
2106         (Bug#12399)
2108 2012-09-13  Glenn Morris  <rgm@gnu.org>
2110         * calc/calc.el (math-compose-expr):
2111         * calc/calc-ext.el (math-compose-expr):
2112         * progmodes/cc-defs.el (cl-macroexpand-all):
2113         * progmodes/cc-langs.el (delete-duplicates, mapcan)
2114         (cl-macroexpand-all): Update declarations.
2116         * vc/vc.el: No need to require ediff.
2117         (ediff-load-version-control): Declare.
2118         (ediff-vc-internal): Fix declaration.
2119         (vc-version-ediff): Require ediff.
2121 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
2123         Use a more backwards-compatible timer format (Bug#12430).
2124         * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
2125         being right after USECS, as that better supports old code that
2126         inadvisedly looked directly at the timer vector.
2128 2012-09-13  Kenichi Handa  <handa@gnu.org>
2130         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
2131         ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
2132         `coding-priority' property of these language environment.
2134 2012-09-13  Paul Eggert  <eggert@cs.ucla.edu>
2136         Fix glitches caused by addition of psec to timers (Bug#12430).
2137         * image.el (image-animate-timer):
2138         * time.el (display-time-world-timer):
2139         Use timer--function and timer--args rather than raw access to
2140         timer vector.
2142 2012-09-13  Glenn Morris  <rgm@gnu.org>
2144         * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
2145         If not compiling a file, try using load-file-name.
2147 2012-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2149         * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
2150         Fix last change.
2151         (edebug-update-eval-list): Use `push'.
2153         * emacs-lisp/edebug.el: Use lexical-binding.
2154         Remove the "edebug-" prefix from non-dynamically-scoped variables.
2155         Mark unused args with underscore.
2156         (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
2157         (edebug-form-data): Use defvar-local.
2158         (edebug-make-before-and-after-form, edebug-make-after-form):
2159         Use backquote.
2160         (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
2161         Not dynamically scoped any more.
2162         (edebug--enter-trace): Add arguments `function' and `args'.
2163         Rename from edebug-enter-trace.
2164         (edebug-enter): Call it accordingly.  Bind edebug-function explicitly.
2165         (edebug--update-coverage): Add `after-index' and `value' args.
2166         Rename from edebug-update-coverage.
2167         (edebug-slow-after): Call it accordingly.
2168         (edebug--recursive-edit): Add arg `arg-mode'.  Rename from
2169         edebug-recursive-edit.
2170         (edebug--display): Call it accordingly.  Add args `value',
2171         `offset-index', and `arg-mode'.  Rename from edebug-display.
2172         (edebug-debugger, edebug): Call it accordingly.
2173         (edebug-eval-display-list): Use dolist.
2175 2012-09-12  Juri Linkov  <juri@jurta.org>
2177         * info.el (Info-search): Don't check for isearch-mode and
2178         isearch-regexp before let-binding search-spaces-regexp to
2179         Info-search-whitespace-regexp.
2180         (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
2181         search-whitespace-regexp if isearch-lax-whitespace or
2182         isearch-regexp-lax-whitespace is non-nil.
2183         (Info-mode): Don't set local variable search-whitespace-regexp.
2184         http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
2186 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2188         * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
2189         (debugger-env-macro): Remove support for unread-command-char.
2191         * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
2192         the temporary map re-appearing on emulation-mode-map-alists.
2194         * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
2195         since 22.1.
2197         * ehelp.el (with-electric-help): Accept functions in
2198         electric-help-form-to-execute.
2199         (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
2200         And replace unread-command-char -> unread-command-events.
2202 2012-09-12  Michael Albinus  <michael.albinus@gmx.de>
2204         Sync with Tramp 2.2.6.
2206         * net/tramp.el (tramp-accept-process-output): Don't use
2207         JUST-THIS-ONE in the XEmacs case.
2209         * net/trampver.el: Update release number.
2211 2012-09-12  Martin Rudalics  <rudalics@gmx.at>
2213         * emacs-lisp/debug.el (debugger-previous-window-height):
2214         New variable.
2215         (debug): When debugger-jumping-flag is non-nil try to restore
2216         height of debugger window.  (Bug#8789)
2218 2012-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2220         * emacs-lisp/edebug.el (edebug-enter): Don't mess with
2221         overriding-local-map and pre/post-command-hook here.
2222         (edebug-recursive-edit): Do it here instead (bug#12345).
2223         (edebug-outside-unread-command-char): Remove all uses of
2224         unread-command-char.
2226         * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
2227         inhibit-debugger is bound instead.
2229 2012-09-11  Bastien Guerry  <bzg@gnu.org>
2231         * subr.el (set-temporary-overlay-map): Add a docstring.
2232         (Bug#12346)
2234 2012-09-11  Bastien Guerry  <bzg@gnu.org>
2236         * minibuffer.el (completion-table-subvert): Fix docstring.
2237         (Bug#12347)
2239 2012-09-11  Bastien Guerry  <bzg@gnu.org>
2241         * help-fns.el (describe-variable): Fix typo.  (Bug#12346)
2243 2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
2245         * progmodes/sql.el: Version 3.1
2246         (sql-db2-escape-newlines): New variable.
2247         (sql-escape-newlines-filter): Use it.
2249 2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
2251         * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
2253 2012-09-10  Dan Nicolaescu  <dann@gnu.org>
2255         * vc/diff-mode.el (diff-mode-menu):
2256         Bind diff-remove-trailing-whitespace.
2258 2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2260         * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
2261         (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
2262         (emacs-lisp-byte-code-mode): New functions.
2263         (eval-sexp-add-defvars): Don't skip defvars in column >0.
2264         (eval-defun-2): Remove bogus interactive spec.
2265         (lisp-indent-line): Remove redundant whole-exp code, now done in
2266         indent-according-to-mode.
2267         (save-match-data): Remove redundant indent data.
2269         * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
2270         Use `declare'.
2272 2012-09-09  Juri Linkov  <juri@jurta.org>
2274         * replace.el (replace-regexp-lax-whitespace): New defcustom.
2275         (replace-lax-whitespace, query-replace-regexp)
2276         (query-replace-regexp-eval, replace-regexp): Doc fix.
2277         (perform-replace, replace-highlight): Let-bind
2278         isearch-lax-whitespace to replace-lax-whitespace and
2279         isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
2281         * isearch.el (isearch-query-replace): Let-bind
2282         replace-lax-whitespace to isearch-lax-whitespace and
2283         replace-regexp-lax-whitespace to
2284         isearch-regexp-lax-whitespace.  (Bug#10885)
2286 2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2288         * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
2290 2012-09-09  Alan Mackenzie  <acm@muc.de>
2292         * progmodes/cc-engine.el (c-state-cache-init):
2293         Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
2294         (c-record-parse-state-state):
2295         Record c-state-semi-nonlit-pos-cache\(-limit\)?.
2297 2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
2299         * register.el (register-separator): Rename from
2300         separator-register.  All uses changed.  Doc fix.
2301         (register): Fix version.
2303 2012-09-09  Chong Yidong  <cyd@gnu.org>
2305         * replace.el (query-replace-map): Bind four new symbols for
2306         requesting window scrolling.
2308         * subr.el (y-or-n-p): Handle the window-scrolling bindings in
2309         query-replace-map (Bug#8948).
2311         * custom.el (custom-theme-load-confirm): Use y-or-n-p.
2313         * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
2314         since they are now in query-replace-map.
2316         * window.el (scroll-other-window-down): Make the arg optional.
2318 2012-09-09  Chong Yidong  <cyd@gnu.org>
2320         * files.el (hack-local-variables-confirm): Use quit-window to kill
2321         the *Local Variables* buffer.
2323 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
2325         * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
2326         not just expect to be at its beginning.  Adjust callees.
2327         Succeed when do-end block has no space before the pipe character.
2328         (ruby-brace-to-do-end): When the original block is one-liner,
2329         convert to multiline.  Reindent the result.
2331 2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
2333         * register.el (register): New group.
2334         (separator-register): New user option.
2335         (increment-register): Route it to `append-to-register', if
2336         register contains text.  Implication is that `C-x r +' can now be
2337         used for appending to a text register (bug#12217).
2338         (append-to-register, prepend-to-register): Add separator based on
2339         `separator-register'.
2341 2012-09-08  Alan Mackenzie  <acm@muc.de>
2343         AWK Mode: make auto-newline work when there's "==" in the pattern.
2344         * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
2345         correctly.
2346         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
2347         Test more rigorously for "=" token.
2349 2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
2351         * progmodes/ruby-mode.el (ruby-match-expression-expansion):
2352         Only fail when reached LIMIT.
2354 2012-09-08  Chong Yidong  <cyd@gnu.org>
2356         * dired.el (dired-mode-map): Don't bind M-=.
2358         * dired-aux.el (dired-diff): Use backup file as default.
2360 2012-09-08  Drew Adams  <drew.adams@oracle.com>
2362         * subr.el (add-to-history): Fix delete usage (Bug#12314).
2364 2012-09-08  Chong Yidong  <cyd@gnu.org>
2366         * subr.el (syntax-after, syntax-class): Doc fix.
2368 2012-09-08  Martin Rudalics  <rudalics@gmx.at>
2370         * window.el (display-buffer-in-previous-window): New buffer
2371         display action function.
2373         * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
2374         (debugger-previous-window): New variable.
2375         (debug): Rewrite using display-buffer-in-previous-window,
2376         quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
2378 2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2380         * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
2382 2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
2384         * progmodes/python.el (python-shell-send-string):
2385         When default-directory is remote, create temp file on remote
2386         filesystem.
2387         (python-shell-send-file): When file is remote, pass local view of
2388         file paths to remote Python interpreter.  (Bug#12340)
2390 2012-09-07  Chong Yidong  <cyd@gnu.org>
2392         * window.el (switch-to-buffer): Doc fix (Bug#12181).
2394         * files.el (after-find-file): Don't fail on a read-only buffer if
2395         require-final-newline is `visit' or `visit-save' (Bug#11156).
2397         * subr.el (read-char-choice): Allow quitting via ESC ESC.
2399         * userlock.el (ask-user-about-supersession-threat):
2400         Use read-char-choice (Bug#12093).
2402 2012-09-07  Chong Yidong  <cyd@gnu.org>
2404         * subr.el (buffer-narrowed-p): New function.
2406         * ses.el (ses-widen):
2407         * simple.el (count-words--buffer-message):
2408         * net/browse-url.el (browse-url-of-buffer): Use it.
2410         * simple.el (count-words-region): Don't signal an error if there
2411         is a non-nil prefix arg and the mark is not set.
2413         * help.el (describe-key-briefly): Allow the message to be seen
2414         when invoked from the minibuffer (Bug#7014).
2416 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
2418         * progmodes/ruby-mode.el (ruby-end-of-defun)
2419         (ruby-beginning-of-defun): Simplify, allow indentation before
2420         block beginning and end keywords.
2421         (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
2422         (ruby-end-of-defun): Expect that the point is at the beginning of
2423         the defun.
2425 2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2427         * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
2428         (bug#12367).
2429         (cl--make-usage-args): Strip _ from argument names.
2431 2012-09-06  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2433         * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
2434         obsolete alias speedbar-key-map.
2435         (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
2436         (vhdl-index-menu-init): Don't use obsolete variable
2437         font-lock-maximum-size.
2439 2012-09-06  Chong Yidong  <cyd@gnu.org>
2441         * frame.el (window-system-version): Mark as obsolete.
2443         * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
2444         of obsolete variable speedbar-key-map.
2446 2012-09-06  Juri Linkov  <juri@jurta.org>
2448         * replace.el (replace-lax-whitespace): New defcustom.
2449         (query-replace, query-replace-regexp, query-replace-regexp-eval)
2450         (replace-string, replace-regexp): Mention it in docstrings.
2451         (perform-replace, replace-highlight): Let-bind
2452         isearch-lax-whitespace and isearch-regexp-lax-whitespace according
2453         to the values of replace-lax-whitespace and regexp-flag.
2454         Don't let-bind search-whitespace-regexp.  (Bug#10885)
2456         * isearch.el (isearch-query-replace): Let-bind
2457         replace-lax-whitespace instead of let-binding
2458         replace-search-function and replace-re-search-function.
2459         (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
2460         and isearch-regexp-lax-whitespace to lazy-highlight variables.
2461         (isearch-toggle-symbol): Set isearch-regexp to nil
2462         in isearch-word mode (like in isearch-toggle-word).
2464 2012-09-06  Juri Linkov  <juri@jurta.org>
2466         * replace.el (replace-search-function)
2467         (replace-re-search-function): Set default values to nil.
2468         (perform-replace): Let-bind isearch-related variables based on
2469         replace-related values, call `isearch-search-fun' and let-bind
2470         the result to `search-function'.  Remove code that sets
2471         `search-function' and `search-string' separately for
2472         `delimited-flag'.
2473         (replace-highlight): Add new argument `delimited-flag' and
2474         rename other arguments to the names used in `perform-replace'.
2475         Let-bind `isearch-word' to the argument `delimited-flag'.
2476         (Bug#10885, bug#10887)
2478 2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
2480         * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
2481         ruby-beginning-of-indent, simplify, allow all keywords to have
2482         indentation before them.
2483         (ruby-beginning-of-indent): Adjust for above.  Search until the
2484         found point is not inside a string or comment.
2485         (ruby-font-lock-keywords): Allow symbols to start with "@"
2486         character, give them higher priority than variables.
2487         (ruby-syntax-propertize-function)
2488         (ruby-font-lock-syntactic-keywords): Remove the "not comments"
2489         matchers.  Expression expansions are not comments when inside a
2490         string, and there comment syntax status is irrelevant.
2491         (ruby-match-expression-expansion): New function.  Check that
2492         expression expansion is inside a string, and it's not escaped.
2493         (ruby-font-lock-keywords): Use it.
2495 2012-09-05  Martin Rudalics  <rudalics@gmx.at>
2497         * help.el (temp-buffer-max-height): New default value.
2498         (temp-buffer-resize-frames): New option.
2499         (resize-temp-buffer-window): Optionally resize frame.
2501         * window.el (fit-frame-to-buffer-bottom-margin): New option.
2502         (fit-frame-to-buffer): New function.
2504 2012-09-05  Glenn Morris  <rgm@gnu.org>
2506         * emulation/cua-rect.el (cua--init-rectangles):
2507         * textmodes/picture.el (picture-mode-map):
2508         * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
2509         like forward-char and backward-char.  (Bug#12317)
2511 2012-09-05  Leo Liu  <sdl.web@gmail.com>
2513         * progmodes/flymake.el (flymake-warning-re): New variable.
2514         (flymake-parse-line): Use it.
2516 2012-09-05  Glenn Morris  <rgm@gnu.org>
2518         * calendar/holidays.el (holiday-christian-holidays):
2519         Rename an entry.  (Bug#12289)
2521 2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2523         * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
2524         (bug#12222).
2526 2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2528         * loadup.el: Load macroexp.  Remove hack.
2529         * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
2530         (macroexp--expand-all): Use it to get better warnings.
2531         (macroexp--backtrace, macroexp--trim-backtrace-frame)
2532         (internal-macroexpand-for-load): New functions.
2533         (macroexp--pending-eager-loads): New var.
2534         (emacs-startup-hook): New hack to replace one in loadup.el.
2535         * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
2536         (cl--compiler-macro-cXXr): Move to top, before they can be used.
2537         (cl-psetf): Simplify.
2538         (cl-defstruct): Add indent rule.
2540 2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
2542         * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
2543         over `user-mail-address' for the SMTP MAIL FROM envelope.
2544         (smtpmail-via-smtp): Ditto.
2546 2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
2548         * progmodes/ruby-mode.el: Clean up keybindings.
2549         (ruby-mode-map): Don't bind ruby-electric-brace,
2550         ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
2551         backward-kill-word, reindent-then-newline-and-indent.
2552         (ruby-mark-defun): Remove.
2553         (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
2554         (ruby-mode): Set local beginning-of-defun-function and
2555         end-of-defun-function values.
2557 2012-09-03  Martin Rudalics  <rudalics@gmx.at>
2559         * window.el (temp-buffer-window-setup-hook)
2560         (temp-buffer-window-show-hook): New hooks.
2561         (temp-buffer-window-setup, temp-buffer-window-show)
2562         (with-temp-buffer-window): New functions.
2563         (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
2564         (special-display-popup-frame): Make sure the window used shows BUFFER.
2566         * help.el (temp-buffer-resize-mode): Fix doc-string.
2567         (resize-temp-buffer-window): New optional argument WINDOW.
2569         * files.el (recover-file, save-buffers-kill-emacs):
2570         * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
2572 2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
2574         * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
2575         remote definition of `default-directory', ensure we can connect.
2577 2012-09-02  Juri Linkov  <juri@jurta.org>
2579         Toggle whitespace matching mode with M-s SPC.
2580         http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
2582         * isearch.el (search-whitespace-regexp): Doc fix.
2583         Remove cons cell customization.
2584         (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
2585         (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
2586         New variables.
2587         (isearch-forward, isearch-forward-regexp): Doc fix.
2588         (isearch-toggle-lax-whitespace): New command.
2589         (search-forward-lax-whitespace, search-backward-lax-whitespace)
2590         (re-search-forward-lax-whitespace)
2591         (re-search-backward-lax-whitespace): New functions.
2592         (isearch-whitespace-regexp): Remove function.
2593         (isearch-query-replace): Let-bind replace-search-function and
2594         replace-re-search-function.
2595         (isearch-occur): Let-bind search-spaces-regexp according to the
2596         value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
2597         (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
2598         condition for C-q SPC.
2599         (isearch-search-fun-default): Use new functions mentioned above.
2600         (isearch-search-forward, isearch-search-backward): Remove functions.
2601         (isearch-search): Don't let-bind search-spaces-regexp.
2602         (isearch-lazy-highlight-space-regexp): Remove variable.
2603         (isearch-lazy-highlight-lax-whitespace)
2604         (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
2605         (isearch-lazy-highlight-new-loop): Use them.
2606         (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
2608 2012-09-02  Chong Yidong  <cyd@gnu.org>
2610         * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
2612 2012-09-02  Glenn Morris  <rgm@gnu.org>
2614         * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
2616 2012-09-01  Glenn Morris  <rgm@gnu.org>
2618         * term.el: Tidy up menu definitions.
2619         (term-mode-map): Use easymenu for In/Out, Complete menus.
2620         (term-pager-break-map): Initialize in the defvar.
2621         (term-terminal-menu, term-signals-menu): Define with easymenu.
2622         (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
2623         (term-pager-menu): New, extracted from term-process-pager.
2624         (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
2625         (term-update-mode-line): Propertize line/char and page items.
2626         (term-process-pager): Move keymap initialization elsewhere.
2628 2012-09-01  Martin Rudalics  <rudalics@gmx.at>
2630         * window.el (switch-to-prev-buffer): Handle additional values of
2631         BURY-OR-KILL argument.  Don't switch in minibuffer window.
2632         (switch-to-next-buffer): Don't switch in minibuffer window.
2633         (quit-restore-window): New function based on quit-window.
2634         Handle additional values of former KILL argument.
2635         (quit-window): Call quit-restore-window with appropriate
2636         interpretation of KILL argument.
2637         (display-buffer-below-selected): New buffer display action
2638         function.
2640 2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2642         * minibuffer.el (completion-at-point-functions): Complete docstring
2643         (bug#12254).
2645 2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
2647         Better seed support for (random).
2648         * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
2649         * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
2650         * play/mpuz.el, play/tetris.el, play/zone.el:
2651         * calc/calc-comb.el (math-init-random-base):
2652         * play/blackbox.el (bb-init-board):
2653         * play/life.el (life):
2654         * server.el (server-use-tcp):
2655         * type-break.el (type-break):
2656         Remove unnecessary call to (random t).
2657         * net/sasl.el (sasl-unique-id-function):
2658         Change (random t) to (random), now that the latter is more random.
2659         * play/life.el (life-initialized): Remove no-longer-needed var.
2661 2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
2663         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
2664         Consider frame's buffer predicate when choosing the buffer.
2665         (Bug#12081)
2667 2012-08-30  Richard Stallman  <rms@gnu.org>
2669         * simple.el (special-mode-map): Delete binding for `z'.
2671 2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
2673         * progmodes/compile.el (compilation-always-kill): Doc fix.
2675 2012-08-30  Chong Yidong  <cyd@gnu.org>
2677         * window.el (display-buffer-reuse-frames): Make the obsolescence
2678         message more informative.
2680 2012-08-30  Glenn Morris  <rgm@gnu.org>
2682         * paren.el (show-paren-delay):
2683         Add a :set function.  Doc fix.  (Bug#12297)
2685 2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
2687         * progmodes/compile.el (compilation-always-kill): New var.
2688         (compilation-start): Use it.
2690 2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2692         * simple.el (read-only-mode): Move from files.el for bootstrapping.
2693         * files.el (read-only-mode): Move to simple.el.
2695         * files.el (read-only-mode): New minor mode.
2696         (toggle-read-only): Use it and mark obsolete.
2697         (find-file--read-only):
2698         * vc/vc.el (vc-next-action, vc-checkout):
2699         * vc/vc-cvs.el (vc-cvs-checkout):
2700         * obsolete/vc-mcvs.el (vc-mcvs-update):
2701         * ffap.el (ffap--toggle-read-only): Update callers.
2703 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
2705         * eshell/esh-ext.el (eshell-external-command): Do not examine
2706         remote shell scripts.
2707         See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
2709         * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
2710         "/usr/local/sbin".
2712 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2714         * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
2716 2012-08-28  Leo Liu  <sdl.web@gmail.com>
2718         * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
2719         completion-at-point.  (Bug#12220)
2721         * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
2723         * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
2725 2012-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2727         * files.el (safe-local-eval-forms): Fix before-save-hook entry to
2728         be buffer-local; add delete-trailing-whitespace (bug#12259).
2730 2012-08-28  Jeremy Moore  <jmoore@ieee.org>  (tiny change)
2732         * progmodes/hideif.el (hif-compress-define-list):
2733         Fix typo.  (Bug#11951)
2735 2012-08-28  Dan Nicolaescu  <dann@gnu.org>
2737         * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
2738         buffer local setting.
2740         * net/rcirc.el (rcirc-split-message): Fix for buffer-local
2741         rcirc-encode-coding-system.
2743 2012-08-28  Leo Liu  <sdl.web@gmail.com>
2745         * net/rcirc.el (rcirc-split-message): New function.
2746         (rcirc-send-message): Use it.  (Bug#12051)
2748 2012-08-28  Juri Linkov  <juri@jurta.org>
2750         * info.el (Info-fontify-node): Hide empty lines at the end of
2751         the node.  (Bug#12272)
2753 2012-08-27  Drew Adams  <drew.adams@oracle.com>
2755         * dired.el (dired-pop-to-buffer): Make window start at beginning
2756         of buffer (Bug#12281).
2758 2012-08-26  Chong Yidong  <cyd@gnu.org>
2760         * window.el (special-display-regexps, special-display-frame-alist)
2761         (special-display-buffer-names, special-display-function)
2762         (display-buffer-reuse-frames): Mark as obsolete.
2764         * progmodes/compile.el: Don't use display-buffer-reuse-frames.
2766         * help.el (help-print-return-message): Don't treat
2767         display-buffer-reuse-frames specially.
2769 2012-08-26  Chong Yidong  <cyd@gnu.org>
2771         * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
2772         New variable, replacing gdb-frame-parameters.
2773         (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
2774         (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
2775         (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
2776         (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
2777         (def-gdb-frame-for-buffer): Macro deleted.  It is easier to define
2778         the functions directly with gdb-display-buffer-other-frame-action.
2779         (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
2780         (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
2781         (gdb-display-stack-buffer, gdb-display-locals-buffer)
2782         (gdb-display-registers-buffer): Define directly.
2783         (def-gdb-display-buffer): Macro deleted.
2784         (gdb-display-buffer): Remove second and third args, callers don't
2785         use them.  Defer to the default display-buffer behavior, apart
2786         from making windows dedicated.
2787         (gdb-setup-windows): Don't call display-buffer unnecessarily.
2789         * progmodes/gud.el (gud-display-line): Just use display-buffer.
2791         * window.el (display-buffer-pop-up-frame): Handle a
2792         pop-up-frame-parameters alist entry.
2793         (display-buffer): Document it.
2795 2012-08-26  Chong Yidong  <cyd@gnu.org>
2797         * isearch.el (search-whitespace-regexp): Make string and nil
2798         values apply to both ordinary and regexp search.  Allow a cons
2799         cell value to distinguish between the two.
2800         (isearch-whitespace-regexp, isearch-search-forward)
2801         (isearch-search-backward): New functions.
2802         (isearch-occur, isearch-search-fun-default, isearch-search)
2803         (isearch-lazy-highlight-new-loop): Use them.
2804         (isearch-forward, isearch-forward-regexp): Doc fix.
2806 2012-08-26  Chong Yidong  <cyd@gnu.org>
2808         * faces.el (help-argument-name): Always inherit from italic
2809         (Bug#12213).
2811 2012-08-25  Martin Rudalics  <rudalics@gmx.at>
2813         * window.el (window--even-window-heights): Even heights when
2814         WINDOW and the selected window form a vertical combination.
2815         (display-buffer-use-some-window): Provide that window used gets
2816         sized back by quit-window.  (Bug#11880) and (Bug#12091)
2818 2012-08-24  Paul Eggert  <eggert@cs.ucla.edu>
2820         Fix file time stamp problem with bzr and CVS (Bug#12001).
2821         * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
2822         in the file's time stamp, since the version control system loses
2823         that information.
2825 2012-08-22  Juri Linkov  <juri@jurta.org>
2827         * info.el (Info-fontify-node): Hide the suffix of the
2828         Info file name in the header line.  (Bug#12187)
2830 2012-08-22  Glenn Morris  <rgm@gnu.org>
2832         * calendar/cal-tex.el (cal-tex-weekly-common):
2833         Restore leading blank page.
2835 2012-08-22  Le Wang  <l26wang@gmail.com>  (tiny change)
2837         * misc.el (forward-to-word, backward-to-word): Activate or extend
2838         the region under `shift-select-mode'.  (Bug#12231)
2840 2012-08-22  Bastien Guerry  <bzg@gnu.org>
2842         * progmodes/executable.el (executable-prefix): Set to "#!" instead
2843         of "#! ".  http://www.in-ulm.de/~mascheck/various/shebang/#details
2844         gives details on why the space is never needed.
2846 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
2848         * window.el (walk-window-tree, window-with-parameter):
2849         New optional argument MINIBUF to control whether these functions
2850         should run on the minibuffer window.
2851         (window-at-side-list): Don't operate on minibuffer window.
2852         (window-in-direction): Simplify and rewrite doc-string.
2853         (window--size-ignore): Rename to window--size-ignore-p.
2854         Update callers.
2855         (display-buffer-in-atom-window, window--major-non-side-window)
2856         (window--major-side-window, display-buffer-in-major-side-window)
2857         (delete-side-window, display-buffer-in-side-window):
2858         New functions.
2859         (window--side-check, window-deletable-p, delete-window)
2860         (delete-other-windows, split-window): Handle side windows and
2861         atomic windows appropriately.
2862         (window--display-buffer): Call display-buffer-record-window also
2863         when the window buffer did not change.
2865 2012-08-22  Christopher Schmidt  <christopher@ch.ristopher.com>
2867         * help-fns.el (help-fns--key-bindings):
2868         Abbreviate non-symbol remap targets.  (Bug#12174)
2870 2012-08-22  Martin Rudalics  <rudalics@gmx.at>
2872         * dired.el (dired-mark-remembered): Don't clobber point.
2873         (Bug#11795)
2875 2012-08-22  Glenn Morris  <rgm@gnu.org>
2877         * progmodes/bug-reference.el (bug-reference): New custom group.
2878         (bug-reference-bug-regexp): Make it a defcustom.
2880 2012-08-22  Daiki Ueno  <ueno@unixuser.org>
2882         * progmodes/js.el (js-indent-level, js-expr-indent-offset)
2883         (js-paren-indent-offset, js-square-indent-offset)
2884         (js-curly-indent-offset): Add :safe (Bug#12257).
2886 2012-08-22  Edward O'Connor  <hober0@gmail.com>
2888         * json.el (json-key-format): Add error properties.
2889         (json-encode-key): New function.
2890         (json-encode-hash-table, json-encode-alist, json-encode-plist):
2891         Use json-encode-key.
2893 2012-08-22  Glenn Morris  <rgm@gnu.org>
2895         * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
2896         (cal-tex-leftday, cal-tex-rightday): Remove functions.
2897         (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
2898         Update for above change.
2900 2012-08-21  Andreas Schwab  <schwab@linux-m68k.org>
2902         * cus-face.el (custom-face-attributes): Fix customize type for the
2903         :underline attribute.  (Bug#11805)
2905 2012-08-21  Martin Rudalics  <rudalics@gmx.at>
2907         * window.el (window-point-1, set-window-point-1): Remove.
2908         (window-in-direction, record-window-buffer)
2909         (set-window-buffer-start-and-point, split-window-below)
2910         (window--state-get-1, display-buffer-record-window):
2911         Replace calls to window-point-1 and set-window-point-1 by calls to
2912         window-point and set-window-point respectively.
2914 2012-08-21  Glenn Morris  <rgm@gnu.org>
2916         * calendar/cal-tex.el (cal-tex-weekly-common): New function.
2917         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
2918         Use it.
2920         * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
2921         (cal-tex-shortday): New function.
2922         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
2923         (cal-tex-cursor-filofax-daily): Use the above.
2925         * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
2926         New functions.
2927         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2928         (cal-tex-cursor-filofax-week): Use them.
2930         * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
2931         New constants.
2932         (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
2933         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
2935         * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
2936         (cal-tex-end-document): Don't rely on buffer name.
2938         * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
2939         Use cal-tex-vspace.
2940         (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
2941         (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
2942         (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
2943         Use cal-tex-arg.
2945         * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
2946         (cal-tex-cursor-week, cal-tex-cursor-week2)
2947         (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
2948         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2949         (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
2950         (cal-tex-insert-preamble, cal-tex-b-document)
2951         (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
2952         Improve cal-tex-cmd usage.
2954         * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
2955         (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
2956         (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
2957         (cal-tex-weekly-paper): New function.
2958         (cal-tex-cursor-week, cal-tex-cursor-week2)
2959         (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
2960         (cal-tex-cursor-day): Use it.
2962         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
2963         (cal-tex-cursor-filofax-week): Remove leading blank page.
2965         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
2966         Add autoload cookie.  For now at least, don't use color, since
2967         no other cal-tex function does.
2969         * calendar/cal-tex.el (cal-tex-cursor-week-iso)
2970         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
2971         (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
2973 2012-08-21  Juri Linkov  <juri@jurta.org>
2975         * info.el (Info-file-attributes): New variable.
2976         (info-insert-file-contents): Add file attributes to
2977         `Info-file-attributes'.  Clear the caches `Info-index-nodes' and
2978         `Info-toc-nodes' when previous modtime of the Info file is less
2979         than new modtime.
2980         (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
2981         of info.el.  (Bug#12230)
2983 2012-08-20  Glenn Morris  <rgm@gnu.org>
2985         * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
2986         * calendar/holidays.el (calendar-holiday-list):
2987         Report errors with display-warning rather than beep'n'sleep.
2989 2012-08-20  Michael Albinus  <michael.albinus@gmx.de>
2991         * net/tramp.el (tramp-accept-process-output): Accept only output
2992         from PROC.  Otherwise, process filters and sentinels might be
2993         confused.  (Bug#12145)
2995 2012-08-20  Chong Yidong  <cyd@gnu.org>
2997         * descr-text.el (describe-text-properties-1): Use overlays-in to
2998         report on empty overlays (Bug#3322).
3000 2012-08-20  Glenn Morris  <rgm@gnu.org>
3002         * mail/rmailout.el (rmail-output-read-file-name):
3003         Trap and report errors in rmail-output-file-alist elements.
3005         * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
3006         since most non-font-lock faces are not also variables).
3008 2012-08-20  Edward Reingold  <reingold@iit.edu>
3010         * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
3011         New function.  (Bug12160)
3013 2012-08-19  Glenn Morris  <rgm@gnu.org>
3015         * mail/rmailout.el (rmail-output-read-file-name):
3016         Fix previous change (when the alist is nil or does not match).
3018 2012-08-19  Chong Yidong  <cyd@gnu.org>
3020         * xml.el (xml-escape-string): Don't refer to xml-entity-alist
3021         (Bug#12228).
3023 2012-08-18  Chong Yidong  <cyd@gnu.org>
3025         * simple.el (yank-handled-properties): New defcustom.
3026         (yank-excluded-properties): Add font-lock-face and category.
3027         (yank): Doc fix.
3029         * subr.el (remove-yank-excluded-properties):
3030         Obey yank-handled-properties.  The special handling of font-lock-face
3031         and category is now done this way, instead of being hard-coded.
3032         (insert-for-yank-1): Remove font-lock-face handling.
3033         (yank-handle-font-lock-face-property)
3034         (yank-handle-category-property): New function.
3036 2012-08-17  Glenn Morris  <rgm@gnu.org>
3038         * mail/rmailout.el (rmail-output-read-file-name):
3039         Check rmail-output-file-alist against the full message body
3040         in the correct rmail buffer.  (Bug#12214)
3042 2012-08-17  Michael Albinus  <michael.albinus@gmx.de>
3044         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3045         Eliminate superfluous prompt.  (Bug#12203)
3047 2012-08-17  Chong Yidong  <cyd@gnu.org>
3049         * mouse.el (mouse-appearance-menu): If x-select-font returns a
3050         font spec, set the font directly (Bug#3228).
3052 2012-08-17  Martin Rudalics  <rudalics@gmx.at>
3054         * window.el (delete-window): Fix last fix.
3056 2012-08-16  Martin Rudalics  <rudalics@gmx.at>
3058         * window.el (window-valid-p): Move to window.c.
3059         (window-child, window-child-count, window-last-child)
3060         (window-normalize-window, window-combined-p)
3061         (window-combinations, window-atom-root, window-min-size)
3062         (window-sizable, window-sizable-p, window-size-fixed-p)
3063         (window-min-delta, window-max-delta, window--resizable)
3064         (window--resizable-p, window-resizable, window-total-size)
3065         (window-full-height-p, window-full-width-p, window-body-size)
3066         (window-at-side-p, adjust-window-trailing-edge, maximize-window)
3067         (minimize-window, window-deletable-p, delete-window)
3068         (delete-other-windows, set-window-buffer-start-and-point)
3069         (next-buffer, previous-buffer, split-window, balance-windows-2)
3070         (set-window-text-height, window-buffer-height)
3071         (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
3072         (truncated-partial-width-window-p): Minor code adjustments.
3073         In doc-strings state whether the argument window has to denote a
3074         live, valid or any window.
3076 2012-08-16  Phil Sainty  <psainty@orcon.net.nz>  (tiny change)
3078         * progmodes/subword.el (subword-forward-function)
3079         (subword-backward-function, subword-forward-regexp)
3080         (subword-backward-regexp): New variables.
3081         (subword-forward, subword-forward-internal, subword-backward-internal):
3082         Use new variables, eg so that different "word" definitions
3083         can be easily used.  (Bug#11411)
3085 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3087         * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
3088         for composite selectors.
3089         * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
3090         operation just because we can't find a previous revision.
3092 2012-08-15  Chong Yidong  <cyd@gnu.org>
3094         * frame.el (set-frame-font): Accept font objects.
3096 2012-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3098         * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
3100 2012-08-15  Wolfgang Jenkner  <wjenkner@inode.at>
3102         * man.el (Man-overstrike-face, Man-underline-face)
3103         (Man-reverse-face): Remove variables.
3104         (Man-overstrike, Man-underline, Man-reverse): New faces.
3105         (Man-fontify-manpage): Use them instead of the variables.
3106         (Man-cleanup-manpage): Comment change.
3107         (Man-ansi-color-map): New variable.
3108         (Man-fontify-manpage): Use it.
3109         Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
3111         Implement ANSI SGR parameters 22-27 (bug#12146).
3112         * ansi-color.el (ansi-colors): Doc fix.
3113         (ansi-color-context, ansi-color-context-region): Doc fix.
3114         (ansi-color--find-face): New function.
3115         (ansi-color-apply, ansi-color-apply-on-region): Use it.
3116         Rename the local variable `face' to `codes' since it is now a list of
3117         ansi codes.  Doc fix.
3118         (ansi-color-get-face): Remove.
3119         (ansi-color-parse-sequence): New function, derived from
3120         ansi-color-get-face.
3121         (ansi-color-apply-sequence): Use it.  Rewrite, and support ansi
3122         codes 22-27.
3124 2012-08-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3126         * subr.el (read-passwd): Allow use from a minibuffer.
3128 2012-08-14  Eli Zaretskii  <eliz@gnu.org>
3130         * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
3131         inside comments and strings as identifiers.
3133         * progmodes/gud.el (gud-tooltip-print-command): Quote the
3134         expression to evaluate.  This allows to evaluate expressions with
3135         embedded whitespace.
3136         (gud-tooltip-tips): Add a blank before the newline in the
3137         message-box text, for the benefit of message-box emulation on
3138         MS-Windows.
3140         * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
3141         messages from GDB, pop them up in a tooltip to give feedback to
3142         user.
3143         (gdb-tooltip-print-1): Quote the expression to evaluate.
3144         This allows to evaluate expressions with embedded whitespace.
3145         (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
3146         if the TTY name is nil or empty (which happens when communicating
3147         with the inferior via pipes, e.g. on MS-Windows).
3148         (gdb-internals): If GDB sends a "&\n" empty debugging message,
3149         don't send that to the GUD buffer.
3151 2012-08-14  Glenn Morris  <rgm@gnu.org>
3153         * emacs-lisp/bytecomp.el (byte-compile-setq-default):
3154         Optimize away setq-default with no args, as for setq.  (Bug#12195)
3156 2012-08-14  Chong Yidong  <cyd@gnu.org>
3158         * minibuffer.el (read-file-name): Doc fix (Bug#10881).
3160         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
3161         (Bug#12085).
3163 2012-08-14  Glenn Morris  <rgm@gnu.org>
3165         * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
3167 2012-08-14  Michael Albinus  <michael.albinus@gmx.de>
3169         * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
3170         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3171         Use cached shell name.
3173 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
3175         * progmodes/python.el (python-shell-send-string):
3176         (python-shell-send-setup-code): Do not use `format' with `message'.
3178 2012-08-14  Dmitry Gutov  <dgutov@yandex.ru>
3180         * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
3181         (ruby-percent-literal-beg-re): New constant.
3182         (ruby-syntax-general-delimiters-goto-beg): Rename to
3183         `ruby-syntax-enclosing-percent-literal', improve literal type check.
3184         (ruby-syntax-propertize-general-delimiters): Rename to
3185         `ruby-syntax-propertize-percent-literal', it's a shorter and more
3186         popular term.  Adjust comments everywhere.
3187         (ruby-syntax-propertize-percent-literal): Only propertize when not
3188         inside a simple string or comment.  When the literal is unclosed,
3189         leave the text after it unpropertized.
3190         (ruby-syntax-methods-before-regexp): New constant.
3191         (ruby-syntax-propertize-function): Use it to recognize regexps.
3192         Don't look at the text after regexp, just use the whitelist.
3194 2012-08-14  Andreas Schwab  <schwab@linux-m68k.org>
3196         * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
3197         non-nil always load the compiled file if it exists.  (Bug#12197)
3199 2012-08-14  Chong Yidong  <cyd@gnu.org>
3201         * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
3202         (hi-lock-set-pattern): When deciding whether to use font lock or
3203         overlays, look at font-lock-mode instead of font-lock-fontified
3204         (Bug#12168).
3205         (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
3206         (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
3208 2012-08-14  Daiki Ueno  <ueno@unixuser.org>
3210         * subr.el (internal--after-with-selected-window): Fix typo
3211         (Bug#12193).
3213 2012-08-14  Fabián Ezequiel Gallina  <fgallina@cuca>
3215         Use `completion-table-dynamic' for completion functions.
3216         * progmodes/python.el
3217         (python-shell-completion--do-completion-at-point)
3218         (python-shell-completion--get-completions):
3219         Remove functions.
3220         (python-shell-completion-complete-at-point): New function.
3221         (python-completion-complete-at-point): Use it.
3223 2012-08-13  Jambunathan K  <kjambunathan@gmail.com>
3225         * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
3226         (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
3228 2012-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3230         * subr.el (function-get): Refine `autoload' arg so it can also
3231         autoload functions for gv.el (bug#12191).
3232         * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
3233         autoloads macros.
3235         * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
3236         Prefer pcase-let over destructuring-bind.
3237         * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
3238         Also, remove whitespace as we go, rather than after accumulating the
3239         various places.
3241         * subr.el (internal--before-with-selected-window)
3242         (internal--after-with-selected-window): Fix typo seleted->selected.
3243         (with-selected-window): Adjust callers.
3244         Reported by Dmitry Gutov <dgutov@yandex.ru>.
3246 2012-08-13  Bastien Guerry  <bzg@gnu.org>
3248         * window.el (special-display-popup-frame): Minor docstring
3249         enhancement.  (Bug#12172)
3251 2012-08-13  Andreas Schwab  <schwab@linux-m68k.org>
3253         * tar-mode.el (tar-header-data-end): Only ignore size for files of
3254         type 1-6.
3255         (tar-header-block-summarize, tar-get-descriptor): Handle pax
3256         extended headers.
3258         * files.el (hack-local-variables-filter): Remove useless eval.
3260 2012-08-13  Martin Rudalics  <rudalics@gmx.at>
3262         * subr.el (with-selected-window): Fix last change.
3264 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3266         * subr.el (internal--before-with-seleted-window)
3267         (internal--after-with-seleted-window): New functions.
3268         (with-selected-window): Use them, to replace dependency on
3269         tty-top-frame.
3271 2012-08-12  Nobuyoshi Nakada  <nobu@ruby-lang.org>
3273         * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
3274         binding for `newline'.
3275         (ruby-move-to-block): When moving backward, stop at block opening,
3276         not indentation.
3277         * progmodes/ruby-mode.el (ruby-brace-to-do-end)
3278         (ruby-do-end-to-brace, ruby-toggle-block): New functions.
3279         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3280         `ruby-toggle-block'.
3282 2012-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3284         * ibuffer.el (ibuffer-do-toggle-read-only):
3285         * dired.el (dired-toggle-read-only):
3286         * buff-menu.el (Buffer-menu-toggle-read-only):
3287         * bindings.el (mode-line-toggle-read-only):
3288         * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
3290 2012-08-12  Andreas Schwab  <schwab@linux-m68k.org>
3292         * descr-text.el (describe-char): Put the overlays over the
3293         "displayed as" character.
3295 2012-08-12  Jay Belanger  <jay.p.belanger@gmail.com>
3297         * calc/calc-units.el (math-default-units-table): Give an
3298         initial value.
3299         (math-put-default-units): Add options to put composite units and
3300         unit systems in the default units table.
3301         (calc-convert-units): Send composite units to
3302         `math-put-default-units' when appropriate.
3304 2012-08-11  Glenn Morris  <rgm@gnu.org>
3306         * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
3308         * tutorial.el (help-with-tutorial):
3309         * emacs-lisp/copyright.el (copyright-update-directory):
3310         * emacs-lisp/autoload.el (autoload-find-generated-file)
3311         (autoload-find-file): Disable local eval: (for insurance).
3313         * files.el (hack-local-variables-filter): If an eval: form is not
3314         known to be safe, and enable-local-variables is :safe, then ignore
3315         the form totally, as is done for non-eval forms.  (Bug#12155)
3316         This is CVE-2012-3479.
3318 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3320         * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
3321         (rx-form): Simplify.
3323 2012-08-09  Dmitry Gutov  <dgutov@yandex.ru>
3325         * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
3326         ?, _, and : are symbol constituents, ! is not (but kinda should be).
3327         (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
3328         (ruby-syntax-propertize-function): Adjust for changes in
3329         `ruby-syntax-propertize-heredoc'.
3331 2012-08-09 Nobuyoshi Nakada  <nobu@ruby-lang.org>
3333         * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
3334         binding (use `M-;' instead).
3335         (ruby-singleton-class-p): New function.
3336         (ruby-expr-beg, ruby-in-here-doc-p) Use it.
3338 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3340         * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
3342 2012-08-10  Chong Yidong  <cyd@gnu.org>
3344         * progmodes/python.el (python-shell-get-process-name): Don't mess
3345         with same-window-buffer-names.
3347         * eshell/eshell.el (eshell-add-to-window-buffer-names)
3348         (eshell-remove-from-window-buffer-names): Make obsolete.
3349         (eshell-buffer-name, eshell-unload-hook): Don't use them.
3350         (eshell): Just use pop-to-buffer-same-window instead.
3352 2012-08-10  Chong Yidong  <cyd@gnu.org>
3354         * bindings.el: Bind M-= back to count-words-region.
3356         * simple.el (count-words-region): Accept a prefix arg for acting
3357         on the entire buffer.
3358         (count-words--buffer-message): New helper function.
3360 2012-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3362         * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
3363         * subr.el (eventp): `nil' is not an event, and eventp is not hot.
3364         (event-start, event-end): Use posn-at-point to return a more
3365         informative posn.
3366         (posnp): New function.
3367         * mouse.el (popup-menu-normalize-position): Use it.
3369 2012-08-10  Masatake YAMATO  <yamato@redhat.com>
3371         * mouse.el (popup-menu-normalize-position): New function.
3372         (popup-menu): Use `popup-menu-normalize-position' to normalize
3373         the form for POSITION argument.
3375         * term/x-win.el (x-menu-bar-open):
3376         Use the value returend from (posn-at-point) as position
3377         passed to `popup-menu'.
3379 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
3381         * calc/calccomp.el (math-compose-expr): Add extra argument
3382         indicating that parentheses should be put around products in
3383         denominators.  Give multiplication precedence over division during
3384         composition.
3386 2012-08-09  Chong Yidong  <cyd@gnu.org>
3388         * man.el (Man-switches, Man-sed-command, Man-awk-command)
3389         (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
3390         (Man-untabify-command, manual-program): Convert to defcustom
3391         (Bug#10429).
3393         * vc/add-log.el (change-log-mode): Bind comment-start to nil.
3395         * descr-text.el (describe-char): Don't insert extra newlines
3396         (Bug#10127).
3398         * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
3399         (log-view-diff-changeset, log-view-minor-wrap): Likewise.
3401         * align.el (align-region): Delete temporary markers (Bug#10047).
3402         Plus some code cleanups.
3404 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
3406         * progmodes/python.el (python-pdbtrack-tracked-buffer)
3407         (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
3408         (python-shell-internal-last-output): Use make-local-variable
3409         instead of make-variable-buffer-local.
3411 2012-08-09  Fabián Ezequiel Gallina  <fgallina@cuca>
3413         * progmodes/python.el: Enhancements to forward-sexp.
3414         (python-nav-forward-sexp): Rename from
3415         python-nav-forward-sexp-function.
3416         (python-nav--forward-sexp, python-nav--backward-sexp):
3417         New functions.
3419 2012-08-09  Jay Belanger  <jay.p.belanger@gmail.com>
3421         * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
3422         modes and simplification modes.
3424 2012-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3426         * delsel.el (delete-selection-pre-hook): Don't propagate the
3427         file-supersession signals (bug#12161).
3429 2012-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3431         * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
3432         (cl-map-extents): Add compatibility aliases (bug#12135).
3434 2012-08-08  Michael Albinus  <michael.albinus@gmx.de>
3436         * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
3437         tests by `ignore-error'.
3438         (tramp-find-shell): Open also a new shell, when cache is already
3439         set.  Reported by Carsten Bormann <cabo@tzi.org>.  (Bug#12148)
3441 2012-08-08  Juri Linkov  <juri@jurta.org>
3443         * bookmark.el: Add `defaults' property to the bookmark record.
3444         (bookmark-current-buffer): Doc fix.
3445         (bookmark-make-record): Add `defaults' property with default values
3446         to the bookmark record.
3447         (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
3448         with `bookmark-insert-current-bookmark'.
3449         (bookmark-set): Get `defaults' property from the bookmark record
3450         and use it in `read-from-minibuffer'.
3451         (bookmark-insert-current-bookmark): Remove function.
3453         * info.el (Info-bookmark-make-record): Add `defaults' property
3454         with values of canonical Info node name, the current Info file
3455         name and the current Info node name.  (Bug#12107)
3457 2012-08-08  Juri Linkov  <juri@jurta.org>
3459         * files.el (basic-save-buffer): Use `buffer-name' as the default
3460         of `read-file-name' when buffer is not visiting a file (bug#12128).
3462 2012-08-08  Juri Linkov  <juri@jurta.org>
3464         * info.el (Info-isearch-search): Doc fix.
3465         (Info-search): Change search-failed message from "initial node" to
3466         "end of node" (bug#12078).
3467         (Info-isearch-search): Change `isearch-string-state' to
3468         `isearch--state-string'.
3470 2012-08-08  Glenn Morris  <rgm@gnu.org>
3472         * language/persian.el: Remove file.
3473         * language/misc-lang.el: Move unique part of persian.el here.
3474         * loadup.el: Remove language/persian.
3476 2012-08-08  Ã“scar Fuentes  <ofv@wanadoo.es>
3478         * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
3480 2012-08-08  Fabián Ezequiel Gallina  <fgallina@cuca>
3482         * progmodes/python.el Fixed defsubst warning.
3483         (python-syntax-context) Rename from python-info-ppss-context.
3484         (python-syntax-context-type): Rename from
3485         python-info-ppss-context-type.
3486         (python-syntax-comment-or-string-p): Rename from
3487         python-info-ppss-comment-or-string-p.
3489 2012-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
3491         * calc/calc-misc.el (calc-record-why): Don't record a message twice.
3493 2012-08-07  Andreas Schwab  <schwab@linux-m68k.org>
3495         * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
3496         a defcustom that is quoted with backquote.
3498         * calc/calc-prog.el (math-do-defmath): Use backquote forms.
3499         Fix handling of interactive spec when the body uses return.
3500         (math-do-arg-check, math-define-function-body): Use backquote forms.
3501         * calc/calc-ext.el (math-defcache): Likewise.
3502         * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
3503         * allout.el (allout-new-exposure): Likewise.
3504         * calc/calcalg2.el (math-tracing-integral): Likewise.
3505         * info.el (Info-last-menu-item): Likewise.
3506         * emulation/vip.el (vip-loop): Likewise.
3507         * textmodes/artist.el (artist-funcall): Likewise.
3508         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
3509         Construct menu-item directly.
3511         * progmodes/autoconf.el (font-lock-syntactic-keywords):
3512         Don't declare.
3514 2012-08-07  Chong Yidong  <cyd@gnu.org>
3516         * simple.el (deactivate-mark): Preserve text properties when
3517         saving the primary selection (Bug#8384).
3519 2012-08-07  Kevin Ryde  <user42@zip.com.au>
3521         * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
3522         (woman-parse-numeric-value): On a bad .IP line, issue a warning
3523         and continue processing (Bug#12110).
3525 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3527         * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
3528         syntax-propertize-function (bug#10095).
3530 2012-08-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3532         * help-fns.el (help-fns--key-bindings, help-fns--signature)
3533         (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
3534         describe-function-1.
3535         (describe-function-1): Use them.  Move compiler macro after sig.
3536         (help-fns--compiler-macro): Use function-get.  Assume we're already in
3537         standard-output.  Adjust layout to new call order.
3539         * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
3540         re-binding a symbol that has a symbol-macro (bug#12119).
3542 2012-08-06  Mohsen BANAN  <libre@mohsen.1.banan.byname.net>
3544         * language/persian.el: New file.  (Bug#11812)
3545         * loadup.el: Add language/persian.el.
3547 2012-08-06  Chong Yidong  <cyd@gnu.org>
3549         * window.el (window--maybe-raise-frame): New function.
3550         (window--display-buffer): Split off from here.
3551         (display-buffer-reuse-window, display-buffer-pop-up-frame)
3552         (display-buffer-pop-up-window, display-buffer-use-some-window):
3553         Obey an inhibit-switch-frame action alist entry.
3554         (display-buffer): Update doc.
3556         * replace.el (occur-after-change-function): Avoid losing focus by
3557         using the inhibit-switch-frame display parameter (Bug#12139).
3559 2012-08-06  Fabián Ezequiel Gallina  <fgallina@cuca>
3561         Make internal shell process buffer names start with space.
3562         * progmodes/python.el (python-shell-make-comint): Add optional
3563         argument INTERNAL.
3564         (run-python-internal): Use it.
3565         (python-shell-internal-get-or-create-process): Check for new
3566         internal buffer names.
3568 2012-08-06  Glenn Morris  <rgm@gnu.org>
3570         * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
3571         Do less getting and setting of environment variables.
3573 2012-08-05  Chong Yidong  <cyd@gnu.org>
3575         * proced.el (proced): Add substitution string to docstring to
3576         trigger autoloading of the proced library on C-h f (Bug#1768).
3578         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3579         Don't show defvars which have no second argument (Bug#8638).
3581         * imenu.el (imenu-generic-expression): Move documentation here
3582         from imenu--generic-function.
3583         (imenu--generic-function): Refer to imenu-generic-expression.
3585 2012-08-05  Vegard Ã˜ye  <vegard_oye@hotmail.com>  (tiny change)
3587         * emulation/viper-init.el (viper-deflocalvar): Add docstring and
3588         indentation declaration.
3589         (viper-loop): Add indentation declaration (Bug#7025).
3591 2012-08-05  Chong Yidong  <cyd@gnu.org>
3593         * help-fns.el (describe-variable): Add hyperlink for
3594         directory-local variables files.  Improve buffer-local and
3595         permanent-local reporting; suggested by MON KEY (Bug#6644).
3597         * help-mode.el (help-dir-local-var-def): New button type.
3599         * files.el (kill-buffer-hook): Provide a defvar.
3601 2012-08-05  Glenn Morris  <rgm@gnu.org>
3603         * eshell/esh-ext.el (eshell/addpath):
3604         Also update eshell-path-env.  (Bug#12013)
3606 2012-08-05  Chong Yidong  <cyd@gnu.org>
3608         * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
3610         * fringe.el (fringe-styles): Add docstring.
3611         (fringe--check-mode): New function.
3612         (set-fringe-mode, set-fringe-style): Use it.
3613         (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
3615         * files.el (set-auto-mode): Fix invalid setq call.
3617 2012-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3619         * isearch.el: Misc simplification; use defstruct.
3620         (isearch-mode-map): Dense maps now work like sparse ones.
3621         (isearch--state): New defstruct.
3622         (isearch-string-state, isearch-message-state, isearch-point-state)
3623         (isearch-success-state, isearch-forward-state)
3624         (isearch-other-end-state, isearch-word-state, isearch-error-state)
3625         (isearch-wrapped-state, isearch-barrier-state)
3626         (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
3627         replaced by defstruct's accessors.
3628         (isearch--set-state): Rename from isearch-top-state and change
3629         calling convention.
3630         (isearch-push-state): Use new isearch--get-state.
3631         (isearch-toggle-word): Disable regexp when enabling word.
3632         (isearch-message-prefix): Remove unused arg _c-q-hack.
3633         (isearch-message-suffix): Remove unused arg _ellipsis.
3635 2012-08-04  Andreas Schwab  <schwab@linux-m68k.org>
3637         * simple.el (list-processes--refresh): For a server use :host or
3638         :local as the address.
3639         (list-processes): Doc fix.
3641 2012-08-04  Michal Nazarewicz  <mina86@mina86.com>
3643         * lisp/mpc.el: Support password in host argument.
3644         (mpc--proc-connect): Parse and use new password element.
3645         Set mpc-proc variable instead of returning process.
3646         (mpc-proc): Adjust accordingly.
3648 2012-08-03  Eli Zaretskii  <eliz@gnu.org>
3650         * whitespace.el (whitespace-display-mappings): Use Unicode
3651         codepoints, instead of emacs-mule codepoints.  See
3652         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
3653         for the details.
3655         * files.el (file-truename): Don't skip symlink-chasing part on
3656         windows-nt.  Incorporate the resolution of 8+3 short aliases on
3657         Windows into the loop that recursively chases symlinks.
3658         Compare directory and its parent case-insensitively on MS-Windows and
3659         MS-DOS.
3661 2012-08-03  Chong Yidong  <cyd@gnu.org>
3663         * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
3665         * sort.el (sort-regexp-fields): Doc fix.
3667 2012-08-03  Tassilo Horn  <tsdh@gnu.org>
3669         * textmodes/reftex.el (reftex-compile-variables): Make keyvals
3670         labels regex position point at the expected place.
3672 2012-08-03  MON KEY  <monkey@sandpframing.com>
3674         * net/imap.el (imap-interactive-login, imap-authenticate)
3675         (imap-mailbox-lsub, imap-mailbox-list)
3676         (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
3677         (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
3678         (imap-parse-response): Doc fix.
3680 2012-08-03  João Távora  <joaotavora@gmail.com>
3682         * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
3683         if sexp scanning does not move point (Bug#5734).
3685 2012-08-02  Tassilo Horn  <tsdh@gnu.org>
3687         * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
3688         Add listings, minted, and ctable packages.
3689         (reftex-label-alist-builtin): Move listings, minted, and ctable
3690         entries before LaTeX.
3691         (reftex-label-alist): Docfix.
3693 2012-08-02  Bastien Guerry  <bzg@gnu.org>
3695         * replace.el (occur): Fix docstring (bug#12122).
3697 2012-08-02  Glenn Morris  <rgm@gnu.org>
3699         * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
3701 2012-08-02  Paul Eggert  <eggert@cs.ucla.edu>
3703         Obsolete alias inactivate-current-input-method-function (Bug#10150).
3704         * international/mule-cmds.el: Create
3705         inactivate-current-input-method-function as an obsolete alias for
3706         deactivate-current-input-method-function.  See Katsumi Yamaoka in
3707         <http://bugs.gnu.org/10150#46>.
3709 2012-08-01  Jay Belanger  <jay.p.belanger@gmail.com>
3711         * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
3712         of nested `if's.
3714 2012-08-01  Glenn Morris  <rgm@gnu.org>
3716         * progmodes/autoconf.el (autoconf-definition-regexp):
3717         Add AH_TEMPLATE, adjust submatch numbering.
3718         (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
3719         (autoconf-current-defun-function): Update for above change.
3720         (autoconf-current-defun-function): First skip to end of current word.
3722 2012-08-01  Rupert Swarbrick  <rswarbrick@gmail.com>  (tiny change)
3724         * calendar/cal-html.el (cal-html-insert-agenda-days):
3725         Fix typo.  (Bug#12018)
3727 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
3729         Shell processes: enhancements to startup and CEDET compatibility.
3730         * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
3731         (python-shell-make-comint): accept-process-output at startup.
3732         (run-python-internal): Set inferior-python-mode-hook to nil.
3733         (python-shell-internal-get-or-create-process): call sit-for.
3734         (python-preoutput-result): Add obsolete alias.
3735         (python-shell-internal-send-string): Use it.
3736         (python-shell-send-setup-code): Remove call to
3737         accept-process-output.
3739 2012-07-31  Andreas Schwab  <schwab@linux-m68k.org>
3741         * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
3742         (Bug#12108)
3744 2012-07-31  Jay Belanger  <jay.p.belanger@gmail.com>
3746         * calc-mode.el (calc-basic-simplification-mode): Rename from
3747         `calc-limited-simplification-mode'.
3748         (calc-alg-simplification-mode): New function.
3749         (calc-set-simplify-mode): Adjust message.
3751         * calc.el (calc-set-mode-line): Adjust mode line display for
3752         basic simplification mode.
3754         * calc-help.el (calc-m-prefix-help): Update help message.
3756         * calc-ext.el (calc-init-extensions): Add bindings and autoloads
3757         for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
3759 2012-07-31  Bastien Guerry  <bzg@gnu.org>
3761         * man.el (man): Fix comment.  (bug#12101)
3763 2012-07-31  Martin Rudalics  <rudalics@gmx.at>
3765         * window.el (switch-to-prev-buffer, switch-to-next-buffer):
3766         Don't return a non-nil value when no suitable buffer was found.
3768 2012-07-31  Fabián Ezequiel Gallina  <fgallina@cuca>
3770         * progmodes/python.el (run-python-internal): Disable font lock for
3771         internal shells.
3773 2012-07-30  Stefan Merten  <smerten@oekonux.de>
3775         * textmodes/rst.el: Silence `checkdoc-ispell'.
3776         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
3777         (rst-official-version, rst-official-cvs-rev)
3778         (rst-package-emacs-version-alist): Update to upstream V1.3.1.
3779         (rst-mode-map): New key binding.
3781 2012-07-30  Paul Eggert  <eggert@cs.ucla.edu>
3783         Update .PHONY listings in makefiles.
3784         * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
3785         autoloads, update-subdirs, updates, bzr-update, update-authors,
3786         compile-onefile, compile-calc, backup-compiled-files,
3787         compile-after-backup, compile-one-process, mh-autoloads,
3788         bootstrap-clean, distclean, maintainer-clean.
3790 2012-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
3792         * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
3793         (calc-set-mode-line): Don't display "AlgSimp ".
3795         * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
3796         (calc-lim-simplify-mode): New function.
3797         (calc-set-simplify-mode): Default to 'alg.
3798         (calc-default-simplify-mode): Make algebraic simplifications
3799         the default.
3801         * calc/calc-ext.el (calc-init-extensions): Remove binding for
3802         `calc-alg-simplify-mode'.  Add binding for `calc-lim-simplify-mode'.
3804         * calc/calc-help.el (calc-m-prefix-help): Change messages to
3805         indicate new simplification modes.
3807         * calc/README: Mention new default simplification mode.
3809         * calc/calc.el (math-normalize-error): New variable.
3810         (math-normalize): Set `math-normalize-error' to t
3811         when there's an error.
3813         * calc/calc-alg.el (math-simplify): Don't simplify when
3814         `math-normalize' returns an error.
3816 2012-07-29  Eli Zaretskii  <eliz@gnu.org>
3818         * international/mule-cmds.el (set-locale-environment): Revert last
3819         change, since display-graphic-p returns nil when this function is
3820         called during startup.  Instead...
3822         * term/w32console.el (terminal-init-w32console): ...setup the
3823         keyboard and terminal encoding for TTY sessions here.  (Bug#12082)
3825 2012-07-29  Juri Linkov  <juri@jurta.org>
3827         * simple.el (goto-line): Don't display default line number in the
3828         prompt because it should be displayed by `read-number' (bug#9952).
3829         Add the current line number to the defaults of `goto-line' to
3830         allow its easier modification by users with `M-n' (bug#9201).
3832         * subr.el (read-number): Support multiple default values like in
3833         other minibuffer reading functions.  Replace `read' with
3834         `string-to-number' for consistency with `number-to-string'.
3836 2012-07-29  Paul Eggert  <eggert@cs.ucla.edu>
3838         deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
3839         * emulation/viper-init.el (viper-deactivate-input-method-action):
3840         Rename from viper-inactivate-input-method-action.
3841         (viper-deactivate-input-method):
3842         Rename from viper-inactivate-input-method.
3843         * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
3844         * international/mule-cmds.el (deactivate-input-method):
3845         Rename from inactivate-input-method.
3846         Also run input-method-deactivate-hook.
3847         (deactivate-current-input-method-function):
3848         Rename from inactivate-current-input-method-function.
3849         (input-method-deactivate-hook): New hook.
3850         (input-method-inactivate-hook): Mark obsolete.
3851         (inactivate-input-method): Mark obsolete.
3853         * international/quail.el (quail-activate):
3854         Also run quail-deactivate-hook.
3855         (quail-deactivate): Rename from quail-inactivate.
3856         * international/robin.el (robin-activate):
3857         Also run robin-deactivate-hook.
3858         (robin-deactivate): Rename from robin-inactivate.
3860 2012-07-29  Chong Yidong  <cyd@gnu.org>
3862         * simple.el (indicate-copied-region): New function.
3863         (kill-ring-save): Split off from here.
3865         * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
3866         (kill-rectangle): Set deactivate-mark to t on read-only error.
3868         * register.el (copy-to-register, copy-rectangle-to-register):
3869         Deactivate the mark, and use indicate-copied-region (Bug#10056).
3870         (append-to-register, prepend-to-register): Call indicate-copied-region.
3872 2012-07-29  Juri Linkov  <juri@jurta.org>
3874         * simple.el (async-shell-command-buffer): New defcustom.
3875         (shell-command): Use it.  (Bug#4719)
3877 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
3879         * international/mule-cmds.el (set-locale-environment): In a
3880         console session on MS-Windows, set up keyboard and terminal
3881         encoding from the OEM codepage, not the ANSI codepage.
3882         (Bug#12055)
3884 2012-07-28  Chong Yidong  <cyd@gnu.org>
3886         * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
3887         gdb-get-location.
3889 2012-07-28  Leo Liu  <sdl.web@gmail.com>
3891         * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
3892         the alist (bug#12029).
3894 2012-07-28  Eli Zaretskii  <eliz@gnu.org>
3896         * makefile.w32-in (custom-deps, finder-data, updates, compile)
3897         (compile-always, compile-first)
3898         ($(lisp)/calendar/cal-loaddefs.el)
3899         ($(lisp)/calendar/diary-loaddefs.el)
3900         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3901         ($(lisp)/net/tramp-loaddefs.el, bootstrap)
3902         ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
3903         instead of on update-subdirs.
3904         (bootstrap-clean): Delete $(lisp)/subdirs.el.
3906 2012-07-28  Chong Yidong  <cyd@gnu.org>
3908         * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
3909         directory if vc-deduce-backend returns nil (Bug#7350).
3911         * simple.el (delete-trailing-lines): New option.
3912         (delete-trailing-whitespace): Obey it (Bug#11879).
3914 2012-07-28  David Engster  <deng@randomsample.de>
3916         * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
3917         Explanation of new 'symbol-qnames feature in doc-strings.
3918         (xml-maybe-do-ns): Return expanded names as plain symbols if
3919         'symbol-qnames was provided in XML-NS argument (Bug#11916).
3920         (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
3922 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
3924         Consistent completion in inferior python with emacs -nw.
3925         * progmodes/python.el (inferior-python-mode): replace "<tab>"
3926         binding in inferior-python-mode-map with "\t".
3927         (python-shell-completion-complete-at-point)
3928         (python-completion-complete-at-point): Remove interactive spec.
3930 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
3932         * calc/calccomp.el (math-compose-expr): Undo previous change.
3934 2012-07-27  Fabián Ezequiel Gallina  <fgallina@cuca>
3936         * progmodes/python.el (python-mode-map): Add keybinding for
3937         run-python.
3938         (python-shell-make-comint): Fix pop-to-buffer call.
3939         (run-python): Autoload.  New arg SHOW.
3940         (python-shell-get-or-create-process): Do not pop python process
3941         buffer.
3943 2012-07-27  Michael Albinus  <michael.albinus@gmx.de>
3945         * notifications.el (notifications-on-action-signal)
3946         (notifications-on-closed-signal): Use also the bus address for the map.
3947         (notifications-notify, notifications-close-notification)
3948         (notifications-get-capabilities): Add optional argument BUS.
3950 2012-07-27  Tassilo Horn  <tsdh@gnu.org>
3952         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
3953         Add support for the lstlisting and minted environments, and for the
3954         ctable macro.
3955         * textmodes/reftex.el (reftex-compile-variables): Also recognize
3956         labels written in keyvals syntax.
3958 2012-07-27  Jay Belanger  <jay.p.belanger@gmail.com>
3960         * calc/calccomp.el (math-compose-expr): Use parentheses when
3961         there is a product in the denominator of a fraction.
3963 2012-07-26  Eli Zaretskii  <eliz@gnu.org>
3965         * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
3966         ($(lisp)/calendar/diary-loaddefs.el)
3967         ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
3968         ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
3969         Fixes failures in parallel bootstrap because subdirs.el is being
3970         rewritten while the autoload files are built at the same time,
3971         which needs to load subdirs.el.
3973 2012-07-26  Martin Rudalics  <rudalics@gmx.at>
3975         * mouse.el (popup-menu): Fix doc-string and re-indent code.
3976         (mouse-drag-line): Don't exit tracking when a switch-frame or
3977         switch-window event occurs (Bug#12006).
3979 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3981         * mouse.el (popup-menu): Fix last change.
3983 2012-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
3985         Autoload from Lisp with more care.  Follow aliases when looking for
3986         function properties.
3987         * subr.el (autoloadp): New function.
3988         (symbol-file): Use it.
3989         (function-get): New function.
3990         * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
3991         autoload-do-load.
3992         * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
3993         (lisp-indent-function):
3994         * emacs-lisp/gv.el (gv-get):
3995         * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
3996         * emacs-lisp/byte-opt.el (byte-optimize-form):
3997         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
3998         * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
3999         Use function-get.
4000         * emacs-lisp/cl.el: Don't propagate function properties any more.
4002         * speedbar.el (speedbar-add-localized-speedbar-support):
4003         * emacs-lisp/disass.el (disassemble-internal):
4004         * desktop.el (desktop-load-file):
4005         * help-fns.el (help-function-arglist, find-lisp-object-file-name)
4006         (describe-function-1):
4007         * emacs-lisp/find-func.el (find-function-noselect):
4008         * emacs-lisp/elp.el (elp-instrument-function):
4009         * emacs-lisp/advice.el (ad-has-proper-definition):
4010         * apropos.el (apropos-safe-documentation, apropos-macrop):
4011         * emacs-lisp/debug.el (debug-on-entry):
4012         * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
4013         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
4014         * calc/calc.el (name): Use autoloadp & autoload-do-load.
4016 2012-07-25  Alp Aker  <alp.tekin.aker@gmail.com>
4018         * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
4019         function, not an obsolete variable (Bug#12046).
4021 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
4023         * faces.el (face-spec-reset-face): Fix last change.  (Bug#12042)
4025 2012-07-25  Christopher Schmidt  <christopher@ch.ristopher.com>
4027         * emacs-lisp/pp.el (pp-display-expression): Select old selected
4028         window only if it is still live (Bug#12034).
4030 2012-07-25  Martin Rudalics  <rudalics@gmx.at>
4032         * subr.el (redirect-frame-focus): Add advertised calling
4033         convention (Bug#12030).
4035 2012-07-25  Paul Eggert  <eggert@cs.ucla.edu>
4037         Prefer typical American spelling for "acknowledgment".
4038         * vc/add-log.el (change-log-acknowledgment): Rename from
4039         change-log-acknowledgement, with an alias for the old name.
4041 2012-07-25  Jay Belanger  <jay.p.belanger@gmail.com>
4043         * calc-alg.el (math-simplify-divide): Don't cross multiply
4044         in an equation when the lhs is a variable.
4046 2012-07-24  Julien Danjou  <julien@danjou.info>
4048         * net/netrc.el (netrc-find-service-number, netrc-store-data):
4049         Remove, unused.
4051 2012-07-23  Eli Zaretskii  <eliz@gnu.org>
4053         * startup.el (command-line): Don't display an empty user name in
4054         the error message about non-existent home directory, when
4055         init-file-user was set to an empty string.  See
4056         http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
4057         for the details and context.
4059 2012-07-22  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4061         * ses.el (ses-cell-formula-aset): New macro.
4062         (ses-cell-references-aset): New macro.
4063         (ses-cell-p): New function.
4064         (ses-rename-cell): Do no longer rely on complex operations like
4065         ses-cell-set-formula or ses-set-cell to change the cell and handle
4066         the undo at the same time, but rather use lower level new macros
4067         `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
4068         the undo directly.  Refresh the mode line.
4070 2012-07-21  Leo Liu  <sdl.web@gmail.com>
4072         * progmodes/cc-cmds.el (c-defun-name):
4073         Use match-string-no-properties instead for consistency.
4075 2012-07-20  Leo Liu  <sdl.web@gmail.com>
4077         * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
4078         (Bug#7879)
4080         * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
4082 2012-07-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4084         * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
4085         * progmodes/bug-reference.el, misearch.el: Provide themselves
4086         (bug#11915).
4088         * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
4089         of narrowed buffer (bug#11966).
4091 2012-07-20  Vincent Belaïche  <vincentb1@users.sourceforge.net>
4093         * ses.el (ses-rename-cell): Set new name also in reference list of
4094         cells of which the renamed cell depends.
4096 2012-07-20  Masatake YAMATO  <yamato@redhat.com>
4098         * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
4099         to check whether menu-bar is shown or not.  If not shown,
4100         show the menu-bar as a popup menu instead of using tmm.
4101         * mouse.el (popup-menu): Accept `point' as `position' argument.
4103 2012-07-20  Dmitry Gutov  <dgutov@yandex.ru>
4105         * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
4106         up inside string symbol literal (bug#11923).
4108 2012-07-20  Eli Zaretskii  <eliz@gnu.org>
4110         * startup.el (fancy-startup-text): Read the whole tutorial, not
4111         just its first 256 bytes.  Prevents gibberish in display of the
4112         tutorial title.
4114 2012-07-20  Dmitry Antipov  <dmantipov@yandex.ru>
4116         Drop idle buffer compaction due to an absence of the
4117         proved efficiency.
4118         * compact.el: Remove.
4120 2012-07-19  Sam Steingold  <sds@gnu.org>
4122         * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
4123         vc-bzr-pull & vc-bzr-merge-branch.
4124         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
4125         (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
4126         for consistency with compilation-error-regexp-alist.
4127         * vc/vc-git.el (vc-git-error-regexp-alist): Add.
4128         (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
4129         * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
4130         (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
4132 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4134         * emacs-lisp/chart.el: Use lexical-binding.
4135         (chart-emacs-storage): Don't hardcode the list of entries.
4137 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
4139         Next round of tweaks caused by Fgarbage_collect changes.
4140         * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
4142 2012-07-19  Dmitry Antipov  <dmantipov@yandex.ru>
4144         Compact buffers when idle.
4145         * compact.el: New file.
4147 2012-07-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4149         * subr.el (eventp): Presume that if it looks vaguely like an event,
4150         it's an event (bug#10190).
4152 2012-07-19  Fabián Ezequiel Gallina  <fgallina@cuca>
4154         Enhancements to ppss related code (thanks Stefan).
4155         * progmodes/python.el (python-indent-context)
4156         (python-indent-calculate-indentation, python-indent-dedent-line)
4157         (python-indent-electric-colon, python-nav-forward-block)
4158         (python-mode-abbrev-table)
4159         (python-info-assignment-continuation-line-p): Simplify checks
4160         for ppss context.
4161         (python-info-continuation-line-p): Cleanup.
4162         (python-info-ppss-context): Do not catch 'quote.
4163         (python-info-ppss-context-type)
4164         (python-info-ppss-comment-or-string-p): Simplify.
4166 2012-07-18  Fabián Ezequiel Gallina  <fgallina@cuca>
4168         * progmodes/python.el: Enhancements to eldoc support.
4169         (python-info-current-symbol): New function.
4170         (python-eldoc-at-point): Use python-info-current-symbol.
4171         (python-info-current-defun): Fix cornercase on first defun scan.
4172         (python-eldoc--get-doc-at-point): Use python-info-current-symbol
4173         and signal error when no inferior python process is available.
4175 2012-07-18  Dmitry Gutov  <dgutov@yandex.ru>
4177         * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
4178         assume it's always t.
4179         (vc-git-registered): Remove caching, the function is only called
4180         once.
4181         (vc-git-branches): Use `vc-git--call' instead of `call-process'.
4183 2012-07-18  Chong Yidong  <cyd@gnu.org>
4185         * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
4187         * simple.el (count-words): Report on narrowing (Bug#9959).
4189         * bindings.el: Bind M-= to count-words.
4191         * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
4193 2012-07-18  Masatake YAMATO  <yamato@redhat.com>
4195         * progmodes/sh-script.el (sh-imenu-generic-expression):
4196         Capture a function with `function' keyword and without parentheses
4197         like "function FOO" (bug#11856).
4199 2012-07-18  Tassilo Horn  <tassilo@member.fsf.org>
4201         * window.el (split-window-sensibly): Make WINDOW argument
4202         optional.
4204 2012-07-18  Chong Yidong  <cyd@gnu.org>
4206         * subr.el (keyboard-translate): Doc fix (Bug#7261).
4208         * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
4209         and make C-x 8 RET exit isearch (Bug#11439).
4211         * international/iso-transl.el: Move isearch-mode-map key
4212         definitions to isearch.el.
4214 2012-07-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4216         * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
4217         (eieio-defclass): Use gv-define-setter when possible.
4219 2012-07-18  Dmitry Antipov  <dmantipov@yandex.ru>
4221         Reflect recent changes in Fgarbage_collect.
4222         * emacs-lisp/chart.el (chart-emacs-storage): Change to
4223         reflect new format of data returned by Fgarbage_collect.
4225 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
4227         New utility functions + python-info-ppss-context fix (Bug#11910).
4228         * progmodes/python.el (python-info-beginning-of-block-statement-p)
4229         (python-info-ppss-comment-or-string-p): New functions.
4230         (python-info-ppss-context): Small fix for string check.
4232 2012-07-17  Juri Linkov  <juri@jurta.org>
4234         * dired-aux.el (dired-do-async-shell-command): Doc fix.
4235         (dired-do-async-shell-command): Don't add `*' at the end of the
4236         command (Bug#11815).
4237         (dired-do-shell-command): Doc fix.
4238         (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
4239         Join the individual commands using either "&" or ";" as the
4240         separator depending on the values of these trailing characters.
4241         At the end re-add the trailing "&".  (Bug#10598)
4243         * simple.el (async-shell-command): Sync the interactive spec with
4244         `shell-command'.  Doc fix.
4245         (shell-command): Doc fix.
4247 2012-07-17  Juri Linkov  <juri@jurta.org>
4249         * descr-text.el (describe-char): Fix format args.  (Bug#10129)
4251 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
4253         Final renames and doc fixes for movement commands (bug#11899).
4254         * progmodes/python.el (python-nav-beginning-of-statement):
4255         Rename from python-nav-statement-start.
4256         (python-nav-end-of-statement): Rename from
4257         python-nav-statement-end.
4258         (python-nav-beginning-of-block): Rename from
4259         python-nav-block-start.
4260         (python-nav-end-of-block): Rename from python-nav-block-end.
4262 2012-07-17  Fabián Ezequiel Gallina  <fgallina@cuca>
4264         * progmodes/python.el (python-shell-send-string-no-output):
4265         Allow accept-process-output to quit, keeping shell process ready for
4266         future interactions (Bug#11868).
4268 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4270         * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
4272         * emacs-lisp/elint.el (elint-find-args-in-code):
4273         Use help-function-arglist, so as to handle lexical byte-code.
4275         * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
4276         change (bug#11826).
4278 2012-07-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4280         * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
4281         Avoid spuriously marking the buffer as modified because of c-is-sws.
4283         * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
4284         as not-a-comment (bug#11946).
4286         * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
4287         for uninterned vars.
4289         * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
4290         Use read-event since we don't really want to read chars but bytes.
4292         * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
4293         $$..$$ but also $..$ using regexps (bug#11953).
4294         Use tex-verbatim for \url and \path.
4295         (tex-font-lock-keywords): Define as defconst like the others.
4296         (tex-common-initialization): Don't use font-lock-syntax-table any more.
4298 2012-07-16  René Kyllingstad  <Rene@Kyllingstad.com>  (tiny change)
4300         * international/mule-cmds.el (ucs-insert): Make it an obsolete
4301         alias for insert-char.
4303 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
4305         * progmodes/python.el: Simplified imenu implementation.
4306         (python-nav-jump-to-defun): Remove command.
4307         (python-mode-map): Use `imenu' instead.
4308         (python-nav-list-defun-positions-cache)
4309         (python-imenu-include-defun-type, python-imenu-make-tree)
4310         (python-imenu-subtree-root-label, python-imenu-index-alist):
4311         Remove vars.
4312         (python-nav-list-defun-positions, python-nav-read-defun)
4313         (python-imenu-tree-assoc, python-imenu-make-element-tree)
4314         (python-imenu-make-tree, python-imenu-create-index):
4315         Remove functions.
4316         (python-mode): Update to interact with imenu by setting
4317         `imenu-extract-index-name-function' only.
4319 2012-07-16  Fabián Ezequiel Gallina  <fgallina@cuca>
4321         * progmodes/python.el: Enhancements to navigation commands.
4322         (python-nav-backward-sentence)
4323         (python-nav-forward-sentence): Remove.
4324         (python-nav-backward-statement, python-nav-forward-statement)
4325         (python-nav-statement-start, python-nav-statement-end)
4326         (python-nav-backward-block, python-nav-forward-block)
4327         (python-nav-block-start, python-nav-block-end)
4328         (python-nav-forward-sexp-function)
4329         (python-info-current-line-comment-p)
4330         (python-info-current-line-empty-p): New functions.
4331         (python-indent-context): Use `python-nav-statement-start'.
4333 2012-07-16  Michael Albinus  <michael.albinus@gmx.de>
4335         * eshell/em-ls.el (eshell/ls): Use `apply'.
4337         * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
4338         multi-hops, instead of Tramp internals.
4340         * vc/ediff.el (ediff-directories): Add trailing space to prompts.
4342         * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
4343         when F1 and F2 are located on different hosts.
4345 2012-07-14  Chong Yidong  <cyd@gnu.org>
4347         * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
4348         (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
4349         (xterm-mouse-translate-extended, xterm-mouse-translate-1)
4350         (xterm-mouse--read-event-sequence-1000)
4351         (xterm-mouse--read-event-sequence-1006): New functions.  For old
4352         mouse protocol, handle M-mouse-X events correctly.
4353         (xterm-mouse-event): New arg specifying mouse protocol.
4354         (turn-on-xterm-mouse-tracking-on-terminal)
4355         (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
4356         sequence to toggle extended coordinates on newer XTerms.
4357         This appears to be harmless on terminals which do not support this.
4359 2012-07-14  Leo Liu  <sdl.web@gmail.com>
4361         Add fringe bitmap indicators for flymake.  (Bug#11253)
4362         * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
4363         (flymake-make-overlay): New arg BITMAP.
4364         (flymake-error-bitmap, flymake-warning-bitmap)
4365         (flymake-fringe-indicator-position): New user variables.
4367         * fringe.el: New bitmap exclamation-mark.
4369 2012-07-14  Jan Djärv  <jan.h.d@swipnet.se>
4371         * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
4372         also (Bug#7879).
4374 2012-07-14  Chong Yidong  <cyd@gnu.org>
4376         * electric.el (electric-pair-post-self-insert-function): Fix pair
4377         insertion in empty-region case (Bug#11520).
4379 2012-07-14  Chong Yidong  <cyd@gnu.org>
4381         * bindings.el: Consolidate ctl-x-r-map bindings.
4382         Bind copy-rectangle-as-kill to C-x r w.
4384         * rect.el, register.el: Move bindings to bindings.el.
4386 2012-07-14  Reuben Thomas  <rrt@sc3d.org>
4388         * rect.el (copy-rectangle-as-kill): New command (Bug#739).
4390 2012-07-13  Andreas Schwab  <schwab@linux-m68k.org>
4392         * emacs-lisp/cl.el (labels): Remove spurious quote.  (Bug#11938)
4394 2012-07-13  Juanma Barranquero  <lekktu@gmail.com>
4396         * bindings.el (top): Use `mapc' instead of `mapcar'.
4398         * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
4400 2012-07-13  Michael Albinus  <michael.albinus@gmx.de>
4402         * progmodes/sql.el (sql-comint): Suppress the check for program on
4403         remote hosts.  Reported by Francis Devereux <francis@devrx.org>.
4404         (Bug#11908)
4406 2012-07-13  Chong Yidong  <cyd@gnu.org>
4408         * bindings.el: Assign a non-nil permanent-local property to
4409         per-buffer variables which lack a default value (Bug#11930).
4411         * help-fns.el (describe-variable): In the "automatically becomes
4412         local" notice, take note of permanent-local variables.
4414 2012-07-13  Chong Yidong  <cyd@gnu.org>
4416         * files.el (toggle-read-only): Doc fix and code cleanup.  New arg
4417         to allow printing the message when called from Lisp.
4419         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
4420         Remove toggle-read-only.
4422         * bs.el (bs-toggle-readonly):
4423         * buff-menu.el (Buffer-menu-toggle-read-only):
4424         Remove with-no-warnings around toggle-read-only.
4426         * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
4427         Remove with-no-warnings around toggle-read-only.
4428         (ffap-read-only, ffap-read-only-other-window)
4429         (ffap-read-only-other-frame): Callers changed.
4431         * help-mode.el: Don't require view package.
4432         (help-mode-finish): Set buffer-read-only instead of calling
4433         toggle-read-only.
4435         * bindings.el (mode-line-toggle-read-only):
4436         * dired.el (dired-toggle-read-only):
4437         * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
4438         with non-nil second arg.
4440         * emacs-lisp/eieio-custom.el (eieio-customize-object):
4441         * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
4442         directly.
4444 2012-07-12  Eli Zaretskii  <eliz@gnu.org>
4446         * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
4447         not incf.
4449 2012-07-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4451         More CL cleanups and reduction of use of cl.el.
4452         * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
4453         * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
4454         * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
4455         * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
4456         * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
4457         * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
4458         * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
4459         * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
4460         * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
4461         * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
4462         * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
4463         * eshell/em-cmpl.el, eshell/em-banner.el:
4464         * calendar/parse-time.el: Use cl-lib.
4465         * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
4466         * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
4467         * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
4468         * term/ns-win.el, term.el, shell.el, ps-samp.el:
4469         * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
4470         * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
4471         * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
4472         * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
4473         * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
4474         * mail/mailheader.el, mail/feedmail.el: Don't use CL.
4475         * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
4476         * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
4477         `lambda' rather than with `quote'.
4478         (eshell-do-opt): Adjust accordingly.
4479         (eshell-process-option): Simplify.
4480         * eshell/esh-var.el:
4481         * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
4482         * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
4483         (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
4484         to `pcase--dontcare'.
4485         * emacs-lisp/cl.el (labels): Mark obsolete.
4486         (cl--letf, letf): Move to cl-lib.
4487         (cl--letf*, letf*): Remove.
4488         * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
4489         * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
4490         (cl-progv): Rewrite.
4491         (cl--letf, cl-letf): Move from cl.el.
4492         (cl-letf*): New macro.
4493         * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
4495 2012-07-11  Michael Albinus  <michael.albinus@gmx.de>
4497         * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
4499 2012-07-11  Chong Yidong  <cyd@gnu.org>
4501         * vc/log-edit.el (log-edit-vc-backend): New variable.
4502         (log-edit): Doc fix.
4504         * vc/vc-dispatcher.el (vc-log-edit): New args.  Use PARAMS
4505         argument of log-edit to set up all local variables.
4506         (vc-start-logentry): New optional arg specifying VC backend.
4508         * vc/vc.el (vc-checkin): Use it.
4509         (vc-deduce-fileset): Handle Log Edit buffers.
4510         (vc-diff): Make first argument optional too.
4512         * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
4514 2012-07-10  Michael Albinus  <michael.albinus@gmx.de>
4516         * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
4517         command, just in case.  The function is not needed anymore.
4518         (eshell-external-command): Do not call `eshell-remote-command'.
4520 2012-07-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4522         Reduce use of (require 'cl).
4523         * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
4524         * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
4525         * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
4526         * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
4527         * international/quail.el, info-xref.el, imenu.el, image-mode.el:
4528         * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
4529         * battery.el, avoid.el, abbrev.el: Use cl-lib.
4530         * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
4531         * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
4532         * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
4533         * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
4534         * calculator.el, autorevert.el, apropos.el: Don't require CL.
4535         * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
4536         (byte-compile-unfold-bcf, byte-compile-check-variable):
4537         * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
4538         (byte-compile-nilconstp):
4539         * emacs-lisp/autoload.el (make-autoload): Use pcase.
4540         * face-remap.el (text-scale-adjust): Simplify pcase patterns.
4542         * emacs-lisp/gv.el (cond): Make it a valid place.
4543         (if): Simplify slightly.
4545         * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
4546         (pcase--self-quoting-p): New function.
4547         (pcase--u1): Use it.
4549 2012-07-10  Glenn Morris  <rgm@gnu.org>
4551         * emacs-lisp/authors.el (authors-fixed-entries):
4552         (authors-renamed-files-alist): Update for configure.in -> configure.ac.
4554 2012-07-09  Paul Eggert  <eggert@cs.ucla.edu>
4556         Rename configure.in to configure.ac (Bug#11603).
4557         * emacs-lisp/authors.el (authors-canonical-file-name):
4558         * progmodes/autoconf.el (autoconf-mode):
4559         Prefer configure.ac to configure.in.
4561 2012-07-08  Chong Yidong  <cyd@gnu.org>
4563         * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
4564         Implement the mouse-1-click-follows-link handling properly.
4566         * info.el (Info-link-keymap): Use follow-link mechanism for
4567         header-line links (Bug#374).
4569         * simple.el (deactivate-mark): Do not set the primary selection
4570         if another program has acquired it (Bug#11772).
4572 2012-07-07  Kevin Ryde  <user42@zip.com.au>
4574         * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
4575         (woman-decode-region): Replace escaped-escapes without destroying
4576         bold or underline (Bug#11552).
4577         (woman2-process-escapes): Handle nofill regions (Bug#11591).
4579 2012-07-07  Chong Yidong  <cyd@gnu.org>
4581         * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
4582         (interprogram-cut-function, interprogram-paste-function):
4583         Mention that we typically mean the clipboard.
4585 2012-07-06  Glenn Morris  <rgm@gnu.org>
4587         * kmacro.el (kmacro-call-macro): Restore repeat message.  (Bug#11817)
4589         * files.el (toggle-read-only): Restrict message to interactive use.
4591 2012-07-06  Michael Albinus  <michael.albinus@gmx.de>
4593         * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
4595         * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
4597 2012-07-06  Glenn Morris  <rgm@gnu.org>
4599         * Makefile.in (compile-one-process): Rename from "recompile".
4601         * Makefile.in (bzr-update): "compile" is the same as "recompile
4602         autoloads", but parallelizable, so use that instead.
4604 2012-07-06  Dmitry Gutov  <dgutov@yandex.ru>
4606         * window.el (quit-window): Always restore window height when
4607         it's saved in quit-restore parameter (Bug#11810).
4609 2012-07-06  Glenn Morris  <rgm@gnu.org>
4611         * simple.el (kill-whole-line): Doc tweak.
4613 2012-07-06  Eli Zaretskii  <eliz@gnu.org>
4615         * files.el (file-relative-name): Compare file names
4616         case-insensitively if on MS-Windows or MS-DOS, or if
4617         read-file-name-completion-ignore-case is non-nil.  Don't use
4618         case-fold-search for this purpose.  (Bug#11827)
4620 2012-07-17  Andreas Schwab  <schwab@linux-m68k.org>
4622         * calendar/cal-dst.el (calendar-current-time-zone):
4623         Return calendar-current-time-zone-cache if non-nil.
4625 2012-07-17  Masatake YAMATO  <yamato@redhat.com>
4626 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
4628         * calendar/cal-dst.el (calendar-current-time-zone):
4629         Return calendar-current-time-zone-cache if non-nil.
4631 2012-07-06  Glenn Morris  <rgm@gnu.org>
4633         * Makefile.in (cvs-update): Remove old alias.
4635 2012-07-05  Michael Albinus  <michael.albinus@gmx.de>
4637         Sync with Tramp 2.2.6-pre.
4639         * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
4640         compatible declaration.
4642         * net/tramp-cmds.el (tramp-append-tramp-buffers):
4643         Protect `list-load-path-shadows' call.
4645         * net/tramp-compat.el (top): Require packages, which aren't
4646         autoloaded anymore for XEmacs.  Protect call of
4647         `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
4648         compiler.  Do not require tramp-util.el and tramp-vc.el anymore,
4649         it hurts at least for SXEmacs.
4650         (tramp-compat-temporary-file-directory): In XEmacs, there is no
4651         standard-value for `temporary-file-directory'.
4653         * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
4654         Redirect stderr to /dev/null.
4655         (tramp-sh-handle-write-region): uid and gid can be floats.
4656         Reported by Russell Sim <russell.sim@gmail.com>.
4657         (tramp-sh-handle-vc-registered): Hide errors.
4658         (tramp-vc-file-name-handler): Use dummy results for `process-file'
4659         and `start-file-process'.
4660         (tramp-maybe-open-connection): Check also whether `non-essential'
4661         is bound.
4663 2012-07-04  Chong Yidong  <cyd@gnu.org>
4665         * xml.el (xml--parse-buffer): Use xml-syntax-table.
4666         (xml-parse-tag): Likewise, and avoid changing entity tables.
4667         (xml-syntax-table): Define from scratch, making sure not to give
4668         x2000 and other Unicode spaces whitespace syntax, since those are
4669         not spaces in XML.
4670         (xml-parse-fragment): Delete unused function.
4671         (xml-name-start-char-re, xml-name-char-re, xml-name-re)
4672         (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
4673         (xml-entity-ref, xml-pe-reference-re)
4674         (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
4675         (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
4676         (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
4677         (xml-entity-value-re): Use syntax references in regexps where
4678         possible; no need to define inside a let-binding.
4679         (xml-parse-dtd): Use xml-pe-reference-re.
4680         (xml-entity-or-char-ref-re): New defconst.
4681         (xml-parse-string, xml-substitute-special): Use it.
4683 2012-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4685         * files.el (locate-dominating-file): Allow `name' to be a predicate.
4686         (find-file--read-only): New function.
4687         (find-file-read-only, find-file-read-only-other-window)
4688         (find-file-read-only-other-frame): Use it.
4689         (insert-file-contents-literally): Don't `fset'.
4690         (get-free-disk-space): Use locate-dominating-file.
4692         * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
4693         function is already compiled.
4695         * xml.el (xml-name-regexp): Remove, redundant.  Use xml-name-re.
4697 2012-07-03  Michael Albinus  <michael.albinus@gmx.de>
4699         * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
4700         files on the same host.
4702 2012-07-03  Andreas Schwab  <schwab@linux-m68k.org>
4704         * help-fns.el (describe-function-1): Only call
4705         help-fns--autoloaded-p when we have a file name.  (Bug#11848)
4707 2012-07-03  Chong Yidong  <cyd@gnu.org>
4709         * xml.el: Protect parser against XML bombs.
4710         (xml-entity-expansion-limit): New variable.
4711         (xml-parse-string, xml-substitute-special): Use it.
4712         (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
4714 2012-07-03  Glenn Morris  <rgm@gnu.org>
4716         * progmodes/bug-reference.el (bug-reference-bug-regexp):
4717         Allow linking to specific messages in debbugs reports (eg 123#5).
4719 2012-07-02  Chong Yidong  <cyd@gnu.org>
4721         * xml.el: Fix entity and character reference expansion, allowing
4722         them to expand into markup as per XML spec.
4723         (xml-default-ns): New variable.
4724         (xml-entity-alist): Use XML spec definitions for lt and amp.
4725         (xml-parse-region): Make first two arguments optional.
4726         Discard text properties.
4727         (xml-parse-tag-1): New function, spun off from xml-parse-tag.
4728         All callers changed.
4729         (xml-parse-tag): Call xml-parse-tag-1.  For backward
4730         compatibility, this function should not modify buffer contents.
4731         (xml-parse-tag-1): Fix opening-tag regexp.
4732         (xml-parse-string): Rewrite, handling entity and character
4733         references properly.
4734         (xml--entity-replacement-text): Signal an error if a parameter
4735         entity is undefined.
4737 2012-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4739         * comint.el (comint-output-filter): Filter out repeated prompts.
4741         * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
4742         and file-name-absolute-p.
4743         (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
4744         internal calls.
4746 2012-07-02  Paul Eggert  <eggert@cs.ucla.edu>
4748         Spelling fixes.
4749         * emacs-lisp/bytecomp.el (byte-compile--reify-function):
4750         Rename from byte-compile--refiy-function.  All uses changed.
4752 2012-07-01  Chong Yidong  <cyd@gnu.org>
4754         * xml.el (xml--parse-buffer): New function.  Move most of
4755         xml-parse-region here.
4756         (xml-parse-region): Copy region into a temporary buffer, since
4757         parameter entity substitution requires changing buffer contents.
4758         Use xml--parse-buffer.
4759         (xml-parse-file): Use xml--parse-buffer.
4760         (xml-parse-dtd): Make parameter entity substitution work right.
4761         Use proper regexps for ELEMENT declarations (Bug#7172).
4763 2012-06-30  Glenn Morris  <rgm@gnu.org>
4765         * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
4767         * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
4768         Remove outdated and unnecessary dbus declarations.
4770 2012-06-30  Eli Zaretskii  <eliz@gnu.org>
4772         * emacs-lisp/timer.el (timer-until): Subtract results of
4773         float-time, instead of taking float-time of the result of
4774         time-subtract, since float-time signals an error for negative time
4775         arguments.
4777 2012-06-30  Chong Yidong  <cyd@gnu.org>
4779         * xml.el (xml-*-re): Convert defvars into defconsts, and
4780         eval-and-compile them so eval-and-compile works on derivatives.
4781         (xml--entity-replacement-text): Use eval-and-comple.
4783 2012-06-30  Michael Albinus  <michael.albinus@gmx.de>
4785         * vc/vc-git.el (vc-git-registered): Use cache property
4786         `git-registered'.
4787         (vc-git-mode-line-string): Call `vc-working-revision' instead of
4788         `vc-git-working-revision' in order to benefit from the cache.
4789         (vc-git-root): Use cache property `git-root'.  (Bug#11757)
4791 2012-06-30  Dmitry Gutov  <dgutov@yandex.ru>
4793         * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
4794         removed (likely outside Emacs).  (Bug#11757)
4796 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4798         * emacs-lisp/cl-lib.el: Require macroexp.
4800 2012-06-30  Chong Yidong  <cyd@gnu.org>
4802         * xml.el: Implement XML parameter entities.
4803         (xml-parameter-entity-alist): New variable.
4804         (xml-parse-region, xml-parse-fragment): Preserve previous values
4805         of xml-entity-alist and xml-parameter-entity-alist, so that
4806         repeated calls on different documents do not change them.
4807         (xml-parse-tag): Fix doctype regexp.
4808         (xml--entity-replacement-text): New function.
4809         (xml-parse-dtd): Use it.  Don't handle system entities; doing that
4810         properly requires url retrieval which is unimplemented.
4811         (xml-escape-string): Doc fix.
4813 2012-06-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4815         * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
4817 2012-06-29  Dmitry Antipov  <dmantipov@yandex.ru>
4819         * fringe.el (fringe-mode): Doc fix.
4821 2012-06-29  Michael Albinus  <michael.albinus@gmx.de>
4823         * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
4824         is non-nil.
4825         (ange-ftp-ignore-errors-if-non-essential): New defmacro.
4826         (ange-ftp-file-name-all-completions): Use it.  (Bug#11808)
4828 2012-06-29  Andreas Schwab  <schwab@linux-m68k.org>
4830         * calendar/cal-dst.el (calendar-current-time-zone):
4831         Return calendar-current-time-zone-cache if non-nil.
4833 2012-06-29  Masatake YAMATO  <yamato@redhat.com>
4835         * progmodes/which-func.el (which-func-format):
4836         Add mouse-face.  (Bug#11698)
4838 2012-06-29  Leo Liu  <sdl.web@gmail.com>
4840         * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
4842 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4844         * minibuffer.el (minibuffer-confirm-exit-commands):
4845         Add completion-at-point (bug#11725).
4847 2012-06-29  Glenn Morris  <rgm@gnu.org>
4849         * progmodes/f90.el (f90-font-lock-keywords-2):
4850         Add some preprocessor elements.  (Bug#10499)
4852 2012-06-29  Stefan Monnier  <monnier@iro.umontreal.ca>
4854         * progmodes/cperl-mode.el (cperl-update-syntaxification):
4855         Use syntax-propertize (bug#11739).
4857 2012-06-28  Juanma Barranquero  <lekktu@gmail.com>
4859         * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
4861 2012-06-28  Julien Danjou  <julien@danjou.info>
4863         * term.el (term-handle-colors-array): Use a set of new faces to
4864         color the terminal.  Also uses :inverse-video property.
4865         (term-default-fg-color): Set to nil by default, deprecate in favor
4866         of `term-face'.
4867         (term-default-bg-color): Set to nil by default, deprecate in favor
4868         of `term-face'.
4869         (term-current-face): Use `term-face' by default.
4870         (term-bold-attribute): Variable deleted.
4872 2012-06-28  Glenn Morris  <rgm@gnu.org>
4874         * simple.el (completion-list-mode-finish):
4875         Don't use toggle-read-only.  (Since completion-list-mode has
4876         a special mode-class, it wasn't doing anything extra anyway.)
4878 2012-06-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4880         Make inlining of other-mode interpreted functions work (bug#11799).
4881         * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
4882         (byte-compile): Use it to fix compilation of lexical-binding closures.
4883         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
4884         function, if needed.
4886 2012-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4888         * help-mode.el (help-make-xrefs): Don't just withstand
4889         cyclic-variable-indirection but any error in documentation-property.
4891         * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
4892         memory use.
4893         * bindings.el (bindings--define-key): New function.
4894         * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
4895         * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
4896         * bindings.el: Use it to purecopy define-key bindings.
4898         * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
4900         * emacs-lisp/cl.el (flet): Mark obsolete.
4901         * emacs-lisp/cl-macs.el (cl-flet*): New macro.
4902         * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
4903         * progmodes/js.el (js-c-fill-paragraph):
4904         * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
4905         (ebrowse-switch-member-buffer-to-derived-class):
4906         * play/5x5.el (5x5-solver): Use cl-flet.
4908         * emacs-lisp/cl.el: Use lexical-binding.  Fix flet (bug#11780).
4909         (cl--symbol-function): New macro.
4910         (cl--letf, cl--letf*): Use it.
4912         * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
4913         Strip "toggle-" if any.
4915 2012-06-27  Glenn Morris  <rgm@gnu.org>
4917         * info.el (Info-default-directory-list): Move here from paths.el.
4918         * paths.el: Remove file, which is now empty.
4919         * loadup.el: No longer load "paths".
4921         * custom.el (custom-initialize-delay): Doc fix.
4923         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4924         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4925         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4926         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4927         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4928         * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
4929         * eshell/eshell.el (eshell-defgroup): Remove alias.
4931 2012-06-27  Chong Yidong  <cyd@gnu.org>
4933         * help.el (help-enable-auto-load): New variable.
4935         * help-fns.el (help-fns--autoloaded-p): New function.
4936         (describe-function-1): Refer to a function as "autoloaded" if it
4937         was autoloaded at any time in the past.  Perform autoloading if
4938         help-enable-auto-load is non-nil.
4940 2012-06-26  Eli Zaretskii  <eliz@gnu.org>
4942         * makefile.w32-in (compile, compile-always): Depend on
4943         update-subdirs, not on subdirs.el.  Otherwise, several different
4944         sub-targets of 'bootstrap' running in parallel could
4945         simultaneously write to subdirs.el, producing a garbled file.
4947 2012-06-26  Sam Steingold  <sds@gnu.org>
4949         * files.el (file-name-base): New convenience function.
4950         * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
4951         * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
4952         * progmodes/cc-defs.el, progmodes/cperl-mode.el:
4953         * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
4954         * textmodes/ispell.el, textmodes/reftex-ref.el:
4955         * textmodes/tex-mode.el: Use it.
4956         Did not touch cedet and org because they are maintained elsewhere.
4958 2012-06-26  Martin Rudalics  <rudalics@gmx.at>
4960         * calendar/calendar.el (calendar-exit): Don't try to delete or
4961         iconify last frame.  See:
4962         http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
4964 2012-06-25  Jim Diamond  <Jim.Diamond@AcadiaU.ca>  (tiny change)
4966         * server.el (server-process-filter): Remember dir in the
4967         process's `server-client-directory' properties.
4969 2012-06-24  Chong Yidong  <cyd@gnu.org>
4971         * xml.el (xml-parse-tag): Correctly handle comment embedded in
4972         non-tag text.
4974 2012-06-23  Juanma Barranquero  <lekktu@gmail.com>
4976         * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
4978 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4980         * help-fns.el (describe-variable): Don't croak when doc is not found.
4981         * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
4982         * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
4983         * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
4984         * emacs-lisp/smie.el (smie-next-sexp): CSE.
4985         * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
4986         ((lambda ..) ..).
4987         * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
4989 2012-06-23  Chong Yidong  <cyd@gnu.org>
4991         * info.el (Info-mouse-follow-link): Accept symbol values of
4992         link-args.  Select window; suggested by Gerhard Kahl (Bug#11672).
4993         (Info-fontify-node): Use Info-link-keymap for all navigation
4994         buttons, with link-args property to perform the desired action.
4995         (Info-link-keymap): Doc fix.
4996         (Info-next-link-keymap, Info-prev-link-keymap)
4997         (Info-up-link-keymap): Delete now-unused keymaps.
4999 2012-06-23  Chong Yidong  <cyd@gnu.org>
5001         * mouse.el (mouse-drag-track): Deactivate the mark before popping.
5003         * progmodes/python.el (python-skeleton-define): Mark abbrevs as
5004         system abbrevs.
5006         * ansi-color.el (ansi-color-apply-on-region): Doc fix.
5008 2012-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5010         * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
5011         (bug#11719).
5013         * minibuffer.el (completion--twq-try): Try to fail more gracefully when
5014         the requote function doesn't work properly (bug#11714).
5016 2012-06-23  Glenn Morris  <rgm@gnu.org>
5018         * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
5020 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5022         Further GV/CL cleanups.
5023         * emacs-lisp/gv.el (gv-get): Autoload functions to find their
5024         gv-expander.
5025         (gv--defun-declaration): New function.
5026         (defun-declarations-alist): Use it.
5027         (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
5028         (gv-place): Autoload.
5029         * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
5030         original definition of dotimes and dolist.
5031         * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
5032         (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
5033         * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
5034         (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5035         (cl-ninth, cl-tenth): Move gv handler to the function's definition.
5036         * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
5037         to the function's definition.
5038         * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
5039         * window.el:
5040         * files.el:
5041         * faces.el:
5042         * env.el: Don't use CL.
5044 2012-06-22  Paul Eggert  <eggert@cs.ucla.edu>
5046         Support higher-resolution time stamps (Bug#9000).
5048         * calendar/time-date.el (with-decoded-time-value): New arg
5049         PICO-SYMBOL in VARLIST.  It's optional, for backward compatibility.
5050         (encode-time-value): New optional arg PICO.  New type 3.
5051         (time-to-seconds) [!float-time]: Support the new picoseconds
5052         component if it's used.
5053         (seconds-to-time, time-subtract, time-add):
5054         Support ps-resolution time stamps as well.
5056         * emacs-lisp/timer.el (timer): New component psecs.  All uses changed.
5057         (timerp): Timer vectors now have length 9, not 8.
5058         (timer--time): Support new-style (4-part) time stamps.
5059         (timer-next-integral-multiple-of-time): Time stamps now have
5060         picosecond resolution, so take a bit more care about rounding.
5061         (timer-relative-time, timer-inc-time): New optional arg psecs.
5062         (timer-set-time-with-usecs): Set psecs to 0.
5063         (timer--activate): Check psecs component, too.
5065         * proced.el (proced-time-lessp): Support ps-resolution stamps.
5067 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5069         * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
5070         Move the non-essential binding to the post/pre-command-hook where it is
5071         more obviously correct.
5073         * subr.el (read-passwd): Don't use a history at all.
5074         * savehist.el (savehist-save): Remove password saved accidentally
5075         because of the above bug.
5077 2012-06-22  Bastien Guerry  <bzg@gnu.org>
5079         * files.el (toggle-read-only): Display a message telling whether
5080         the buffer is read-only or not (bug#11726).
5082 2012-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5084         * emacs-lisp/gv.el: New file.
5085         * subr.el (push, pop): Extend to generalized variables.
5086         * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
5087         * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
5088         * emacs-lisp/cl-macs.el: Require gv.  Use gv-define-setter,
5089         gv-define-simple-setter, and gv-define-expander.
5090         Remove setf-methods defined in gv.  Rename cl-setf -> setf.
5091         (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
5092         (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
5093         (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
5094         (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
5095         gv-letplace.
5096         (cl-defstruct): Don't define setf-method any more.
5097         * emacs-lisp/cl.el (flet): Don't autoload.
5098         (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
5099         (define-setf-expander, defsetf, define-modify-macro)
5100         (cl-struct-setf-expander): Move from cl-lib.el.
5101         * emacs-lisp/syntax.el:
5102         * emacs-lisp/ewoc.el:
5103         * emacs-lisp/smie.el:
5104         * emacs-lisp/cconv.el:
5105         * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
5106         (timer--time): Use gv-define-simple-setter.
5107         * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
5108         to avoid coding-system problems in subr.el.  Adjust all users.
5109         (macroexp--maxsize, macroexp-small-p): New functions.
5110         * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
5111         * scroll-bar.el (scroll-bar-mode):
5112         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
5113         (normal-erase-is-backspace-mode): Don't use the `eq' place.
5114         * winner.el (winner-configuration, winner-make-point-alist)
5115         (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
5116         * files.el (locate-file-completion-table): Avoid list*.
5118 2012-06-22  Chong Yidong  <cyd@gnu.org>
5120         * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
5121         (dired-create-files): Doc fix (Bug#11329).
5122         (dired-do-copy): Doc fix (Bug#11334).
5123         (dired-mark-read-string): Doc fix (Bug#11553).
5125         * dired.el (dired-recursive-copies, dired-recursive-deletes):
5126         Doc fix (Bug#11326).
5127         (dired-make-relative): Doc fix (Bug#11332).  Remove unused arg.
5128         (dired-dwim-target): Doc fix.
5130         * wdired.el (wdired-mode): Doc fix.
5132 2012-06-22  Glenn Morris  <rgm@gnu.org>
5134         * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
5135         (pcmpl-rpm-cache-stamp-file): New constant.
5136         (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
5137         (pcmpl-rpm-packages): Optionally cache list of packages.
5139         * pcmpl-rpm.el (pcmpl-rpm): New group.
5140         (pcmpl-rpm-query-options): New option.
5141         (pcmpl-rpm-packages): No need to inline it.
5142         Use pcmpl-rpm-query-options.
5144         * calendar/calendar.el (calendar-in-read-only-buffer):
5145         Avoid some needless mode changes.
5147 2012-06-21  Chong Yidong  <cyd@gnu.org>
5149         * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
5150         (desktop-path): Remove . from the default value (Bug#10977).
5151         (desktop-read): Use user-emacs-directory if desktop-path is nil.
5153 2012-06-20  Chong Yidong  <cyd@gnu.org>
5155         * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
5157 2012-06-20  David Röthlisberger  <david@rothlis.net>  (tiny change)
5159         * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
5160         (bug#11201).
5162 2012-06-20  Chong Yidong  <cyd@gnu.org>
5164         * term.el (term-window-width): Handle the case of a missing right
5165         fringe (Bug#8837).
5166         (term-check-size): Use window-text-height (Bug#5445).
5167         (term-mode): Use define-derived-mode.  Minor cleanups.
5168         Set font-lock-defaults (Bug#7692).
5169         (term-move-columns, term-insert-char, term-emulate-terminal)
5170         (term-erase-in-line, term-insert-spaces): Use font-lock-face.
5172 2012-06-20  Michael Albinus  <michael.albinus@gmx.de>
5174         * net/ange-ftp.el (ange-ftp-get-passwd):
5175         Bind `enable-recursive-minibuffers'.
5176         (ange-ftp-get-process): Throw if `non-essential' is non-nil.
5178 2012-06-19  David Röthlisberger  <david@rothlis.net>  (tiny change)
5180         * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
5182 2012-06-19  Glenn Morris  <rgm@gnu.org>
5184         * progmodes/python.el (python-mode): Derive from prog-mode.
5186 2012-06-19  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
5188         * emulation/edt.el (edt-default-menu-bar-update-buffers)
5189         (edt-user-menu-bar-update-buffers): New functions.
5190         (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
5192 2012-06-19  Chong Yidong  <cyd@gnu.org>
5194         * subr.el (with-selected-window): Preserve the selected window's
5195         terminal's top-frame (Bug#4702).
5197         * window.el (save-selected-window): Likewise.
5199 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5201         * progmodes/python.el (python-rx-constituents): Move backquote.
5202         (python-skeleton-define, python-define-auxiliary-skeleton):
5203         Use `declare'.
5205 2012-06-18  Michael Albinus  <michael.albinus@gmx.de>
5207         * minibuffer.el (read-file-name-default): Revert the patch from
5208         2012-06-17.
5210 2012-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5212         * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
5213         (pcase--u1, pcase--q1): Don't use apply-partially.
5215 2012-06-18  Glenn Morris  <rgm@gnu.org>
5217         * progmodes/python.el (python-proc, python-buffer)
5218         (python-send-receive, python-send-string): Fix obsolete versions.
5220 2012-06-18  Martin Rudalics  <rudalics@gmx.at>
5222         * window.el (special-display-p): Completely remove stringp
5223         check.  Suggested by Andreas Schwab <schwab@linux-m68k.org>.
5225 2012-06-17  Michael Albinus  <michael.albinus@gmx.de>
5227         * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
5229         * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
5231         * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
5232         * net/tramp-sh.el (tramp-maybe-open-connection):
5233         Throw if `non-essential' is non-nil.
5235 2012-06-17  Martin Rudalics  <rudalics@gmx.at>
5237         * window.el (special-display-p): Signal an error if BUFFER-NAME
5238         is not a string (Bug#11713).
5240 2012-06-17  Paul Eggert  <eggert@cs.ucla.edu>
5242         * progmodes/python.el (python-info-beginning-of-backslash):
5243         Rename from python-info-beginning-of-backlash, as a spelling fix.
5245 2012-06-17  Chong Yidong  <cyd@gnu.org>
5247         * term.el (term-emulate-terminal): If term-check-size is called,
5248         move point to the process mark without resetting point (Bug#4635).
5250 2012-06-17  Glenn Morris  <rgm@gnu.org>
5252         * international/mule-cmds.el (mule-menu-keymap)
5253         (set-language-environment, set-locale-environment): Doc tweaks.
5255 2012-06-16  Aurelien Aptel  <aurelien.aptel@gmail.com>
5257         * cus-face.el (custom-face-attributes): Add wave-style underline
5258         attribute.
5259         * faces.el (set-face-attribute): Update docstring to describe
5260         wave-style underline attribute.
5262 2012-06-16  Chong Yidong  <cyd@gnu.org>
5264         * term/xterm.el (terminal-init-xterm): Discard input before
5265         querying background mode (Bug#10959).
5267 2012-06-16  Stefan Merten  <smerten@oekonux.de>
5269         * textmodes/rst.el: Added and corrected some comments.
5270         (rst-re-alist-def): Improve symbol syntax.
5271         (rst-mode-syntax-table): Correct syntax entries.
5272         (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
5273         (rst-official-version, rst-official-cvs-rev): Update version
5274         information.
5276 2012-06-15  Juanma Barranquero  <lekktu@gmail.com>
5278         * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
5279         in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
5281 2012-06-15  Fabián Ezequiel Gallina  <fgallina@cuca>
5283         * progmodes/python.el: New python.el merge.
5284         (python-guess-indent): Obsolete var.
5285         (python-indent-guess-indent-offset): New defcustom.
5286         (python-indent): Obsolete var.
5287         (python-indent-offset): New defcustom.
5288         (python-python-command, python-jython-command): Delete var.
5289         (python-shell-interpreter): New defcustom.
5290         (python-pdbtrack-do-tracking-p): Delete var.
5291         (python-pdbtrack-activate): New defcustom.
5292         (python-use-skeletons): Obsolete var.
5293         (python-skeleton-autoinsert): New defcustom.
5294         (inferior-python-filter-regexp, python-continuation-offset)
5295         (python-honour-comment-indentation, python-indent-string-contents)
5296         (python-jython-packages, python-mode-hook)
5297         (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
5298         (python-shell-prompt-alist)
5299         (python-source-modes): Delete defcustoms.
5300         (python-check-buffer-name, python-eldoc-setup-code)
5301         (python-eldoc-string-code, python-ffap-setup-code)
5302         (python-ffap-string-code, python-fill-comment-function)
5303         (python-fill-decorator-function, python-fill-paren-function)
5304         (python-fill-string-function, python-imenu-include-defun-type)
5305         (python-imenu-make-tree, python-imenu-subtree-root-label)
5306         (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
5307         (python-shell-compilation-regexp-alist)
5308         (python-shell-completion-module-string-code)
5309         (python-shell-completion-pdb-string-code)
5310         (python-shell-completion-setup-code)
5311         (python-shell-completion-string-code)
5312         (python-shell-enable-font-lock, python-shell-exec-path)
5313         (python-shell-extra-pythonpaths)
5314         (python-shell-internal-buffer-name, python-shell-interpreter-args)
5315         (python-shell-process-environment)
5316         (python-shell-prompt-block-regexp)
5317         (python-shell-prompt-output-regexp)
5318         (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
5319         (python-shell-send-setup-max-wait, python-shell-setup-codes)
5320         (python-shell-virtualenv-path): New defcustoms.
5321         (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
5322         (inferior-python-mode-syntax-table, python--prompt-regexp)
5323         (python-buffer, python-command python-python-command)
5324         (python-default-template, python-imports, python-indent-index)
5325         (python-indent-list, python-indent-list-length)
5326         (python-mode-running, python-pdbtrack-is-tracking-p)
5327         (python-preoutput-continuation, python-preoutput-leftover)
5328         (python-preoutput-result, python-preoutput-skip-next-prompt)
5329         (python-prev-dir/file, python-recursing)
5330         (python-saved-check-command, python-version-checked)
5331         (python-which-func-length-limit)
5332         (view-return-to-alist): Delete vars.
5333         (python-check-custom-command, python-dotty-syntax-table)
5334         (python-imenu-index-alist, python-indent-current-level)
5335         (python-indent-dedenters, python-indent-levels)
5336         (python-nav-beginning-of-defun-regexp)
5337         (python-nav-list-defun-positions-cache)
5338         (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
5339         (python-shell-internal-buffer)
5340         (python-skeleton-available): New vars.
5341         (def-python-skeleton): Delete macro.
5342         (python-skeleton-define): New macro.
5343         (python-define-auxiliary-skeleton, python-rx): New macros.
5344         (python-insert-class): Delete command.
5345         (python-skeleton-class): New command.
5346         (python-insert-def): Delete command.
5347         (python-skeleton-def): New command.
5348         (python-insert-for): Delete command.
5349         (python-skeleton-for): New command.
5350         (python-insert-if): Delete command.
5351         (python-skeleton-if): New command.
5352         (python-insert-try/except, python-insert-try/finally): Delete commands.
5353         (python-skeleton-try): New command.
5354         (python-insert-while): Delete command.
5355         (python-skeleton-while): New command.
5356         (python-backspace): Delete command.
5357         (python-indent-dedent-line-backspace): New command.
5358         (python-electric-colon): Delete command.
5359         (python-indent-electric-colon): New command.
5360         (python-guess-indent): Delete command.
5361         (python-indent-guess-indent-offset): New command.
5362         (python-shift-left): Delete command.
5363         (python-indent-shift-left): New command.
5364         (python-shift-right): Delete command.
5365         (python-indent-shift-right): New command.
5366         (python-find-function): Delete command.
5367         (python-nav-jump-to-defun): New command.
5368         (python-next-statement): Delete command.
5369         (python-nav-forward-sentence): New command.
5370         (python-previous-statement): Delete command.
5371         (python-nav-backward-sentence): New command.
5372         (python-fill-paragraph): Delete command.
5373         (python-fill-paragraph-function): New command.
5374         (python-send-buffer): Delete command.
5375         (python-shell-send-buffer): New command.
5376         (python-send-defun): Delete command.
5377         (python-shell-send-defun): New command.
5378         (python-send-region, python-send-region-and-go): Delete commands.
5379         (python-shell-send-region)
5380         (python-shell-switch-to-shell): New commands.
5381         (python-send-string): Delete command.
5382         (python-shell-send-string): New command.
5383         (python-switch-to-python): Delete command.
5384         (python-shell-switch-to-shell): New command.
5385         (python-describe-symbol): Delete command.
5386         (python-eldoc-at-point): New command.
5387         (python--set-prompt-regexp, python-args-to-list)
5388         (python-after-info-look, python-check-version)
5389         (python-check-comint-prompt, python-find-imports)
5390         (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
5391         (python-unload-function, python-expand-template)
5392         (python-maybe-jython, python-preoutput-filter)
5393         (python-pdbtrack-get-source-buffer)
5394         (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
5395         (python-pdbtrack-toggle-stack-tracking)
5396         (python-pdbtrack-track-stack-file, python-initial-text)
5397         (python-first-word, python-comment-line-p, python-send-command)
5398         (python-setup-brm, python-sentinel, python-set-proc)
5399         (python-skip-out, python-input-filter, python-outdent-p)
5400         (python-outline-level, python-backslash-continuation-line-p)
5401         (python-end-of-block, python-end-of-statement, python-mark-block)
5402         (python-beginning-of-block, python-beginning-of-statement)
5403         (python-blank-line-p, python-beginning-of-string)
5404         (python-open-block-statement-p): Delete functions.
5405         (python-indent-line, python-indent-line-1): Delete functions.
5406         (python-indent-line): New function.
5407         (python-indentation-levels): Delete function.
5408         (python-indent-calculate-levels): New function.
5409         (python-proc): Delete function.
5410         (python-shell-get-process): New function.
5411         (python-send-receive): Delete function.
5412         (python-shell-send-string-no-output): New function.
5413         (python-module-path): Delete function.
5414         (python-ffap-module-path): New function.
5415         (python-completion-at-point)
5416         (python-symbol-completions): Delete functions.
5417         (python-completion-complete-at-point): New function.
5418         (python-load-file): Delete function.
5419         (python-shell-send-file): New function.
5420         (python-calculate-indentation): Delete function.
5421         (python-indent-calculate-indentation): New function.
5422         (python-skip-comments/blanks): Delete function.
5423         (python-util-forward-comment): New function.
5424         (python-continuation-line-p): Delete function.
5425         (python-info-continuation-line-p): New function.
5426         (python-which-func, python-current-defun): Delete function.
5427         (python-info-current-defun): New function.
5428         (python-beginning-of-defun): Delete function.
5429         (python-nav-beginning-of-defun): New function.
5430         (python-close-block-statement-p)
5431         (python-block-end-p): Delete function.
5432         (python-info-closing-block): New function.
5433         (python-comint-output-filter-function)
5434         (python-eldoc--get-doc-at-point, python-end-of-defun-function)
5435         (python-fill-comment, python-fill-decorator, python-fill-paren)
5436         (python-fill-string, python-imenu-make-element-tree)
5437         (python-imenu-make-tree, python-imenu-tree-assoc)
5438         (python-indent-context, python-indent-dedent-line)
5439         (python-indent-line-function)
5440         (python-indent-post-self-insert-function)
5441         (python-indent-toggle-levels)
5442         (python-info-assignment-continuation-line-p)
5443         (python-info-beginning-of-backlash)
5444         (python-info-block-continuation-line-p)
5445         (python-info-closing-block-message)
5446         (python-info-line-ends-backslash-p)
5447         (python-info-looking-at-beginning-of-defun)
5448         (python-info-ppss-context, python-info-ppss-context-type)
5449         (python-nav-list-defun-positions, python-nav-read-defun)
5450         (python-nav-sentence-end, python-nav-sentence-start)
5451         (python-pdbtrack-comint-output-filter-function)
5452         (python-pdbtrack-set-tracked-buffer)
5453         (python-shell-calculate-exec-path)
5454         (python-shell-calculate-process-environment)
5455         (python-shell-completion--do-completion-at-point)
5456         (python-shell-completion--get-completions)
5457         (python-shell-completion-complete-at-point)
5458         (python-shell-completion-complete-or-indent)
5459         (python-shell-get-or-create-process)
5460         (python-shell-get-process-name)
5461         (python-shell-internal-get-or-create-process)
5462         (python-shell-internal-get-process-name)
5463         (python-shell-internal-send-string, python-shell-make-comint)
5464         (python-shell-parse-command, python-shell-send-setup-code)
5465         (python-skeleton-add-menu-items)
5466         (python-util-clone-local-variables, python-util-position)
5467         (run-python-internal, python-indentation-levels)
5468         (python-nav-beginning-of-defun)
5469         (python-completion-complete-at-point): New functions.
5470         (run-python): Change arguments.  New API requirements.
5472 2012-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5474         * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
5475         (bug#11649).
5477         * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
5478         (macroexp--expand-all): Use it.
5480         * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
5481         (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
5482         Use `cl-function' instead.
5484 2012-06-14  Juanma Barranquero  <lekktu@gmail.com>
5486         * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
5487         Suggested by Stefan Monnier while discussing bug#11657.
5489 2012-06-14  Sam Steingold  <sds@gnu.org>
5491         * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
5493 2012-06-14  Andreas Schwab  <schwab@linux-m68k.org>
5495         * play/doctor.el (doctor-doc): Remove parameter and use
5496         doctor-sent instead of sent.
5497         (doctor-read-print): Use doctor-sent instead of sent.  (Bug#11708)
5499 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5501         * files.el: Require cl-lib.
5502         (file-name-non-special): Replace case -> cl-case.
5504         * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
5506         * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
5507         mapping from #' to function*.
5509 2012-06-13  Chong Yidong  <cyd@gnu.org>
5511         * mouse.el (mouse-drag-track): Do not set the mark if the user
5512         releases the mouse without selecting anything (Bug#11588).
5514 2012-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5516         * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
5517         as well (bug#11646).
5519         * loadup.el: Count byte-code functions as well.
5521         * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
5522         * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
5524         * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
5525         (bug#11649).  Add cl-defun and cl-defmacro.
5527 2012-06-13  Drew Adams  <drew.adams@oracle.com>
5529         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5530         Fix last change.
5532 2012-06-13  Michael Albinus  <michael.albinus@gmx.de>
5534         * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
5535         Otherwise, it blocks in batch mode.
5537 2012-06-13  Juanma Barranquero  <lekktu@gmail.com>
5539         * help-mode.el (bookmark-make-record-default): Declare.
5541 2012-06-13  Chong Yidong  <cyd@gnu.org>
5543         * emacs-lisp/package.el (list-packages): Compute a list of
5544         packages that are newly-available since the last list-packages
5545         invocation.
5546         (package-menu--new-package-list): New var.
5547         (package-menu--generate, package-menu--print-info)
5548         (package-menu--status-predicate, package-menu-mark-install):
5549         Handle new status label "new".
5551 2012-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5553         * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
5554         conversion to backquotes.
5556 2012-06-12  Chong Yidong  <cyd@gnu.org>
5558         * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
5559         Rename from gud-inhibit-global-bindings.
5561         * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
5563         * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
5564         hook from nxml-glyph-set-hook.
5566         * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
5567         declaration.
5569         * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
5571         * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
5572         Convert to defcustom.
5574 2012-06-12  Drew Adams  <drew.adams@oracle.com>
5576         * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
5577         New functions.
5578         (help-mode): Use them.
5580 2012-06-11  Glenn Morris  <rgm@gnu.org>
5582         * progmodes/fortran.el (fortran-font-lock-keywords-3):
5583         Use preprocessor face for directives.
5584         (fortran-directive-re): Doc fix.
5586 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5588         * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
5589         conversion to backquotes (bug#11652).
5591         Fix compiler-expansion of CL's cXXr functions (bug#11673).
5592         * emacs-lisp/cl-lib.el (cl--defalias): New function.
5593         (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
5594         (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
5595         (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
5596         (cl-ninth, cl-tenth): Mark them as inlinable.
5597         (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
5598         (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
5599         (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
5600         (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
5601         Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
5602         (cl-list*, cl-adjoin): Don't put an autoload manually.
5603         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
5604         (cl--compiler-macro-list*): Add autoload cookie.
5605         (cl--compiler-macro-cXXr): New function.
5607         * help-fns.el (help-fns--compiler-macro): New function extracted from
5608         describe-function-1; follow aliases and use `compiler-macro' property.
5609         (describe-function-1): Use it.
5611 2012-06-11  Chong Yidong  <cyd@gnu.org>
5613         * startup.el (fancy-splash-head): Use splash.svg even if librsvg
5614         is uninstalled, if imagemagick is installed.
5616 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5618         * emacs-lisp/cl-lib.el: Use lexical-binding.
5619         (cl-map-extents, cl-maclisp-member): Remove.
5620         (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
5621         (cl--set-substring, cl--block-wrapper, cl--block-throw)
5622         (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
5623         * emacs-lisp/cl-extra.el: Use lexical-binding.
5624         (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
5625         (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
5626         (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
5627         (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
5628         * emacs-lisp/cl-seq.el: Use lexical-binding.
5629         (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
5630         (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
5631         (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
5632         * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
5633         * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
5634         CL's internals.
5636 2012-06-11  Michael Albinus  <michael.albinus@gmx.de>
5638         Sync with Tramp 2.2.6-pre.
5640         * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
5641         `print-length' and `print-level' to nil, in order to avoid
5642         truncation.  Reported by Christopher Schmidt
5643         <christopher@ristopher.com>.
5645         * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
5647         * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
5648         New defmacro.
5649         (tramp-compat-copy-directory): Add optional argument
5650         COPY-CONTENTS.  It is not handled yet.
5652         * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
5653         (tramp-ftp-file-name-p): Simplify.
5655         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
5656         * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
5657         connection vector.
5659         * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
5660         (tramp-methods): Do not use `tramp-password-end-of-line'.
5661         (tramp-completion-function-alist-putty): Handle UNIX case.
5662         (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
5663         (tramp-do-file-attributes-with-stat)
5664         (tramp-do-directory-files-and-attributes-with-stat) Return uid and
5665         gid as real numbers.  They could run out of integer range on cygwin.
5666         (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
5667         (tramp-sh-handle-expand-file-name): Handle hops.
5668         (tramp-open-connection-setup-interactive-shell):
5669         Use `tramp-cleanup'.  Move check for busyboxes ...
5670         (tramp-find-shell): ... here.  Simplify implementation.
5671         Set "remote-shell" property also for alternative shells.
5672         (tramp-remote-coding-commands): Check "test -c /dev/stdout".
5673         If failing, a regular file would be written otherwise.
5674         Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
5675         (tramp-find-inline-encoding): Cache the coding commands in the
5676         process cache.  Apply test command on the remote side, if defined.
5677         (tramp-find-inline-compress): Cache the compress commands in the
5678         process cache.
5679         (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
5680         when requested.  Handle hops.
5681         (tramp-current-connection): New defvar.
5682         (tramp-maybe-open-connection): Use `tramp-cleanup'.
5683         Throw `suppress', if there was a failed connection shortly before.
5684         Handle user interrupt.  (Bug#10187)
5685         (tramp-get-inline-compress, tramp-get-inline-coding):
5686         Read connection properties from the process cache.
5688         * net/tramp-smb.el (tramp-smb-server-version)
5689         (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
5690         New defconsts.
5691         (tramp-smb-prompt): Extend for powershell prompt.
5692         (tramp-smb-file-name-handler-alist): Add handlers for
5693         `process-file', `shell-command' and `start-file-process'.
5694         (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
5695         (tramp-smb-winexe-shell-command-switch): New defcustoms.
5696         (tramp-smb-file-name-p): Simplify.
5697         (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
5698         (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
5699         (tramp-smb-shell-quote-argument): New defuns.
5700         (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
5701         Implement using "tar".  By this, time-stamps are preserved.
5702         (tramp-smb-handle-copy-file): Handle also the case of directories.
5703         (tramp-smb-do-file-attributes-with-stat)
5704         (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
5705         Use `tramp-get-connection-buffer').
5706         (tramp-smb-handle-rename-file): Use "rename", when source and
5707         target are on the same share.
5708         (tramp-smb-maybe-open-connection): Handle wrong passwords.
5709         Use `tramp-smb-server-version'.
5710         (tramp-smb-wait-for-output): Remove prompt.
5712         * net/tramp.el (top): Require 'cl.
5713         (tramp-methods, tramp-rsh-end-of-line):
5714         Remove `tramp-password-end-of-line' from docstring.
5715         (tramp-save-ad-hoc-proxies): New defcustom.
5716         (tramp-completion-function-alist): Adapt docstring.
5717         (tramp-default-password-end-of-line): Remove defcustom.
5718         (tramp-shell-prompt-pattern): Allow "[]" style prompts.  (Bug#11065)
5719         (tramp-user-regexp, tramp-file-name-regexp-unified)
5720         (tramp-file-name-regexp-url): Extend regexp by hop separator.
5721         (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
5722         (tramp-remote-file-name-spec-regexp): New defconst.
5723         (tramp-file-name-structure): Extend structure for hops.
5724         (tramp-get-method-parameter): Move up.
5725         (tramp-file-name-p, tramp-dissect-file-name)
5726         (with-parsed-tramp-file-name): Handle hops.
5727         (tramp-file-name-hop): New defun.
5728         (tramp-make-tramp-file-name): New optional arg HOP.
5729         (tramp-message-show-progress-reporter-message): New defvar.
5730         (tramp-with-progress-reporter): Use it.  We cannot use
5731         `tramp-message-show-message' here, because this suppresses also
5732         error buffers.
5733         (tramp-error-with-buffer): Suppress buffer view, if
5734         `tramp-message-show-message' is nil.
5735         Use `tramp-get-connection-buffer'.
5736         (tramp-cleanup): New defun.
5737         (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
5738         (tramp-file-name-handler): If `debug-on-error' is set, propagate
5739         an error unchanged.
5740         (tramp-completion-handle-file-name-all-completions): Handle hops.
5741         Fix an error when called from ido.
5742         (tramp-completion-dissect-file-name): Use better local variable
5743         name.  Add hop to the vector.
5744         (tramp-handle-insert-file-contents): Use progress-reporter for the
5745         whole scenario.
5746         (tramp-action-password): Let-bind `enable-recursive-minibuffers'
5747         to `t'.
5748         (tramp-check-for-regexp): Simplify search.
5749         (tramp-enter-password): Remove it.  Move implementation ...
5750         (tramp-action-password): ... here.
5751         (tramp-mode-string-to-int, tramp-local-host-p)
5752         (tramp-make-tramp-temp-file, tramp-read-passwd)
5753         (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
5754         Set tramp-autoload cookie.
5756         * net/trampver.el: Update release number.
5758 2012-06-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5759             Michael Albinus  <michael.albinus@gmx.de>
5761         * net/tramp.el (tramp-set-completion-function): Fix docstring.
5762         (tramp-parse-group, tramp-parse-file)
5763         (tramp-parse-shostkeys-sknownhosts): New defuns.
5764         (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
5765         (tramp-parse-shosts-group, tramp-parse-sconfig)
5766         (tramp-parse-sconfig-group, tramp-parse-shostkeys)
5767         (tramp-parse-sknownhosts, tramp-parse-hosts)
5768         (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
5769         Use them.
5770         (tramp-parse-passwd-group, tramp-parse-netrc-group)
5771         (tramp-parse-putty-group): Don't narrow.
5772         (tramp-parse-putty): Make a loop.
5773         (tramp-file-name-handler): Catch the `suppress' signal.
5775 2012-06-11  Chong Yidong  <cyd@gnu.org>
5777         * image.el (imagemagick-register-types): Put the ImageMagick entry
5778         at the end of image-type-file-name-regexps.
5780 2012-06-11  Johan BockgÃ¥rd  <bojohan@gnu.org>
5782         * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
5783         (pcase, pcase-let*, pcase-dolist): Use them.
5785 2012-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5787         * emacs-lisp/pcase.el (pcase--let*): New function.
5788         (pcase-let*): Use it.  Use pcase--memoize to avoid repeated expansions.
5789         (pcase--expand): Use macroexp-let².
5791 2012-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5793         * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
5794         * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
5795         * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
5796         * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
5797         * emacs-lisp/derived.el: Use pcase instead of `cl'.
5798         * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
5800 2012-06-10  Glenn Morris  <rgm@gnu.org>
5802         * mail/rmail.el (rmail-yank-current-message): Leave point at
5803         correct position.  (Bug#11660)
5805 2012-06-10  Chong Yidong  <cyd@gnu.org>
5807         * allout-widgets.el: Fix code header.
5809 2012-06-10  Chong Yidong  <cyd@gnu.org>
5811         * cus-edit.el (customize-changed-options-previous-release):
5812         Bump to 24.1.
5814 2012-06-09  Andreas Schwab  <schwab@linux-m68k.org>
5816         * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
5818 2012-06-09  Chong Yidong  <cyd@gnu.org>
5820         * ebuff-menu.el (electric-buffer-list): Preserve header line.
5822 2012-06-09  Martin Rudalics  <rudalics@gmx.at>
5824         * window.el (special-display-popup-frame): Don't use
5825         window--display-buffer (Bug#11651).
5827 2012-06-09  Eli Zaretskii  <eliz@gnu.org>
5829         Fix parallel builds: make sure loaddefs.el is not being written
5830         while Lisp files are compiled.
5831         (compile): Don't depend on 'mh-autoloads'.
5832         (compile-CMD, compile-SH): Depend on 'autoloads'.
5833         (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
5835         * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200.  (Bug#11649)
5837 2012-06-09  Chong Yidong  <cyd@gnu.org>
5839         * face-remap.el (face-remap-add-relative, face-remap-set-base)
5840         (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
5841         Doc fixes (Bug#11225).
5843 2012-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5845         * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
5846         a function if there's a clear indication that it has a compiler-macro.
5847         * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
5848         (macro-declarations-alist): Add arglist to declaration functions.
5849         (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
5850         * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
5851         * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
5852         * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
5853         Also add autoload to find the compiler macro.
5854         * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
5855         (cl--compiler-macro-member, cl--compiler-macro-assoc)
5856         (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
5857         (cl--compiler-macro-get): New functions, replacing calls to
5858         cl-define-compiler-macro.
5859         (cl-typep) [compiler-macro]: Use macroexp-let².
5861 2012-06-08  Nick Dokos  <nicholas.dokos@hp.com>  (tiny change)
5863         * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
5864         string properly, fixes Bug#11473.
5866 2012-06-08  Chong Yidong  <cyd@gnu.org>
5868         * faces.el (set-face-attribute): Doc fix.
5869         (modify-face): Don't use :bold and :italic.
5870         (error, warning, success): Tweak definitions.
5872         * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
5873         (custom-modified, custom-set, custom-changed, custom-themed)
5874         (custom-saved, custom-button, custom-button-mouse)
5875         (custom-button-pressed, custom-state, custom-comment-tag)
5876         (custom-variable-tag, custom-group-tag-1, custom-group-tag)
5877         (custom-group-subtitle): Use new-style face specs.
5878         (custom-invalid-face, custom-rogue-face, custom-modified-face)
5879         (custom-set-face, custom-changed-face, custom-saved-face)
5880         (custom-button-face, custom-button-pressed-face)
5881         (custom-documentation-face, custom-state-face)
5882         (custom-comment-face, custom-comment-tag-face)
5883         (custom-variable-tag-face, custom-variable-button-face)
5884         (custom-face-tag-face, custom-group-tag-face-1)
5885         (custom-group-tag-face): Remove obsolete face alias.
5887         * epa.el (epa-validity-high, epa-validity-medium)
5888         (epa-validity-low, epa-mark, epa-field-name, epa-string)
5889         (epa-field-name, epa-field-body):
5890         * font-lock.el (font-lock-comment-face, font-lock-string-face)
5891         (font-lock-keyword-face, font-lock-builtin-face)
5892         (font-lock-function-name-face, font-lock-variable-name-face)
5893         (font-lock-type-face, font-lock-constant-face):
5894         * ido.el (ido-first-match, ido-only-match, ido-subdir)
5895         (ido-virtual, ido-indicator, ido-incomplete-regexp):
5896         * speedbar.el (speedbar-button-face, speedbar-file-face)
5897         (speedbar-directory-face, speedbar-tag-face)
5898         (speedbar-selected-face, speedbar-highlight-face)
5899         (speedbar-separator-face):
5900         * whitespace.el (whitespace-newline, whitespace-space)
5901         (whitespace-hspace, whitespace-tab, whitespace-trailing)
5902         (whitespace-line, whitespace-space-before-tab)
5903         (whitespace-space-after-tab, whitespace-indentation)
5904         (whitespace-empty):
5905         * emulation/cua-base.el (cua-global-mark):
5906         * eshell/em-prompt.el (eshell-prompt):
5907         * net/newst-plainview.el (newsticker-new-item-face)
5908         (newsticker-old-item-face, newsticker-immortal-item-face)
5909         (newsticker-obsolete-item-face, newsticker-date-face)
5910         (newsticker-statistics-face, newsticker-default-face):
5911         * net/newst-reader.el (newsticker-feed-face)
5912         (newsticker-extra-face, newsticker-enclosure-face):
5913         * net/newst-treeview.el (newsticker-treeview-face)
5914         (newsticker-treeview-new-face, newsticker-treeview-old-face)
5915         (newsticker-treeview-immortal-face)
5916         (newsticker-treeview-obsolete-face)
5917         (newsticker-treeview-selection-face):
5918         * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
5919         (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
5920         (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
5921         (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
5922         * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
5923         (nxml-outline-active-indicator, nxml-outline-ellipsis):
5924         * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
5925         (mpuz-text):
5926         * progmodes/vera-mode.el (vera-font-lock-number)
5927         (vera-font-lock-function, vera-font-lock-interface):
5928         * textmodes/table.el (table-cell): Use new-style face specs, and
5929         don't use the old :bold and :italic attributes.
5931         * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
5932         (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
5933         (ebrowse-member-class, ebrowse-progress): Likewise.
5934         (ebrowse-tree-mark-face, ebrowse-root-class-face)
5935         (ebrowse-file-name-face, ebrowse-default-face)
5936         (ebrowse-member-attribute-face, ebrowse-member-class-face)
5937         (ebrowse-progress-face): Remove obsolete faces.
5939         * progmodes/flymake.el (flymake-errline, flymake-warnline):
5940         Inherit from error and warning faces respectively.
5942         * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
5943         Likewise.
5944         (flyspell-incorrect-face, flyspell-duplicate-face):
5945         Remove obsolete aliases.
5947 2012-06-08  Michael Albinus  <michael.albinus@gmx.de>
5949         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
5950         Avoid infloop.
5952 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5954         * startup.el (argv, argi): Make lexically scoped.
5955         * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
5956         * emacs-lisp/cl-macs.el: Use lexical-binding.
5957         Rename cl-bind-* to cl--bind-*.
5958         * files.el: Don't require `cl' since it doesn't use it.
5959         * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
5961 2012-06-08  Juanma Barranquero  <lekktu@gmail.com>
5963         * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
5964         (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
5965         instead of calling external sort utility.
5966         (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
5968 2012-06-08  Eli Zaretskii  <eliz@gnu.org>
5970         * descr-text.el (describe-char): Mention how to insert the
5971         character, if the current input method doesn't support it.
5972         See the discussion in this thread for the details:
5973         http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
5975 2012-06-08  Sam Steingold  <sds@gnu.org>
5977         * bindings.el (global-map): Bind XF86Forward to next-buffer and
5978         XF86Back to previous-buffer.
5979         (minibuffer-local-map): Bind them to next-history-element and
5980         previous-history-element respectively.
5981         * help-mode.el (help-mode-map): Bind them to help-go-forward and
5982         help-go-back respectively.
5983         * info.el (Info-mode-map): Bind them to Info-history-forward and
5984         Info-history-back respectively.
5985         These are the keys next to Up on the ThinkPad keyboard.
5987 2012-06-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5989         Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
5990         * emacs-lisp/cl-macs.el: Provide itself.
5991         (cl--labels-convert-cache): New var.
5992         (cl--labels-convert): New function.
5993         (cl-flet, cl-labels): New implementation with new semantics, relying on
5994         lexical-binding.
5995         * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
5996         (cl-closure-vars, cl--function-convert-cache)
5997         (cl--function-convert): Move from cl-macs.el.
5998         (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
5999         rename by removing the "cl-" prefix.
6000         * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
6002 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6004         * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
6005         (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
6006         (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
6007         (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
6008         (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
6009         (cl-hash-table-count): Add old compatibility aliases.
6011         * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
6012         Use macroexpand-all-environment instead.
6013         (cl--old-macroexpand): New var.
6014         (cl--sm-macroexpand): New function.
6015         (cl-symbol-macrolet): Use it during macro expansion.
6016         (cl--function-convert-cache): New var.
6017         (cl--function-convert): New function, extracted from
6018         cl-macroexpand-all.
6019         (cl-lexical-let): Use it.
6021         * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
6022         (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
6023         (cl-member): Remove old alias.
6025         * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
6026         (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
6027         (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
6028         (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
6029         (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
6030         (cl-macroexpand-cmacs): Remove var.
6031         (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
6032         Use macroexpand-all instead.
6034 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6036         * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
6037         (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
6038         (macroexp-copyable-p): New functions and macros.
6039         * emacs-lisp/edebug.el (edebug-unwrap):
6040         * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
6041         * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
6042         (pcase--let*): Remove.
6043         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
6044         (byte-compile-constp): Remove.  Use macroexp--const-symbol-p and
6045         macroexp-const-p instead.
6046         * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
6048         * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
6049         instead of "cl-" for internal definitions.  Use macroexp-const-p.
6050         (cl-old-bc-file-form): Remove var.
6051         (cl-const-exprs-p): Remove fun.
6052         (cl-labels, cl-macrolet): Use backquote.
6053         (cl-lexical-let): Use cl-symbol-macrolet.  Don't use cl-defun-expander.
6054         (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
6055         (cl-define-setf-expander): Rename from cl-define-setf-method.
6056         * emacs-lisp/cl.el: Adjust alias for define-setf-method.
6058         * international/mule-cmds.el: Don't require CL.
6059         (view-hello-file): Don't use `letf'.
6061 2012-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6063         * tmm.el (tmm-prompt): Use string-prefix-p.
6064         (tmm-completion-delete-prompt): Don't affect current-buffer outside.
6065         (tmm-add-prompt): Use minibuffer-completion-help.
6066         (tmm-delete-map): Remove.
6068         * subr.el (kbd): Make it its own function.
6070 2012-06-07  Stefan Merten  <smerten@oekonux.de>
6072         * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
6073         Silence compiler warnings.  Fix versions.
6074         (rst-position-if, rst-position, rst-some, rst-signum): New functions.
6075         (rst-shift-region, rst-adornment-level, rst-compute-tabs)
6076         (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
6077         (rst-package-emacs-version-alist): Correct Emacs version to
6078         represent major merge with upstream.
6079         (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
6081 2012-06-06  Glenn Morris  <rgm@gnu.org>
6083         * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
6084         Only print environment variables if set.
6086 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6088         * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
6089         (macroexp--cons): Rename from maybe-cons.
6090         (macroexp--accumulate): Rename from macroexp-accumulate.
6091         (macroexp--all-forms): Rename from macroexpand-all-forms.
6092         (macroexp--all-clauses): Rename from macroexpand-all-clauses.
6093         (macroexp--expand-all): Rename from macroexpand-all-1.
6095 2012-06-06  Sam Steingold  <sds@gnu.org>
6097         * calendar/calendar.el (calendar-in-read-only-buffer):
6098         Call `special-mode' to enable the standard read-only keybindings.
6100 2012-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
6102         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
6103         with "loading" messages (bug#11635).
6105 2012-06-06  Michael Albinus  <michael.albinus@gmx.de>
6107         * files.el (enable-remote-dir-locals): New option.
6108         (hack-dir-local-variables): Use it.  (Bug#1933, Bug#6731)
6110         * net/tramp-compat.el (tramp-compat-temporary-file-directory):
6111         Ensure, that the temp directory is local.
6113         * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
6114         `temporary-file-directory'.
6116         * progmodes/python.el (python-send-region): Ensure, that the
6117         temporary file is created also in the remote case.
6119 2012-06-06  Glenn Morris  <rgm@gnu.org>
6121         * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
6122         (vc-rcs-update-changelog): Use it.
6124         * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
6126         * vc/vc-sccs.el (vc-sccs-write-revision): New function.
6127         (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
6128         (vc-sccs-diff): Replace use of the external vcdiff script.
6130 2012-06-05  Glenn Morris  <rgm@gnu.org>
6132         * ledit.el: Move to obsolete/.
6134 2012-06-05  Sam Steingold  <sds@gnu.org>
6136         * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
6137         patch (Bug#11140).
6139 2012-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6141         * emacs-lisp/cust-print.el: Move to obsolete.
6143         * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
6144         compiler-macro expansion.
6146         Add native compiler-macro support.
6147         * emacs-lisp/macroexp.el (macroexpand-all-1):
6148         Support compiler-macros directly.  Properly follow aliases and apply
6149         the compiler macros more thoroughly.
6150         * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
6151         macroexpand now properly follows aliases.
6152         * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
6153         (cl-compiler-macroexpand): Use new prop.
6154         * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
6156         * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
6158 2012-06-05  Martin Rudalics  <rudalics@gmx.at>
6160         * window.el (get-lru-window, get-mru-window, get-largest-window):
6161         New argument NOT-SELECTED to avoid picking the selected window.
6162         (window--display-buffer-1, window--display-buffer-2): Replace by
6163         new function window--display-buffer
6164         (display-buffer-same-window, display-buffer-reuse-window)
6165         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
6166         Use window--display-buffer.
6167         (display-buffer-use-some-window): Remove temporary dedication
6168         hack by calling get-lru-window and get-largest-window with
6169         NOT-SELECTED argument non-nil.  Call window--display-buffer.
6171 2012-06-05  Glenn Morris  <rgm@gnu.org>
6173         * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
6174         Replace external vcdiff script.
6176 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6178         * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
6180 2012-06-04  Chong Yidong  <cyd@gnu.org>
6182         * image.el (imagemagick-types-inhibit): Revert last change.
6183         Add INFO and M.
6184         (imagemagick-enabled-types): Remove CIN and EPS*.
6186 2012-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6188         * emacs-lisp/cl-lib.el: Rename from cl.el.
6189         * emacs-lisp/cl.el: New compatibility file.
6190         * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
6191         * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
6192         to obey the "cl-" prefix.
6193         * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
6195 2012-06-03  Glenn Morris  <rgm@gnu.org>
6197         * emacs-lisp/authors.el (authors-aliases): Addition.
6199         * cus-start.el (tool-bar-style, tool-bar-max-label-size):
6200         Fix :version.
6202 2012-06-03  Stefan Merten  <smerten@oekonux.de>
6204         * textmodes/rst.el: Add comments.
6205         (rst-transition, rst-adornment): New faces.
6206         (rst-adornment-faces-alist): Make default safe to reevaluate.
6207         Fixes
6208         http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
6209         Improve customization tags.
6210         (rst-define-level-faces): Clarify meaning.
6212 2012-06-03  Chong Yidong  <cyd@gnu.org>
6214         * progmodes/compile.el (compilation-mode-line-fail)
6215         (compilation-mode-line-run, compilation-mode-line-exit):
6216         New faces.
6217         (compilation-start, compilation-handle-exit): Use them (Bug#11032).
6219 2012-06-03  Jack Duthen  <duthen.mac.01@gmail.com>  (tiny change)
6221         * progmodes/which-func.el (which-func-update-ediff-windows):
6222         New function.  Use it in ediff-select-hook (Bug#11478).
6224 2012-06-03  Chong Yidong  <cyd@gnu.org>
6226         * bindings.el: Remove explicit help text from format-mode-line.
6227         It is now supplied by mode-line-default-help-echo.
6228         (mode-line-front-space, mode-line-end-spaces)
6229         (mode-line-misc-info): New variables.
6230         (mode-line-modes, mode-line-position): Move the default value to
6231         the variable definition.
6232         (mode-line-default-help-echo): New defcustom.
6233         (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
6234         (mode-line-modified-help-echo): New functions.
6235         (mode-line-mule-info, mode-line-modified): Use them.
6236         (mode-line-eol-desc, propertized-buffer-identification):
6237         Consistency fixes for help text.
6238         (mode-line-coding-system-map): Allow using mouse-3 to invoke
6239         set-buffer-file-coding-system (Bug#289).
6240         (mode-line-mule-info-help-echo): Update help text.
6242 2012-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6244         * simple.el (execute-extended-command): Set real-this-command
6245         (bug#11506).
6247 2012-06-02  Chong Yidong  <cyd@gnu.org>
6249         Remove incorrect uses of "modeline" in comments, docstrings, and
6250         function/variable names (Bug#10329).
6252         * cus-edit.el (mode-line):
6253         * dframe.el (dframe-mouse-hscroll):
6254         * emacs-lisp/re-builder.el:
6255         * emacs-lisp/easy-mmode.el (define-minor-mode):
6256         * frame.el (set-frame-name):
6257         * help.el (lookup-minor-mode-from-indicator):
6258         * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
6259         * progmodes/cc-cmds.el (c-toggle-auto-newline)
6260         (c-toggle-hungry-state):
6261         * progmodes/antlr-mode.el (antlr-language-alist):
6262         * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
6263         * progmodes/vhdl-mode.el (vhdl-mode):
6264         * progmodes/which-func.el (which-func, which-func-cleanup-function):
6265         * term/ns-win.el (ns-face-at-pos):
6266         * term/sup-mouse.el (sup-mouse-report):
6267         * textmodes/flyspell.el (flyspell-mode-line-string):
6268         * textmodes/ispell.el (ispell-highlight-face):
6269         * textmodes/reftex-global.el:
6270         * vc/vc-arch.el (vc-arch-mode-line-string):
6271         * vc/vc-cvs.el (vc-cvs-mode-line-string):
6272         * vc/vc-git.el (vc-git-mode-line-string):
6273         * vc/vc-hooks.el (vc-display-status)
6274         (vc-default-mode-line-string):
6275         * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
6277         * ansi-color.el (ansi-color-faces-vector): Change default faces.
6279         * dired.el (dired-sort-set-mode-line): Rename from
6280         dired-sort-set-modeline.  All callers changed.
6282         * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
6283         eshell-status-in-modeline.
6285         * foldout.el (foldout-mode-line-string): Rename from
6286         foldout-modeline-string.  All callers changed.
6287         (foldout-update-mode-line): Rename from foldout-update-modeline.
6289         * subr.el (redraw-modeline): Make into obsolete alias.
6291         * calendar/timeclock.el (timeclock-mode-line-display): Rename from
6292         timeclock-modeline-display.  Make old name an alias.
6293         (timeclock-update-mode-line): Likewise.  All callers changed.
6294         (timeclock-mode-line-display): No need to check before using
6295         add-hook.
6296         (timeclock-relative, timeclock-day-over-hook)
6297         (timeclock-use-elapsed, timeclock-mode-string)
6298         (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
6300         * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
6301         crisp-mode-modeline-string.
6303         * play/solitaire.el (solitaire-build-mode-line): Rename from
6304         solitaire-build-modeline.  All callers changed.
6306         * play/zone.el (zone-hiding-mode-line): Rename from
6307         zone-hiding-modeline.  All callers changed.
6308         (zone): Remove unusued `modeline-hidden-level' property.
6310         * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
6311         xscheme-modeline-initialize.  All callers changed.
6313         * strokes.el (strokes-lighter): Rename from
6314         strokes-modeline-string.
6316         * textmodes/sgml-mode.el (html-face-tag-alist)
6317         (html-tag-face-alist): Use mode-line face instead of obsolete
6318         alias modeline.
6320 2012-06-02  Stefan Merten  <smerten@oekonux.de>
6322         * textmodes/rst.el: Always require `cl'.
6323         (rst-mode-map): Fix meaning of C-M-a / C-M-e.
6325 2012-06-02  Chong Yidong  <cyd@gnu.org>
6327         * image.el (imagemagick-enabled-types): Rename from
6328         imagemagick-types-enable.  Add many more types.
6329         (imagemagick-types-inhibit): Change default to nil.
6330         (imagemagick-filter-types): Caller changed.
6332 2012-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6334         * emacs-lisp/cl-macs.el: Use backquotes.
6335         (cl-transform-function-property): Use eval-and-compile rather than
6336         abusing `require'.
6337         (defstruct): Use declare-function instead of with-no-warnings.
6339         * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
6340         (byte-compile-output-docform): Re-add the print-circle bindings.
6341         (byte-compile-fix-header): Use #$ just because it's shorter.
6342         (byte-compile-output-file-form): Remove defun/defmacro.
6344 2012-06-01  Martin Rudalics  <rudalics@gmx.at>
6346         * simple.el (choose-completion): Remove now obsolete binding for
6347         owindow.
6349 2012-06-01  Michael Albinus  <michael.albinus@gmx.de>
6351         * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
6352         in order to avoid "Stack overflow in regexp matcher".
6354 2012-05-31  Glenn Morris  <rgm@gnu.org>
6356         * image.el: For clarity, call imagemagick-register-types at
6357         top-level, rather than relying on a custom :initialize.
6358         (imagemagick-types-enable): New option.  (Bug#11557)
6359         (imagemagick-filter-types): New function.  (Bug#7406)
6360         (imagemagick-register-types): Use imagemagick-filter-types.
6361         If disabling support, remove elements altogether rather
6362         than using an impossible regexp.
6363         (imagemagick-types-inhibit): Give it the default init function.
6365 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6367         * emacs-lisp/bytecomp.el (byte-compile-fix-header):
6368         Handle arbitrary file name lengths (Bug#11585).
6370 2012-05-31  Martin Rudalics  <rudalics@gmx.at>
6372         * desktop.el (desktop-read): Clear previous and next buffers for
6373         all windows and bury *Messages* buffer (bug#11556).
6375 2012-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6377         Add `declare' for `defun'.  Align `defmacro's with it.
6378         * emacs-lisp/easy-mmode.el (define-minor-mode)
6379         (define-globalized-minor-mode): Don't autoload the var definitions.
6380         * emacs-lisp/byte-run.el: Use lexical-binding.
6381         (defun-declarations-alist, macro-declarations-alist): New vars.
6382         (defmacro, defun): Use them.
6383         (make-obsolete, define-obsolete-function-alias)
6384         (make-obsolete-variable, define-obsolete-variable-alias):
6385         Use `declare'.
6386         (macro-declaration-function): Mark obsolete.
6387         * emacs-lisp/autoload.el: Use lexical-binding.
6388         (make-autoload): Add `expansion' arg.  Rely more on macro expansion.
6390 2012-05-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6392         * textmodes/ispell.el (ispell-with-no-warnings):
6393         Define as a macro.
6394         (ispell-kill-ispell, ispell-change-dictionary):
6395         Use `called-interactively-p' for Emacs instead of obsolete
6396         `interactive-p'.
6398 2012-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6400         * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
6401         (macro-declaration-function): Move var from C code.
6402         (macro-declaration-function): Define function with defalias.
6403         * emacs-lisp/macroexp.el (macroexpand-all-1):
6404         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
6405         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
6406         defun/defmacro any more.
6407         * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
6408         Provide fallback for unknown arglist.
6409         (byte-compile-arglist-warn): Change calling convention.
6410         (byte-compile-output-file-form): Move print-vars binding.
6411         (byte-compile-output-docform): Simplify accordingly.
6412         (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
6413         (byte-compile-defmacro-declaration): Remove.
6414         (byte-compile-file-form-defmumble): Generalize to defalias.
6415         (byte-compile-output-as-comment): Return byte-positions.
6416         Simplify callers accordingly.
6417         (byte-compile-lambda): Use `assert'.
6418         (byte-compile-defun, byte-compile-defmacro): Remove.
6419         (byte-compile-file-form-defalias):
6420         Use byte-compile-file-form-defmumble.
6421         (byte-compile-defalias-warn): Remove.
6423 2012-05-29  Stefan Merten  <smerten@oekonux.de>
6425         * textmodes/rst.el: Silence `checkdoc-ispell' errors where
6426         possible.  Fix authors.  Improve comments.  Improve loading of `cl'.
6428         (rst-mode-abbrev-table): Merge definition.
6429         (rst-mode): Make sure `font-lock-defaults' is buffer local.
6430         (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
6432 2012-05-29  Ulf Jasper  <ulf.jasper@web.de>
6434         * calendar/icalendar.el
6435         (icalendar-export-region): Export UID properly.
6437 2012-05-29  Leo Liu  <sdl.web@gmail.com>
6438         * calendar/icalendar.el (icalendar-import-format):
6439         Add `icalendar-import-format-uid' (Bug#11525).
6440         (icalendar-import-format-uid): New.
6441         (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
6442         Export UID.
6444 2012-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
6446         * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
6447         different alternative patterns.
6448         (pcase-codegen): Be more careful to preserve identity.
6449         (pcase--u1): Don't forget to mark vars as used.
6451         * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
6452         (byte-compile-close-variables): Bind byte-compile--outbuffer here...
6453         (byte-compile-from-buffer): ...rather than here.
6455         * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
6456         functions from byte-compile-function-environment.
6458 2012-05-29  Troels Nielsen  <bn.troels@gmail.com>
6460         * window.el (window-deletable-p): Avoid deleting the root window
6461         of a frame with an active minibuffer.
6463 2012-05-29  Martin Rudalics  <rudalics@gmx.at>
6465         * simple.el (choose-completion): Use quit-window (Bug#11567).
6467 2012-05-29  Chong Yidong  <cyd@gnu.org>
6469         * whitespace.el (whitespace-cleanup): Fix usage of
6470         whitespace-empty-at-bob-regexp (Bug#11492).
6472 2012-05-29  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6474         * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
6475         revert (Bug#11488).
6477 2012-05-29  Juri Linkov  <juri@jurta.org>
6479         * isearch.el (isearch-mode-map): Bind `M-s _' to
6480         `isearch-toggle-symbol'.  Bind `M-s c' to
6481         `isearch-toggle-case-fold'.
6482         (search-map): Bind `M-s _' to `isearch-forward-symbol'.
6483         (isearch-forward): Add `M-s _' to the docstring.
6484         (isearch-forward-symbol, isearch-toggle-case-fold)
6485         (isearch-symbol-regexp): New functions.  (Bug#11381)
6487 2012-05-29  Juri Linkov  <juri@jurta.org>
6489         * isearch.el (isearch-word): Add docstring.  (Bug#11381)
6490         (isearch-occur, isearch-search-and-update): If `isearch-word' is
6491         a function, call it to get the regexp.
6492         (isearch-message-prefix): If `isearch-word' holds a symbol, use its
6493         property `isearch-message-prefix' instead of the string "word ".
6494         (isearch-search-fun-default): For the case of `isearch-word',
6495         return a lambda that calls re-search-forward/re-search-backward
6496         with a regexp returned by `word-search-regexp' or by the function
6497         in `isearch-word'.
6499 2012-05-29  Juri Linkov  <juri@jurta.org>
6501         * isearch.el (isearch-search-fun-default): New function.
6502         (isearch-search-fun): Move default part to the new function
6503         `isearch-search-fun-default'.
6504         (isearch-search-fun-function): Set the default value to
6505         `isearch-search-fun-default'.  (Bug#11381)
6507         * comint.el (comint-history-isearch-end):
6508         Use `isearch-search-fun-default'.
6509         (comint-history-isearch-search): Use `isearch-search-fun-default'
6510         and remove spacial case for `isearch-word'.
6511         (comint-history-isearch-wrap): Remove spacial case for
6512         `isearch-word'.
6514         * hexl.el (hexl-isearch-search-function):
6515         Use `isearch-search-fun-default'.
6517         * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
6518         Use `word-search-regexp' for `isearch-word'.
6520         * misearch.el (multi-isearch-search-fun):
6521         Use `isearch-search-fun-default'.
6523         * simple.el (minibuffer-history-isearch-search):
6524         Use `isearch-search-fun-default' and remove spacial case for
6525         `isearch-word'.
6526         (minibuffer-history-isearch-wrap): Remove spacial case for
6527         `isearch-word'.
6529         * textmodes/reftex-global.el (reftex-isearch-wrap-function):
6530         Remove spacial case for `isearch-word'.
6531         (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
6533 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6535         Decrease XEmacs incompatibilities.
6536         * textmodes/flyspell.el (flyspell-check-pre-word-p):
6537         Use `string-match'.
6538         (flyspell-delete-region-overlays): Use alternative definition for
6539         XEmacs.
6540         (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
6541         (flyspell-word): Use `process-kill-without-query' if XEmacs.
6542         (flyspell-mode-on): Use `interactive-p' if XEmacs.
6543         (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
6544         `define-obsolete-face-alias' under XEmacs, but old method.
6546         * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
6547         `with-no-warnings' definition or Emacs alias.
6548         (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
6549         (ispell-word): Do not use `region-p' if XEmacs.
6551 2012-05-28  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6553         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6554         Check for `ispell-dictionary-base-alist' instead of full
6555         `ispell-dictionary-alist'.
6556         (ispell-init-process): Show spellchecker when starting new Ispell
6557         process.
6559 2012-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6561         * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
6562         http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
6564 2012-05-27  Juanma Barranquero  <lekktu@gmail.com>
6566         * version.el (motif-version-string, gtk-version-string)
6567         (ns-version-string): Declare.
6569 2012-05-27  Juri Linkov  <juri@jurta.org>
6571         * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
6572         after the `eval-defun-1' specialcaseing
6573         like in `edebug-eval-defun' (bug#10181).
6575         * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
6576         like in `eval-defun-1'.
6578 2012-05-27  Eli Zaretskii  <eliz@gnu.org>
6580         * mail/sendmail.el (mail-yank-region):
6581         Recognize rmail-yank-current-message in addition to insert-buffer.
6582         Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
6583         a *mail* buffer created through rmail-start-mail with sendmail as
6584         mail-user-agent.
6586 2012-05-27  Chong Yidong  <cyd@gnu.org>
6588         * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
6589         Default to 256 (Bug#11267).
6591         * help.el (describe-mode): Doc fix.
6593 2012-05-26  Glenn Morris  <rgm@gnu.org>
6595         * w32-fns.el (w32-init-info): Remove.
6596         * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
6598         * info.el (info-initialize): For self-contained NS builds, put the
6599         included info/ directory at the front.  (Bug#2791)
6601         * paths.el (Info-default-directory-list): Make it a defcustom,
6602         mainly so that we can use custom-initialize-delay.
6604 2012-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6606         * subr.el (buffer-has-markers-at): Mark obsolete.
6608         * subr.el (lambda): Use declare.
6610         * emacs-lisp/lisp-mode.el (lambda):
6611         * emacs-lisp/edebug.el (lambda): Move properties to its definition.
6613 2012-05-26  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
6615         * thingatpt.el (forward-same-syntax): Handle no ARG case.  (Bug#11560)
6617 2012-05-26  Glenn Morris  <rgm@gnu.org>
6619         * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
6621 2012-05-25  Glenn Morris  <rgm@gnu.org>
6623         * paths.el: Remove no-byte-compile.
6624         * loadup.el: No need to load paths.el uncompiled.
6626         * image.el (imagemagick-types-inhibit): Doc fix.
6628         * version.el: Remove no-byte-compile and associated formatting.
6629         * loadup.el: No need to load version.el uncompiled.  AFAICS, this
6630         is ancient code from when there was an "inc-vers.el".
6632 2012-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6634         * progmodes/gdb-mi.el: Minor style changes.
6635         (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
6636         Turn into minor modes.
6637         (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
6638         (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
6639         (gdb-shell): Remove unneeded let-binding.
6640         (gdb-get-many-fields): Eliminate O(n²) behavior.
6642 2012-05-25  Eli Zaretskii  <eliz@gnu.org>
6644         * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
6645         platforms that don't link in fontset.c.
6647 2012-05-25  Juri Linkov  <juri@jurta.org>
6649         Use the same diff color scheme as in modern VCSes (bug#10181).
6651         * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
6652         to avoid confusion with `diff-added' that now uses green colors.
6653         (diff-removed): Use shades of red.
6654         (diff-added): Use shades of green.
6655         (diff-changed): Leave just the yellow color.
6656         (diff-use-changed-face): New variable.
6657         (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
6658         how to highlight context diff changes.
6659         (diff-refine-change): Use shades of yellow.
6660         (diff-refine-removed): New face that uses shades of red.
6661         (diff-refine-added): New face that uses shades of green.
6662         (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
6663         `diff-refine-removed' in the call to `smerge-refine-subst'
6664         depending on the value of `diff-use-changed-face'.
6666         * vc/smerge-mode.el (smerge-mine): Use shades of red.
6667         (smerge-other): Use shades of green.
6668         (smerge-base): Use shades of yellow.
6669         (smerge-refined-change): Empty face.
6670         (smerge-refined-removed): New face that uses shades of red.
6671         (smerge-refined-added): New face that uses shades of green.
6672         (smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
6673         args `props-r' and `props-a', and use them.  Doc fix.
6674         (smerge-refine): Evaluate `smerge-use-changed-face' and depending
6675         on its value use different faces `smerge-refined-change',
6676         `smerge-refined-removed', `smerge-refined-added' in the call to
6677         `smerge-refine-subst'.
6679         * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
6680         Add face condition `min-colors 88' with shades of red.
6681         (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
6682         `min-colors 88' with shades of green.
6683         (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
6684         `min-colors 88' with shades of yellow.
6686 2012-05-24  Glenn Morris  <rgm@gnu.org>
6688         * paths.el (prune-directory-list, remote-shell-program): Move to...
6689         * files.el (prune-directory-list, remote-shell-program): ...here.
6690         For the latter, delay initialization, prefer ssh, just search PATH.
6692         * paths.el (term-file-prefix): Move to faces.el (the only user).
6693         * faces.el (term-file-prefix): Move here, make it a defcustom.
6695         * paths.el (news-directory, news-path, news-inews-program):
6696         Move to gnus/nnspool.el.
6698         * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
6700         * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
6701         * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
6702         Make the latter a defcustom, with a delayed initialization.
6704         * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
6705         These were deleted from Gnus itself late 2010.
6707 2012-05-22  Juanma Barranquero  <lekktu@gmail.com>
6709         * progmodes/which-func.el (which-func-ff-hook):
6710         Check against user-error, not error.
6712         * emacs-lisp/edebug.el (top): Do not load or set up loading of
6713         cl-specs.el, which no longer exists.
6715 2012-05-22  Glenn Morris  <rgm@gnu.org>
6717         * info.el (info-emacs-bug): New command.
6718         * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
6719         * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
6721 2012-05-21  Glenn Morris  <rgm@gnu.org>
6723         * makefile.w32-in (update-subdirs-SH):
6724         * Makefile.in (update-subdirs): Update for moved update-subdirs.
6726 2012-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6728         * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
6730         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6731         Simplify Maven regexp, and make sure the file can't start with a space
6732         (bug#11517).
6734 2012-05-21  Glenn Morris  <rgm@gnu.org>
6736         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6737         Scrap superfluous subshells.
6739 2012-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6741         * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
6742         (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
6744 2012-05-19  Jay Belanger  <jay.p.belanger@gmail.com>
6746         * calc/calc.el (calc-ensure-consistent-units): New variable.
6748         * calc/calc-units.el (math-consistent-units-p)
6749         (math-check-unit-consistency): New functions.
6750         (calc-quick-units, calc-convert-units):
6751         Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
6752         is non-nil.
6753         (calc-extract-units): Fix typo.
6755 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6757         * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
6759         * textmodes/flyspell.el: Commenting style, plus code simplifications.
6760         (flyspell-default-deplacement-commands): Don't spell check after
6761         repeated window/frame switches (e.g. triggered by mouse-movement).
6762         (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
6763         (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
6764         (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
6765         (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
6766         Remove unused vars.
6767         (flyspell-get-casechars, flyspell-get-not-casechars):
6768         Simplify; Don't bother removing a ] just to add it back.
6769         * textmodes/ispell.el (ispell-program-name): Use executable-find.
6771 2012-05-18  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6773         * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
6774         New functions.
6775         (math-function-table): Add support for more C functions.
6777 2012-05-18  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6779         * textmodes/flyspell.el (flyspell-check-pre-word-p)
6780         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6781         Protect delay handling for otherchars against empty otherchars.
6783 2012-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6785         * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
6786         their respective macro declarations.
6787         * skeleton.el (define-skeleton):
6788         * progmodes/compile.el (define-compilation-mode):
6789         * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
6790         (define-ibuffer-filter):
6791         * emacs-lisp/generic.el (define-generic-mode):
6792         * emacs-lisp/easy-mmode.el (define-minor-mode)
6793         (define-globalized-minor-mode):
6794         * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
6795         * emacs-lisp/byte-run.el (defsubst):
6796         * custom.el (deftheme): Add doc-string metadata.
6798 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6800         * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
6802 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6804         * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
6806         * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
6807         * emacs-lisp/cl-macs.el: Idem.
6808         * emacs-lisp/cl-specs.el: Remove.
6810 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6812         Minor renaming of internal CL functions and variables.
6813         * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
6814         (cl--position): Rename from cl-position.
6815         (cl--delete-duplicates): Rename from cl-delete-duplicates.
6816         * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
6817         (cl--random-state): Rename from *random-state*.
6819 2012-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6821         * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
6822         parens around the arg list (bug#11499).
6824 2012-05-17  Juri Linkov  <juri@jurta.org>
6826         * isearch.el (word-search-regexp, word-search-backward)
6827         (word-search-forward, word-search-backward-lax)
6828         (word-search-forward-lax): Move functions from search.c
6829         (bug#10145, bug#11381).
6831 2012-05-16  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
6833         * textmodes/flyspell.el (flyspell-check-pre-word-p)
6834         (flyspell-check-word-p, flyspell-debug-signal-word-checked):
6835         Delay for otherchars as for normal word components.
6837 2012-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6839         * minibuffer.el (completion--sifn-requote): Fix last change.
6840         (minibuffer-local-must-match-filename-map):
6841         Move define-obsolete-variable-alias before its var.
6843 2012-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6845         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
6847         * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
6848         behavior.
6849         (completion--string-equal-p): New function.
6850         (completion--twq-all): Use it to get better assertion failure data.
6852         Only handle ".." and '..' quoting in shell-mode (bug#11466).
6853         * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
6854         (shell--requote-argument): New functions.
6855         (shell-completion-vars): Use them.
6856         (shell--parse-pcomplete-arguments): Rename from
6857         shell-parse-pcomplete-arguments.
6858         * comint.el (comint-word): Obey comint-file-name-quote-list.  Simplify.
6859         (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
6860         Obey comint-file-name-quote-list.
6862         * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
6863         (smie-indent-keyword): Use it.
6865 2012-05-14  Stefan Merten  <smerten@oekonux.de>
6867         * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
6869 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6871         * net/rlogin.el (rlogin-mode-map): Fix last change.
6873 2012-05-14  Jason L. Wright  <jason.wright@inl.gov>  (tiny change)
6875         * mail/smtpmail.el (smtpmail-send-command): Send the command and
6876         the following \r\n using a single `process-send-string', since the
6877         Lotus SMTP server refuses to accept any commands if they are sent
6878         with two `process-send-string's (Bug#11444).
6880 2012-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6882         * shell.el (shell-parse-pcomplete-arguments):
6883         Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
6885 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
6887         * image-mode.el: Fit to width/height for rotated images (Bug#11431).
6888         (image-transform-scale, image-transform-right-angle-fudge): New vars.
6889         (image-transform-width, image-transform-fit-width): New functions.
6890         (image-transform-properties): Use them.
6891         (image-transform-check-size): New function.
6892         (image-toggle-display-image): Use it (for testing).
6893         (image-transform-set-rotation): Reduce angle mod 360.
6894         Delete obsolete comment.
6896 2012-05-14  Wolfgang Jenkner  <wjenkner@inode.at>
6898         * image-mode.el: Fix scaling (bug#11399).
6899         (image-transform-resize): Doc fix.
6900         (image-transform-properties): Default scale is 1 and height should
6901         be an integer.
6903 2012-05-13  Johan BockgÃ¥rd  <bojohan@gnu.org>
6905         * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
6906         than hard-coding `car', to fix misbehavior when moving forward.
6908 2012-05-13  Chong Yidong  <cyd@gnu.org>
6910         * emacs-lisp/tabulated-list.el (tabulated-list-format)
6911         (tabulated-list-entries, tabulated-list-padding)
6912         (tabulated-list-sort-key): Make permanent-local.
6914         * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
6915         (electric-buffer-list): Put electric buffer menu
6916         command descriptions in this docstring, instead of the docstring
6917         of electric-buffer-menu-mode.  Code cleanups.
6918         (electric-buffer-menu-mode): Use define-derived-mode.  Rename from
6919         Electric-buffer-menu-mode.
6920         (electric-buffer-update-highlight): Minor code cleanup.
6922 2012-05-13  Michael Albinus  <michael.albinus@gmx.de>
6924         * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
6925         (Bug#11447)
6927 2012-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6929         Move define-obsolete-variable-alias before the var's definition.
6930         * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
6931         * tooltip.el (tooltip-hook):
6932         * textmodes/reftex-toc.el (reftex-toc-map):
6933         * textmodes/reftex-sel.el (reftex-select-label-map)
6934         (reftex-select-bib-map):
6935         * textmodes/reftex-index.el (reftex-index-map)
6936         (reftex-index-phrases-map):
6937         * speedbar.el (speedbar-syntax-table, speedbar-key-map):
6938         * progmodes/meta-mode.el (meta-mode-map):
6939         * novice.el (disabled-command-hook):
6940         * loadhist.el (unload-hook-features-list):
6941         * frame.el (blink-cursor):
6942         * files.el (find-file-not-found-hooks, write-file-hooks)
6943         (write-contents-hooks):
6944         * emulation/tpu-edt.el (GOLD-map):
6945         * emacs-lock.el (emacs-lock-from-exiting):
6946         * emacs-lisp/generic.el (generic-font-lock-defaults):
6947         * emacs-lisp/chart.el (chart-map):
6948         * dos-fns.el (register-name-alist):
6949         * dired-x.el (dired-omit-files-p):
6950         * desktop.el (desktop-enable):
6951         * cus-edit.el (custom-mode-hook):
6952         * buff-menu.el (buffer-menu-mode-hook):
6953         * bookmark.el (bookmark-read-annotation-text-func)
6954         (bookmark-exit-hooks):
6955         * allout.el (allout-mode-deactivate-hook)
6956         (allout-exposure-change-hook, allout-structure-added-hook)
6957         (allout-structure-deleted-hook, allout-structure-shifted-hook):
6958         * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
6959         (dirtrack-debug): Move call to define-obsolete-variable-alias so it
6960         comes before the corresponding variable's definition.
6962 2012-05-12  Chong Yidong  <cyd@gnu.org>
6964         * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
6965         (Buffer-menu-mouse-select): Restore function (Bug#11459).
6966         (Buffer-menu-mode-map): Bind it.
6967         (Buffer-menu--pretty-name): Add a mouse-face property.
6969 2012-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6971         * progmodes/prolog.el: Use SMIE.  Cleanup regexp setup.
6972         (prolog-upper-case-string, prolog-lower-case-string)
6973         (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
6974         (prolog-use-smie, prolog-smie-grammar): New vars.
6975         (prolog-smie-forward-token, prolog-smie-backward-token)
6976         (prolog-smie-rules): New funs.
6977         (prolog-comment-indent): Remove.
6978         (prolog-mode-variables): Use default comment indentation instead.
6979         Setup SMIE.
6980         (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
6981         (prolog-mode): Don't call them any more.
6982         (prolog-electric-colon, prolog-electric-dash)
6983         (prolog-edit-menu-insert-move): Use indent-according-to-mode.
6985         * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
6987         * minibuffer.el (completion--twq-all): Again, allow case differences.
6989         * term.el: Move keymap initialization code to be more idiomatic.
6990         (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
6991         (term-terminal-menu): Move initialization into declaration.
6992         (term-escape-char): Let the user set it in her .emacs.
6994         * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
6995         Provide SMIE-based indentation (not enabled by default yet).
6996         (sh-mode-map): Don't bind electric keys.
6997         Use electric-pair-mode instead of skeleton-pair.
6998         (sh-assignment-regexp): Fit within 80 columns.
6999         (sh-indent-supported): Specify actual shell name instead of boolean.
7000         (sh--maybe-here-document): New fun, from sh-maybe-here-document.
7001         (sh-maybe-here-document): Use it.  Make obsolete.
7002         (sh-electric-here-document-mode) New minor mode.
7003         (sh-mode): Use it.  Don't set sh-indent-supported-here here.
7004         (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
7005         (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
7006         (sh-smie-rc-grammar, sh-use-smie): New vars.
7007         (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
7008         (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
7009         (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
7010         (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
7011         (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
7012         (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
7013         (sh-set-shell): Use smie-setup if requested.
7015         * term.el (term-set-escape-char): Properly set term-escape-char.
7016         See http://stackoverflow.com/questions/10524656.
7018 2012-05-10  Chong Yidong  <cyd@gnu.org>
7020         * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
7021         Use url-generic-parse-url, and handle host names and Windows
7022         filenames properly.
7023         (ffap-url-unwrap-remote): Use url-generic-parse-url.
7024         (ffap-url-unwrap-remote): Accept list values, specifying a list of
7025         URL schemes to work on.
7026         (ffap--toggle-read-only): New function.
7027         (ffap-read-only, ffap-read-only-other-window)
7028         (ffap-read-only-other-frame): Use it.
7029         (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
7030         necessary for ffap-url-unwrap-remote.
7032 2012-05-10  Dave Abrahams  <dave@boostpro.com>
7034         * cus-start.el (create-lockfiles): Add it.
7036 2012-05-09  Chong Yidong  <cyd@gnu.org>
7038         * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
7039         (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
7041 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7043         * shell.el (shell-completion-vars): Fix last change (bug#11348).
7045 2012-05-09  Chong Yidong  <cyd@gnu.org>
7047         * ansi-color.el (ansi-color-process-output): Check for validity of
7048         comint-last-output-start before using it.  This avoids a bad
7049         interaction with gdb-mi's input/output buffer.
7051 2012-05-09  Glenn Morris  <rgm@gnu.org>
7053         * files.el (dir-locals-read-from-file):
7054         Mention dir-locals in any error message.
7056 2012-05-09  Chong Yidong  <cyd@gnu.org>
7058         * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
7059         package (Bug#11410).
7061         * emacs-lisp/package.el (package-buffer-info): Avoid putting local
7062         variables into description.
7064 2012-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7066         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
7067         shell-delimiter-argument-list (bug#11348).
7068         (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
7070 2012-05-09  Juanma Barranquero  <lekktu@gmail.com>
7072         * textmodes/rst.el: Silence byte-compiler warnings.
7073         (rst-re-alist, rst-reset-section-caches): Move around.
7074         (rst-re): Use `characterp', not `char-valid-p'.
7075         (font-lock-beg, font-lock-end): Declare.
7077         * progmodes/idlw-shell.el (specs): Remove reference to deleted
7078         variable `idlwave-shell-activate-alt-keybindings' and simplify.
7080         * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
7082 2012-05-08  Glenn Morris  <rgm@gnu.org>
7084         * files.el (auto-mode-alist): Treat ".make" like ".mk".
7086 2012-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7088         * vc/log-edit.el: Add GNU coding standards highlighting.
7089         (log-edit-font-lock-gnu-style)
7090         (log-edit-font-lock-gnu-keywords): New vars.
7091         (log-edit-font-lock-keywords): New fun.
7092         (log-edit-mode): Don't fold case in font-lock.
7093         (log-edit-font-lock-keywords): Do not assume case-folding.
7095         * imenu.el: Misc cleanup.  Make docstrings out of comments.
7096         Use lexical-binding.
7097         (imenu--index-alist, imenu--last-menubar-index-alist)
7098         (imenu-menubar-modified-tick): Use defvar-local.
7099         (imenu--split-menu): Remove unused var.
7100         (imenu--cleanup-seen): Declare as global.
7101         (imenu--cleanup): Use dolist.
7103         * subr.el (defvar-local): Add debug spec and doc-string position.
7105 2012-05-08  Glenn Morris  <rgm@gnu.org>
7107         * language/burmese.el, language/cham.el, language/czech.el:
7108         * language/english.el, language/georgian.el, language/greek.el:
7109         * language/japanese.el, language/khmer.el, language/korean.el:
7110         * language/lao.el, language/misc-lang.el, language/romanian.el:
7111         * language/sinhala.el, language/slovak.el, language/tai-viet.el:
7112         * language/thai.el, language/utf-8-lang.el:
7113         Remove no-byte-compile setting.
7115         * play/zone.el (zone-pgm-stress): Don't pollute kill-ring.  (Bug#11388)
7117 2012-05-08  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
7119         * progmodes/make-mode.el (makefile-browse):
7120         Remove unnecessary interactive.  (Bug#11324)
7122 2012-05-07  Glenn Morris  <rgm@gnu.org>
7124         * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
7126         * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
7128 2012-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7130         * loadup.el: Preload newcomment.el.
7131         * newcomment.el: Move autoload-only code to toplevel.
7133         * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
7134         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
7135         Handle new :right-align column property.
7136         (tabulated-list-print-col): Idem, plus use `display' text-property to
7137         try and preserve alignment for variable pitch fonts.
7139 2012-05-07  Chong Yidong  <cyd@gnu.org>
7141         * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
7142         (tabulated-list-use-header-line): New var.
7143         (tabulated-list-init-header): Use it.
7144         (tabulated-list-print-fake-header): New function.
7145         (tabulated-list-print): Use it.
7146         (tabulated-list-sort-button-map): Add non-header-line commands.
7147         (tabulated-list-init-header): Add column name property to basic
7148         labels as well.
7149         (tabulated-list-col-sort): Handle non-header-line button case.
7150         (tabulated-list--sort-by-column-name): Fix a corner case.
7152         * buff-menu.el (list-buffers--refresh):
7153         Handle Buffer-menu-use-header-line.
7155 2012-05-06  Chong Yidong  <cyd@gnu.org>
7157         * buff-menu.el: Convert to Tabulated List mode.
7158         (Buffer-menu-buffer+size-width): Make obsolete.
7159         (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
7160         (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
7161         (Buffer-menu-mode): Derive from tabulated-list-mode.  Move command
7162         documentation into docstring of buffer-menu.
7163         (Buffer-menu-toggle-files-only): Add an informative message.
7164         (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
7165         (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
7166         (Buffer-menu-unmark, Buffer-menu-backup-unmark)
7167         (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
7168         (Buffer-menu-execute, Buffer-menu-select)
7169         (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
7170         (Buffer-menu-bury): Use Tabulated List machinery.
7171         (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
7172         (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
7173         Delete.
7174         (list-buffers--refresh): New function.
7175         (list-buffers-noselect): Use it.
7176         (tabulated-list-entry-size->, Buffer-menu--pretty-name)
7177         (Buffer-menu--pretty-file-name): New helper functions.
7179         * loadup.el: Preload tabulated-list.
7181         * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
7182         tabulated-list-sort-column.
7183         (tabulated-list-init-header): Add the initial aligning space even
7184         if tabulated-list-padding is zero.
7186 2012-05-06  Christopher Schmidt  <christopher@ch.ristopher.com>
7188         * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
7189         whose cdr is not a cons cell correctly (bug#11038).
7191 2012-05-06  Chong Yidong  <cyd@gnu.org>
7193         * emacs-lisp/tabulated-list.el (tabulated-list-format):
7194         Accept additional plist in column descriptors.
7195         (tabulated-list-init-header): Obey it.
7196         (tabulated-list-get-entry): New function.
7197         (tabulated-list-put-tag): Use it.  Use string-width instead of
7198         length.
7199         (tabulated-list--column-number): New function.
7200         (tabulated-list-print): Use it.
7201         (tabulated-list-print-col): New function.
7202         Set `tabulated-list-column-name' property on each column's text.
7203         (tabulated-list-print-entry): Use it.
7204         (tabulated-list-delete-entry, tabulated-list-set-col):
7205         New functions.
7206         (tabulated-list-sort-column): New command (Bug#11337).
7208         * buff-menu.el (list-buffers): Move C-x C-b binding from
7209         buff-menu.el to bindings.el.
7211         * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
7212         :advertised-binding feature.
7214 2012-05-06  Troels Nielsen  <bn.troels@gmail.com>  (tiny change)
7216         * progmodes/compile.el (compilation-internal-error-properties):
7217         Calculate start position correctly when end-col is set but
7218         end-line is not (Bug#11382).
7220 2012-05-06  Wolfgang Jenkner  <wjenkner@inode.at>
7222         * man.el (Man-unindent): Use text-property-default-nonsticky to
7223         prevent untabify from inheriting face properties (Bug#11408).
7225 2012-05-05  Stefan Merten  <smerten@oekonux.de>
7227         * textmodes/rst.el: Major merge with upstream development up to
7228         Docutils SVN r7399 / rst.el V1.2.1.
7230         Clarify maintainership and authors.
7232         (rst-extract-version, rst-cvs-header, rst-cvs-rev)
7233         (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
7234         (rst-official-version, rst-official-cvs-rev, rst-version)
7235         (rst-package-emacs-version-alist): New functions and variables
7236         for version information.
7238         (rst-bullets, rst-uri-schemes, rst-adornment-chars)
7239         (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
7240         (rst-mode-syntax-table, rst-mode): New and corrected functions
7241         and variables representing reStructuredText features.
7243         (rst-re): New function for reStructuredText regexes.  Use in
7244         many places.
7246         (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
7247         (rst-mode-map): Rebind keys.
7249         (rst-mode-lazy, rst-font-lock-keywords)
7250         (rst-font-lock-extend-region)
7251         (rst-font-lock-extend-region-internal)
7252         (rst-font-lock-extend-region-extend)
7253         (rst-font-lock-find-unindented-line-limit)
7254         (rst-font-lock-find-unindented-line-match)
7255         (rst-adornment-level, rst-font-lock-adornment-level)
7256         (rst-font-lock-adornment-match)
7257         (rst-font-lock-handle-adornment-pre-match-form)
7258         (rst-font-lock-handle-adornment-matcher): Major revision of
7259         font-locking.  Integrate with other code.  Use `jit-lock-mode'.
7261         (rst-preferred-adornments, rst-adjust-hook)
7262         (rst-new-adornment-down, rst-preferred-bullets)
7263         (rst-preferred-bullets, rst-indent, rst-indent-width)
7264         (rst-indent-field, rst-indent-literal-normal)
7265         (rst-indent-literal-minimized, rst-indent-comment): Change,
7266         extend and improve customization.
7268         (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
7269         (rst-normalize-cursor-position, rst-get-decoration)
7270         (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
7271         (rst-rstrip, rst-toc-insert-find-delete-contents)
7272         (rst-shift-fill-region, rst-compute-bullet-tabs)
7273         (rst-debug-print-tabs, rst-debug-mark-found)
7274         (rst-shift-region-guts, rst-shift-region-right)
7275         (rst-shift-region-left, rst-use-char-classes)
7276         (rst-font-lock-keywords-function)
7277         (rst-font-lock-indentation-point)
7278         (rst-font-lock-find-unindented-line-begin)
7279         (rst-font-lock-find-unindented-line-end)
7280         (rst-font-lock-find-unindented-line)
7281         (rst-font-lock-adornment-point, rst-font-lock-level)
7282         (rst-adornment-level-alist): Remove functions and variables.
7284         (rst-compare-adornments, rst-get-adornment-match)
7285         (rst-suggest-new-adornment, rst-get-adornments-around)
7286         (rst-adornment-complete-p, rst-get-next-adornment)
7287         (rst-adjust-adornment, rst-display-adornments-hierarchy)
7288         (rst-straighten-adornments): Standardize function names to
7289         use "adornment" instead of "decoration".  Correct callers.
7290         Similar standardizing in many places.
7292         (rst-update-section, rst-adjust, rst-promote-region)
7293         (rst-enumerate-region, rst-bullet-list-region)
7294         (rst-repeat-last-character): Correct use of `interactive'.
7296         (rst-classify-adornment, rst-find-all-adornments)
7297         (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
7298         (rst-find-leftmost-column, rst-repeat-last-character):
7299         Refactor functions.
7301         (rst-find-title-line, rst-reset-section-caches)
7302         (rst-get-adornments-around, rst-adjust-adornment-work)
7303         (rst-arabic-to-roman, rst-roman-to-arabic)
7304         (rst-insert-list-pos, rst-insert-list-new-item)
7305         (rst-insert-list-continue, rst-insert-list, rst-forward-line):
7306         New functions.
7308         (rst-all-sections, rst-section-hierarchy)
7309         (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
7310         New variables.
7312         (rst-toc-return-wincfg, rst-toc-quit-window): Use window
7313         configuration instead of only buffer.  Change where necessary.
7315         (rst-line-tabs, rst-compute-tabs, rst-indent-line)
7316         (rst-shift-region, rst-adaptive-fill): New functions for
7317         indentation and filling.
7319         (rst-comment-line-break, rst-comment-indent)
7320         (rst-comment-insert-comment, rst-comment-region)
7321         (rst-uncomment-region): New functions for handling comments.
7323         (rst-compile): Quote shell arguments.
7325         (rst-compile-pdf-preview, rst-compile-slides-preview):
7326         Delete temporary files after use.
7328 2012-05-05  Glenn Morris  <rgm@gnu.org>
7330         * calendar/cal-html.el: Optionally include holidays in the output.
7331         Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
7332         (cal-html-holidays): New option.
7333         (cal-html-css-default): Add holiday entry.
7334         (holiday-in-range): Autoload it.
7335         (cal-html-htmlify-entry): Add optional class argument.
7336         (cal-html-htmlify-list): Add optional holidays argument.
7337         (cal-html-insert-agenda-days): Include holidays in the output.
7338         (cal-html-one-month): Maybe include holidays.
7340         * calendar/holidays.el (holiday-in-range):
7341         Move here from cal-tex-list-holidays.
7342         * calendar/cal-tex.el (cal-tex-list-holidays):
7343         Make it an obsolete alias for holiday-in-range.  Update all callers.
7345 2012-05-05  Chong Yidong  <cyd@gnu.org>
7347         * select.el (xselect--encode-string): Always use utf-8 for TEXT on
7348         Nextstep.
7350 2012-05-05  Ransom Williams  <auvergnerw@gmail.com>  (tiny change)
7352         * files.el (file-auto-mode-skip): New var.
7353         (set-auto-mode-1): Use it.
7355 2012-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7357         * repeat.el: Use lexical-binding.
7358         (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
7359         (repeat-undo-count): Remove.
7360         (repeat):
7361         * progmodes/octave-mod.el (octave-abbrev-start):
7362         * progmodes/f90.el (f90-abbrev-start):
7363         * face-remap.el (text-scale-adjust):
7364         * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
7366         * emacs-lisp/pcase.el (pcase--let*): New function.
7367         (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
7368         a bit more.
7369         (pcase--split-pred): Be more clever about ruling out overlap between
7370         a predicate and some constant pattern.
7371         (pcase--q1): Use `null' instead of (eq foo nil).
7373         * subr.el (setq-local, defvar-local): New macros.
7374         (kbd): Redefine as an alias.
7375         (with-selected-window): Leave unrelated frames alone.
7376         (set-temporary-overlay-map): New function.
7378 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7380         * subr.el (user-error): New function.
7381         * window.el (switch-to-buffer):
7382         * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
7383         (smerge-match-conflict):
7384         * simple.el (previous-matching-history-element)
7385         (next-matching-history-element, goto-history-element, undo-more)
7386         (undo-start):
7387         * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
7388         (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
7389         (next-file, tags-loop-scan, list-tags, complete-tag):
7390         * progmodes/compile.el (compilation-loop):
7391         * mouse.el (mouse-minibuffer-check):
7392         * man.el (Man-bgproc-sentinel, Man-goto-page):
7393         * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
7394         (Info-history-forward, Info-follow-reference, Info-menu)
7395         (Info-extract-menu-item, Info-extract-menu-counting)
7396         (Info-forward-node, Info-backward-node, Info-next-menu-item)
7397         (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
7398         (Info-next-reference, Info-prev-reference, Info-index)
7399         (Info-index-next, Info-follow-nearest-node)
7400         (Info-copy-current-node-name):
7401         * imenu.el (imenu--make-index-alist)
7402         (imenu-default-create-index-function, imenu-add-to-menubar):
7403         * files.el (basic-save-buffer, recover-file):
7404         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7405         * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
7406         (checkdoc-message-text, checkdoc-defun):
7407         * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
7408         * cus-edit.el (customize-changed-options, customize-rogue)
7409         (customize-saved, custom-variable-set, custom-variable-mark-to-save)
7410         (custom-variable-mark-to-reset-standard)
7411         (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
7412         (custom-file):
7413         * completion.el (check-completion-length):
7414         * comint.el (comint-search-arg)
7415         (comint-previous-matching-input-string-position)
7416         (comint-previous-matching-input)
7417         (comint-replace-by-expanded-history-before-point, comint-send-input)
7418         (comint-copy-old-input, comint-backward-matching-input)
7419         (comint-goto-process-mark, comint-set-process-mark):
7420         * calendar/calendar.el (calendar-cursor-to-date): Use it.
7421         * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
7423 2012-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
7425         * dabbrev.el (dabbrev--ignore-case-p): New function.
7426         (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
7427         Use it.
7429         * files.el (automount-dir-prefix): Mark as obsolete.
7431 2012-05-04  Glenn Morris  <rgm@gnu.org>
7433         * patcomp.el, play/bruce.el: Move to obsolete/.
7435 2012-05-04  Paul Eggert  <eggert@cs.ucla.edu>
7437         Fix minor Y10k bugs.
7438         * arc-mode.el (archive-unixdate):
7439         * autoinsert.el (auto-insert-alist):
7440         * calc/calc-forms.el (math-this-year):
7441         * emacs-lisp/copyright.el (copyright-current-year)
7442         (copyright-update-year, copyright):
7443         * tar-mode.el (tar-clip-time-string):
7444         * time.el (display-time-update):
7445         Don't assume years have 4 digits.
7447 2012-05-04  Chong Yidong  <cyd@gnu.org>
7449         * dos-w32.el (file-name-buffer-file-type-alist)
7450         (direct-print-region-use-command-dot-com):
7451         * ffap.el (ffap-menu-regexp):
7452         * find-file.el (ff-special-constructs):
7453         * follow.el (follow-debug):
7454         * forms.el (forms--debug):
7455         * iswitchb.el (iswitchb-all-frames):
7456         * ido.el (ido-all-frames):
7457         * emacs-lisp/timer.el (timer-max-repeats):
7458         * mail/feedmail.el (feedmail-mail-send-hook)
7459         (feedmail-mail-send-hook-queued):
7460         * mail/footnote.el (footnote-signature-separator):
7461         * mail/mailabbrev.el (mail-alias-separator-string)
7462         (mail-abbrev-mode-regexp):
7463         * mail/rmail.el (rmail-speedbar-match-folder-regexp):
7464         * progmodes/idlwave.el (idlwave-libinfo-file)
7465         (idlwave-default-completion-case-is-down)
7466         (idlwave-library-routines): Convert defvars to defcustoms.
7468         * mail/rmail.el (rmail-decode-mime-charset):
7469         * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
7470         (idlwave-shell-fix-inserted-breaks)
7471         (idlwave-shell-activate-alt-keybindings)
7472         (idlwave-shell-use-breakpoint-glyph):
7473         * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
7475 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7477         * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
7479 2012-05-03  Wilson Snyder  <wsnyder@wsnyder.org>
7481         * progmodes/verilog-mode.el (font-lock-keywords):
7482         Fix mis-highligting auto.  Reported by Craig Barner.
7483         (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
7484         defines from global name space.  Reported by Dan Dever.
7485         (verilog-auto-reset, verilog-auto-reset-widths)
7486         (verilog-auto-tieoff): Support using unbased numbers for
7487         AUTORESET and AUTOTIEOFF.
7488         (verilog-submit-bug-report): Update variable list.
7489         (verilog-read-auto-params): Fix AUTOINPUT regexps containing
7490         parenthesis from not matching.  Reported by Michael Rytting.
7491         (verilog-auto-template-lint): Fix hash error when linting modules
7492         with no used templates.
7493         (verilog-warn, verilog-warn-error)
7494         (verilog-warn-fatal): When non-interactive report multiple
7495         warnings before exiting.  Suggested by Brad Dobbie.
7496         (verilog-auto-template-lint, verilog-auto-template-warn-unused)
7497         (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
7498         to report unused template errors.  Reported by Brad Dobbie.
7499         (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
7500         nets, bug438.  Reported by Vns Blore.
7501         (verilog-auto-inout-module, verilog-auto-reg)
7502         (verilog-read-decls, verilog-read-sub-decls-sig)
7503         (verilog-signals-edit-wire-reg, verilog-signals-with):
7504         Fix passing of Verilog data types in ANSI input/output ports
7505         such as "output logic" into the AUTOs.  Special case "wire" and
7506         "reg" for backwards compatibility presuming Verilog 2001.
7507         (verilog-auto-ascii-enum): Add "auto enum" as alias.
7508         (verilog-preprocess): Fix replication of preprocess output.
7509         Reported by Brad Dobbie.
7510         (verilog-auto-inst-interfaced-ports):
7511         Create verilog-auto-inst-interfaced-ports, bug429.
7512         Reported by Julian Gorfajn.
7513         (verilog-after-save-font-hook)
7514         (verilog-before-save-font-hook): New variable.
7515         (verilog-modi-cache-results, verilog-save-font-mod-hooked)
7516         (verilog-save-font-mods): Wrap disabling fontification, reported
7517         by David Rogoff.
7518         (verilog-do-indent, verilog-pretty-declarations-auto)
7519         (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
7520         Reported by Pierre-David Pfister.
7521         (verilog-set-auto-endcomments): Fix endtask auto comments outside
7522         of class declarations, bug292.  Reported by Kevin Heilman.
7523         (verilog-read-decls): Fix 'parameter type' not appearing in
7524         AUTOINSTPARAM, bug340.  Reported by Jonathan Greenlaw.
7525         (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
7526         AUTOINPUTs, bug411.  Reported by Jonathan Greenlaw.
7527         (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
7528         Reported by David Kravitz.
7530 2012-05-03  Michael McNamara  <mac@mail.brushroad.com>
7532         * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
7533         assignment with tests in ifs and for loops.
7534         (verilog-extended-complete-re, verilog-complete-reg): Change so
7535         that DPI inport functions don't look like fuction declarations.
7536         (verilog-pretty-expr): Don't line up assignment
7537         operations to the test and increment in if and for loops
7538         (verilog-extended-complete-re, verilog-complete-reg): Change so
7539         that DPI inport functions don't look like fuction declarations.
7541 2012-05-03  Kenichi Handa  <handa@m17n.org>
7543         * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
7544         decoding, and show a warning message without signaling an error
7545         (Bug#11282).
7547 2012-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7549         * emacs-lisp/bytecomp.el
7550         (byte-compile-file-form-custom-declare-variable): Compile all elements,
7551         since cconv.el might have introduced :fun-body, internal-make-closure,
7552         and friends for bytecomp to handle (bug#11391).
7553         * custom.el (defcustom): Avoid ((λ ..) ..).
7555 2012-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7557         * subr.el (read-passwd): Better clean after ourselves (bug#11392).
7559 2012-05-02  Juanma Barranquero  <lekktu@gmail.com>
7561         * notifications.el (dbus-debug):
7562         * term/linux.el (gpm-mouse-enable):
7563         * term/screen.el (xterm-register-default-colors): Declare.
7565 2012-05-02  Chong Yidong  <cyd@gnu.org>
7567         * cus-start.el (gc-cons-percentage, exec-suffixes)
7568         (dos-display-scancodes, dos-hyper-key, dos-super-key)
7569         (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
7570         (make-cursor-line-fully-visible, void-text-area-pointer)
7571         (font-list-limit): Add customization data.
7573         * allout.el (allout-exposure-change-functions)
7574         (allout-structure-added-functions)
7575         (allout-structure-deleted-functions)
7576         (allout-structure-shifted-functions): Rename abnormal hooks from
7577         *-hook, and convert to defcustoms.
7578         (allout-after-copy-or-kill-hook, allout-post-undo-hook):
7579         Convert to defcustoms.
7580         (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
7582         * allout-widgets.el: Hook callers changed.
7584 2012-05-02  Eli Zaretskii  <eliz@gnu.org>
7586         * mail/rmail.el (rmail-yank-current-message): Use the encoding of
7587         the yanked message in preference to the default value of
7588         buffer-file-coding-system.
7590 2012-05-02  Martin Rudalics  <rudalics@gmx.at>
7592         * window.el (display-buffer--action-function-custom-type):
7593         Fix entry.
7595 2012-05-02  Alan Mackenzie  <acm@muc.de>
7597         * progmodes/cc-defs.el (c-version): Update to 5.32.3.
7599 2012-05-01  Glenn Morris  <rgm@gnu.org>
7601         * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
7603         * eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.
7605         * cus-edit.el (custom-variable-documentation): Simplify with format.
7607 2012-05-01  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
7608             Stefan Monnier  <monnier@iro.umontreal.ca>
7610         * simple.el (suggest-key-bindings, execute-extended-command):
7611         Move from keyboard.c.
7613 2012-05-01  Chong Yidong  <cyd@gnu.org>
7615         * follow.el: Eliminate advice.
7616         (set-process-filter, process-filter, sit-for): Advice deleted.
7617         (follow-mode-off-hook): Obsolete hook removed.
7618         (follow-avoid-tail-recenter-p, follow-process-filter-alist):
7619         Vars deleted.
7620         (follow-auto): Use a :set function.
7621         (follow-mode): Rewritten.  Don't advise process filters.
7622         (follow-switch-to-current-buffer-all, follow-scroll-up)
7623         (follow-scroll-down): Assume follow-mode is bound.
7624         (follow-comint-scroll-to-bottom)
7625         (follow-align-compilation-windows): New functions.
7626         (follow--window-sorter): New function.
7627         (follow-all-followers): Use it to explicitly sort windows by their
7628         positions; don't make assumptions about next-window order.
7629         (follow-windows-start-end, follow-delete-other-windows-and-split)
7630         (follow-calc-win-start): Doc fix.
7631         (follow-windows-aligned-p, follow-select-if-visible): Don't call
7632         vertical-motion unnecessarily.
7633         (follow-adjust-window): New function.
7634         (follow-post-command-hook): Use it.
7635         (follow-call-set-process-filter, follow-call-process-filter)
7636         (follow-intercept-process-output, follow-tidy-process-filter-alist)
7637         (follow-stop-intercept-process-output, follow-generic-filter):
7638         Functions deleted.
7639         (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
7640         (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
7641         New functions, replacing advice on scroll-bar-* commands.
7642         (follow-mwheel-scroll): New function (Bug#4112).
7644         * comint.el (comint-adjust-point): New function.
7645         (comint-postoutput-scroll-to-bottom): Use it.
7646         Call follow-comint-scroll-to-bottom for Follow mode buffers.
7648 2012-05-01  Glenn Morris  <rgm@gnu.org>
7650         * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
7651         * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
7652         * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
7653         * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
7654         * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
7655         Remove no-byte-compile setting.
7657 2012-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7659         * minibuffer.el (completion-table-with-quoting): Fix compatibility
7660         all-completions code to not return a number in the last cdr.
7662 2012-04-30  Leo Liu  <sdl.web@gmail.com>
7664         * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
7665         read-only error.
7667 2012-04-29  Chong Yidong  <cyd@gnu.org>
7669         * follow.el (follow-calc-win-end): Rewrite to handle partial
7670         screen lines correctly (Bug#8390).
7671         (follow-avoid-tail-recenter): Minor cleanup.
7673 2012-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7675         Avoid the obsolete `assoc' package.
7676         * speedbar.el (speedbar-refresh): Avoid adelete.
7677         (speedbar-file-lists): Simplify and avoid aput.
7678         * man.el (Man--sections, Man--refpages): New vars, replacing
7679         Man-sections-alist and Man-refpages-alist.
7680         (Man-build-section-alist, Man-build-references-alist):
7681         Use them; avoid aput.
7682         (Man--last-section, Man--last-refpage): New vars.
7683         (Man-follow-manual-reference): Use them.
7684         Use the `default' arg of completing-read.
7685         (Man-goto-section): Idem.  Move prompt to the `interactive' spec.
7687 2012-04-27  Chong Yidong  <cyd@gnu.org>
7689         * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
7691         * startup.el (x-apply-session-resources): New function.
7693         * term/ns-win.el (ns-initialize-window-system):
7694         * term/w32-win.el (w32-initialize-window-system):
7695         * term/x-win.el (x-initialize-window-system): Use it to properly
7696         set menu-bar-mode and other vars from X resources, even if the
7697         initial frame is not a window-system frame (Bug#2299).
7699         * subr.el (read-key): Avoid running filter function when setting
7700         up temporary tool bar entries (Bug#9922).
7702 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
7704         * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
7705         (Bug#11344)
7707 2012-04-27  Chong Yidong  <cyd@gnu.org>
7709         * select.el (xselect--encode-string): New function, split from
7710         xselect-convert-to-string.
7711         (xselect-convert-to-string): Use it.
7712         (xselect-convert-to-filename, xselect-convert-to-os)
7713         (xselect-convert-to-host, xselect-convert-to-user): Ensure that
7714         returned strings are properly encoded (Bug#11315).
7716 2012-04-27  Chong Yidong  <cyd@gnu.org>
7718         * simple.el (delete-active-region): Move to killing custom group.
7720 2012-04-27  Andreas Schwab  <schwab@linux-m68k.org>
7722         * progmodes/which-func.el (which-func-current): Quote %
7723         characters for mode-line processing.
7725 2012-04-27  Chong Yidong  <cyd@gnu.org>
7727         * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
7728         reaching eob (Bug#11286).
7730 2012-04-27  Eli Zaretskii  <eliz@gnu.org>
7732         * progmodes/gdb-mi.el (gdb-control-level): New variable.
7733         (gdb): Make it buffer-local and init to zero.
7734         (gdb-control-commands-regexp): New variable.
7735         (gdb-send): Don't wrap in "-interpreter-exec console" if
7736         gdb-control-level is positive.  Increment gdb-control-level
7737         whenever the command matches gdb-control-commands-regexp, and
7738         decrement it each time the command is "end".  (Bug#11279)
7740 2012-04-27  Martin Rudalics  <rudalics@gmx.at>
7742         * window.el (adjust-window-trailing-edge, enlarge-window)
7743         (shrink-window, window-resize):
7744         * mouse.el (mouse-drag-line): Fix resizing of minibuffer
7745         windows (Bug#11276).
7747 2012-04-27  Chong Yidong  <cyd@gnu.org>
7749         * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
7750         fix "missing prefix" warning.  All callers changed.
7752 2012-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7754         * emacs-lisp/assoc.el: Move to obsolete/.
7756 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7758         * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
7760         * term/ns-win.el (ns-define-service):
7761         * progmodes/pascal.el (pascal-goto-defun):
7762         * progmodes/js.el (js--read-tab):
7763         * progmodes/etags.el (tags-lazy-completion-table):
7764         * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
7765         * emacs-lisp/ewoc.el (ewoc--wrap):
7766         * emacs-lisp/assoc.el (aput, adelete, amake):
7767         * doc-view.el (doc-view-convert-current-doc):
7768         * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
7770 2012-04-26  Chong Yidong  <cyd@gnu.org>
7772         * image.el (image-type-from-buffer): Only return supported image
7773         type (Bug#9045).
7775         * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
7776         value, for symmetry with diff-end-of-hunk.
7777         (diff-split-hunk, diff-find-source-location)
7778         (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
7779         (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
7780         (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
7781         compute the relevant hunk or file properly (Bug#6005).
7782         (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
7784 2012-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7786         * vc/vc-mtn.el:
7787         * vc/vc-hg.el:
7788         * vc/vc-git.el:
7789         * vc/vc-dir.el:
7790         * vc/vc-cvs.el:
7791         * vc/vc-bzr.el:
7792         * vc/vc-arch.el:
7793         * vc/vc.el: Replace lexical-let by lexical-binding.
7794         * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
7795         * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
7796         * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
7798 2012-04-26  Chong Yidong  <cyd@gnu.org>
7800         * vc/diff-mode.el (diff-undo): New command (Bug#5302).
7801         (diff-mode-shared-map): Bind it to / and [remap undo].
7803         * vc/ediff-wind.el (ediff-setup-windows-default): New function.
7804         (ediff-window-setup-function): Use it as the default, to set up
7805         windows based on whether the current frame is graphical (Bug#2138).
7806         (ediff-choose-window-setup-function-automatically): Make obsolete.
7808         * vc/ediff-init.el: Always define ediff-pixel-width/height.
7810 2012-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7812         * ffap.el: Remove old code for obsolete package.
7813         (ffap-complete-as-file-p): Remove.
7815         Use completion-table-with-quoting for comint and pcomplete.
7816         * comint.el (comint--unquote&requote-argument)
7817         (comint--unquote-argument, comint--requote-argument): New functions.
7818         (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
7819         (comint-quote-filename): Use regexp-opt-charset.
7820         (comint--common-suffix, comint--common-quoted-suffix)
7821         (comint--table-subvert): Remove.
7822         (comint-unquote-function, comint-requote-function): New vars.
7823         (comint--complete-file-name-data): Use them with
7824         completion-table-with-quoting.
7825         * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
7826         * pcomplete.el (pcomplete-arg-quote-list)
7827         (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
7828         (pcomplete-unquote-argument-function): Default to non-nil.
7829         (pcomplete-unquote-argument): Simplify.
7830         (pcomplete--common-quoted-suffix): Remove.
7831         (pcomplete-requote-argument-function): New var.
7832         (pcomplete--common-suffix): New function.
7833         (pcomplete-completions-at-point): Use completion-table-with-quoting
7834         and completion-table-subvert.
7836         * minibuffer.el: Use completion-table-with-quoting for read-file-name.
7837         (minibuffer--double-dollars): Preserve properties.
7838         (completion--sifn-requote): New function.
7839         (completion--file-name-table): Rewrite using it and c-t-with-quoting.
7841         * minibuffer.el: Add support for completion of quoted/escaped data.
7842         (completion-table-with-quoting, completion-table-subvert): New funs.
7843         (completion--twq-try, completion--twq-all): New functions.
7844         (completion--nth-completion): New function.
7845         (completion-try-completion, completion-all-completions): Use it.
7847 2012-04-25  Leo Liu  <sdl.web@gmail.com>
7849         * progmodes/python.el (python-pdbtrack-get-source-buffer):
7850         Use compilation-message if available to find real filename.
7852 2012-04-25  Chong Yidong  <cyd@gnu.org>
7854         * vc/diff-mode.el (diff-setup-whitespace): New function.
7855         (diff-mode): Use it.
7857         * vc/diff.el (diff-sentinel):
7858         * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
7859         Whitespace mode variables based on diff style (Bug#8612).
7861 2012-04-25  Leo Liu  <sdl.web@gmail.com>
7863         * progmodes/python.el (python-send-region): Add suffix .py to the
7864         temp file.
7866         * files.el (auto-mode-alist): Use javascript-mode instead.
7868 2012-04-25  Alex Harsanyi  <AlexHarsanyi@gmail.com>
7870         Sync with soap-client repository.  Support SOAP simpleType (Bug#10331).
7872         * net/soap-client.el (soap-resolve-references-for-sequence-type)
7873         (soap-resolve-references-for-array-type): Hack to prevent self
7874         references, see Bug#9.
7875         (soap-parse-envelope): Report the contents of the 'detail' node
7876         when receiving a fault reply.
7877         (soap-parse-envelope): Report the contents of the entire 'detail' node.
7879         * net/soap-inspect.el (soap-sample-value-for-simple-type)
7880         (soap-inspect-simple-type): New function.
7882         * net/soap-client.el (soap-simple-type): New struct.
7883         (soap-default-xsd-types, soap-default-soapenc-types)
7884         (soap-decode-basic-type, soap-encode-basic-type):
7885         support unsignedInt and double basic types.
7886         (soap-resolve-references-for-simple-type)
7887         (soap-parse-simple-type, soap-encode-simple-type): New function.
7888         (soap-parse-schema): Parse xsd:simpleType declarations.
7890         * net/soap-client.el (soap-default-xsd-types)
7891         (soap-default-soapenc-types): Add integer, byte and anyURI types.
7892         (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
7893         the local name of "soapenc:Array".
7894         (soap-decode-basic-type, soap-encode-basic-type): Support encoding
7895         decoding integer, byte and anyURI xsd types.
7897 2012-04-25  Chong Yidong  <cyd@gnu.org>
7899         * cus-edit.el (custom-buffer-create-internal): Update header text.
7901 2012-04-25  Eli Zaretskii  <eliz@gnu.org>
7903         * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
7904         settings on 'system-type', not on 'window-system'.  On MS-Windows,
7905         set interactive-mode on in GDB.
7907 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7909         * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
7910         (ruby-syntax-propertize-regexp): Remove.
7911         (ruby-syntax-propertize-function): Split regexp into chunks.
7912         Match following code directly.
7914 2012-04-24  Dmitry Gutov  <dgutov@yandex.ru>
7916         * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
7917         (ruby-syntax-propertize-regexp): New function.
7918         (ruby-syntax-propertize-function): Use it to handle regexp not preceded
7919         by a special keyword.
7921         * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
7922         (ruby-syntax-general-delimiters-goto-beg)
7923         (ruby-syntax-propertize-general-delimiters): New functions.
7924         (ruby-syntax-propertize-function): Use them to handle GDL.
7925         (ruby-font-lock-keywords): Move old handling of GDL...
7926         (ruby-font-lock-syntactic-keywords): .. to here.
7927         (ruby-calculate-indent): Adjust indentation for GDL.
7929 2012-04-24  Michael Albinus  <michael.albinus@gmx.de>
7931         * notifications.el (top): Remove unneeded declarations.
7932         (notifications-specification-version): Change to "1.2".
7933         (notifications-interface, notifications-notify-method)
7934         (notifications-close-notification-method): Fix docstring.
7935         (notifications-get-capabilities-method): New defconst.
7936         (notifications-notify): Add :action-items, :resident and
7937         :transient hints.  Change "image_data" to "image-data" and
7938         "image_path" to "image-path".
7939         (notifications-get-capabilities): New defun.
7941 2012-04-24  Leo Liu  <sdl.web@gmail.com>
7943         * progmodes/python.el: Move hideshow setup to the end.
7945 2012-04-24  Martin Rudalics  <rudalics@gmx.at>
7947         * window.el (handle-select-window): Clear echo area since this is
7948         no more done by read_char (Bug#11304).
7950 2012-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7952         * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
7953         and `/ M' to filter-derived-mode.
7954         * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
7955         (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
7956         (ibuffer-mark-by-mode): Use default rather than initial-input.
7957         (ibuffer-filter-by-derived-mode): Autoload and require-match.
7959 2012-04-24  Ivan Andrus  <darthandrus@gmail.com>  (tiny change)
7961         * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
7962         (ibuffer-filter-by-derived-mode): New filter.
7963         * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
7965 2012-04-23  Andreas Politz  <politza@fh-trier.de>
7967         * subr.el (accept-change-group): Fix arg usage (Bug#6095).
7969 2012-04-23  Chong Yidong  <cyd@gnu.org>
7971         * cus-edit.el (customize-apropos, customize-apropos-options):
7972         Disable matching of non-option variables (Bug#11176).
7973         (customize-option, customize-option-other-window)
7974         (customize-changed-options): Doc fix.
7975         (customize-apropos-options, customize-apropos-faces)
7976         (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
7978         * apropos.el (apropos-read-pattern): Make prompt less cryptic.
7979         Fix word list splitting (Bug#11132).
7980         (apropos-symbol, apropos-keybinding, apropos-label)
7981         (apropos-property, apropos-function-button)
7982         (apropos-variable-button, apropos-misc-button): New faces.
7983         (apropos-symbol-face, apropos-keybinding-face)
7984         (apropos-label-face, apropos-property-face, apropos-match-face):
7985         Variables removed (Bug#8396).
7986         (apropos-library-button, apropos-format-plist, apropos-print)
7987         (apropos-print-doc, apropos-describe-plist): Callers changed.
7989 2012-04-23  Michael Albinus  <michael.albinus@gmx.de>
7991         * net/xesam.el (xesam-mode-map): Use let-bound map in
7992         initialization.  (Bug#11292)
7994 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
7996         Preserve ispell session localwords when switching back to
7997         original buffer.
7999         * textmodes/ispell.el (ispell-buffer-session-localwords):
8000         New buffer-local variable to hold buffer session localwords.
8001         (ispell-kill-ispell): Add option 'clear to delete session
8002         localwords.
8003         (ispell-command-loop, ispell-change-dictionary)
8004         (ispell-buffer-local-words): Preserve session localwords when
8005         needed.
8007         * textmodes/flyspell.el (flyspell-process-localwords)
8008         (flyspell-do-correct): Preserve session localwords when needed.
8010 2012-04-23  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8012         * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
8013         using obsolete `translation-table-for-input'.
8014         (ispell-word, ispell-process-line, ispell-complete-word):
8015         Use plain `insert' instead of removed `ispell-insert-word'.
8017 2012-04-22  Chong Yidong  <cyd@gnu.org>
8019         * cus-edit.el (custom-variable-menu)
8020         (custom-variable-reset-saved, custom-face-menu)
8021         (custom-face-reset-saved): If there is no saved value, make the
8022         "reset-saved" operation bring back the default (Bug#9509).
8023         (custom-face-state): Properly detect themed faces.
8025         * faces.el (face-spec-set): Stop supporting deprecated form of
8026         third arg.
8028 2012-04-22  Michael Albinus  <michael.albinus@gmx.de>
8030         Move functions from C to Lisp.  Make non-blocking method calls
8031         the default.  Implement further D-Bus standard interfaces.
8033         * net/dbus.el (dbus-message-internal): Declare function.
8034         Remove unneeded function declarations.
8035         (defvar dbus-message-type-invalid, dbus-message-type-method-call)
8036         (dbus-message-type-method-return, dbus-message-type-error)
8037         (dbus-message-type-signal): Declare variables.  Remove local
8038         definitions.
8039         (dbus-interface-dbus, dbus-interface-peer)
8040         (dbus-interface-introspectable, dbus-interface-properties)
8041         (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
8042         Adapt docstring.
8043         (dbus-interface-objectmanager): New defconst.
8044         (dbus-call-method, dbus-call-method-asynchronously)
8045         (dbus-send-signal, dbus-method-return-internal)
8046         (dbus-method-error-internal, dbus-register-service)
8047         (dbus-register-signal, dbus-register-method): New defuns, moved
8048         from dbusbind.c
8049         (dbus-call-method-handler, dbus-setenv)
8050         (dbus-get-all-managed-objects, dbus-managed-objects-handler):
8051         New defuns.
8052         (dbus-call-method-non-blocking): Make it an obsolete function.
8053         (dbus-unregister-object, dbus-unregister-service)
8054         (dbus-handle-event, dbus-register-property)
8055         (dbus-property-handler): Obey the new structure of
8056         `bus-registered-objects'.
8057         (dbus-introspect): Use `dbus-call-method'.  Use a timeout.
8058         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
8059         Use `dbus-call-method'.
8061 2012-04-22  Chong Yidong  <cyd@gnu.org>
8063         * cus-edit.el (custom-commands, custom-reset-menu)
8064         (Custom-reset-standard): Tweak labels.
8065         (custom-reset-button-menu): Change default to t.
8066         (custom-buffer-create-internal): For the custom-reset-button-menu
8067         case, put the revert button first.
8068         (custom-group-subtitle): New face.
8069         (custom-group-value-create): Align docstring to a specific column.
8071         * wid-edit.el (widget-documentation-link-add): Don't handle
8072         indentation in this function.
8073         (widget-documentation-string-indent-to): New function.
8074         (widget-documentation-string-value-create): Use it.
8076         * autorevert.el (auto-revert):
8077         * epg-config.el (epg):
8078         * ibuffer.el (ibuffer):
8079         * mpc.el (mpc):
8080         * ses.el (ses):
8081         * eshell/eshell.el (eshell):
8082         * net/ange-ftp.el (ange-ftp):
8083         * progmodes/ebnf2ps.el (postscript):
8084         * progmodes/flymake.el (flymake):
8085         * progmodes/prolog.el (prolog):
8086         * progmodes/verilog-mode.el (verilog-mode):
8087         * progmodes/which-func.el (which-func):
8088         * term/xterm.el (xterm):
8089         * textmodes/picture.el (picture):
8090         * textmodes/tildify.el (tildify):
8091         * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
8092         customization buffers.
8094 2012-04-22  Alan Mackenzie  <acm@muc.de>
8096         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
8097         Adding a ) can hide the resulting (..) from searches.  Fix it.
8098         Bound the backward search to the position of the existing (.
8100 2012-04-21  Juanma Barranquero  <lekktu@gmail.com>
8102         * progmodes/verilog-mode.el (verilog-mode): Check whether
8103         which-func-modes is t before adding verilog-mode.
8104         Reported by Andy Moreton <andrewjmoreton@gmail.com>.
8106 2012-04-21  Leo Liu  <sdl.web@gmail.com>
8108         * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
8110 2012-04-21  Michael Vehrs  <Michael.Burschik@gmx.de>
8112         * woman.el: Add support for "T{ T}" tbl syntax, and fix the
8113         filling of the last column of a table (Bug#5635).
8114         (woman-find-next-control-line): New arg, specifying an additional
8115         regexp component for the control line.
8116         (woman2-roff-buffer): Use it.
8117         (woman-break-table): New function.
8118         (woman2-TS): Use it.
8120 2012-04-21  Chong Yidong  <cyd@gnu.org>
8122         * woman.el (woman-set-buffer-display-table, woman-decode-region)
8123         (woman-horizontal-escapes, woman-negative-vertical-space)
8124         (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
8125         (WoMan-warn-ignored): Use ?\s instead of ?\ .
8127 2012-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8129         * minibuffer.el (completion-file-name-table): Complete user names.
8131 2012-04-20  Leo Liu  <sdl.web@gmail.com>
8133         * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
8134         and pcase-let*.
8136 2012-04-20  Chong Yidong  <cyd@gnu.org>
8138         * server.el (server-execute): Respect initial-buffer-choice if it
8139         is a string and there are no files to open (Bug#2825).
8140         (server-create-window-system-frame, server-create-tty-frame):
8141         Don't switch buffers here.
8142         (server-process-filter): Only try to open a window system frame if
8143         compiled with graphical support (Bug#8314).
8145 2012-04-20  Dan Nicolaescu  <dann@gnu.org>
8147         * battery.el (battery-echo-area-format): Display remaining time
8148         for sysfs backend too (Bug#11269).
8149         (battery-linux-sysfs): Fix conditional for the charge.
8151 2012-04-20  Chong Yidong  <cyd@gnu.org>
8153         * progmodes/gdb-mi.el (gdb): Revert previous change.
8154         (gdb-inferior-io--init-proc): New function.
8155         (gdb-init-1): Use it.
8156         (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
8157         responsible for allocating a new pty and hooking it to gdb when
8158         the old pty gets an EIO due to process exit.
8159         (gdb-delchar-or-quit): New command.  Bind it in gdb-mi buffers.
8160         (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
8161         (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
8163 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
8165         * window.el (window-min-size, window-sizable, window-min-delta)
8166         (window-max-delta, window--resizable, window-resizable)
8167         (window-total-size, window-full-height-p, window-full-width-p)
8168         (window-in-direction, window--resize-mini-window, window-resize)
8169         (window--resize-child-windows-normal)
8170         (window--resize-child-windows, window--resize-siblings)
8171         (window--resize-this-window, adjust-window-trailing-edge)
8172         (enlarge-window, shrink-window): Doc fixes.
8174 2012-04-20  Chong Yidong  <cyd@gnu.org>
8176         * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
8177         New function to call delete-process on the gdb-inferior buffer's pty.
8178         (gdb-reset): Use it, instead of relying on kill-buffer to kill the
8179         pty process (Bug#11273).
8180         (gdb-update): New arg to suppress talking to the gdb process.
8181         (gdb-done-or-error): Use it.
8182         (gdb-stopped-functions): Rename from gdb-stopped-hooks.
8183         (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
8184         sentinel not being called.
8186         * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
8188         * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
8190 2012-04-20  Glenn Morris  <rgm@gnu.org>
8192         * net/network-stream.el (open-network-stream): Doc fix.
8194 2012-04-20  Chong Yidong  <cyd@gnu.org>
8196         * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
8198 2012-04-20  Alan Mackenzie  <acm@muc.de>
8200         Ensure searching for keywords is case sensitive.
8202         * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
8203         (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
8204         (c-defun-name, c-mark-function, c-cpp-define-name)
8205         (c-comment-indent, c-scan-conditionals, c-indent-defun)
8206         (c-context-line-break): Bind case-fold-search to nil.
8208         * progmodes/cc-mode.el (c-font-lock-fontify-region):
8209         Bind case-fold-search to nil.
8211 2012-04-20  Chong Yidong  <cyd@gnu.org>
8213         * mail/sendmail.el (mail-bury): Call return action with the right
8214         Rmail buffer (Bug#11242).
8216         * server.el (server-process-filter): Handle corner case where both
8217         tty and nowait options are present (Bug#11102).
8219 2012-04-20  Eli Zaretskii  <eliz@gnu.org>
8221         * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
8222         (top level): Put into the executable the ident-style '$Id:' tag on
8223         windows-nt as well.
8225 2012-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8227         * electric.el (electric-indent-post-self-insert-function): Check that
8228         electric-indent-mode is enabled in current buffer.
8230 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
8232         * imenu.el (imenu-progress-message): Restore; it is "used" in
8233         erc/erc-imenu.el and net/snmp-mode.el.
8235 2012-04-19  Juanma Barranquero  <lekktu@gmail.com>
8237         * avoid.el (mouse-avoidance-mode): Mark unused arg.
8238         (mouse-avoidance-nudge-mouse): Remove unused binding.
8240         * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
8242         * descr-text.el (describe-char):
8243         * progmodes/python.el (python-describe-symbol):
8244         Don't call `toggle-read-only', set `buffer-read-only'.
8246         * imenu.el (imenu-default-goto-function): Mark unused args.
8247         (imenu-progress-message): Remove obsolete macro; all callers changed.
8249         * subr.el (keymap-canonicalize): Remove unused binding.
8250         (read-passwd): Mark unused arg.
8252         * tutorial.el (tutorial--display-changes): Remove unused binding.
8253         (tutorial--save-tutorial-to): Remove unused variable.
8255         * emacs-lisp/package.el (define-package, package-menu-mark-delete)
8256         (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
8257         (package-generate-autoloads, package-menu--generate)
8258         (package-menu--find-upgrades): Remove unused bindings.
8260         * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
8261         (cua-restrict-prefix-rectangle): Doc fixes.  Remove unused bindings.
8262         (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
8263         (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
8264         (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
8265         (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
8266         (cua--rectangle-aux-replace, cua--left-fill-rectangle)
8267         (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
8268         (cua-delete-char-rectangle): Mark unused args.
8269         (cua-align-rectangle): Remove unused binding.
8271         * mail/rmail.el (compilation--message->loc)
8272         (epa--find-coding-system-for-mime-charset): Declare.
8274         * net/dbus.el (dbus-register-service): Declare.
8275         (dbus-name-owner-changed-handler): Remove unused binding.
8277         * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
8278         (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
8279         (nxml-scan-backward-within): Mark unused arg.
8280         (nxml-dynamic-markup-word): Remove unused binding.
8282         * mouse.el (mouse-menu-major-mode-map):
8283         * emacs-lisp/authors.el (authors-scan-change-log)
8284         (authors-add-to-author-list):
8285         * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
8286         * emacs-lisp/smie.el (smie-auto-fill):
8287         * mail/sendmail.el (mail-bury):
8288         * mail/unrmail.el (unrmail):
8289         * net/tls.el (open-tls-stream):
8290         * textmodes/picture.el (picture-mouse-set-point):
8291         Remove unused bindings.
8293 2012-04-19  Michael Albinus  <michael.albinus@gmx.de>
8295         * net/tramp.el (tramp-action-password): Let-bind
8296         `enable-recursive-minibuffers' to t.
8298 2012-04-18  Sam Steingold  <sds@gnu.org>
8300         * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
8301         instead of 'string to accommodate values like [f11].
8302         Always use `vconcat' instead of `concat' on it, like in `gud-def'.
8303         * progmodes/gdb-mi.el: Likewise.
8305 2012-04-18  Leo Liu  <sdl.web@gmail.com>
8307         * abbrev.el (edit-abbrevs): Move point to the abbrev table of
8308         current buffer.
8309         (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
8310         LOCAL is nil.
8312 2012-04-18  Chong Yidong  <cyd@gnu.org>
8314         * simple.el (line-move): Use forward-line if in batch mode
8315         (Bug#11053).
8317 2012-04-18  Christopher Schmidt  <christopher@ch.ristopher.com>
8319         * files.el (after-find-file): Do not try to add a final newline if
8320         the buffer is read-only (Bug#11156).
8322 2012-04-17  Richard Stallman  <rms@gnu.org>
8324         * mail/rmail.el (rmail-start-mail):
8325         Pass (rmail-mail-return...) for the return-action.
8326         Pass (rmail-yank-current-message...) for the yank-action.
8327         (rmail-yank-current-message): New function.
8328         (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
8329         (rmail-reply): Likewise.
8330         (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
8332         * mail/sendmail.el (mail-bury): Choose the first rmail-mode
8333         buffer, not the last.  Reject temp buffers.  Use the rmail-mode
8334         buffer, not newbuf.
8336 2012-04-17  Juanma Barranquero  <lekktu@gmail.com>
8338         * server.el (server-ensure-safe-dir): Simplify.
8340 2012-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8342         * emacs-lisp/smie.el: Provide smarter auto-filling.
8343         (smie-auto-fill): New function.
8344         (smie-setup): Use it.
8346         * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
8348 2012-04-17  Philipp Haselwarter  <philipp.haselwarter@gmx.de>  (tiny change)
8350         * newcomment.el (comment-inline-offset): New custom var (bug#11090).
8351         (comment-indent): Use it.
8353 2012-04-17  Vincent Belaïche  <vincentb1@users.sourceforge.net>
8355         * ses.el: The overall change is to add cell renaming, that is
8356         setting fancy names for cell symbols other than name matching
8357         "\\`[A-Z]+[0-9]+\\'" regexp .
8358         (ses-localvars): Add ses--renamed-cell-symb-list.
8359         (ses-create-cell-variable): New defun.
8360         (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
8361         (ses-relocate-formula): Relocate formulas only for cells the
8362         symbols of which are not renamed, i.e. symbols whose names do not
8363         match regexp "\\`[A-Z]+[0-9]+\\'".
8364         (ses-relocate-all): Relocate values only for cells the symbols of
8365         which are not renamed.
8366         (ses-load): Create cells variables as the (ses-cell ...) are read,
8367         in order to check row col consistency with cell symbol name only
8368         for cells that are not renamed.
8369         (ses-replace-name-in-formula): New defun.
8370         (ses-rename-cell): New defun.
8372 2012-04-17  Peter Oliver  <bzr@mavit.org.uk>  (tiny change)
8374         * progmodes/perl-mode.el (perl-indent-parens-as-block):
8375         New option (bug#11118).
8376         (perl-calculate-indent): Respect it.
8378 2012-04-17  Glenn Morris  <rgm@gnu.org>
8380         * dired-aux.el (dired-mark-read-string): Doc fix.
8382 2012-04-17  Dmitry Antipov  <dmantipov@yandex.ru>
8384         * dired-aux.el (dired-mark-read-string): Offer optional completion.
8385         (dired-do-chxxx): Complete chown, chgrp over users, groups.  (Bug#7900)
8387 2012-04-17  Glenn Morris  <rgm@gnu.org>
8389         * mouse.el (mouse-drag-track):
8390         * speedbar.el (speedbar-frame-mode):
8391         Use auto-hscroll-mode rather than the alias automatic-hscrolling.
8393 2012-04-16  Leo Liu  <sdl.web@gmail.com>
8395         * progmodes/python.el: Trivial cleanup.
8397 2012-04-16  Glenn Morris  <rgm@gnu.org>
8399         * vc/vc.el (vc-string-prefix-p):
8400         * vc/pcvs-util.el (cvs-string-prefix-p):
8401         * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
8402         * mpc.el (mpc-string-prefix-p):
8403         Make all of these into obsolete aliases for string-prefix-p.
8404         Update callers.
8405         * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
8407         * textmodes/two-column.el: Move custom options to the start.
8408         (frame-width): Remove compat definition.
8409         (2C-associate-buffer, 2C-dissociate):
8410         Use with-current-buffer rather than save-excursion.
8411         (2C-dissociate): Force a mode-line update.
8412         (2C-autoscroll): Use ignore-errors.
8414         * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
8415         Autoload trivia.
8417         * emacs-lisp/cl-extra.el (*random-state*):
8418         Remove unnecessary declaration.
8420         * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
8422         * play/cookie1.el (cookie-snarf):
8423         Give an explicit error if input file cannot be read.
8425         * play/yow.el (yow-file): Use expand-file-name rather than concat.
8427         * progmodes/perl-mode.el (c-macro-expand):
8428         Remove unnecessary autoload (it is in loaddefs.el).
8430         * textmodes/picture.el (picture-desired-column)
8431         (picture-update-desired-column): Convert comments to doc-strings.
8432         (picture-substitute): Remove function.
8433         (picture-mode-map): Initialize in the defvar.
8435         * woman.el: Remove eval-after-load for tar-mode.
8436         * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
8437         (woman-tar-extract-file): Autoload it.
8439         * frame.el (automatic-hscrolling): Make this alias obsolete.
8441 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8443         * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
8444         `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
8445         (ispell-dictionary-base-alist): Revert to original XEmacs
8446         friendly version for default.  [:alpha:] will be added in
8447         `ispell-set-spellchecker-params' if needed.
8449 2012-04-16  Chong Yidong  <cyd@gnu.org>
8451         * image.el (imagemagick--file-regexp): New variable.
8452         (imagemagick-register-types): Use it.
8453         (imagemagick-types-inhibit): Add :set function.  Allow new value
8454         of t to inhibit all types.
8456         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
8457         so we can preload it.
8459         * loadup.el (fboundp): Preload regexp-opt, needed by
8460         imagemagick-register-types.
8462 2012-04-15  Chong Yidong  <cyd@gnu.org>
8464         * frame.el (scrolling): Remove nearly unused customization group.
8466         * scroll-all.el (scroll-all-mode): Move to windows group.
8468 2012-04-15  Chong Yidong  <cyd@gnu.org>
8470         * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
8472 2012-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8474         Avoid the use of ((lambda ...) ...) in lexical-binding code.
8475         * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
8477 2012-04-15  Glenn Morris  <rgm@gnu.org>
8479         * simple.el (process-file-side-effects): Doc fix.
8481 2012-04-15  Glenn Morris  <rgm@gnu.org>
8483         * international/mule-cmds.el (set-language-environment): Doc fix.
8485 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
8487         * server.el (server-auth-key, server-generate-key): Doc fixes.
8488         (server-get-auth-key): Doc fix.  Use `string-match-p'.
8489         (server-start): Reflow docstring.
8491 2012-04-14  Lars Ingebrigtsen  <larsi@gnus.org>
8493         * server.el (server-generate-key): `called-interactively-p'
8494         requires a parameter.
8496 2012-04-14  Michal Nazarewicz  <mina86@mina86.com>
8498         * server.el (server-auth-key): New variable.
8499         (server-generate-key, server-get-auth-key): New function.
8500         (server-start): Use the new variable and functions to allow
8501         setting a permanent server key (bug#9423).
8503 2012-04-14  Leo Liu  <sdl.web@gmail.com>
8505         * vc/diff-mode.el (diff-file-prev/next): Fix typo.
8507 2012-04-14  Paul Eggert  <eggert@cs.ucla.edu>
8509         Spelling fixes.
8510         * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
8511         Emacs uses American spelling.
8513 2012-04-14  Juanma Barranquero  <lekktu@gmail.com>
8515         * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
8516         (emacs-lock--exit-locked-buffer): Return the locked buffer.  Doc fix.
8517         (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
8518         (emacs-lock--kill-buffer-query-functions): Run new hook.  (Bug#11017)
8520 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8522         * progmodes/which-func.el (which-func-modes): Change default.
8524 2012-04-14  Kim F. Storm  <storm@cua.dk>
8526         * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
8527         exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
8529 2012-04-14  Chong Yidong  <cyd@gnu.org>
8531         * custom.el (custom-theme-set-variables): Doc fix.
8533 2012-04-14  Glenn Morris  <rgm@gnu.org>
8535         * international/mule.el (set-auto-coding-for-load): Doc fix.
8537 2012-04-14  Alan Mackenzie  <acm@muc.de>
8539         * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
8540         imenu work again for Objective C Mode.  Correct the *-index values,
8541         these having been disturbed by a previous change in 2011-08.
8543         * progmodes/cc-engine.el (c-before-change-check-<>-operators):
8544         Correct two search limits.
8546 2012-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8548         * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
8550 2012-04-14  Andreas Schwab  <schwab@linux-m68k.org>
8552         * international/characters.el: Fix sorting.
8554 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8556         * international/characters.el: Add more missing Latin case pairs.
8558 2012-04-14  Glenn Morris  <rgm@gnu.org>
8560         * files.el (dir-locals-set-class-variables): Doc fix.
8562 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8564         * international/characters.el: Add set-case-syntax-pair call for
8565         LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
8566         counterpart.  (Bug#11209)
8568         * simple.el (shell-command-on-region): Doc fix.  (Bug#11208)
8570 2012-04-14  Glenn Morris  <rgm@gnu.org>
8572         * calendar/holidays.el (calendar-check-holidays): Doc fix.
8574 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8576         * textmodes/ispell.el (ispell-dictionary-base-alist):
8577         Add data for Hebrew.
8579 2012-04-14  Chong Yidong  <cyd@gnu.org>
8581         * net/rcirc.el (rcirc-cmd-quit):
8582         Revert 2012-03-18 change (Bug#11192).
8584 2012-04-14  Glenn Morris  <rgm@gnu.org>
8586         * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
8588 2012-04-14  Eli Zaretskii  <eliz@gnu.org>
8590         * minibuffer.el (completion-in-region-mode-map):
8591         Bind completion-help-at-point to M-? rather than ?.  (Bug#11182)
8593 2012-04-13  Vivek Dasmohapatra  <vivek@etla.org>
8595         * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
8597 2012-04-13  Masatake YAMATO  <yamato@redhat.com>
8599         * minibuffer.el (minibuffer-local-filename-syntax): New variable
8600         to allow `C-M-f' and `C-M-b' to move to the nearest path
8601         separator (bug#9511).
8603 2012-04-13  Lars Ingebrigtsen  <larsi@gnus.org>
8605         * avoid.el: Require cl when compiling.  And also move the
8606         `provide' to the end.
8608 2012-04-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8610         * avoid.el (mouse-avoidance-banish-position): New variable.
8611         (mouse-avoidance-banish-destination): Use it (bug#10165).
8613 2012-04-13  Leo Liu  <sdl.web@gmail.com>
8615         * progmodes/which-func.el (which-func-modes): Add objc-mode.
8617 2012-04-13  Ken Brown  <kbrown@cornell.edu>
8619         * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
8620         this is no longer needed now that cygstart understands file:// URLs.
8621         (browse-url-filename-alist): For the same reason, don't modify
8622         file:// URLs on Cygwin.
8624 2012-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8626         * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
8627         the region on shift if the binding is already shifted (bug#11221).
8629 2012-04-12  Glenn Morris  <rgm@gnu.org>
8631         * mail/mailpost.el: Move to obsolete/.
8633 2012-04-12  Drew Adams  <drew.adams@oracle.com>
8635         * imenu.el (imenu--generic-function): Ignore invisible definitions
8636         (bug#10123).
8638 2012-04-12  Vivek Dasmohapatra  <vivek@etla.org>
8640         * hexl.el (hexl-bits): New variable.
8641         (hexl-options): Mention the variable in the doc string.
8642         (hexl-rulerise, hexl-line-displen): New functions.
8643         (hexl-mode): Mention the new variable.
8644         (hexl-mode, hexl-current-address, hexl-current-address):
8645         Use the displen.
8646         (hexl-ascii-start-column): New function.
8647         (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
8648         (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
8650 2012-04-12  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8652         * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
8653         '("-i" ENCODING), in 2 separate command-line arguments, to specify
8654         the encoding, as expected by hunspell.
8656 2012-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8658         * battery.el (battery--linux-sysfs-regexp): New const.
8659         (battery-status-function): Use it.  Remove yeeloong special case.
8660         (battery-yeeloong-sysfs): Remove.
8661         (battery-echo-area-format): Remove yeeloong special case.
8663 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8665         * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
8666         Reported by Noah Friedman.
8668         * subr.el (read-passwd): Use read-string.
8670 2012-04-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8672         * vcursor.el (vcursor-move): Increase the priority of the overlay
8673         (bug#9663).
8675 2012-04-11  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8677         * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
8678         (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
8680 2012-04-11  William Stevenson  <yhvh2000@gmail.com>
8682         * textmodes/artist.el (artist-mode): Convert artist-mode to use
8683         define-minor-mode (bug#10760).
8685 2012-04-11  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
8687         * progmodes/grep.el (rgrep): Tweak the find command line so
8688         that directories matching `grep-find-ignored-files' won't be
8689         pruned (bug#10351).
8691 2012-04-11  Chong Yidong  <cyd@gnu.org>
8693         * startup.el (command-line): Remove support for long-obsolete
8694         variable font-lock-face-attributes.
8696 2012-04-11  Glenn Morris  <rgm@gnu.org>
8698         * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
8700 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8702         * window.el (window--state-get-1): Obey window-point-insertion-type.
8704 2012-04-11  Lennart Borgman  <lennart.borgman@gmail.com>
8706         * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
8707         to previous function when point is on the first character of a
8708         function.  Take care of that in `narrow-to-defun' (bug#6157).
8710 2012-04-11  Glenn Morris  <rgm@gnu.org>
8712         * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
8713         not just file-errors.
8715         * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
8716         (vc-bzr-sha1): Use internal sha1.
8718 2012-04-11  Stefan Monnier  <monnier@iro.umontreal.ca>
8720         * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
8722 2012-04-10  Sébastien Gross  <seb@chezwam.org>  (tiny change)
8724         * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
8725         that start in the middle of the line (bug#10496).
8727 2012-04-10  Dan Nicolaescu  <dann@gnu.org>
8729         * battery.el (battery-linux-proc-acpi): Only one battery is
8730         discharged at a time, but that seems to confuse battery.el when
8731         computing `rate-type' for the battery not being discharged
8732         (bug#10332).
8734 2012-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8736         * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
8738         * international/quail.el: Use dolist and simplify.
8739         (quail-define-package, quail-update-keyboard-layout)
8740         (quail-define-rules): Use dolist.
8741         (quail-insert-kbd-layout, quail-get-translation): CSE.
8743         * tmm.el: Use dolist, remove left over hook.
8744         (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
8745         Use dolist.
8746         (calendar-load-hook): Don't mess with it.
8748         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8749         Use derived-mode-p.  Run the diff asynchronously.
8751 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8753         * obsolete/mouse-sel.el: Add an Obsolete-since header.
8755 2012-04-10  Juanma Barranquero  <lekktu@gmail.com>
8757         * misc.el: Display absolute path of loaded DLLs (bug#10424).
8758         (list-dynamic-libraries--loaded): New function.
8759         (list-dynamic-libraries--refresh): Use it.
8761 2012-04-10  Nathan Weizenbaum  <nweiz@google.com>
8763         * progmodes/python.el (python-fill-paragraph):
8764         Make python-fill-region in a multiline string work when font-lock is
8765         disabled (bug#7018).
8767 2012-04-10  Laimonas VÄ—bra  <laimonas.vebra@gmail.com>  (tiny change)
8769         * language/european.el (cp775): Add oem/legacy (en)coding on
8770         DOS/MS Windows for the Baltic languages.  There are still plenty
8771         of texts written in this encoding/codepage (bug#6519).
8773 2012-04-10  Glenn Morris  <rgm@gnu.org>
8775         * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
8776         Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
8778 2012-04-10  Florian Adamsky  <florian@adamsky.it>  (tiny change)
8780         * recentf.el (recentf-dialog-mode-map): Add two keybindings for
8781         next-line "n" and previous-line "p" in order to make recentf more
8782         consistent with ibuffer, dired or org-mode (bug#9387).
8784 2012-04-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8786         * image.el (put-image): Return the overlay created instead of the
8787         optional input string (bug#7834).  Note that this may break code
8788         that is (for some reason or other) depending on `put-image'
8789         returning the string.
8791         * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
8793         * simple.el (zap-to-char): Allow zapping using input methods
8794         (bug#1580).
8796         * textmodes/fill.el (fill-region): Leave point and mark where they
8797         were before filling (bug#5399).
8799 2012-04-09  Glenn Morris  <rgm@gnu.org>
8801         * version.el (emacs-bzr-get-version):
8802         Handle lightweight checkouts of local branches.
8804 2012-04-09  Andreas Schwab  <schwab@linux-m68k.org>
8806         * international/characters.el: Recover lost case pairs.  (Bug#11209)
8808 2012-04-09  Chong Yidong  <cyd@gnu.org>
8810         * custom.el (custom-variable-p): Return nil for non-symbol
8811         arguments instead of signaling an error.
8812         (user-variable-p): Obsolete alias for custom-variable-p.
8814         * apropos.el (apropos-variable):
8815         * files-x.el (read-file-local-variable):
8816         * simple.el (set-variable):
8817         * woman.el (woman-mini-help):
8818         * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
8820 2012-04-09  Glenn Morris  <rgm@gnu.org>
8822         * startup.el (normal-top-level): Don't look for leim-list.el
8823         in places where it will not be found.  (Bug#910)
8825         * international/mule-cmds.el (set-default-coding-systems):
8826         * files.el (normal-mode):
8827         Remove guarded calls to ucs-set-table-for-input.  (Bug#9821)
8828         This function was removed with ucs-tables.el in 2008.
8830 2012-04-08  Eli Zaretskii  <eliz@gnu.org>
8832         * textmodes/ispell.el (ispell-check-version): For hunspell, set
8833         ispell-encoding8-command to "-i", without a trailing space.
8834         (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
8835         separate command-line arguments, to specify the encoding, since
8836         that's how hunspell expects it.
8838 2012-04-08  Glenn Morris  <rgm@gnu.org>
8840         * loadup.el: Load bindings before cus-start.
8841         This reduces somewhat the number of "rogue" settings in emacs -Q.
8843 2012-04-07  Glenn Morris  <rgm@gnu.org>
8845         * version.el (emacs-bzr-get-version): New function.
8846         (emacs-bzr-version): New variable.
8847         * loadup.el (emacs-bzr-version): Set it.  (Bug#8054)
8848         * mail/emacsbug.el (report-emacs-bug): Include bzr version.
8850 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
8852         * international/uni-bidi.el, international/uni-category.el:
8853         * international/uni-combining.el, international/uni-decimal.el:
8854         * international/uni-decomposition.el, international/uni-digit.el:
8855         * international/uni-lowercase.el, international/uni-mirrored.el:
8856         * international/uni-name.el, international/uni-numeric.el:
8857         * international/uni-titlecase.el, international/uni-uppercase.el:
8858         Update for Unicode 6.1.
8860 2012-04-07  Eli Zaretskii  <eliz@gnu.org>
8862         * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
8864 2012-04-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8866         * window.el (shrink-window): Mention the `window-min-height'
8867         variable in the doc string.
8869 2012-04-05  Bastien Guerry  <bzg@altern.org>
8871         * color.el (color-lighten-name): Fix typo.
8873 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8875         * server.el (server--on-display-p): New function.
8876         (server--on-display-p): Use it.
8878 2012-04-04  Gabor Vida  <vidagabor@gmail.com>  (tiny change)
8880         * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
8881         (bug#11145).
8883 2012-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8885         * comint.el (comint--common-quoted-suffix): Check string boundary
8886         before comparing (bug#11158).
8887         * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
8889 2012-04-04  Chong Yidong  <cyd@gnu.org>
8891         * minibuffer.el (completion-extra-properties): Doc fix.
8893         * subr.el (delayed-warnings-hook): Doc fix.
8895 2012-04-04  Daiki Ueno  <ueno@unixuser.org>
8897         * epa.el (epa--select-keys): Bind C-c C-c to finish the key
8898         selection (Bug#11159).
8899         (epa-insert-keys): Inform that the default public key will be
8900         exported if no key is selected.
8902 2012-04-04  Richard Stallman  <rms@gnu.org>
8904         * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
8906 2012-04-03  Chong Yidong  <cyd@gnu.org>
8908         * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
8909         mail-insert-file, not its obsolete alias mail-attach-file.
8911 2012-04-03  Michael Albinus  <michael.albinus@gmx.de>
8913         * notifications.el (notifications-notify): Fix docstring.
8915 2012-04-02  Glenn Morris  <rgm@gnu.org>
8917         * emacs-lisp/authors.el (authors-aliases): Another addition.
8919 2012-04-02  Michael Albinus  <michael.albinus@gmx.de>
8921         * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
8922         `tramp-compat-call-process' instead of `tramp-local-call-process'.
8923         Reported by Magnus Henoch <magnus.henoch@gmail.com>.
8925 2012-04-01  Chong Yidong  <cyd@gnu.org>
8927         * files.el (file-in-directory-p): Rename from file-subdir-of-p.
8928         Handle root directory properly.
8929         (copy-directory): Caller changed.
8931         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8932         * net/tramp.el (tramp-file-name-for-operation): Callers changed.
8934 2012-03-31  Glenn Morris  <rgm@gnu.org>
8936         * term/xterm.el (xterm-extra-capabilities): Doc fix.
8938         * language/indian.el ("Devanagari"): Fix typo.  (Bug#11103)
8940         * calendar/calendar.el (calendar-window-list)
8941         (calendar-hide-window): Restore.  (Bug#11140)
8942         (calendar-exit): Use calendar-window-list, calendar-hide-window again.
8944         * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
8946 2012-03-30  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8948         * dired-aux.el (dired-copy-file-recursive, dired-create-files):
8949         Check if file is a symlink (Bug#10489).
8951         * files.el (copy-directory): Likewise.
8953 2012-03-30  Chong Yidong  <cyd@gnu.org>
8955         * image.el (imagemagick-types-inhibit)
8956         (imagemagick-register-types): Doc fix.
8958 2012-03-30  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
8960         * textmodes/ispell.el (ispell-get-extended-character-mode):
8961         Disable extended-char-mode for hunspell.  hunspell does not support it
8962         and treats ~word as ordinary words in pipe mode.
8964 2012-03-30  Glenn Morris  <rgm@gnu.org>
8966         * tutorial.el (help-with-tutorial): Ensure local variables don't
8967         happen to make the buffer read-only.  (Bug#11127)
8969 2012-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8971         * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
8972         (perl-calculate-indent): Return `noindent' in strings.
8974 2012-03-28  Sam Steingold  <sds@gnu.org>
8976         * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
8977         instead of the broken adhockery which does not prevent calendar
8978         buffers from being displayed at random after exit.
8979         (calendar-window-list, calendar-hide-window): Remove the broken
8980         adhockery.
8982 2012-03-28  Glenn Morris  <rgm@gnu.org>
8984         * replace.el (query-replace-map): Doc fix.
8986 2012-03-28  Andreas Schwab  <schwab@linux-m68k.org>
8988         * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
8989         contents.  (Bug#11109)
8991 2012-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8993         * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
8994         (bug#11077).
8995         (avl-tree--check, avl-tree--check-node): New funs.
8997 2012-03-27  Martin Rudalics  <rudalics@gmx.at>
8999         * window.el (switch-to-visible-buffer): New option.
9000         (switch-to-prev-buffer, switch-to-next-buffer):
9001         Observe switch-to-visible-buffer.  Make sure that checking for a window
9002         showing a buffer already is done on the same frame.
9004 2012-03-27  Glenn Morris  <rgm@gnu.org>
9006         * startup.el (mail-host-address): Doc fix.
9008 2012-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9010         * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
9011         than 197 variables.
9013 2012-03-26  Ami Fischman  <ami@fischman.org>
9015         * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
9017 2012-03-26  Glenn Morris  <rgm@gnu.org>
9019         * files.el (save-buffers-kill-emacs): Doc fix.
9021         * startup.el (normal-top-level, command-line, command-line-1):
9022         Give them doc strings.
9024 2012-03-25  Eli Zaretskii  <eliz@gnu.org>
9026         * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
9027         of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
9029 2012-03-25  Chong Yidong  <cyd@gnu.org>
9031         * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
9032         theme if it was previously enabled before (Bug#11031).
9034         * cus-theme.el (custom-theme-write-faces): Retrieve current face
9035         spec with custom-face-get-current-spec if its :shown-value is not
9036         determined yet (Bug#9337).
9037         (customize-create-theme, custom-theme-revert): Doc fixes.
9039         * button.el (button-at): Minor addition to docstring.
9041 2012-03-24  Simon Leinen  <simon.leinen@gmail.com>
9043         * vc/vc.el (vc-merge): Fix a prompt.
9045 2012-03-24  Chong Yidong  <cyd@gnu.org>
9047         * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
9048         point (Bug#9623).
9050         * button.el (button-at): Minor addition to docstring.
9052 2012-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9054         * newcomment.el (comment-choose-indent): No space after BOL.
9056 2012-03-22  Sam Steingold  <sds@gnu.org>
9058         * window.el (switch-to-prev-buffer): Revert last patch because the
9059         bug turned out to be an advertised feature (Elisp manual 28.14).
9061 2012-03-22  Glenn Morris  <rgm@gnu.org>
9063         * vc/vc-bzr.el (vc-bzr-status-switches): New option.  (Bug#6724)
9064         (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
9066 2012-03-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9068         * net/network-stream.el (network-stream-open-starttls): Make error
9069         message under Windows be less misleading.
9071 2012-03-22  Liang Wang  <netcasper@gmail.com>  (tiny change)
9073         * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
9074         understands (bug#9942).
9076 2012-03-22  Chong Yidong  <cyd@gnu.org>
9078         * simple.el (end-of-visible-line): Handle return value of
9079         next-single-property-change properly (Bug#9371).
9081 2012-03-22  Kenichi Handa  <handa@m17n.org>
9083         * international/quail.el (quail-insert-kbd-layout): Fix previous
9084         change.  To avoid unwanted bidi reordering, use
9085         bidi-string-mark-left-to-right instead of inserting LRO and PDF.
9087 2012-03-21  Dmitry Gutov  <dgutov@yandex.ru>
9089         * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
9090         (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
9091         (ruby-beginning-of-indent): Be more careful with the difference
9092         between word-boundary and symbol boundary.
9093         (ruby-mode-syntax-table): Make : a symbol constituent.
9095 2012-03-21  Andreas Politz  <politza@fh-trier.de>
9097         * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
9099 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9101         * progmodes/etags.el (tags-completion-at-point-function):
9102         Improve last fix.
9104         * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
9106 2012-03-21  Sam Steingold  <sds@gnu.org>
9108         * progmodes/etags.el (tags-completion-at-point-function):
9109         Avoid the error when point is inside the pattern.
9111 2012-03-21  John Yates  <john@yates-sheets.org>  (tiny change)
9113         * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
9114         line (Bug#10855).
9116 2012-03-21  Drew Adams  <drew.adams@oracle.com>
9118         * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
9120 2012-03-21  Anmol Khirbat  <anmol@khirbat.net>  (tiny change)
9122         * ido.el (ido-set-current-directory, ido-read-internal)
9123         (ido-choose-completion-string, ido-completion-help): Handle nil
9124         value of ido-completion-buffer (Bug#11008).
9126 2012-03-21  Sam Steingold  <sds@gnu.org>
9128         * window.el (switch-to-prev-buffer): Do not switch to a visible
9129         window previous buffer, just like with the frame previous buffers.
9131 2012-03-21  Chong Yidong  <cyd@gnu.org>
9133         * faces.el (make-face, make-empty-face, copy-face):
9134         * face-remap.el (face-remap-add-relative, face-remap-set-base):
9135         Doc fixes.
9137 2012-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
9139         * wid-edit.el (widget-complete-field): Remove (bug#11051).
9140         (widget-complete): Remove broken use of it.
9142 2012-03-20  Chong Yidong  <cyd@gnu.org>
9144         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
9145         Use string-width and truncate-string-width to handle arbitrary
9146         characters.
9148 2012-03-20  Tassilo Horn  <tassilo@member.fsf.org>
9150         * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
9151         to draw rectangles, not squares.  (Regression introduced by revno
9152         2011-03-02T03:48:01Z!cyd@stupidchicken.com)
9154 2012-03-18  Chong Yidong  <cyd@gnu.org>
9156         * faces.el (face-spec-reset-face): Don't call display-graphic-p if
9157         it is not yet defined (for temacs).
9159 2012-03-18  Leo Liu  <sdl.web@gmail.com>
9161         * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
9162         prefix.
9164 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
9166         * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
9167         (ispell-choices-win-default-height, ispell-silently-savep)
9168         (ispell-dictionary-alist, ispell-encoding8-command)
9169         (ispell-check-version, ispell-aspell-find-dictionary)
9170         (ispell-valid-dictionary-list, ispell-words-keyword)
9171         (ispell-get-word, ispell-internal-change-dictionary)
9172         (ispell-region, ispell-skip-region-list)
9173         (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
9174         (ispell-process-line, ispell-minor-mode, ispell-minor-check)
9175         (ispell-message-text-end, ispell-message)
9176         (ispell-buffer-local-parsing): Doc fix.
9178 2012-03-13  Jambunathan K  <kjambunathan@gmail.com>
9180         * htmlfontify.el: Add support for code block fontification for ODT
9181         export (Bug #9914).
9182         (hfy-optimisations): Define new option
9183         `body-text-only'
9184         (hfy-fontify-buffer): Honor above setting.
9185         (hfy-begin-span, hfy-end-span): New routines factored out form
9186         `hfy-fontify-buffer'.
9187         (hfy-begin-span-handler, hfy-end-span-handler): New variables
9188         that permit insertion of custom tags.
9189         (hfy-fontify-buffer): Use above handlers.
9190         (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
9191         (hfy-face-to-css): Re-defined to be a variable.
9192         (hfy-compile-stylesheet): Modify.  Allow stylesheet to be built
9193         over multiple runs.  This is made possible by having the caller let
9194         bind a special variable `hfy-user-sheet-assoc'.
9195         (htmlfontify-string): New defun.
9196         (hfy-compile-face-map): Make sure that the last char in the
9197         buffer is correctly fontified.
9198         (hfy-face-resolve-face): Whitespace only change.
9200 2012-03-17  Eli Zaretskii  <eliz@gnu.org>
9202         * textmodes/ispell.el (ispell-get-decoded-string): Make the error
9203         message more clear.
9205 2012-03-16  Leo Liu  <sdl.web@gmail.com>
9207         * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
9209 2012-03-16  Alan Mackenzie  <acm@muc.de>
9211         Further optimise the handling of large macros.
9213         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
9214         limit to a call of `c-literal-limits'.
9215         (c-determine-+ve-limit): New function.
9216         (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
9217         (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
9218         In CASE 5B, restrict a search limit to 500.
9219         (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
9221         * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
9222         Restrict macro bounds to +-500 from after-change's BEG END.
9224 2012-03-16  Leo Liu  <sdl.web@gmail.com>
9226         * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
9228 2012-03-16  Aaron S. Hawley  <Aaron.S.Hawley@gmail.com>
9230         * tar-mode.el (tar-mode): Fix saving by conditionally undoing
9231         `special-mode' setting of `buffer-read-only'.  (Bug#11010)
9233 2012-03-16  Glenn Morris  <rgm@gnu.org>
9235         * view.el (view-buffer, view-buffer-other-window)
9236         (view-buffer-other-frame): Doc fixes re special mode-class.
9238         * subr.el (eval-after-load): If named feature is provided not from
9239         a file, run after-load forms.  (Bug#10946)
9241         * calendar/calendar.el (calendar-insert-at-column):
9242         Handle non-unit-width characters a bit better.  (Bug#10978)
9244 2012-03-15  Chong Yidong  <cyd@gnu.org>
9246         * emacs-lisp/ring.el (ring-extend): New function.
9247         (ring-insert+extend): Extend the ring correctly (Bug#11019).
9249         * comint.el (comint-read-input-ring)
9250         (comint-add-to-input-history): Grow comint-input-ring lazily.
9252 2012-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9254         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
9255         Fix up parsing of multiline twoarg non-paired elements (bug#11014).
9257         * imenu.el: Fix multiple inheritance breakage (bug#9199).
9258         (imenu-add-to-menubar): Don't add a redundant index.
9259         (imenu-update-menubar): Handle a dynamically composed keymap.
9261 2012-03-13  Katsumi Yamaoka  <yamaoka@jpl.org>
9263         * mail/sendmail.el (mail-encode-header):
9264         Bind rfc2047-encode-encoded-words to nil.
9266 2012-03-13  Glenn Morris  <rgm@gnu.org>
9268         * calendar/calendar.el (calendar-string-spread):
9269         Handle non-unit-width characters a bit better.  (Bug#10978)
9271 2012-03-13  Leo Liu  <sdl.web@gmail.com>
9273         * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
9274         directory and file as argument (Bug#10822).
9276 2012-03-13  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
9278         * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
9279         For dynamically generated code, follow $PC.
9280         (gdb-disassembly-handler-custom): Handle no function name case.
9282 2012-03-13  Tim Landscheidt  <tim@tim-landscheidt.de>  (tiny change)
9284         * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
9285         * emulation/ws-mode.el (ws-query-replace):
9286         * sort.el (sort-regexp-fields):
9287         Fix missing trailing whitespace in interactive prompts.  (Bug#11002)
9289 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9291         * dabbrev.el: Fix cycle completion order (bug#10963).
9292         (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
9293         (dabbrev-completion): Don't use an obarray; provide
9294         a cycle-sort-function.
9296 2012-03-12  Leo Liu  <sdl.web@gmail.com>
9298         * simple.el (kill-new): Use equal-including-properties for comparison.
9299         (kill-do-not-save-duplicates): Doc fix.
9301 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9303         * dabbrev.el: Fix cycle completion (bug#10963).
9304         Use lexical binding and wrap to 80 columns.
9305         (dabbrev-completion): Delay computing the list of completions.
9307 2012-03-12  Kenichi Handa  <handa@m17n.org>
9309         * international/quail.el (quail-insert-kbd-layout): Surround each
9310         row by LRO and PDF instead of inserting many LRMs.  Pad the left
9311         and right of each non-spacing marks.  Insert invisible space
9312         between lower and upper characters to prevent composition.
9314 2012-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9316         * minibuffer.el (minibuffer-complete): Don't get confused when the
9317         function is run twice via different commands (bug#10958).
9318         (complete-with-action): Fix docstring.
9320 2012-03-12  Chong Yidong  <cyd@gnu.org>
9322         * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
9323         (nxml-completion-at-point-function): New function.
9324         (nxml-mode): Use it.
9325         (nxml-bind-meta-tab-to-complete-flag): Default to t.
9327         * emacs-lisp/package.el (package-unpack, package-unpack-single):
9328         Load generated autoloads file before byte compiling (Bug#10970).
9329         (package--make-autoloads-and-compile): New helper fun.
9331 2012-03-12  Christopher Schmidt  <christopher@ch.ristopher.com>
9333         * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
9335 2012-03-11  Michael Albinus  <michael.albinus@gmx.de>
9337         * autorevert.el (auto-revert-handler): Ensure, that
9338         file-readable-p is applied only for local files or in
9339         auto-revert-tail-mode.
9341 2012-03-11  Andreas Schwab  <schwab@linux-m68k.org>
9343         * server.el (server-eval-at): Handle non-tcp connections.
9344         Decode result string.
9346         * server.el (server-msg-size): New constant.
9347         (server-reply-print): New function.
9348         (server-eval-and-print): Use it.
9349         (server-eval-at): Use server-quote-arg and server-unquote-arg.
9350         Handle -print-nonl.
9352 2012-03-11  Christopher Schmidt  <christopher@ch.ristopher.com>
9354         * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
9355         (Bug#10987).
9357 2012-03-11  Chong Yidong  <cyd@gnu.org>
9359         * simple.el (goto-line): Doc fix (Bug#9938).
9361         * subr.el (save-window-excursion): Doc fix (Bug#9979).
9363         * dabbrev.el (dabbrev--find-expansion): Update progress reporter
9364         when finished (Bug#10963).
9366 2012-03-11  Martin Rudalics  <rudalics@gmx.at>
9368         * window.el (split-window-below): Fix bug in case where
9369         split-window-keep-point is nil (Bug#10971).
9371 2012-03-11  Juri Linkov  <juri@jurta.org>
9373         * replace.el (replace-highlight): Set isearch-word to nil
9374         unconditionally.  (Bug#10887)
9376 2012-03-10  Eli Zaretskii  <eliz@gnu.org>
9378         * net/mairix.el (mairix-replace-invalid-chars): Rename from
9379         mairix-replace-illegal-chars; all callers changed.  Don't remove
9380         ^, ~, and = characters: they are meaningful in mairix search specs.
9381         (mairix-widget-create-query): Add usage information about mairix
9382         search forms: negating words, searching for substrings, etc.
9384 2012-03-10  Jae-hyeon Park  <jae-hyeon.park@desy.de>  (tiny change)
9386         * international/fontset.el (font-encoding-alist): Add an entry for
9387         ksx1001 (Bug#5667).
9389 2012-03-10  Richard Stallman  <rms@gnu.org>
9391         * mail/sendmail.el (mail-encode-header):
9392         Set rfc2047-encode-encoded-words.
9394         * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
9396         * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
9397         view buffer means not swapped.
9398         (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
9399         (rmail-write-region-annotate): Error if real text has disappeared.
9401         * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
9403 2012-03-10  Chong Yidong  <cyd@gnu.org>
9405         * emulation/cua-rect.el (cua--init-rectangles):
9406         * emulation/cua-base.el (cua--init-keymaps):
9407         Add delete-forward-char to remappings (Bug#9666).
9409 2012-03-10  Martin Rudalics  <rudalics@gmx.at>
9411         * speedbar.el (speedbar-unhighlight-one-tag-line):
9412         Avoid unhighlighting due to frame switching (Bug#10275).
9414 2012-03-10  Chong Yidong  <cyd@gnu.org>
9416         * minibuffer.el (completion-in-region, completion-help-at-point):
9417         Give the completion field overlay a high priority (Bug#6830).
9419         * dired.el (dired-goto-file): Recognize absolute file name
9420         listings (Bug#7126).
9421         (dired-goto-file-1): New helper function.
9422         (dired-toggle-read-only): Inhibit warnings.
9424 2012-03-09  Michael Albinus  <michael.albinus@gmx.de>
9426         * net/dbus.el (dbus-property-handler): Return empty array if
9427         there are no properties.
9429 2012-03-09  Leo Liu  <sdl.web@gmail.com>
9431         * savehist.el (savehist-printable): Stricter check for string
9432         value (Bug#10937).
9434 2012-03-09  Eli Zaretskii  <eliz@gnu.org>
9436         * mail/smtpmail.el (smtpmail-send-it):
9437         Bind coding-system-for-write to *-unix, so that FCC files are kept in
9438         valid mbox format.
9440 2012-03-09  Glenn Morris  <rgm@gnu.org>
9442         * files.el (dir-locals-find-file):
9443         Don't check result is regular, readable.
9444         (dir-locals-read-from-file): Demote errors.
9446 2012-03-08  Eli Zaretskii  <eliz@gnu.org>
9448         * international/quail.el (quail-insert-kbd-layout):
9449         Insert invisible LRM characters before each character in a keyboard
9450         layout cell, to prevent their reordering by bidi display engine.
9451         For details, see the discussion in
9452         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
9454 2012-03-08  Alan Mackenzie  <acm@muc.de>
9456         * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
9457         the starting position; make it extend the marked region when
9458         invoked repeatedly - all under appropriate circumstances.
9459         Fixes bugs #5525, #10906.
9461 2012-03-08  Glenn Morris  <rgm@gnu.org>
9463         * files.el (locate-dominating-file, dir-locals-find-file):
9464         Undo 2012-03-06 change.
9466 2012-03-07  Eli Zaretskii  <eliz@gnu.org>
9468         * international/quail.el (quail-help):
9469         Force bidi-paragraph-direction be left-to-right.  See discussion in
9470         http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
9471         for the reason.
9473 2012-03-07  Michael Albinus  <michael.albinus@gmx.de>
9475         Avoid superfluous registering of signals.  (Bug#10807)
9477         * notifications.el (notifications-on-action-object)
9478         (notifications-on-close-object): New defvars.
9479         (notifications-on-action-signal, notifications-on-closed-signal):
9480         Unregister the signal if not needed any longer.
9481         (notifications-notify): Register `notifications-action-signal' or
9482         `notifications-closed-signal', if :on-action or :on-close has been
9483         passed as argument.
9485 2012-03-07  Chong Yidong  <cyd@gnu.org>
9487         * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
9488         non-X platforms.
9490 2012-03-06  Glenn Morris  <rgm@gnu.org>
9492         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9493         (x-disown-selection-internal, x-get-selection-internal):
9494         Doc fix (add arglist signatures).  (Bug#10783)
9496 2012-03-06  Kaushik Srenevasan  <ksrenevasan@gmail.com>  (tiny change)
9498         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
9499         Handle breakpoints with no "type".
9501 2012-03-06  Glenn Morris  <rgm@gnu.org>
9503         * files.el (locate-dominating-file): Add optional predicate argument.
9504         (dir-locals-find-file): Make use of above change.
9506 2012-03-06  Thien-Thi Nguyen  <ttn@gnuvola.org>
9508         * info.el (Info-insert-dir): Also try "dir.gz".
9510 2012-03-06  Glenn Morris  <rgm@gnu.org>
9512         * files.el (dir-locals-find-file):
9513         Ignore non-readable or non-regular files.  (Bug#10928)
9515         * files.el (locate-dominating-file): Doc fix.
9517 2012-03-06  Adam Spiers  <emacs@adamspiers.org>  (tiny change)
9519         * calendar/calendar.el (calendar-set-mode-line):
9520         `getenv' returns a string.  (Bug#10951)
9522 2012-03-05  Leo Liu  <sdl.web@gmail.com>
9524         * simple.el (backward-delete-char-untabify): Constrain point to
9525         field (Bug#10939).
9527         * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
9529 2012-03-05  Chong Yidong  <cyd@gnu.org>
9531         * simple.el (count-words): If called from Lisp, return the word
9532         count, for symmetry with `count-lines'.  Arglist changed.
9533         (count-words--message): Args changed.  Consolidate counting code
9534         from count-words and count-words-region.
9535         (count-words-region): Caller changed.
9536         (count-lines-region): Make it an obsolete alias.
9538 2012-03-04  Tassilo Horn  <tassilo@member.fsf.org>
9540         * saveplace.el (save-place-to-alist)
9541         (save-place-ignore-files-regexp): Allow value nil to disable this
9542         feature.
9544 2012-03-04  Chong Yidong  <cyd@gnu.org>
9546         * faces.el (face-spec-reset-face): For the default face, reset the
9547         attributes to default values (Bug#10748).
9549 2012-03-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9551         * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
9552         previous patch: Check `message-send-mail-function', and not the
9553         default function (bug#10897).
9555 2012-03-04  Michael Albinus  <michael.albinus@gmx.de>
9557         * notifications.el (notifications-on-action-signal)
9558         (notifications-on-closed-signal): Check for unique service name of
9559         incoming event.  Fix error in removing entry.
9560         (top): Register for signals with wildcard service name.
9561         (notifications-notify): Use daemon unique service name for map entries.
9563 2012-03-04  Chong Yidong  <cyd@gnu.org>
9565         * cus-start.el: Make x-select-enable-clipboard-manager customizable.
9567 2012-03-04  Glenn Morris  <rgm@gnu.org>
9569         * abbrev.el (copy-abbrev-table, abbrev-table-p)
9570         (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
9571         (expand-abbrev, define-abbrev-table): Doc fixes.
9573 2012-03-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
9575         * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
9576         `message-default-send-mail-function' and not `send-mail-function'
9577         when doing the prompting for `sendmail-query-once' before sending
9578         in Message buffers (bug#10897).
9580         * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
9581         This is inconsistent with all the other stream functions, which leave
9582         the setting up to the higher levels (if so wanted) (bug#10931).
9584 2012-03-02  Alan Mackenzie  <acm@muc.de>
9586         Depessimize the handling of very large macros.
9588         * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
9589         (c-macro-cache-syntactic): New variables to implement a one
9590         element macro cache.
9591         (c-invalidate-macro-cache): New function.
9592         (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
9593         Adapt to use the new cache.
9594         (c-state-safe-place): Use better the cache of safe positions.
9595         (c-state-semi-nonlit-pos-cache)
9596         (c-state-semi-nonlit-pos-cache-limit):
9597         New variables for...
9598         (c-state-semi-safe-place): New function.  Here, in a macro is "safe".
9599         (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
9600         (c-in-literal, c-literal-limits, c-determine-limit-get-base):
9601         Use c-state-semi-safe-place.
9603         * progmodes/cc-langs.el (c-get-state-before-change-functions):
9604         Add c-invalidate-macro-cache to the C, C++, Obj entries.
9606 2012-03-02  Michael Albinus  <michael.albinus@gmx.de>
9608         * jka-compr.el (jka-compr-call-process):
9609         Apply `file-accessible-directory-p' only when the default directory is
9610         not remote.
9612 2012-03-01  Michael Albinus  <michael.albinus@gmx.de>
9614         * files.el (file-equal-p): Fix docstring.  Avoid unnecessary
9615         access of FILE2, if FILE1 does not exist.
9617         * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
9618         Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
9620         * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
9621         Add "PAGER=" to `process-environment'.
9623 2012-03-01  Michael R. Mauger  <mmaug@yahoo.com>
9625         * progmodes/sql.el: Bug fix
9626         (sql-get-login-ext): Save login values in globals.
9627         (sql-get-login): Use new version of `sql-get-login-ext'.
9628         (sql-interactive-mode): Set global `sql-connection' to nil.
9629         (sql-connect): Set global values for connection.
9630         (sql-product-interactive): Save global values as buffer local.
9632 2012-02-29  Leo Liu  <sdl.web@gmail.com>
9634         * abbrev.el (define-abbrevs): Reset sys to nil.
9636 2012-02-28  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9638         * files.el (file-equal-p): Rename from `files-equal-p'.
9639         Return nil when one or both files don't exist.
9640         (file-subdir-of-p): Now only top directory must exists,
9641         return nil if it doesn't.
9642         (copy-directory): No need to test with `file-subdir-of-p' after
9643         creating dir.
9644         * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
9645         to `file-equal-p'.
9647 2012-02-28  Glenn Morris  <rgm@gnu.org>
9649         * shell.el (shell-mode):
9650         * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
9651         * play/landmark.el (landmark-font-lock-face-O):
9652         * play/handwrite.el (handwrite):
9653         * play/gomoku.el (gomoku-O):
9654         * net/browse-url.el (browse-url-browser-display):
9655         * international/mule.el (define-charset):
9656         * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
9657         * filesets.el (filesets-find-file-delay):
9658         * eshell/em-xtra.el (eshell-xtra):
9659         * eshell/em-unix.el (eshell-grep):
9660         * emulation/viper.el (viper-mode):
9661         * emacs-lisp/regexp-opt.el (regexp-opt-group):
9662         * emacs-lisp/easymenu.el (easy-menu-define):
9663         * calendar/timeclock.el (timeclock-use-display-time):
9664         * bs.el (bs-mode):
9665         * bookmark.el (bookmark-save-flag):
9666         Doc fix (standardize possessive apostrophe usage).
9668 2012-02-27  Chong Yidong  <cyd@gnu.org>
9670         * emulation/viper-cmd.el (viper-intercept-ESC-key):
9671         Fix key-binding lookup for ESC key (Bug#9146).
9673         * font-lock.el (font-lock-specified-p): Rename from
9674         font-lock-spec-present.  Callers changed.
9676 2012-02-27  Daniel Hackney  <dan@haxney.org>
9678         * emacs-lisp/package.el (package-compute-transaction):
9679         Handle holding a package version to t in package-load-list.
9681 2012-02-26  Michael Albinus  <michael.albinus@gmx.de>
9683         * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
9684         (tramp-get-inode, tramp-get-device): Use cached values.
9686 2012-02-26  Alan Mackenzie  <acm@muc.de>
9688         Check there is a font-lock specification before doing initial
9689         fontification.
9691         * font-core.el (font-lock-mode): Move the conditional from
9692         :after-hook to font-lock-initial-fontify.
9693         (font-lock-default-function): Move the check for a specification
9694         to font-lock-spec-present.
9696         * font-lock.el (font-lock-initial-fontify): Call ...
9697         (font-lock-spec-present): New function.
9699 2012-02-26  Jim Blandy  <jimb@red-bean.com>
9701         * progmodes/gdb-mi.el (gdb-mi-quote): New function.
9702         (gdb-send): Apply it to the operand of the '-interpreter-exec
9703         console' command, so that we can pass arguments with (say) quotes
9704         in them.  Store exact string sent in gdb-debug-log (Bug#10765).
9706 2012-02-26  Chong Yidong  <cyd@gnu.org>
9708         * help-fns.el (describe-function-1): Clarify description of
9709         remapping (Bug#10844).
9711         * files.el (files-equal-p): Doc fix.
9712         (file-subdir-of-p): Doc fix.  Convert loop macro to plain Lisp,
9713         and quit the loop once a mismatch is found.
9715 2012-02-25  Juanma Barranquero  <lekktu@gmail.com>
9717         * bs.el (bs--show-with-configuration): Don't throw an error
9718         if the window cannot be split; otherwise, subsequent calls to
9719         bs-show fail, restoring a stale window config.  (Bug#10882)
9721 2012-02-25  Jan Djärv  <jan.h.d@swipnet.se>
9723         * term/ns-win.el (global-map): Bind ns-drag-file to
9724         ns-find-file (Bug#5855, Bug#10050).
9726 2012-02-25  Andreas Schwab  <schwab@linux-m68k.org>
9728         * calendar/parse-time.el (parse-time-string): Allow extractor to
9729         return nil.
9731 2012-02-25  Michael Albinus  <michael.albinus@gmx.de>
9733         * net/tramp.el (tramp-file-name-for-operation):
9734         Add `files-equal-p' and `file-subdir-of-p'.
9736         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
9737         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
9738         Add COPY-CONTENTS argument.
9740 2012-02-25  Chong Yidong  <cyd@gnu.org>
9742         Add custom groups for VC backends, for consistency with vc-bzr.
9744         * vc/vc-arch.el (vc-arch):
9745         * vc/vc-cvs.el (vc-cvs):
9746         * vc/vc-git.el (vc-git):
9747         * vc/vc-hg.el (vc-hg):
9748         * vc/vc-mtn.el (vc-mtn):
9749         * vc/vc-rcs.el (vc-rcs):
9750         * vc/vc-sccs.el (vc-sccs):
9751         * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
9752         All relevant defcustoms reassigned.
9754 2012-02-25  Chong Yidong  <cyd@gnu.org>
9756         * newcomment.el (comment-styles): Add autoload (Bug#10868).
9758         * term/x-win.el (x-initialize-window-system): Reduce default for
9759         x-selection-timeout to 5 seconds (Bug#8869).
9761 2012-02-24  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9763         * files.el (files-equal-p, file-subdir-of-p): New functions.
9764         (copy-directory): Error when trying to copy a directory on itself.
9765         Add missing copy-contents arg to tramp handler.
9766         * dired-aux.el (dired-copy-file-recursive): Same.
9767         (dired-create-files): Modify destination when source is equal to
9768         dest when copying files.
9769         Return also when dest is a subdir of source.  (Bug#10489)
9771 2012-02-24  Michael Albinus  <michael.albinus@gmx.de>
9773         * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
9774         (Bug#10874)
9776 2012-02-23  Alan Mackenzie  <acm@muc.de>
9778         * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
9779         parameter "after-hook:" to allow the expansion to run code after
9780         the execution of the mode hooks.
9782         * font-lock.el (font-lock-initial-fontify): New function extracted
9783         from font-lock-mode-internal.
9785         * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
9786         :after-hook.
9788 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9790         * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
9791         (completion--cache-all-sorted-completions): New function.
9792         (completion-all-sorted-completions): Use it.
9793         (completion--do-completion, minibuffer-force-complete):
9794         Use it to re-instate the flush hook.
9796         * icomplete.el (icomplete-completions): Replace last fix with a better
9797         one (bug#10850).
9799 2012-02-23  Dmitry Gutov  <dgutov@yandex.ru>
9801         * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
9802         when it might call us back infinitely (bug#10797).
9804 2012-02-23  Glenn Morris  <rgm@gnu.org>
9806         * minibuffer.el (completion-category-overrides): Doc fix.
9808 2012-02-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9810         * minibuffer.el (completion-table-with-context): Fix inf-loop.
9811         Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
9813 2012-02-23  Glenn Morris  <rgm@gnu.org>
9815         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
9816         (authors-obsolete-files-regexps, authors-ignored-files)
9817         (authors-ambiguous-files, authors-renamed-files-alist):
9818         Add more entries.
9820 2012-02-23  Juri Linkov  <juri@jurta.org>
9822         * isearch.el (isearch-occur): Sync interactive spec with occur's
9823         new feature in `occur-read-primary-args'.  Doc fix.  (Bug#10705)
9825         * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
9827 2012-02-22  Juri Linkov  <juri@jurta.org>
9829         * international/mule-cmds.el (read-char-by-name): Use \` and \'.
9830         (ucs-insert): Doc fix.  Check for hex digits in the string.
9831         Don't display `nil' in the error message.  (Bug#10857)
9833 2012-02-22  Alan Mackenzie  <acm@muc.de>
9835         * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
9837 2012-02-22  Glenn Morris  <rgm@gnu.org>
9839         * ffap.el (ffap-c-path):
9840         * man.el (Man-header-file-path): Handle multiarch.  (Bug#10702)
9842 2012-02-22  Chong Yidong  <cyd@gnu.org>
9844         * custom.el (load-theme): Doc fix.
9846 2012-02-22  Glenn Morris  <rgm@gnu.org>
9848         * dired-x.el (dired-guess-shell-alist-default):
9849         Remove escape sequences from nroff output.  (Bug#172)
9851 2012-02-21  Glenn Morris  <rgm@gnu.org>
9853         * vc/emerge.el (emerge-defvar-local):
9854         Set `permanent-local' property rather than unused `preserved'.
9856         * textmodes/picture.el (picture-delete-char): New alias.
9857         (picture-mode-map): Use it.  (Bug#10860)
9858         (picture-mode): Doc fix.
9860 2012-02-21  Juanma Barranquero  <lekktu@gmail.com>
9862         * newcomment.el (uncomment-region-default): Remove unused binding.
9864 2012-02-21  Glenn Morris  <rgm@gnu.org>
9866         * textmodes/picture.el (picture-motion, picture-motion-reverse)
9867         (picture-self-insert, picture-tab-chars): Doc fix.
9868         (picture-mode-map): Fix C-a, C-e.
9870 2012-02-20  Glenn Morris  <rgm@gnu.org>
9872         * emacs-lisp/authors.el (authors-aliases): Add another entry.
9874 2012-02-20  Leo Liu  <sdl.web@gmail.com>
9876         * icomplete.el (icomplete-completions): Check FROM arg before
9877         passing to substring (Bug#10850).
9879 2012-02-19  Chong Yidong  <cyd@gnu.org>
9881         * comint.el: Require ansi-color.
9882         (comint-output-filter-functions): Add ansi-color-process-output.
9884         * ansi-color.el: Don't set comint-output-filter-functions; it is
9885         now in the initial value defined in comint.el.
9886         (ansi-color-apply-face-function): New variable.
9887         (ansi-color-apply-on-region): Use it.
9888         (ansi-color-apply-overlay-face): New function.
9890         * shell.el (shell): No need to require ansi-color.
9891         (shell-mode): Use ansi-color-apply-face-function to highlight
9892         color escapes using font-lock-face property (Bug#10835).
9894 2012-02-19  Chong Yidong  <cyd@gnu.org>
9896         * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
9897         mode-line formats (Bug#10839).
9899 2012-02-18  Glenn Morris  <rgm@gnu.org>
9901         * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
9903         * mail/undigest.el (unforward-rmail-message): Doc fix.
9905         * saveplace.el (save-place-ignore-files-regexp): Add :version.
9907 2012-02-18  Eli Zaretskii  <eliz@gnu.org>
9909         * international/characters.el (script-list): Sync with the latest
9910         Unicode Character Database.
9912 2012-02-18  Andreas Schwab  <schwab@linux-m68k.org>
9914         * international/titdic-cnv.el: Remove duplicate coding tag.
9915         * language/cham.el: Likewise.
9916         * language/tai-viet.el: Likewise.
9918 2012-02-18  Glenn Morris  <rgm@gnu.org>
9920         * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
9921         * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
9922         (calendar-bahai-all-holidays-flag, calendar-other-dates):
9923         * calendar/diary-lib.el (diary-abbreviated-year-flag):
9924         * calendar/holidays.el (holiday-bahai-holidays)
9925         (calendar-holidays, list-holidays):
9926         Use utf-8 Bahá'í in doc-strings, menus, etc.
9928 2012-02-17  Tassilo Horn  <tassilo@member.fsf.org>
9930         * saveplace.el (save-place-ignore-files-regexp): New variable
9931         allowing for excluding files from saving their location of point.
9932         The default value matches the temporary commit message editing
9933         files from Git, SVN, Bazaar, and Mercurial.
9934         (save-place-to-alist): Use it.
9936 2012-02-17  Lawrence Mitchell  <wence@gmx.li>
9937             Stefan Monnier  <monnier@iro.umontreal.ca>
9939         * newcomment.el (uncomment-region-default): Don't leave extra space
9940         when an arg is provided (bug#8150).
9942 2012-02-17  Teodor Zlatanov  <tzz@lifelogs.com>
9944         * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
9946 2012-02-17  Glenn Morris  <rgm@gnu.org>
9948         * net/socks.el: Require network-stream.  (Bug#10599)
9950 2012-02-17  Kenichi Handa  <handa@m17n.org>
9952         * international/charprop.el:
9953         * international/uni-name.el:
9954         * international/uni-old-name.el:
9955         * international/uni-comment.el: Regenerate.
9957 2012-02-16  Glenn Morris  <rgm@gnu.org>
9959         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
9960         Interactively in calendar buffer, give an error if not on a date.
9962 2012-02-15  Glenn Morris  <rgm@gnu.org>
9964         * shell.el (shell-delimiter-argument-list):
9965         Revert 2011-02-17 change.  (Bug#8027)
9967 2012-02-15  Chong Yidong  <cyd@gnu.org>
9969         * minibuffer.el (completion-at-point-functions): Doc fix.
9971         * custom.el (defcustom): Doc fix; note use of defvar.
9973 2012-02-15  Glenn Morris  <rgm@gnu.org>
9975         * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
9976         Doc fixes.
9978 2012-02-14  Glenn Morris  <rgm@gnu.org>
9980         * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
9982 2012-02-14  Lars Ingebrigtsen  <larsi@gnus.org>
9984         * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
9985         way the ports list is computed.
9986         (smtpmail-query-smtp-server): Prompt the user for a port number if
9987         we can't connect to any of the standard ports (bug#10810).
9989 2012-02-14  Teodor Zlatanov  <tzz@lifelogs.com>
9991         * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
9993 2012-02-13  Glenn Morris  <rgm@gnu.org>
9995         * minibuffer.el (read-file-name): Doc fix.  (Bug#10798)
9997 2012-02-13  Teodor Zlatanov  <tzz@lifelogs.com>
9999         * net/gnutls.el (gnutls-trustfiles): New variable.
10000         (gnutls-negotiate): Use it.
10002 2012-02-13  Lars Ingebrigtsen  <larsi@gnus.org>
10004         * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
10005         does its stuff if Gnus is running.
10007 2012-02-13  Alan Mackenzie  <acm@muc.de>
10009         Fix a loop in c-set-fl-decl-start.
10011         * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
10012         c-backward-syntactic-ws actually moves backwards.
10014 2012-02-13  Leo Liu  <sdl.web@gmail.com>
10016         * net/rcirc.el (rcirc-markup-attributes): Move point to the
10017         beginning so that all \C-o chars are removed.
10019 2012-02-12  Teodor Zlatanov  <tzz@lifelogs.com>
10021         * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
10023 2012-02-12  Alan Mackenzie  <acm@muc.de>
10025         Fix infinite loop with long macros.
10026         * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
10028 2012-02-12  Chong Yidong  <cyd@gnu.org>
10030         * window.el (display-buffer): Doc fix (Bug#10785).
10032 2012-02-12  Glenn Morris  <rgm@gnu.org>
10034         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
10035         (x-disown-selection-internal, x-get-selection-internal):
10036         Sync docs with the xselect.c versions.
10038         * allout-widgets.el: Add missing license notice.
10040 2012-02-11  Glenn Morris  <rgm@gnu.org>
10042         * select.el (x-get-selection-internal, x-own-selection-internal)
10043         (x-disown-selection-internal):
10044         * x-dnd.el (x-get-selection-internal): Update declarations.
10046         * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
10048         * window.el (window-sides-slots):
10049         * tool-bar.el (tool-bar-position):
10050         * term/xterm.el (xterm-extra-capabilities):
10051         * ses.el (ses-self-reference-early-detection):
10052         * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
10053         (verilog-auto-wire-type)
10054         (verilog-auto-delete-trailing-whitespace)
10055         (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
10056         (verilog-auto-tieoff-declaration):
10057         * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
10058         (sql-oracle-statement-starters, sql-oracle-scan-on):
10059         * progmodes/prolog.el (prolog-align-comments-flag)
10060         (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
10061         (prolog-left-indent-regexp, prolog-paren-indent-p)
10062         (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
10063         (prolog-types, prolog-mode-specificators)
10064         (prolog-determinism-specificators, prolog-directives)
10065         (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
10066         (prolog-electric-dot-flag)
10067         (prolog-electric-dot-full-predicate-template)
10068         (prolog-electric-underscore-flag, prolog-electric-tab-flag)
10069         (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
10070         (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
10071         (prolog-program-switches, prolog-prompt-regexp)
10072         (prolog-debug-on-string, prolog-debug-off-string)
10073         (prolog-trace-on-string, prolog-trace-off-string)
10074         (prolog-zip-on-string, prolog-zip-off-string)
10075         (prolog-use-standard-consult-compile-method-flag)
10076         (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
10077         (prolog-imenu-max-lines, prolog-info-predicate-index)
10078         (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
10079         (prolog-char-quote-workaround):
10080         * progmodes/cc-vars.el (c-defun-tactic):
10081         * net/tramp.el (tramp-encoding-command-interactive)
10082         (tramp-local-end-of-line):
10083         * net/soap-client.el (soap-client):
10084         * net/netrc.el (netrc-file):
10085         * net/gnutls.el (gnutls):
10086         * minibuffer.el (completion-category-overrides)
10087         (completion-cycle-threshold)
10088         (completion-pcm-complete-word-inserts-delimiters):
10089         * man.el (Man-name-local-regexp):
10090         * mail/feedmail.el (feedmail-display-full-frame):
10091         * international/characters.el (glyphless-char-display-control):
10092         * eshell/em-ls.el (eshell-ls-date-format):
10093         * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
10094         (lisp-lambda-list-keyword-parameter-indentation)
10095         (lisp-lambda-list-keyword-parameter-alignment):
10096         * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
10097         * dired-x.el (dired-omit-verbose):
10098         * cus-theme.el (custom-theme-allow-multiple-selections):
10099         * calc/calc.el (calc-highlight-selections-with-faces)
10100         (calc-lu-field-reference, calc-lu-power-reference)
10101         (calc-note-threshold):
10102         * battery.el (battery-mode-line-limit):
10103         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
10104         (archive-7z-update):
10105         * allout.el (allout-prefixed-keybindings)
10106         (allout-unprefixed-keybindings)
10107         (allout-inhibit-auto-fill-on-headline)
10108         (allout-flattened-numbering-abbreviation):
10109         * allout-widgets.el (allout-widgets-auto-activation)
10110         (allout-widgets-icons-dark-subdir)
10111         (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
10112         (allout-widgets-theme-dark-background)
10113         (allout-widgets-theme-light-background)
10114         (allout-widgets-item-image-properties-emacs)
10115         (allout-widgets-item-image-properties-xemacs)
10116         (allout-widgets-run-unit-tests-on-load)
10117         (allout-widgets-time-decoration-activity)
10118         (allout-widgets-hook-error-post-time)
10119         (allout-widgets-track-decoration):
10120         Add missing :version tags to new defcustoms and defgroups.
10122         * progmodes/sql.el (sql-ansi-statement-starters)
10123         (sql-oracle-statement-starters): Add custom type.
10125         * progmodes/prolog.el: Remove leading '*' from defcustom docs.
10126         (prolog-system-version): Give it a type.
10128 2012-02-11  Eli Zaretskii  <eliz@gnu.org>
10130         * term/pc-win.el (x-select-text, x-selection-owner-p)
10131         (x-own-selection-internal, x-disown-selection-internal)
10132         (x-get-selection-internal): Sync doc strings and argument lists
10133         with xselect.c, common-win.el and x-win.el.  (Bug#10783)
10135 2012-02-11  Leo Liu  <sdl.web@gmail.com>
10137         * progmodes/python.el (python-end-of-statement): Fix infinite
10138         loop.  (Bug#10788)
10140 2012-02-10  Glenn Morris  <rgm@gnu.org>
10142         * international/mule-cmds.el (unify-8859-on-encoding-mode)
10143         (unify-8859-on-decoding-mode): Properly mark as obsolete.
10145 2012-02-10  Lars Ingebrigtsen  <larsi@gnus.org>
10147         * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
10148         about SMTP before checking the From header.
10150         * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
10151         into own function for reuse by emacsbug.el.
10153 2012-02-10  Leo Liu  <sdl.web@gmail.com>
10155         * subr.el (condition-case-unless-debug): Rename from
10156         condition-case-no-debug.  All callers changed.
10157         (with-demoted-errors): Fix caller.
10159         * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
10160         * nxml/rng-valid.el (rng-do-some-validation):
10161         * emacs-lisp/package.el (package-refresh-contents)
10162         (package-menu-execute):
10163         * desktop.el (desktop-create-buffer):
10164         * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
10166 2012-02-10  Glenn Morris  <rgm@gnu.org>
10168         * textmodes/bibtex.el:
10169         Add missing :version tags for new/changed defcustoms.
10171         * files.el (remote-file-name-inhibit-cache): Doc fixes.
10173 2012-02-09  Lars Ingebrigtsen  <larsi@rusty>
10175         * mail/smtpmail.el (smtpmail-user-mail-address): New function.
10176         (smtpmail-via-smtp): Use it, or fall back on the From address.
10177         (smtpmail-send-it): Ditto.
10179 2012-02-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10181         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
10182         Don't fallback on byte-compile-defvar.  Optimize (defvar foo) away.
10183         (byte-compile-tmp-var): New const.
10184         (byte-compile-defvar): Use it to minimize .elc size.
10185         Just use `defvar' rather than simulate it (bug#10761).
10187 2012-02-09  Glenn Morris  <rgm@gnu.org>
10189         * files.el (rename-uniquely): Doc fix.  (Bug#3806)
10191         * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
10192         Add :version tags.
10194         * progmodes/compile.el (compilation-error-screen-columns)
10195         (compilation-first-column, compilation-filter-start): Doc fixes.
10197         * vc/log-view.el (log-view-toggle-entry-display):
10198         * vc/vc.el (vc-merge, vc-pull): Doc fixes.
10200         * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
10201         (report-emacs-bug-can-use-xdg-email):
10202         (report-emacs-bug-insert-to-mailer): Doc fixes.
10203         (report-emacs-bug): Message fix.
10205         * net/browse-url.el (browse-url-can-use-xdg-open)
10206         (browse-url-xdg-open): Doc fixes.
10208         * electric.el (electric-indent-mode, electric-pair-mode)
10209         (electric-layout-rules, electric-layout-mode): Doc fixes.
10210         (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
10212 2012-02-08  Martin Rudalics  <rudalics@gmx.at>
10214         * server.el (server-unselect-display): Don't inadvertently kill
10215         the current buffer.  (Bug#10729)
10217 2012-02-08  Glenn Morris  <rgm@gnu.org>
10219         * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
10220         (sql-list-table): Doc fixes.
10222         * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
10223         Comment out (does nothing).
10225         * completion.el (dynamic-completion-mode):
10226         * dirtrack.el (dirtrack-debug-mode):
10227         * electric.el (electric-layout-mode):
10228         * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
10229         * face-remap.el (text-scale-mode, buffer-face-mode):
10230         * iimage.el (iimage-mode):
10231         * image-mode.el (image-transform-mode):
10232         * minibuffer.el (completion-in-region-mode):
10233         * scroll-lock.el (scroll-lock-mode):
10234         * simple.el (next-error-follow-minor-mode):
10235         * tar-mode.el (tar-subfile-mode):
10236         * tooltip.el (tooltip-mode):
10237         * vcursor.el (vcursor-use-vcursor-map):
10238         * wid-browse.el (widget-minor-mode):
10239         * emulation/tpu-edt.el (tpu-edt-mode):
10240         * emulation/tpu-extras.el (tpu-cursor-free-mode):
10241         * international/iso-ascii.el (iso-ascii-mode):
10242         * language/thai-util.el (thai-word-mode):
10243         * mail/supercite.el (sc-minor-mode):
10244         * net/goto-addr.el (goto-address-mode):
10245         * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
10246         * progmodes/cwarn.el (cwarn-mode):
10247         * progmodes/flymake.el (flymake-mode):
10248         * progmodes/glasses.el (glasses-mode):
10249         * progmodes/hideshow.el (hs-minor-mode):
10250         * progmodes/pascal.el (pascal-outline-mode):
10251         * textmodes/enriched.el (enriched-mode):
10252         * vc/smerge-mode.el (smerge-mode):
10253         Doc fixes (minor mode argument).
10255 2012-02-07  Eli Zaretskii  <eliz@gnu.org>
10257         * ls-lisp.el (ls-lisp-sanitize): New function.
10258         (ls-lisp-insert-directory): Use it to fix or remove any elements
10259         in file-alist with missing attributes.  (Bug#4673)
10261 2012-02-07  Alan Mackenzie  <acm@muc.de>
10263         Fix spurious recognition of c-in-knr-argdecl.
10265         * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
10266         putative K&R region.
10268 2012-02-07  Alan Mackenzie  <acm@muc.de>
10270         * progmodes/cc-engine.el (c-forward-objc-directive):
10271         Prevent looping in "#pragma mark @implementation".
10273 2012-02-07  Michael Albinus  <michael.albinus@gmx.de>
10275         * notifications.el (notifications-on-closed-signal): Make `reason'
10276         optional.  (Bug#10744)
10278 2012-02-07  Glenn Morris  <rgm@gnu.org>
10280         * emacs-lisp/easy-mmode.el (define-minor-mode):
10281         Doc fixes for the macro and the mode it defines.
10283         * image.el (imagemagick-types-inhibit): Doc fix.
10285         * cus-start.el (imagemagick-render-type): Add it.
10287 2012-02-06  Lars Ingebrigtsen  <larsi@gnus.org>
10289         * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
10290         Set the default at load time, too, so that `font-lock-fontify-buffer'
10291         can be called without setting up the entire mode first.  This fixes
10292         a bug in `mm-inline-text' with C MIME parts.
10294 2012-02-06  Chong Yidong  <cyd@gnu.org>
10296         * simple.el (list-processes--refresh): Delete exited processes
10297         (Bug#8094).
10299         * comint.el (comint-next-prompt): next-single-char-property-change
10300         and prev-single-char-property-change never return nil (Bug#8657).
10302         * custom.el (defcustom): Doc fix (Bug#9711).
10304 2012-02-05  Chong Yidong  <cyd@gnu.org>
10306         * cus-edit.el (custom-variable-reset-backup): Quote the value
10307         before storing it in the customized-value property (Bug#6712).
10308         (custom-display): Add a customization type tag.
10309         (custom-buffer-create-internal): Improve tooltip message.
10311         * wid-edit.el (widget-field-value-get): New optional arg to
10312         suppress trailing whitespace truncation.
10313         (character): Use it (Bug#2689).
10315 2012-02-05  Andreas Schwab  <schwab@linux-m68k.org>
10317         * progmodes/gud.el (gud-pv): Use pv instead of pv1.
10318         * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
10320 2012-02-05  Chong Yidong  <cyd@gnu.org>
10322         * cus-edit.el (custom-variable-value-create): For mismatched
10323         types, show the current value (Bug#7600).
10325         * custom.el (defcustom): Doc fix.
10327 2012-02-05  Glenn Morris  <rgm@gnu.org>
10329         * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
10331 2012-02-05  Juanma Barranquero  <lekktu@gmail.com>
10333         * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
10334         (pp-buffer): Use `ignore-errors', `looking-at-p'.
10335         (pp-last-sexp): Use `looking-at-p'.
10337 2012-02-04  Glenn Morris  <rgm@gnu.org>
10339         * files.el (revert-buffer):
10340         Doc fix (mention revert-buffer-in-progress-p).
10342         * emacs-lisp/ert-x.el (ert-simulate-command):
10343         Check deferred-action-list (which is obsolete) is bound.
10345         * subr.el (with-wrapper-hook): Doc fixes.
10347         * simple.el (filter-buffer-substring-functions)
10348         (buffer-substring-filters, filter-buffer-substring): Doc fixes.
10350 2012-02-04  Lars Ljung  <lars@matholka.se>  (tiny change)
10352         * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
10353         anywhere in shell-file-name, not just at the beginning.  (Bug#10523)
10355 2012-02-04  Leo Liu  <sdl.web@gmail.com>
10357         * emacs-lisp/smie.el: Fix dead link (Bug#10711).
10359 2012-02-04  Glenn Morris  <rgm@gnu.org>
10361         * image.el (image-extension-data): Add obsolete alias.
10363         * isearch.el (isearch-update): Doc fix.
10365         * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
10367         * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
10369 2012-02-03  Glenn Morris  <rgm@gnu.org>
10371         * image.el (image-animated-p): Doc fix.  Use image-animated-types.
10372         (image-animate-timeout): Doc fix.
10374         * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
10376 2012-02-02  Glenn Morris  <rgm@gnu.org>
10378         * server.el (server-auth-dir): Doc fix.
10379         (server-eval-at): Doc fix.  Give an explicit error if !server-use-tcp.
10381         * subr.el (run-mode-hooks): Doc fix.
10383 2012-02-02  Juri Linkov  <juri@jurta.org>
10385         * image-mode.el (image-toggle-display-image): Remove tautological
10386         `major-mode' from the `derived-mode-p' test.
10388 2012-02-02  Kenichi Handa  <handa@m17n.org>
10390         * composite.el (compose-region): Cancel previous change.
10392 2012-02-02  Kenichi Handa  <handa@m17n.org>
10394         * composite.el (compose-region, compose-string): Signal error for
10395         a null string component (Bug#6988).
10397 2012-02-01  Chong Yidong  <cyd@gnu.org>
10399         * view.el (view-buffer-other-window, view-buffer-other-frame):
10400         Handle special modes like view-buffer (Bug#10650).
10401         (view-buffer): Simplify.
10403         * frame.el (set-frame-font): Tweak meaning of third argument.
10405         * dynamic-setting.el (font-setting-change-default-font):
10406         Use set-frame-font (Bug#9982).
10408 2012-02-01  Glenn Morris  <rgm@gnu.org>
10410         * progmodes/compile.el (compilation-internal-error-properties):
10411         Respect compilation-first-column in the "*compilation*" buffer.
10413         * emacs-lisp/easy-mmode.el (define-minor-mode):
10414         Relax :variable's test for a named function.
10416 2012-01-31  Alan Mackenzie  <acm@muc.de>
10418         * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
10419         off by one error.
10421 2012-01-31  Chong Yidong  <cyd@gnu.org>
10423         * frame.el (set-frame-font): New arg ALL-FRAMES.
10425         * menu-bar.el (menu-set-font): Use set-frame-font.
10427         * faces.el (face-spec-reset-face): Don't apply unspecified
10428         attribute values to the default face.
10430 2012-01-31  Juanma Barranquero  <lekktu@gmail.com>
10432         * progmodes/cwarn.el (cwarn): Remove dead link.
10433         (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
10434         Remove * from defcustom docstrings.
10435         (turn-on-cwarn-mode): Make obsolete.
10436         (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
10437         (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
10439 2012-01-31  Glenn Morris  <rgm@gnu.org>
10441         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
10442         Fix :variable handling of mode a symbol not equal to modefun.
10443         Allow named functions to be used as the cdr of :variable.
10445 2012-01-30  Glenn Morris  <rgm@gnu.org>
10447         * emacs-lisp/authors.el (authors-fixed-entries):
10448         Remove reference to deleted file rnewspost.el.
10450 2012-01-29  Juanma Barranquero  <lekktu@gmail.com>
10452         * window.el (window-with-parameter): Remove unused variable `windows'.
10453         (window--side-check): Remove unused variable `code'.
10454         (window--resize-siblings): Remove unused variable `first'.
10455         (adjust-window-trailing-edge): Remove unused variable `failed'.
10456         (window-deletable-p, window--delete): Remove unused variable `buffer'.
10457         Use `let', not `let*'.
10458         (balance-windows-2): Remove unused variable `found'.
10459         (window--state-put-2): Remove unused variable `splits'.
10460         (window-state-put): Remove unused variable `selected'.
10461         (same-window-p): Use `string-match-p'.
10462         (display-buffer-assq-regexp): Remove unused variable `value'.
10463         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10464         Mark argument ALIST as ignored.
10465         (pop-to-buffer): Remove unused variable `old-window'.
10467 2012-01-29  Eli Zaretskii  <eliz@gnu.org>
10469         * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
10470         and .lzma compressed files.
10472 2012-01-29  Chong Yidong  <cyd@gnu.org>
10474         * frame.el (window-system-default-frame-alist): Doc fix.
10476         * dynamic-setting.el (font-setting-change-default-font): Don't
10477         change the default face if SET-FONT argument is non-nil (Bug#9982).
10479 2012-01-29  Samuel Bronson  <naesten@gmail.com>  (tiny change)
10481         * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
10483 2012-01-29  Syver Enstad  <syver.enstad@cisco.com>  (tiny change)
10485         * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
10486         breakpoints in files outside current directory (Bug#6098).
10488 2012-01-29  Chong Yidong  <cyd@gnu.org>
10490         * progmodes/python.el: Require ansi-color at top-level.
10492         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
10493         Define and use in Emacs Lisp mode (Bug#9360).
10494         (lisp-mode-abbrev-table): Add doc.
10495         (lisp-mode-variables): Don't set local-abbrev-table.
10496         (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
10498 2012-01-28  Roland Winkler  <winkler@gnu.org>
10500         * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
10502 2012-01-28  Roland Winkler  <winkler@gnu.org>
10504         * textmodes/bibtex.el (bibtex-entry-alist): New function.
10505         (bibtex-set-dialect): Use it.  Either set global values of
10506         dialect-dependent variables or bind these variables buffer-locally
10507         (Bug#10254).
10508         (bibtex-mode): Call bibtex-set-dialect via
10509         hack-local-variables-hook.
10510         (bibtex-dialect): Update docstring.
10511         Add safe-local-variable predicate.
10512         (bibtex-entry-alist, bibtex-field-alist): Initialize via
10513         bibtex-set-dialect.
10514         (bibtex-mode-map): Define menu for each dialect.
10515         (bibtex-entry): Fix docstring.
10517 2012-01-28  Chong Yidong  <cyd@gnu.org>
10519         * eshell/esh-arg.el (eshell-quote-argument): New function.
10521         * eshell/esh-ext.el (eshell-invoke-batch-file):
10522         * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
10523         first arg to eshell-parse-command (Bug#10523).
10525 2012-01-28  Drew Adams  <drew.adams@oracle.com>
10527         * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
10528         `default-directory' is non-nil.
10530 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
10532         * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
10533         line that displays system-configuration-options.  (Bug#9924)
10535 2012-01-28  Drew Adams  <drew.adams@oracle.com>
10537         * descr-text.el (describe-char): Show information about POS, in
10538         addition to information about the character at POS.  Improve and
10539         update the doc string.  Change "code point" to "code point in
10540         charset", to avoid confusion with the character's Unicode code
10541         point shown above that.  (Bug#10129)
10543 2012-01-28  Eli Zaretskii  <eliz@gnu.org>
10545         * descr-text.el (describe-char): Show the raw character, not only
10546         its display form at POS.  Suggested by Kenichi Handa <handa@m17n.org>.
10547         See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
10548         for the reasons.
10550 2012-01-28  Phil Hagelberg  <phil@hagelb.org>
10552         * emacs-lisp/package.el (package-install):
10553         Run package-refresh-contents if there is no archive yet (Bug#9798).
10555 2012-01-28  Chong Yidong  <cyd@gnu.org>
10557         * emacs-lisp/package.el (package-maybe-load-descriptor):
10558         New function, split from package-maybe-load-descriptor.
10559         (package-maybe-load-descriptor): Use it.
10560         (package-download-transaction): Fully load required packages
10561         inside the loop, so that `require' calls work (Bug#10593).
10562         (package-install): No need to call package-initialize now.
10564 2012-01-28  Chong Yidong  <cyd@gnu.org>
10566         * simple.el (deactivate-mark): Doc fix (Bug#8614).
10568         * tooltip.el (tooltip-mode): Doc fix.
10569         (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
10571         * frame.el (set-cursor-color): Doc fix (Bug#352).
10573         * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
10574         (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
10576         * cus-edit.el (custom-buffer-create-internal): Fix search button
10577         action (Bug#10542).
10578         (customize-unsaved, customize-saved): Doc fix (Bug#10541).
10580 2012-01-27  Eduard Wiebe  <usenet@pusto.de>
10582         * dired.el (dired-mark-files-regexp):
10583         Include any subdirectory components.  (Bug#10445)
10585 2012-01-27  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
10587         * pcmpl-unix.el (pcmpl-ssh-known-hosts):
10588         Handle [host]:port syntax.  (Bug#10533)
10590 2012-01-27  Alex Harsanyi  <harsanyi@mac.com>
10592         * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
10594 2012-01-26  Glenn Morris  <rgm@gnu.org>
10596         * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
10597         * term.el (term-raw-escape-map): Use Control-X-prefix.
10598         * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map.  (Bug#10566)
10600 2012-01-25  Martin Rudalics  <rudalics@gmx.at>
10602         * window.el (window-state-get, window--state-get-1): Don't deal
10603         with fixed-sizeness of windows.  Simplify code.
10605 2012-01-25  Jérémy Compostella  <jeremy.compostella@gmail.com>
10607         * window.el (window--state-get-1, window--state-put-2):
10608         Don't save and restore the mark.
10610 2012-01-25  Chong Yidong  <cyd@gnu.org>
10612         * custom.el (custom-variable-p): Doc fix.
10614 2012-01-25  Glenn Morris  <rgm@gnu.org>
10616         * dired.el (dired-goto-file): Handle some of the more common
10617         characters that `ls -b' escapes.  (Bug#10596)
10619         * progmodes/compile.el (compilation-next-error-function):
10620         Respect compilation-first-column in the "*compilation*" buffer.
10621         * progmodes/grep.el (grep-first-column): New variable.  (Bug#10594)
10623         * vc/vc.el (vc-modify-change-comment): Scoping fix.  (Bug#10513)
10625 2012-01-24  Glenn Morris  <rgm@gnu.org>
10627         * pcmpl-gnu.el (pcomplete/tar): Handle " - ".  (Bug#10457)
10629 2012-01-24  Julien Danjou  <julien@danjou.info>
10631         * color.el (color-rgb-to-hsl): Fix value computing.
10632         (color-hue-to-rgb): New function.
10633         (color-hsl-to-rgb): New function.
10634         (color-clamp, color-saturate-hsl, color-saturate-name)
10635         (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
10636         (color-lighten-name, color-darken-hsl, color-darken-name): New function.
10638 2012-01-24  Glenn Morris  <rgm@gnu.org>
10640         * vc/vc-rcs.el (vc-rcs-create-tag):
10641         * vc/vc-sccs.el (vc-sccs-create-tag):
10642         Fix argument spec to be what vc-create-tag expects.  (Bug#10515)
10644 2012-01-23  Mike Lamb  <mrlamb@gmail.com>  (tiny change)
10646         * eshell/esh-util.el (eshell-read-hosts-file):
10647         Skip comment lines.  (Bug#10549)
10649         * eshell/em-unix.el (pcomplete/ssh): Remove.  (Bug#10548)
10651 2012-01-23  Juanma Barranquero  <lekktu@gmail.com>
10653         * subr.el (display-delayed-warnings): Doc fix.
10654         (collapse-delayed-warnings): New function to collapse identical
10655         adjacent warnings.
10656         (delayed-warnings-hook): Add it.
10658 2012-01-22  Michael Albinus  <michael.albinus@gmx.de>
10660         * net/tramp.el (tramp-action-login): Set connection property "login-as".
10662         * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
10663         (tramp-default-user-alist): Don't add "pscp".
10664         (tramp-do-copy-or-rename-file-out-of-band): Use connection
10665         property "login-as", if set.  (Bug#10530)
10667 2012-01-21  Michael Albinus  <michael.albinus@gmx.de>
10669         * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
10670         "plink1" and "psftp".  (Bug#10530)
10672 2012-01-21  Kenichi Handa  <handa@m17n.org>
10674         * international/mule-cmds.el (prefer-coding-system): Show a
10675         warning message if the default value of file-name-coding-system
10676         was not changed.
10678 2012-01-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
10680         * windmove.el (windmove-reference-loc):
10681         Fix windmove-reference-loc miscalculation.
10683 2012-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
10685         * calc/calc-units.el (math-put-default-units): Don't use "1" as a
10686         default unit.
10688 2012-01-21  Glenn Morris  <rgm@gnu.org>
10690         * international/mule.el (auto-coding-alist): Add .tbz.
10692         * files.el (local-enable-local-variables): Doc fix.
10693         (inhibit-local-variables-regexps): Rename from
10694         inhibit-first-line-modes-regexps.  Keep old name as obsolete alias.
10695         Doc fix.  Add some extensions from auto-coding-alist.
10696         (inhibit-local-variables-suffixes):
10697         Rename from inhibit-first-line-modes-suffixes.  Doc fix.
10698         (inhibit-local-variables-p):
10699         New function, extracted from set-auto-mode-1.
10700         (set-auto-mode): Doc fix.  Respect inhibit-local-variables-regexps.
10701         (set-auto-mode-1): Doc fix.  Use inhibit-local-variables-p.
10702         (hack-local-variables): Doc fix.  Make the mode-only case
10703         respect enable-local-variables and friends.
10704         Respect inhibit-local-variables-regexps for file-locals, but
10705         not for directory-locals.
10706         (set-visited-file-name):
10707         Take account of inhibit-local-variables-regexps.
10708         Whether it applies may change as the file name is changed.
10709         * jka-cmpr-hook.el (jka-compr-install):
10710         * jka-compr.el (jka-compr-uninstall):
10711         Update for inhibit-first-line-modes-suffixes name change.
10713 2012-01-20  Martin Rudalics  <rudalics@gmx.at>
10715         * help-macro.el (make-help-screen): Temporarily restore original
10716         binding for minor-mode-map-alist (Bug#10454).
10718 2012-01-19  Julien Danjou  <julien@danjou.info>
10720         * color.el (color-name-to-rgb): Use the white color to find the max
10721         color component value and return correctly computed values.
10722         (color-name-to-rgb): Add missing float conversion for max value.
10724 2012-01-19  Martin Rudalics  <rudalics@gmx.at>
10726         * window.el (window--state-get-1, window-state-get): Do not use
10727         special state value for window-persistent-parameters.
10728         Rename argument IGNORE to WRITABLE.  Rewrite doc-string.
10729         (window--state-put-2): Reset all window parameters to nil before
10730         assigning values of persistent parameters.
10732 2012-01-18  Alan Mackenzie  <acm@muc.de>
10734         Eliminate sluggishness and hangs in fontification of "semicolon
10735         deserts".
10737         * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
10738         Change value 10000 -> 3000.
10739         (c-state-safe-place): Reformulate so it doesn't stack up an
10740         infinite number of wrong entries in c-state-nonlit-pos-cache.
10741         (c-determine-limit-get-base, c-determine-limit): New functions to
10742         determine backward search limits disregarding literals.
10743         (c-find-decl-spots): Amend commenting.
10744         (c-cheap-inside-bracelist-p): New function which detects "={".
10746         * progmodes/cc-fonts.el
10747         (c-make-font-lock-BO-decl-search-function): Give a limit to a
10748         backward search.
10749         (c-font-lock-declarations): Fix an occurrence of point being
10750         undefined.  Check additionally for point being in a bracelist or
10751         near a macro invocation without a semicolon so as to avoid a
10752         fruitless time consuming search for a declarator.  Give a more
10753         precise search limit for declarators using the new
10754         c-determine-limit.
10756 2012-01-18  Glenn Morris  <rgm@gnu.org>
10758         * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
10759         (set-auto-mode): Doc fixes.
10761 2012-01-17  Glenn Morris  <rgm@gnu.org>
10763         * isearch.el (search-nonincremental-instead): Fix doc typo.
10765         * dired.el (dired-insert-directory): Handle newlines in directory name.
10766         (dired-build-subdir-alist): Unescape newlines in directory name.
10768 2012-01-17  Michael Albinus  <michael.albinus@gmx.de>
10770         * net/tramp.el (tramp-local-end-of-line): New defcustom.
10771         (tramp-action-login, tramp-action-yesno, tramp-action-yn)
10772         (tramp-action-terminal): Use it.  (Bug#10530)
10774 2012-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
10776         * minibuffer.el (completion--replace): Strip properties (bug#10062).
10778 2012-01-16  Martin Rudalics  <rudalics@gmx.at>
10780         * window.el (window-state-ignored-parameters): Remove variable.
10781         (window--state-get-1): Rename argument MARKERS to IGNORE.
10782         Handle persistent window parameters.  Make copy of clone-of
10783         parameter only if requested.  (Bug#10348)
10784         (window--state-put-2): Install a window parameter only if it has
10785         a non-nil value or an existing parameter shall be overwritten.
10787 2012-01-15  Michael Albinus  <michael.albinus@gmx.de>
10789         * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
10791 2012-01-14  Eli Zaretskii  <eliz@gnu.org>
10793         * info.el (Info-toc-build): If the Info file has no "Up" pointer,
10794         don't pass the (nil) value of `upnode' to string-match.
10796 2012-01-14  Chong Yidong  <cyd@gnu.org>
10798         * startup.el (command-line): Fix X resource class for cursorColor.
10799         Fix values recognized by the cursorBlink resource.
10801 2012-01-14  Paul Eggert  <eggert@cs.ucla.edu>
10803         * epg.el (epg--make-temp-file): Avoid permission race condition
10804         when running on old Emacs versions (bug#10403).
10806 2012-01-14  Glenn Morris  <rgm@gnu.org>
10808         * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
10810 2012-01-13  Alan Mackenzie  <acm@muc.de>
10812         Fix filling for when filladapt mode is enabled.
10814         * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
10815         c-mask-paragraph, pass in `fill-paragraph' rather than
10816         `fill-region-as-paragraph'.  (This is a reversion of a previous
10817         change.)
10818         * progmodes/cc-mode.el (c-basic-common-init):
10819         Make fill-paragraph-handle-comment buffer local and set it to nil.
10821 2012-01-13  Glenn Morris  <rgm@gnu.org>
10823         * dired.el (dired-switches-escape-p): New function.
10824         (dired-insert-directory): Use dired-switches-escape-p.
10825         (dired-get-filename): Undo "\ " quoting if needed.  (Bug#10469)
10827         * find-dired.el (find-ls-option): Doc fix.  (Bug#10262)
10829 2012-01-12  Glenn Morris  <rgm@gnu.org>
10831         * mail/sendmail.el (mail-mode): Update paragraph-separate for
10832         changes in adaptive-fill-regexp.  (Bug#10276)
10834 2012-01-11  Alan Mackenzie  <acm@muc.de>
10836         Fix Emacs bug #10463 - put `widen's around the critical spots.
10838         * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
10839         widen around each invocation of c-state-pp-to-literal.  Remove an
10840         unused let variable.
10842 2012-01-11  Glenn Morris  <rgm@gnu.org>
10844         * dired-aux.el (dired-do-shell-command): Fix */? logic.  (Bug#6561)
10845         Doc fix.
10847 2012-01-10  Chong Yidong  <cyd@gnu.org>
10849         * net/network-stream.el (network-stream-open-starttls):
10850         Avoid emitting a confusing error message when the server gives a bad
10851         response to the capability command.
10853 2012-01-10  Glenn Morris  <rgm@gnu.org>
10855         * mail/unrmail.el (unrmail): Tweak previous change.
10857 2012-01-09  Chong Yidong  <cyd@gnu.org>
10859         * custom.el (custom-safe-themes): Use SHA-256 for hashing.
10861 2012-01-08  Alan Mackenzie  <acm@muc.de>
10863         Optimise font locking in long enum definitions.
10865         * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
10866         arm to a cond form to handle enums.
10867         * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
10868         * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
10870 2012-01-07  Paul Eggert  <eggert@cs.ucla.edu>
10872         * files.el (move-file-to-trash): Preserve default file modes on error.
10873         (Bug#10401)
10875 2012-01-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10877         * faces.el (set-face-attribute): Clarify the meaning of the nil
10878         frame (bug#10294).
10880         * subr.el (with-selected-frame): Mention that the selected frame
10881         is restored (bug#9980).
10883         * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
10884         (bug#9759).
10886         * mail/smtpmail.el (password-cache-add): Remove unused declaration.
10887         (password-read): Don't autoload unused function.
10889 2012-01-07  Juanma Barranquero  <lekktu@gmail.com>
10891         * progmodes/which-func.el (which-func-mode): Turn into a
10892         non-interactive function and mark as obsolete (bug#10428).
10894 2012-01-06  Chong Yidong  <cyd@gnu.org>
10896         * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
10897         (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
10898         functions, along with 1 and -1.
10900 2012-01-06  Eli Zaretskii  <eliz@gnu.org>
10902         * time.el (display-time-load-average)
10903         (display-time-default-load-average): Doc fixes.  See the thread
10904         starting at
10905         http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
10906         for the details.
10908 2012-01-06  Glenn Morris  <rgm@gnu.org>
10910         * mail/unrmail.el (unrmail): Give an explicit error if the input file
10911         has no messages.  (Bug#10377)
10913         * info.el (Info-mode-map): Bind e to end-of-buffer, rather
10914         than Info-edit.  (Bug#10385)
10916         * time.el (display-time-load-average, display-time-next-load-average):
10917         Doc fixes.
10919         * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
10920         local setting of buffer-read-only to the input buffer.  (Bug#10419)
10922         * calendar/calendar.el (calendar-mode):
10923         Locally set scroll-margin to 0.  (Bug#10379)
10925 2012-01-06  Ulrich Mueller  <ulm@gentoo.org>
10927         * play/doctor.el (doctor-death): Escape "," characters.  (Bug#10370)
10929 2012-01-05  Glenn Morris  <rgm@gnu.org>
10931         * eshell/em-unix.el (diff-no-select): Autoload it.
10932         (eshell/diff): Use diff-no-select.  (Bug#10420)
10934 2012-01-05  Chong Yidong  <cyd@gnu.org>
10936         * shell.el (shell-dynamic-complete-functions): Revert last change.
10937         (shell-command-completion-function): New function.
10938         (shell-completion-vars): Use it to implement
10939         shell-completion-execonly (Bug#10417).
10941         * custom.el (enable-theme): Don't set custom-safe-themes.
10943         * cus-theme.el (custom-theme-merge-theme):
10944         Ignore custom-enabled-themes and custom-safe-themes.
10946 2012-01-05  Michael R. Mauger  <mmaug@yahoo.com>
10948         * progmodes/sql.el (sql-login-hook): Add hook to respond to the
10949         first prompt in `sql-interacive-mode'.
10950         (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
10951         keywords.
10952         (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
10953         (sql-product-interactive): Bug fix: Set `sql-buffer' in
10954         context of original buffer.  Invoke `sql-login-hook'.
10956 2012-01-04  Eli Zaretskii  <eliz@gnu.org>
10958         * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
10959         letters in cite-prefix.
10961 2012-01-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
10963         * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
10965 2012-01-03  Chong Yidong  <cyd@gnu.org>
10967         * shell.el (shell-dynamic-complete-functions):
10968         Put pcomplete-completions-at-point, so as to try
10969         comint-filename-completion first (Bug#10417).
10971 2012-01-02  Richard Stallman  <rms@gnu.org>
10973         * battery.el (battery-status-function):
10974         Detect when to use battery-yeeloong-sysfs.
10975         (battery-echo-area-format): Add string for Yeeloong.
10976         (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
10977         (battery-yeeloong-sysfs): New function.
10979 2012-01-02  Chong Yidong  <cyd@gnu.org>
10981         * dirtrack.el (dirtrack-list): Eliminate unused third element.
10982         (dirtrack): Merge code for handling relative filenames in prompt
10983         from shell-dir-cookie-watcher.
10984         (dirtrack-debug-message): New arg to avoid excess format calls.
10986         * shell.el (shell-dir-cookie-re): Variable deleted.
10987         (shell-dir-cookie-watcher): Function deleted.
10988         (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
10989         with dirtrack-mode.
10991 2012-01-01  Eli Zaretskii  <eliz@gnu.org>
10993         * term/w32-win.el (dynamic-library-alist) <gnutls>:
10994         Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
10995         libgnutls-26.dll.
10997 2011-12-31  Andreas Schwab  <schwab@linux-m68k.org>
10999         * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
11001 2011-12-31  Eli Zaretskii  <eliz@gnu.org>
11003         * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
11004         headers of non-MIME messages, when rmail-enable-mime is non-nil.
11006 2011-12-29  Michael Albinus  <michael.albinus@gmx.de>
11008         * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
11009         also for alternative shells.
11010         (tramp-open-connection-setup-interactive-shell): Check, whether
11011         the shell is a busybox.
11012         (tramp-send-command): Don't suppress multiple prompts for
11013         busyboxes, it hurts.
11015 2011-12-28  Chong Yidong  <cyd@gnu.org>
11017         * progmodes/gdb-mi.el (gdb-get-source-file-list)
11018         (gdb-get-source-file): Move mode line update to
11019         gdb-get-source-file (Bug#10087).
11021 2011-12-25  Chong Yidong  <cyd@gnu.org>
11023         * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
11024         gud-gdb-marker-filter without taking it as an argument.
11025         (gud-gdb-run-command-fetch-lines): Caller changed.
11026         (gud-gdb-completion-function): New variable.
11027         (gud-gdb-completion-at-point): Use it.
11028         (gud-gdb-completions-1): Split from gud-gdb-completions.
11030         * progmodes/gdb-mi.el (gdb-input): Accept command and handler
11031         function as separate arguments.
11032         (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
11033         (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
11034         (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
11035         (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
11036         (gdb-stopped, def-gdb-auto-update-trigger)
11037         (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
11038         (gdb-get-changed-registers, gdb-get-main-selected-frame):
11039         Callers changed.
11040         (gud-gdbmi-completions): New function.
11041         (gdb): Use it for generating the completion table.
11043 2011-12-24  Alan Mackenzie  <acm@muc.de>
11045         Introduce a mechanism to widen the region used in context font
11046         locking.  Use this to protect declarations from losing their contexts.
11048         * progmodes/cc-langs.el (c-before-font-lock-functions):
11049         Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
11050         (c-before-context-fontification-functions): New defvar, a list of
11051         functions to be run just before context (etc.) font locking.
11053         * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
11054         New, functionality extracted from
11055         c-neutralize-syntax-in-and-mark-CPP.
11056         (c-in-after-change-fontification): New variable.
11057         (c-after-change): Set c-in-after-change-fontification.
11058         (c-set-fl-decl-start): Rejig its interface, so it can be called
11059         from both after-change and context fontifying.
11060         (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
11061         New functions.
11062         (c-standard-font-lock-fontify-region-function): New variable.
11063         (c-font-lock-fontify-region): New function.
11065 2011-12-24  Juri Linkov  <juri@jurta.org>
11067         * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
11068         (Bug#10348)
11070 2011-12-23  Michael Albinus  <michael.albinus@gmx.de>
11072         * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
11073         existence of source file.  (Bug#10325)
11075 2011-12-23  Alan Mackenzie  <acm@muc.de>
11077         Fix unstable fontification inside templates.
11079         * progmodes/cc-langs.el (c-before-font-lock-functions):
11080         Newly created from the singular version.  The (c c++ objc) entry now
11081         additionally has c-set-fl-decl-start.  The other languages (apart
11082         from AWK) have that as a single entry.
11084         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11085         The functionality for "local" declarations has been extracted to
11086         c-set-fl-decl-start.
11088         * progmodes/cc-mode.el (c-common-init, c-after-change):
11089         Changes due to pluralisation of c-before-font-lock-functions.
11090         (c-set-fl-decl-start): New function, extracted from
11091         c-font-lock-enclosing-decls and enhanced.
11093 2011-12-23  Juanma Barranquero  <lekktu@gmail.com>
11095         * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
11097 2011-12-22  Juri Linkov  <juri@jurta.org>
11099         * progmodes/grep.el (rgrep): Fix docstring.  (Bug#10185)
11101 2011-12-22  Chong Yidong  <cyd@gnu.org>
11103         * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
11105 2011-12-21  Drew Adams  <drew.adams@oracle.com>
11107         * files.el (file-remote-p): Fix docstring.  (Bug#10319)
11109 2011-12-21  Jérémy Compostella  <jeremy.compostella@gmail.com>
11111         * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
11113 2011-12-21  Teodor Zlatanov  <tzz@lifelogs.com>
11115         * progmodes/cfengine.el: Add Version.  Improve CFEngine 3.x syntax
11116         highlighting and support.  Fix up comments for capitalization.
11117         (cfengine-mode-debug): New var.
11118         (cfengine3-mode): Change the modeline indicator to "CFE3".
11119         (cfengine3-font-lock-keywords): Improve defun highlighting.
11120         (cfengine2-actions): Rename from `cfengine-actions'.
11121         (cfengine2-font-lock-keywords): Rename from
11122         `cfengine-font-lock-keywords'.
11123         (cfengine2-imenu-expression): Rename from
11124         `cfengine-imenu-expression'.
11125         (cfengine2-outline-level): Rename from `cfengine-outline-level'.
11126         (cfengine2-beginning-of-defun): Rename from
11127         `cfengine-beginning-of-defun'.
11128         (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
11129         (cfengine2-indent-line): Rename from `cfengine-indent-line'.
11130         (cfengine2-mode): Rename from `cfengine-mode'.  Change the
11131         modeline indicator to "CFE2".
11132         (cfengine-mode): Defalias to `cfengine-auto-mode'.
11133         (cfengine-mode-abbrevs): Mark obsolete.
11135 2011-12-21  Chong Yidong  <cyd@gnu.org>
11137         * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
11138         filename argument.
11140 2011-12-20  Martin Rudalics  <rudalics@gmx.at>
11142         * window.el (window-normalize-buffer-to-display): Remove.
11143         (display-buffer): Handle buffer-or-name argument as in Emacs 23.
11145 2011-12-19  Chong Yidong  <cyd@gnu.org>
11147         * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
11148         Don't signal an error in a predicate function; return non-nil.
11149         (vc-dir-mark-file): Move the error here.
11150         (vc-dir-mark-unmark): If acting on the region, keep going if one
11151         of the entries cannot be marked/unmarked.
11152         (vc-dir-mark-all-files): If current entry is a directory, mark
11153         only child files, as documented.
11155 2011-12-19  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11157         * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
11158         branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
11159         addition.
11161 2011-12-18  Jan Djärv  <jan.h.d@swipnet.se>
11163         * term/ns-win.el (ns-get-selection-internal)
11164         (ns-store-selection-internal): Declare.
11165         (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
11166         Declare as obsolete.
11167         (ns-get-pasteboard, ns-paste-secondary):
11168         Use ns-get-selection-internal.
11169         (ns-set-pasteboard, ns-copy-including-secondary):
11170         Use ns-store-selection-internal.
11172 2011-12-17  Chong Yidong  <cyd@gnu.org>
11174         * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
11175         (vc-deduce-fileset): Doc fix.
11177 2011-12-16  Andreas Schwab  <schwab@linux-m68k.org>
11179         * calc/calc-misc.el (calc-help): Avoid wrapping help message.
11181 2011-12-13  Sam Steingold  <sds@gnu.org>
11183         * man.el (Man-getpage-in-background): When running under a
11184         window-system, ignore $MANWIDTH and $COLUMNS.
11186 2011-12-15  Kenichi Handa  <handa@m17n.org>
11188         * language/ethio-util.el: Change coding tag to utf-8-emacs.
11189         (setup-ethiopic-environment-internal): Comment out key-binding for
11190         ethio-toggle-punctuation.
11192 2011-12-13  Alan Mackenzie  <acm@muc.de>
11194         Add the switch statement to AWK Mode.
11196         * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
11197         "default" to the keywords regexp.
11199         * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
11200         expression as the rest.
11201         (c-nonlabel-token-key): Allow string literals for AWK.
11202         Refactor for the other modes.
11204         Large brace-block initialisation makes CC Mode slow: Fix.
11205         Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
11206         routines.  Limit backward searching in c-font-lock-enclosing.decl.
11208         * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
11209         pp-state and literal type in addition to the limits.
11210         (c-state-safe-place): New defun, extracted from c-state-literal-at.
11211         (c-state-literal-at): Use the above new defun.
11212         (c-slow-in-literal, c-fast-in-literal): Remove.
11213         (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
11215         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
11216         being in a literal.  Add a limit for backward searching.
11218         * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
11219         c-slow-in-literal.
11221 2011-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
11223         * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
11225 2011-12-13  Martin Rudalics  <rudalics@gmx.at>
11227         * window.el (delete-other-windows): Use correct frame in call to
11228         window-with-parameter.
11230 2011-12-12  Daniel Pfeiffer  <occitan@t-online.de>
11232         * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
11233         (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
11234         (makefile-gmake-statements, makefile-makepp-statements):
11235         Use it and add new makepp keywords.
11236         (makefile-makepp-font-lock-keywords): Add new patterns.
11237         (makefile-match-function-end): Match new [...] and [[...]].
11239 2011-12-11  Juanma Barranquero  <lekktu@gmail.com>
11241         * ses.el (ses-call-printer-return, ses-cell-property-get)
11242         (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
11243         (ses-create-cell-variable, ses-reset-header-string)
11244         (ses-cell-set-formula, ses-repair-cell-reference-all)
11245         (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
11246         (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
11247         (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
11248         (ses-aset-with-undo, ses-load, ses-truncate-cell)
11249         (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
11250         (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
11251         (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
11252         (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
11253         (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
11254         (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
11255         (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
11256         (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
11258 2011-12-11  Vincent Belaïche  <vincentb1@users.sourceforge.net>
11260         * ses.el: The overall change is to add cell renaming, that is
11261         setting fancy names for cell symbols other than name matching
11262         "\\`[A-Z]+[0-9]+\\'" regexp .
11263         (ses-create-cell-variable): New defun.
11264         (ses-relocate-formula): Relocate formulas only for cells the
11265         symbols of which are not renamed, i.e. symbols whose names do not
11266         match regexp "\\`[A-Z]+[0-9]+\\'".
11267         (ses-relocate-all): Relocate values only for cells the symbols of
11268         which are not renamed.
11269         (ses-load): Create cells variables as the (ses-cell ...) are read,
11270         in order to check row col consistency with cell symbol name only
11271         for cells that are not renamed.
11272         (ses-replace-name-in-formula): New defun.
11273         (ses-rename-cell): New defun.
11275 2011-12-11  Chong Yidong  <cyd@gnu.org>
11277         * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
11278         for completion via gud-gdb-fetch-lines-filter (Bug#10274).
11280 2011-12-11  Eric Hanchrow  <eric.hanchrow@gmail.com>
11282         * window.el (other-window): Fix docstring.
11284 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
11286         * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
11287         `from' or `to' address before taking its substring.
11288         Fixes incorrect display in Rmail summary buffer whereby an RFC2047
11289         encoded name is chopped in the middle of the encoded string, and
11290         thus displayed encoded.
11292 2011-12-10  Juanma Barranquero  <lekktu@gmail.com>
11294         * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
11296 2011-12-10  Eli Zaretskii  <eliz@gnu.org>
11298         * textmodes/texnfo-upd.el: Update commentary.  Add a warning not
11299         to use texinfo-update-node and commands that call it if the
11300         Texinfo file uses @node lines without next/prev/up pointers.
11301         Correct outdated description about texinfo-master-menu.
11302         (texinfo-all-menus-update, texinfo-master-menu)
11303         (texinfo-update-node, texinfo-every-node-update)
11304         (texinfo-multiple-files-update): Doc fix.  Warn against updating
11305         all the @node lines.
11306         (texinfo-master-menu): Only call texinfo-update-node if the prefix
11307         argument is numeric.  Explain better in the doc string what the
11308         function really does.
11309         (texinfo-insert-master-menu-list): Improve the error message
11310         displayed if there's no menu in the Top node.
11311         (Bug#2975)  See also this thread:
11312         http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
11314 2011-12-09  Manuel Gómez  <mgrojo@gmail.com>  (tiny change)
11316         * speedbar.el (speedbar-supported-extension-expressions):
11317         Add .adb and .ads, commonly used for Ada source code (bug#10256).
11319 2011-12-09  Juanma Barranquero  <lekktu@gmail.com>
11321         * printing.el (pr-mode-alist):
11322         * simple.el (filter-buffer-substring-functions)
11323         (completion-list-insert-choice-function):
11324         * window.el (window-with-parameter, window-atom-root)
11325         (window-sides-slots, window-size-fixed, window-min-delta)
11326         (window-max-delta, window--resize-mini-window)
11327         (window--resize-child-windows-normal, window-tree)
11328         (delete-other-windows, quit-window, split-window)
11329         (display-buffer-record-window, special-display-buffer-names)
11330         (special-display-regexps, special-display-popup-frame)
11331         (same-window-p, split-window-sensibly)
11332         (display-buffer-overriding-action, display-buffer-alist)
11333         (display-buffer-base-action, display-buffer, switch-to-buffer)
11334         (switch-to-buffer-other-window, switch-to-buffer-other-frame)
11335         (fit-window-to-buffer, recenter-positions)
11336         (mouse-autoselect-window-state, mouse-autoselect-window-select):
11337         * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
11338         and remove unneeded backslashes in docstrings.
11340 2011-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11342         * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
11344         * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
11345         (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
11346         end in ".mk".
11347         (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
11348         when reading the makefile (bug#10116).
11350 2011-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11352         * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
11353         (bug#10116).
11355 2011-12-06  Glenn Morris  <rgm@gnu.org>
11357         * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
11359 2011-12-06  Chong Yidong  <cyd@gnu.org>
11361         * progmodes/cc-fonts.el (c-annotation-face): Use defface.
11363 2011-12-06  Juanma Barranquero  <lekktu@gmail.com>
11365         * textmodes/table.el (table-shorten-cell): Fix typo.
11367 2011-12-05  Christopher Genovese  <genovese.cr@gmail.com>  (tiny change)
11369         * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
11371 2011-12-05  Eli Zaretskii  <eliz@gnu.org>
11373         * descr-text.el (describe-char): Fix display of strong
11374         right-to-left characters and directional embeddings and overrides.
11376         * simple.el (what-cursor-position): Fix display of codepoints of
11377         strong right-to-left characters.
11379 2011-12-05  Chong Yidong  <cyd@gnu.org>
11381         * faces.el (read-color): Doc fix.
11383 2011-12-05  Glenn Morris  <rgm@gnu.org>
11385         * align.el (align--set-marker): Add doc-string.
11386         Don't try to move something that is not a marker.  (Bug#10216)
11388 2011-12-04  Glenn Morris  <rgm@gnu.org>
11390         * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
11391         overly zealous deletion of trailing whitespace.
11393 2011-12-04  Juanma Barranquero  <lekktu@gmail.com>
11395         * server.el (server-delete-client): On Windows, do not try to delete
11396         the only terminal.
11397         (server-process-filter): On Windows, treat requests for a tty frame as
11398         if they were for a GUI frame if the running server is in GUI mode.
11400 2011-12-03  Glenn Morris  <rgm@gnu.org>
11402         * textmodes/texinfmt.el (batch-texinfo-format): Doc fix.  (Bug#10207)
11404 2011-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11406         * electric.el: Streamline electric-indent's hook.
11407         (electric-indent-chars): Revert to simple list.
11408         (electric-indent-functions): New var.
11409         (electric-indent-post-self-insert-function): Use it.
11411         * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
11412         there's no inferior buffer (bug#10196).
11413         (prolog-consult-compile): Don't use toggle-read-only.
11415 2011-12-02  Michael Albinus  <michael.albinus@gmx.de>
11417         * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
11418         interrupt.  (Bug#10187)
11420 2011-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11422         * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
11423         (bug#9160).
11425         * dired-aux.el (dired-query): Don't assume help-char is modifier-free
11426         (bug#10191).
11428 2011-12-02  Juri Linkov  <juri@jurta.org>
11430         * info.el (Info-search): Display "end of manual" when Isearch
11431         reaches the end of single-file Info manual.  (Bug#9918)
11433 2011-12-02  Eli Zaretskii  <eliz@gnu.org>
11435         * isearch.el (isearch-message-prefix): Run the input method part
11436         of the prompt through bidi-string-mark-left-to-right.  (Bug#10183)
11438 2011-12-02  Juri Linkov  <juri@jurta.org>
11440         * isearch.el (isearch-occur): Use `word-search-regexp' for
11441         `isearch-word'.
11442         (isearch-search-and-update): Add condition for `isearch-word' and
11443         call `word-search-regexp'.  (Bug#10145)
11445 2011-12-01  Glenn Morris  <rgm@gnu.org>
11447         * eshell/em-hist.el (eshell-hist-initialize):
11448         Handle eshell-history-size nil and HISTSIZE set or unset.
11449         (eshell-history-file-name, eshell-history-size): Fix custom type.
11451 2011-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11453         * man.el (Man-completion-table): Fix the lambda case (bug#10168).
11455 2011-12-01  Michael McNamara  <mac@mail.brushroad.com>
11457         * progmodes/verilog-mode.el (verilog-pretty-expr):
11458         Rework verilog-pretty-expr to handle new assignment operators in system
11459         verilog, such as += *= and the like.
11460         (verilog-assignment-operator-re): Regular expression to find the
11461         assigment operator in a verilog assignment.
11462         (verilog-assignment-operation-re): Regular expression to find an
11463         assignment statement for pretty-expr.
11464         (verilog-in-attribute-p): Query returns true if point is in an
11465         attribute context; used to skip these for expression line up from
11466         pretty-expr.
11467         (verilog-in-parameter-p): Query returns true if point is in an
11468         parameter definition context; used to skip these for expression
11469         line up from pretty-expr.
11470         (verilog-in-parenthesis-p): Query returns true if point is in a
11471         parenthetical expression, specifically ( ) but not [ ] or { };
11472         used by pretty-expr.
11473         (verilog-just-one-space): If there is no space, don't add one.
11474         (verilog-get-lineup-indent-2): Specifically skip just attribute
11475         contexts for expression lineup, rather than skipping all
11476         parenthetical expressions.
11477         (verilog-calculate-indent): Fix comment, and fix indent.
11478         (verilog-do-indent): Indent declarations in lists (suggested by
11479         Joachim Lechner).
11480         (verilog-mode-abbrev-table): Populate abbrev mode with the various
11481         skeleton items.
11482         (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
11483         by Alain Mellan).
11485 2011-12-01  Wilson Snyder  <wsnyder@wsnyder.org>
11487         * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
11488         parameters with embedded comments.  Reported by Ray Stevens.
11489         (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
11490         verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
11491         Reported by Tim Holt.
11492         (verilog-auto): Fix AUTOing a upper module then AUTOing module
11493         instantiated by upper module causing wrong expansion until AUTOed a
11494         second time.  Reported by K C Buckenmaier.
11495         (verilog-diff-auto): Fix showing .* as a difference when
11496         `verilog-auto-star-save' off.  Reported by Dan Dever.
11497         (verilog-auto-reset, verilog-read-always-signals)
11498         (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
11499         temporary signals in reset list if
11500         verilog-auto-reset-blocking-in-non is nil, and match assignment
11501         style to each signal's assignment type, bug381.
11502         Reported by Thomas Esposito.
11503         (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
11504         (verilog-uvm-statement-re): Support UVM indentation and
11505         highlighting, with old OVM keywords only.
11506         (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
11507         Support AUTOTIEOFF creating non-wire data types.
11508         Suggested by Jonathan Greenlaw.
11509         (verilog-auto-insert-lisp, verilog-delete-to-paren)
11510         (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
11511         (verilog-inject-sense, verilog-read-inst-pins)
11512         (verilog-read-sub-decls, verilog-read-sub-decls-line):
11513         Fix mismatching parenthesis inside commented out code when deleting
11514         AUTOINST, bug383.  Reported by Jonathan Greenlaw.
11515         (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
11516         non-numeric vector width.  Reported by Alex Reed.
11517         (verilog-auto-ascii-enum): Add "onehot" option to work around not
11518         detecting signals with parameter widths.  Reported by Alex Reed.
11519         (verilog-auto-delete-trailing-whitespace):
11520         With `verilog-auto-delete-trailing-whitespace' remove trailing
11521         whitespace in auto expansion, bug371.  Reported by Brad Dobbie.
11522         (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
11523         Fix verilog-scan-cache corruption when running user AUTO expansion
11524         hooks that call indentation routines.
11525         (verilog-simplify-range-expression): Fix typo ignoring lower case
11526         identifiers.
11527         (verilog-delete-auto): Fix delete-autos to also remove user created
11528         automatics, as long as they start with AUTO.
11529         (verilog-batch-diff-auto, verilog-diff-auto)
11530         (verilog-diff-function): Add `verilog-diff-auto' and bind to
11531         "C-c?"  to report differences in AUTO expansion, ignoring spaces.
11532         (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
11533         (verilog-in-paren-quick, verilog-re-search-backward-quick)
11534         (verilog-re-search-forward-quick, verilog-syntax-ppss):
11535         Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
11536         is disabled and its cache will get corrupt, causing AUTOS not to
11537         expand.  Instead use only -quick functions.
11538         (verilog-scan-region): Fix scanning over escaped quotes.
11539         (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
11540         (verilog-re-search-backward-quick)
11541         (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
11542         related functions now ignore strings, to fix misparsing of strings
11543         with magic comments embedded in them.
11544         (verilog-read-auto-template):
11545         Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
11546         Reported by Brad Dobbie.
11547         (verilog-read-auto-template):
11548         Fix 'verilog-auto-inst-template-numbers' with comments.
11549         Reported by Brad Dobbie.
11550         (verilog-auto-inst, verilog-auto-inst-param)
11551         (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
11552         merge conflicts with AUTOINST, bug358.  Reported by Brad Dobbie.
11553         (verilog-auto-inst-template-numbers): Add 'lhs' policy for
11554         debugging templates without merge conflicts, bug357.
11555         Reported by Brad Dobbie.
11556         (verilog-read-auto-template):
11557         Fix verilog-auto-inst-template-numbers with multiple templates.
11558         Reported by Brad Dobbie.
11559         (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
11560         abbrevs so user won't be asked to save.
11561         (verilog-read-auto-lisp-present): Fix to start at beginning of
11562         buffer in case called outside of verilog-auto.
11563         (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
11564         to "X-2".  Reported by Matthew Myers.
11565         (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
11566         all inputs from module templates.  Reported by Leith Johnson.
11567         (verilog-module-inside-filename-p): Fix locating programs as with
11568         modules.
11569         (verilog-auto-inst-port): Fix vl-width expressions when using
11570         verilog-auto-inst-param-value, bug331.  Reported by Julian Gorfajn.
11571         (verilog-decls-get-regs, verilog-decls-get-signals,
11572         verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
11573         verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
11574         verilog-read-decls): Combine reg and wire structures into one var
11575         structure to represent SystemVerilog concepts.
11576         (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
11577         (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
11578         (verilog-auto-wire-type, verilog-insert-definition):
11579         Add verilog-auto-wire-type and AUTOLOGIC to support using
11580         SystemVerilog "logic" keyword instead of "wire"/"reg".
11581         (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
11582         to declares outputs that also have assignments (presumably in an
11583         ifdef or generate if so there's not a driver conflict).
11584         Reported by Matthew Myers.
11585         (verilog-auto-declare-nettype, verilog-insert-definition):
11586         Add verilog-auto-declare-nettype to fix declarations using
11587         `default_nettype none.  Reported by Julian Gorfajn.
11588         (verilog-read-always-signals-recurse, verilog-read-decls)
11589         (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
11590         malformed end statement, bug325.  Reported by Joshua Wise and
11591         Andrew Drake.
11592         (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
11593         (verilog-inst-comment-re): Fix not deleting Interfaced comment
11594         when expanding .* in interfaces, bug320.
11595         Reported by Pierre-David Pfister.
11596         (verilog-read-module-name): Fix import statements between module
11597         name and open parenthesis, bug317.
11598         Reported by Pierre-David Pfister.
11599         (verilog-simplify-range-expression): Fix simplification of
11600         multiplications inside AUTOWIRE connections, bug303.
11601         (verilog-auto-inst-port): Support parameter expansion in
11602         multidimensional arrays.
11603         (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
11604         after "assert property".  Reported by Julian Gorfajn.
11605         (verilog-simplify-range-expression): Fix "couldn't merge" errors
11606         with multiplication, bug303.
11607         (verilog-read-decls): Fix parsing of unsigned data types, bug302.
11608         Reported by Jan Frode Lonnum.
11610 2011-11-30  Juanma Barranquero  <lekktu@gmail.com>
11612         * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
11613         (hfy-shell-file-name, hfy-shell):
11614         * international/fontset.el (x-decompose-font-name): Fix typos.
11616 2011-11-29  Ken Brown  <kbrown@cornell.edu>
11618         * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
11619         (gdb-version): Remove defvar.
11620         (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
11621         (gdb-gud-context-command, gdb-non-stop-handler)
11622         (gdb-current-context-command, gdb-stopped): Use it.
11623         (gdb-init-1): Enable pretty printing here.
11624         (gdb-non-stop-handler): Don't enable pretty-printing here.
11625         Check to see if the target supports non-stop mode; if not, turn off
11626         non-stop mode.  Use the following.
11627         (gdb-check-target-async): New defun.
11628         (gud-watch, gdb-stopped): Fix whitespace.
11629         (gdb-get-source-file): Don't try to display the source file if
11630         `gdb-main-file' is nil.
11632 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11634         * align.el: Try to generate fewer markers (bug#10047).
11635         (align--set-marker): New macro.
11636         (align-region): Use it.
11638 2011-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
11640         * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
11642 2011-11-29  Chong Yidong  <cyd@gnu.org>
11644         * indent.el (indent-for-tab-command, indent-according-to-mode):
11645         Doc fix.
11646         (indent-region): Doc fix.  Switch nested ifs to equivalent cond.
11648 2011-11-29  Michael Albinus  <michael.albinus@gmx.de>
11650         * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
11651         aware of remote file names.  (Bug#10124)
11653 2011-11-29  Chong Yidong  <cyd@gnu.org>
11655         * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
11657 2011-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11659         * files.el (find-file): Don't use force-same-window (bug#10144).
11660         * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
11661         use pop-to-buffer if the selected window can't be used.
11662         (pop-to-buffer-same-window): Use display-buffer--same-window-action.
11664 2011-11-28  Eli Zaretskii  <eliz@gnu.org>
11666         * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
11667         special-mode-map.
11669 2011-11-28  Chong Yidong  <cyd@gnu.org>
11671         * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
11673 2011-11-27  Nick Roberts  <nickrob@snap.net.nz>
11675         * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
11676           gdb-get-source-file-list on gdb-create-source-file-list.
11678 2011-11-26  Eli Zaretskii  <eliz@gnu.org>
11680         * whitespace.el (whitespace-newline): Use a different foreground
11681         color for 16-color light-background displays.
11683 2011-11-24  Chong Yidong  <cyd@gnu.org>
11685         * window.el (display-buffer--special-action): Doc fix.
11687 2011-11-25  Juanma Barranquero  <lekktu@gmail.com>
11689         * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
11690         (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
11691         (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
11692         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
11693         (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
11694         (avl-tree-stack-first):
11695         * emacs-lisp/cconv.el (cconv--analyse-use):
11696         * net/gnutls.el (gnutls-negotiate): Fix typos.
11698 2011-11-24  Glenn Morris  <rgm@gnu.org>
11700         * lpr.el (lpr-windows-system, lpr-lp-system):
11701         * mail/binhex.el (binhex-begin-line):
11702         * progmodes/grep.el (grep-history, grep-find-history):
11703         * textmodes/flyspell.el:
11704         * vc/pcvs-defs.el (cvs-global-menu):
11705         * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
11706         * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
11707         * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
11709         * net/tls.el: Fix case of "GnuTLS".
11711         * paths.el (rmail-file-name): Format doc-string for make-docfile.
11713         * version.el (emacs-build-system): Give it a doc-string.
11715 2011-11-24  Juri Linkov  <juri@jurta.org>
11717         * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
11719 2011-11-24  Glenn Morris  <rgm@gnu.org>
11721         * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
11722         if called on a non-mime message just toggle the headers.  (Bug#8006)
11724 2011-11-24  Juanma Barranquero  <lekktu@gmail.com>
11726         * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
11727         (allout-lead-with-comment-string, allout-structure-deleted-hook)
11728         (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
11729         (allout-rebullet-heading, allout-open-sibtopic)
11730         (allout-toggle-current-subtree-encryption)
11731         (allout-toggle-subtree-encryption, allout-encrypt-string)
11732         (allout-next-topic-pending-encryption, allout-adjust-file-variable)
11733         (allout-distinctive-bullets-string, allout-auto-activation):
11734         * window.el (window-normalize-buffer-to-display):
11735         * progmodes/verilog-mode.el (verilog-batch-indent):
11736         * textmodes/bibtex.el (bibtex-field-braces-opt)
11737         (bibtex-field-strings-opt):
11738         * vc/cvs-status.el (cvs-tree-merge):
11739         Fix typos.
11741 2011-11-23  Michael Albinus  <michael.albinus@gmx.de>
11743         * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
11744         `non-essential' to t, in order to avoid remote connections.
11746 2011-11-23  Eli Zaretskii  <eliz@gnu.org>
11748         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11749         On MS-DOS and MS-Windows, compare with loaddefs.el
11750         case-insensitively.
11752 2011-11-23  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
11754         * mail/unrmail.el (unrmail): Always add blank line.  (Bug#7743)
11756 2011-11-23  Glenn Morris  <rgm@gnu.org>
11758         * paths.el (rmail-file-name): Reformat the doc-string so that it
11759         is picked up.
11761         * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
11762         (rmail-auto-file): Ignore case in the "special" field names,
11763         as mail-fetch-field does for all others.
11765         * mail/rmail.el (rmail-forward):
11766         * mail/rmailkwd.el (rmail-set-label):
11767         * mail/rmailout.el (rmail-output, rmail-output-as-seen)
11768         (rmail-output-body-to-file): Give error if no message.  (Bug#10082)
11770         * mail/rmail.el (rmail-current-message): Doc fix.
11772         * mail/rmail.el (rmail-message-filter): Mark as obsolete.  (Bug#2624)
11774 2011-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11776         * server.el (server-eval-and-print): Allow C-g (bug#6585).
11778 2011-11-22  Glenn Morris  <rgm@gnu.org>
11780         * mail/rmailmm.el (test-rmail-mime-handler)
11781         (test-rmail-mime-bulk-handler)
11782         (test-rmail-mime-multipart-handler): Move tests to test/ directory.
11784 2011-11-21  Juri Linkov  <juri@jurta.org>
11786         * calc/calc.el (calc-read-key-sequence):
11787         Let-bind `input-method-function' to nil.  (Bug#10018)
11789 2011-11-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
11791         * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
11792         Tell the caller that the next line needs recomputation, even
11793         though it doesn't start a sexp (bug#10094).
11795 2011-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11797         * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
11799 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11801         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
11802         Use force-same-window.
11804 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
11806         * descr-text.el (describe-char-unicode-data):
11807         * json.el (json-string-escape):
11808         * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
11809         (Footnote-unicode, Footnote-style-p):
11810         * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
11812 2011-11-20  Chong Yidong  <cyd@gnu.org>
11814         * window.el (replace-buffer-in-windows): Restore interactive spec.
11816 2011-11-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11818         * electric.el (electric-indent-mode): Fix last change (too optimistic).
11820         * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
11821         (byte-compile-global-not-obsolete-vars): New var.
11822         (byte-compile-check-variable, byte-compile-make-obsolete-variable):
11823         Use it.
11824         (byte-compile-warn-obsolete): Align text with the one in *Help*.
11826 2011-11-20  Juanma Barranquero  <lekktu@gmail.com>
11828         * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
11829         * progmodes/pascal.el (electric-pascal-equal):
11830         * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
11831         * xml.el (xml-substitute-special): Fix typos.
11833 2011-11-20  Glenn Morris  <rgm@gnu.org>
11835         * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
11836         (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
11837         Doc fixes.
11838         (rmail-decode-mime-charset): Mark as obsolete.
11840         * mail/rmailsum.el (rmail-message-regexp-p-1):
11841         * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
11842         Before using mime functions, check they are set.  (Bug#10077)
11844 2011-11-19  Juri Linkov  <juri@jurta.org>
11846         * info.el (Info-finder-find-node): Use `package--builtins' instead
11847         of `package-alist'.  Use node names formed by the pattern "Keyword "
11848         and the keyword name.
11850 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
11852         * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
11854 2011-11-19  Juri Linkov  <juri@jurta.org>
11856         * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
11857         that calls `revert-buffer' on all Info buffers.  (Bug#9915)
11858         (Info-revert-find-node): Remove let-bindings `old-buffer-name',
11859         `old-history', `old-history-forward'.  Add let-binding
11860         `window-selected'.  Remove calls to `kill-buffer',
11861         `switch-to-buffer' and `Info-mode'.  Set `Info-current-file' to nil
11862         before calling `Info-find-node', so `Info-find-node-2' will reread
11863         the Info file.  Restore window positions only when `window-selected'
11864         is non-nil.
11866 2011-11-19  Juri Linkov  <juri@jurta.org>
11868         * isearch.el (isearch-lazy-highlight-new-loop):
11869         Remove condition `(not isearch-error)'.  (Bug#9918)
11871         * misearch.el (multi-isearch-search-fun): Add condition
11872         `(not bound)' to ignore lazy-highlighting search.
11873         Add the search-failed message "end of multi" when the end of
11874         multi-sequence is reached.  Uncapitalize the search-failed
11875         message "Repeat for next buffer".
11877         * info.el (Info-search): Add the search-failed message
11878         "end of the manual" when the end of the manual is reached
11879         in Isearch mode.
11881 2011-11-19  Juri Linkov  <juri@jurta.org>
11883         * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
11884         Use non-destructive `remove' instead of `delete' because
11885         `Info-history-list' stored to `Info-isearch-initial-history-list' in
11886         `Info-isearch-start' might need to be restored in `Info-isearch-end'.
11888 2011-11-19  Juri Linkov  <juri@jurta.org>
11890         * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
11891         to nil instead of binding `search-ring' and `regexp-search-ring'.
11892         (Bug#9185)
11894 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
11896         * simple.el (line-move): Force movement by logical lines for any
11897         hscrolled window, not only when auto-hscroll-mode is on.
11898         (line-move-visual): Update doc string to that effect.  (Bug#10076)
11900 2011-11-19  Andreas Schwab  <schwab@linux-m68k.org>
11902         * language/european.el (macintosh): Define as alias for mac-roman.
11904 2011-11-19  Eli Zaretskii  <eliz@gnu.org>
11906         * mail/rmailmm.el (rmail-mime-display-header)
11907         (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
11908         (rmail-mime-entity-segment, rmail-mime-toggle-raw)
11909         (rmail-mime-toggle-hidden, rmail-mime-insert-text)
11910         (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
11911         (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
11912         of a raw aref.
11913         (rmail-mime-entity-segment): To get past the tagline, move forward
11914         2 more lines, to account for the 2 empty lines that precede and
11915         follow the line with the buttons.
11916         (rmail-mime-update-tagline): Move one more line, to get past the
11917         empty line that follows the buttons in the tagline.  (Bug#9520)
11919 2011-11-19  Martin Rudalics  <rudalics@gmx.at>
11921         * window.el (window-max-delta-1, window-min-delta-1)
11922         (window-min-size-1, window-state-get-1, window-state-put-1)
11923         (window-state-put-2): Use "window--" prefix.
11925 2011-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11927         * emacs-lisp/smie.el: Improve warnings and conflict detection.
11928         (smie-warning-count): New var.
11929         (smie-set-prec2tab): Use it.
11930         (smie-bnf->prec2): Improve warnings.  Add docstring.
11931         (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
11932         (smie-bnf--set-class): New function.
11933         (smie-bnf--classify): Rename from smie-bnf-classify.  Rewrite to fix
11934         corner case.
11936         * progmodes/compile.el: Obey compilation-first-column in dest buffer.
11937         (compilation-error-properties, compilation-move-to-column):
11938         Handle compilation-first-column while in the target buffer.
11940         * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
11941         Don't hardcode point-min==1.
11943         * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
11944         (eshell-rewrite-for-command): Remove workaround.
11945         (eshell-do-pipelines, eshell-do-pipelines-synchronously)
11946         (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
11947         * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
11949         * files-x.el (modify-file-local-variable): Obey commenting conventions.
11951 2011-11-17  Glenn Morris  <rgm@gnu.org>
11953         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11954         Ignore buffer-local generated-autoload-file if it is the same
11955         as the global value.  (Bug#10049)
11957 2011-11-17  Juanma Barranquero  <lekktu@gmail.com>
11959         * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
11960         (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
11961         (reftex-toc-previous-heading, reftex-toc-max-level)
11962         (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
11963         (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
11964         (reftex-toc-do-promote, reftex-toc-promote-prepare)
11965         (reftex-toc-promote-action, reftex-toc-extract-section-number)
11966         (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
11967         (reftex-toc-rename-label, reftex-toc-visit-location)
11968         (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
11969         (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
11970         (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
11971         leaving "*toc*" only for references to the buffer.
11973 2011-11-17  Martin Rudalics  <rudalics@gmx.at>
11975         * window.el (window-resize, delete-window, split-window):
11976         Replace window-splits by window-combination-resize.
11977         * cus-start.el (window-splits): Replace by window-combination-resize.
11979 2011-11-17  Glenn Morris  <rgm@gnu.org>
11981         * progmodes/sh-script.el (sh-font-lock-keywords-var):
11982         Make bash entry derive from sh entry, not shell entry.
11984 2011-11-16  Michael Albinus  <michael.albinus@gmx.de>
11986         * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
11987         local file name.
11989 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
11991         * menu-bar.el (menu-bar-file-menu):
11992         * printing.el (pr-ps-utility):
11993         * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
11994         (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
11995         (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
11996         (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
11997         (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
11998         (icalendar--convert-cyclic-to-ical)
11999         (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
12000         (icalendar--convert-ical-to-diary)
12001         (icalendar--convert-recurring-to-diary)
12002         (icalendar--convert-non-recurring-all-day-to-diary)
12003         (icalendar-import-format-sample):
12004         * progmodes/idlw-shell.el (idlwave-shell-mode):
12005         * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
12006         (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
12007         (vhdl-ps-print-init): Fix typos.
12009 2011-11-16  Ken Manheimer  <ken.manheimer@gmail.com>
12011         * allout.el, allout-widgets.el (file metadata): Attribute copyright to
12012         FSF and collapse date sequence, obscure author/maintainer email address
12013         better, remove extra version line, track relocation of author's webpage.
12015         * progmodes/python.el (python-pdbtrack-input-prompt)
12016         (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
12017         regular python pdb prompts.  Adjustments shamelessly taken exactly as
12018         suggested in EmacsWiki page (tiny change):
12019         http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
12021 2011-11-16  Juanma Barranquero  <lekktu@gmail.com>
12023         * expand.el (expand-pos, expand-index, expand-point):
12024         Remove redundant info from docstring.
12025         (expand-add-abbrevs): Doc fix.
12026         (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
12027         (expand-sample-perl-mode-expand-list): Fix typos.
12029         * net/dbus.el (dbus-event-member-name):
12030         * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
12031         * term/pc-win.el (msdos-create-frame-with-faces):
12032         * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
12034 2011-11-16  Martin Rudalics  <rudalics@gmx.at>
12036         * window.el (split-window, window-state-get-1)
12037         (window-state-put-1, window-state-put-2): Rename occurrences of
12038         window-nest to window-combination-limit.
12039         * cus-start.el (window-nest): Rename to window-combination-limit.
12041 2011-11-16  Chong Yidong  <cyd@gnu.org>
12043         * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
12044         regexp (Bug#10033).
12046 2011-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12048         * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
12049         `completing-read' will remove *Completions* and will preserve
12050         current-buffer for us.
12051         (tmm-add-prompt): Users of *Completions* will always (re)set its
12052         major mode.
12053         (tmm-old-comp-map): Remove.
12055 2011-11-16  Glenn Morris  <rgm@gnu.org>
12057         * mail/rmailedit.el: Require rmailmm when compiling.
12058         (rmail-old-mime-state): New declaration.
12059         (rmail-edit-current-message): If editing a mime message,
12060         edit the "raw" message from the mbox buffer.
12061         (rmail-cease-edit): Handle mime messages.  (Bug#9840)
12063 2011-11-15  Glenn Morris  <rgm@gnu.org>
12065         * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
12066         which wasn't being used.  Add optional arg to force given state.
12067         (rmail-mime): Add optional arg to force given state.
12069 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
12071         * allout.el (allout-encryption-plaintext-sanitization-regexps):
12072         * frame.el (display-mm-dimensions-alist):
12073         * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
12074         (outline-move-subtree-down):
12075         * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
12076         (newsticker--treeview-do-get-node):
12077         * net/quickurl.el (quickurl-list-buffer-name):
12078         * progmodes/dcl-mode.el (dcl-mode):
12079         * progmodes/gdb-mi.el (gdb-mapcar*):
12080         * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
12082 2011-11-15  Glenn Morris  <rgm@gnu.org>
12084         * mail/rmail.el (rmail-file-coding-system): It's only ever used
12085         in a boolean sense, so just make it a boolean, and fix the doc.
12086         (rmail-show-mime-function, rmail-mime-feature)
12087         (rmail-require-mime-maybe): Doc fixes.
12088         (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
12090         * mail/rmailmm.el (rmail-show-mime): Doc fix.
12092 2011-11-15  Juanma Barranquero  <lekktu@gmail.com>
12094         * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
12095         (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
12096         (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
12097         (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
12099 2011-11-15  Glenn Morris  <rgm@gnu.org>
12101         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
12102         (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
12103         (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
12104         (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
12105         (rmail-mime, rmail-show-mime): Doc fixes.
12107         * term/ns-win.el (mode-line-frame-identification):
12108         Leave it alone.  (Bug#10051)
12110         * simple.el (mark-whole-buffer): Doc fix.  (Bug#10023)
12112         * mail/rmailout.el (rmail-output-to-rmail-buffer):
12113         Handle empty buffers.  (Bug#9978)
12115 2011-11-14  Juanma Barranquero  <lekktu@gmail.com>
12117         * international/mule.el (define-charset):
12118         * mail/rmailmm.el (rmail-mime-find-header-encoding):
12119         * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
12120         * progmodes/verilog-mode.el (verilog-backward-token):
12121         * textmodes/ispell.el (lookup-words):
12122         * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
12124 2011-11-14  Glenn Morris  <rgm@gnu.org>
12126         * progmodes/executable.el
12127         (executable-make-buffer-file-executable-if-script-p):
12128         Handle file-modes returning nil.
12130         * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
12131         message - not necessary, and causes problems.  (Bug#9831)
12133         * mail/rmailsum.el (rmail-new-summary): Preserve message number.
12135         * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
12137         * mail/rmailsum.el (rmail-summary, rmail-new-summary)
12138         (rmail-new-summary-1): Allow empty summaries.  (Bug#9964)
12139         (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
12141 2011-11-12  Martin Rudalics  <rudalics@gmx.at>
12143         * window.el (window-resize, delete-window): Use window-splits
12144         variable instead of function.
12145         (window-state-get-1, window-state-put-2, window-state-put):
12146         Don't deal with windows' splits status.
12148 2011-11-12  Glenn Morris  <rgm@gnu.org>
12150         * apropos.el (apropos-do-all, apropos-library, apropos-value)
12151         (apropos-documentation): Doc fixes.
12153 2011-11-11  Juanma Barranquero  <lekktu@gmail.com>
12155         * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
12156         * textmodes/sgml-mode.el (html-tag-help): Fix typos.
12158 2011-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12160         * electric.el (electric-indent-post-self-insert-function): Make it
12161         possible for a char to only indent in some circumstances.
12162         (electric-indent-mode): Simplify.
12164 2011-11-11  Martin Rudalics  <rudalics@gmx.at>
12166         * window.el (windows-with-parameter): Remove unused function.
12167         (windows-at-side): Rename to window-at-side-list.
12168         (window-check, window-atom-check, window-atom-check-1)
12169         (window-side-check, window-size-ignore, window-size-fixed-1)
12170         (window-in-direction-2): Prefix with "window--".
12171         (window-tree-1): Rename to window--subtree, fix doc-string.
12173 2011-11-11  Glenn Morris  <rgm@gnu.org>
12175         * subr.el (eval-after-load): If FILE is already loaded,
12176         evaluate FORM before it gets wrapped in more stuff.  (Bug#10009)
12178 2011-11-10  Glenn Morris  <rgm@gnu.org>
12180         * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
12181         Call svn via vc-svn-command rather than vc-do-command.
12182         (vc-svn-command): Add --non-interactive.  (Bug#9993)
12183         (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
12185         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12186         Add toggle-read-only.  (Bug#7292)
12187         * files.el (toggle-read-only): Mention that it should only
12188         be used interactively.  (Bug#10006)
12190 2011-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
12192         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12193         Adjust regexp for OCaml warnings.
12195         * electric.el (electric-pair-post-self-insert-function): Let user
12196         turn it off buffer-locally (bug#9932).
12198         * progmodes/python.el (python-beginning-of-statement):
12199         Rewrite (bug#2703).
12201         * progmodes/compile.el: Better handle TABs (bug#9749).
12202         (compilation-internal-error-properties)
12203         (compilation-next-error-function): Obey the target buffer's
12204         compilation-error-screen-columns.
12206 2011-11-09  Juanma Barranquero  <lekktu@gmail.com>
12208         * progmodes/meta-mode.el: Remove obsolete comments.
12209         (meta-right-comment-regexp, meta-ignore-comment-regexp):
12210         Fix typos in docstrings.
12212 2011-11-09  Martin Rudalics  <rudalics@gmx.at>
12214         * window.el (window-size-fixed-p): Rewrite doc-string.
12215         (window-resizable-p): Rename to window--resizable-p.  Update callers.
12216         (window--resizable): New function.  Make all callers of
12217         window-resizable call window--resizable instead.
12218         (window-resizable): Rewrite in terms of window--resizable.
12220 2011-11-08  Glenn Morris  <rgm@gnu.org>
12222         * progmodes/delphi.el (delphi-mode-syntax-table):
12223         Let define-derived-mode define a proper syntax table.  (Bug#9994)
12225 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12227         * window.el: Stay away from defsubst.
12228         (window-list-no-nils): Remove.
12229         (window-state-get-1, window-state-get): Use backquote instead.
12231 2011-11-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12233         * emacs-lisp/find-func.el (find-function-read):
12234         Fix incorrect use of default argument in `completing-read'.
12236 2011-11-08  Martin Rudalics  <rudalics@gmx.at>
12238         * window.el (display-buffer-function, special-display-function):
12239         Mention display-buffer-record-window but do not mention
12240         help-setup parameter in doc-strings.
12241         (window-min-delta): Fix doc-string typo.
12243 2011-11-08  Chong Yidong  <cyd@gnu.org>
12245         * window.el (window-total-height, window-total-width): Doc fix.
12246         (window-body-size): Move from C.
12247         (window-body-height, window-body-width): Move to C.
12249 2011-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
12251         * window.el: Make special-display like display-buffer-alist (bug#9532).
12252         (display-buffer--special-action): New function, morphed
12253         from display-buffer--special.
12254         (display-buffer): Use it to handle special-display-buffers at higher
12255         priority (just after display-buffer-alist).
12256         (display-buffer-fallback-action, display-buffer--other-frame-action)
12257         (pop-to-buffer-same-window): Remove display-buffer--special.
12259 2011-11-07  Glenn Morris  <rgm@gnu.org>
12261         * calendar/cal-menu.el (cal-menu-set-date-title):
12262         Do nothing if not in a calendar.  (Bug#9976)
12264 2011-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
12266         * files.el (find-file): Always use selected-window.
12268 2011-11-07  Martin Rudalics  <rudalics@gmx.at>
12270         * window.el (window-combinations): Make WINDOW argument
12271         mandatory.  Rewrite doc-string.
12272         (walk-window-subtree, window-atom-check, window-min-delta)
12273         (window-max-delta, window--resize-this-window)
12274         (window--resize-root-window-vertically, window-tree)
12275         (balance-windows, window-state-put): Rewrite doc-strings as to
12276         not mention the term "subwindow".
12277         (window--resize-subwindows-skip-p): Rename to
12278         window--resize-child-windows-skip-p.
12279         (window--resize-subwindows-normal): Rename to
12280         window--resize-child-windows-normal.
12281         (window--resize-subwindows): Rename to
12282         window--resize-child-windows.
12283         (window-or-subwindow-p): Rename to window--in-subtree-p.
12285 2011-11-07  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
12287         * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
12288         Ensure that mbox format messages end in two newlines (Bug#9974).
12290 2011-11-06  Chong Yidong  <cyd@gnu.org>
12292         * window.el (window-combination-p): Function deleted; its
12293         side-effect is not used in any existing code.
12294         (window-combinations, window-combined-p): Call window-*-child
12295         directly.
12297 2011-11-05  Chong Yidong  <cyd@gnu.org>
12299         * window.el (window-valid-p): Rename from window-any-p.
12300         (window-size-ignore, window-state-get): Callers changed.
12301         (window-normalize-window): Rename from window-normalize-any-window.
12302         New arg LIVE-ONLY, replacing window-normalize-live-window.
12303         (window-normalize-live-window): Delete.
12304         (window-combination-p, window-combined-p, window-combinations)
12305         (walk-window-subtree, window-atom-root, window-min-size)
12306         (window-sizable, window-sizable-p, window-size-fixed-p)
12307         (window-min-delta, window-max-delta, window-resizable)
12308         (window-resizable-p, window-full-height-p, window-full-width-p)
12309         (window-current-scroll-bars, window-point-1, set-window-point-1)
12310         (window-at-side-p, window-in-direction, window-resize)
12311         (adjust-window-trailing-edge, maximize-window, minimize-window)
12312         (window-deletable-p, delete-window, delete-other-windows)
12313         (record-window-buffer, unrecord-window-buffer)
12314         (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
12315         (quit-window, split-window, window-state-put)
12316         (set-window-text-height, fit-window-to-buffer)
12317         (shrink-window-if-larger-than-buffer): Callers changed.
12319 2011-11-04  Eli Zaretskii  <eliz@gnu.org>
12321         * mail/rmail.el (rmail-simplified-subject): Decode subject with
12322         rfc2047-decode-string.
12323         (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
12324         warnings.
12326         * window.el (window-body-height, window-body-width): Mention in
12327         the doc string that the return values are in frame's canonical
12328         units.  (Bug#9949)
12330 2011-11-03  Alan Mackenzie  <acm@muc.de>
12332         * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
12333         change in cc-engine.el.
12335 2011-11-02  Stefan Monnier  <monnier@iro.umontreal.ca>
12337         * window.el (switch-to-buffer): Use `force-same-window' interactively.
12339 2011-11-02  Martin Rudalics  <rudalics@gmx.at>
12341         * window.el (quit-window): Call unrecord-window-buffer after
12342         showing another buffer in the window.  (Bug#9937)
12343         (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
12345 2011-11-02  Juanma Barranquero  <lekktu@gmail.com>
12347         * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
12348         Accept status with more than 9 shelves.  (Bug#9935)
12349         Reported by Colin D Bennett <colin@gibibit.com>.
12351 2011-11-01  Martin Rudalics  <rudalics@gmx.at>
12353         * help.el (with-help-window): Don't reference
12354         temp-buffer-show-specifiers in doc-string.
12356 2011-10-31  Andreas Schwab  <schwab@linux-m68k.org>
12358         * subr.el (keymap--menu-item-with-binding): Ignore item if not a
12359         menu-item.
12361 2011-10-30  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12363         * whitespace.el: New version 13.2.2.
12364         (whitespace-newline-mode): Disable properly.  Reported by Sarah
12365         <EmacsWiki>.
12367 2011-10-30  Ulf Jasper  <ulf.jasper@web.de>
12369         * net/newst-treeview.el: Remove "Time-stamp".
12370         (newsticker--group-manage-orphan-feeds): Do not call
12371         newsticker--treeview-tree-update.
12372         (newsticker-treeview-update, newsticker-treeview):
12373         Call newsticker--treeview-tree-update if necessary.
12375 2011-10-30  Martin Rudalics  <rudalics@gmx.at>
12377         * window.el (window-iso-combination-p, window-iso-combined-p)
12378         (window-iso-combinations): Remove "iso-" infix.
12379         Suggested by Chong Yidong.
12380         (window-min-size-1, window-size-fixed-1, window-min-delta-1)
12381         (window-max-delta-1, window-resize, window--resize-siblings)
12382         (window--resize-this-window, adjust-window-trailing-edge)
12383         (split-window, balance-windows-1)
12384         (shrink-window-if-larger-than-buffer):
12385         * calendar/calendar.el (calendar-generate-window):
12386         * help.el (resize-temp-buffer-window): Adjust callers accordingly.
12388 2011-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12390         * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
12391         in place (bug#9907).
12392         (eshell-subcommand-arg-values, eshell-rewrite-named-command)
12393         (eshell-rewrite-if-command, eshell-rewrite-for-command)
12394         (eshell-structure-basic-command, eshell-rewrite-while-command)
12395         (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
12396         (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
12397         (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
12398         (eshell-do-pipelines-synchronously, eshell-eval-command):
12399         Use backquotes and prefer setq to set.
12400         (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
12401         (eshell-macrop): Use functionp.
12402         (eshell-do-eval): Handle multiple expressions in `while' body.
12404 2011-10-30  Chong Yidong  <cyd@gnu.org>
12406         * emulation/viper-cmd.el (viper-exec-change): Use push-mark
12407         instead of set-mark (Bug#9810).
12409 2011-10-30  Chong Yidong  <cyd@gnu.org>
12411         * window.el (split-window-below, split-window-right): Rename from
12412         split-window-above-each-other and split-window-side-by-side
12413         respectively.  All callers changed.
12414         (split-window-sensibly, split-window-sensibly): Use them.
12415         (split-window-keep-point): Doc fix.
12417         * isearch.el: Add isearch-scroll property to split-window-below
12418         and split-window-right.
12420         * follow.el (follow-mode):
12421         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
12422         * progmodes/ada-xref.el (ada-gdb-application):
12423         * emulation/vip.el (vip-buffer-in-two-windows):
12424         * image-dired.el (image-dired-dired-with-window-configuration):
12425         * dired-x.el (dired-do-find-marked-files):
12426         * dired.el (dired-pop-to-buffer):
12427         * bs.el (bs--show-with-configuration):
12428         * vc/emerge.el (emerge-setup-windows):
12429         * textmodes/two-column.el (2C-two-columns):
12430         * textmodes/reftex-toc.el (reftex-toc):
12431         * progmodes/gdb-mi.el (gdb-setup-windows):
12432         * progmodes/fortran.el (fortran-window-create):
12433         * net/newst-treeview.el (newsticker--treeview-window-init):
12434         * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
12435         * emulation/tpu-edt.el (tpu-gold-map):
12436         * emulation/crisp.el (crisp-mode-map):
12437         * calendar/calendar.el (calendar-basic-setup): Callers changed.
12439 2011-10-29  Chong Yidong  <cyd@gnu.org>
12441         * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
12443         * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
12445         * textmodes/flyspell.el (flyspell-word): Fix char offset for
12446         forged Ispell output (Bug#7904).
12448         * emacs-lisp/package.el (package-refresh-contents): Add autoload.
12450 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12452         * doc-view.el: Avoid ugly errors about not finding nil.
12453         (doc-view-ghostscript-program, doc-view-dvipdfm-program)
12454         (doc-view-dvipdf-program, doc-view-unoconv-program)
12455         (doc-view-ps2pdf-program, doc-view-pdftotext-program):
12456         Avoid nil or absolute file name as default value.
12457         (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
12459 2011-10-28  Alan Mackenzie  <acm@muc.de>
12461         * progmodes/cc-defs.el (c-version): -> 5.32.2.
12463 2011-10-28  Alan Mackenzie  <acm@muc.de>
12465         Amend the handling of c-beginning/end-of-defun in nested declaration
12466         scopes.
12468         * progmodes/cc-vars.el (c-defun-tactic): Move here from
12469         cc-langs.el.  Change it to a defcustom.
12471         * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
12472         cc-vars.el.
12474         * progmodes/cc-engine.el (c-beginning-of-statement-1):
12475         Prevent "class foo : bar" being spuriously recognized as a label.
12477         * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
12478         Add parameter `inclusive' (to include enclosing braces in the region).
12479         (c-widen-to-enclosing-decl-scope): New function.
12480         (c-while-widening-to-decl-block): New macro.
12481         (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
12482         outward for defun boundaries, and correspondingly change symbol
12483         `respect-enclosure' to `go-outward'.
12484         (c-declaration-limits): Change algorithm to report only the "innermost"
12485         defun's boundaries.
12487 2011-10-28  Deniz Dogan  <deniz@dogan.se>
12489         * net/rcirc.el (rcirc-mode): Use hard newlines.
12491 2011-10-28  Alan Mackenzie  <acm@muc.de>
12493         Amend to indent and fontify macros "which include their own semicolon"
12494         correctly, using the "virtual semicolon" mechanism.
12496         * progmodes/cc-defs.el: Update "virtual semicolon" comments.
12498         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
12499         Recode to scan one line at a time rather than having \n and \r
12500         explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
12501         (c-forward-label): Amend for virtual semicolons.
12502         (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
12504         * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
12505         of the new C macros.
12507         * progmodes/cc-langs.el (c-at-vsemi-p-fn):
12508         (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
12509         (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
12510         (c-opt-cpp-macro-define): Make into a full language variable.
12511         (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
12512         AWK Mode (including \n, \r) removed, no longer needed.
12514         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
12515         Invoke c-make-macro-with-semi-re.
12517         * progmodes/cc-vars.el (c-macro-with-semi-re):
12518         (c-macro-names-with-semicolon): New variables.
12519         (c-make-macro-with-semi-re): New function.
12521 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12523         * vc/log-edit.el: Fill empty field rather than adding new one.
12524         (log-edit-add-field): New function.
12525         (log-edit-insert-changelog): Use it.
12527 2011-10-28  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
12529         * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
12531 2011-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12533         * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
12534         (gdb--check-interpreter): New function.
12535         (gdb): Use it.
12537 2011-10-27  Glenn Morris  <rgm@gnu.org>
12539         * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
12540         (least-positive-float, least-negative-float)
12541         (least-positive-normalized-float, least-negative-normalized-float)
12542         (float-epsilon, float-negative-epsilon):
12543         Remove unnecessary declarations.
12545         * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
12546         * emacs-lisp/cl.el (most-positive-float, most-negative-float)
12547         (least-positive-float, least-negative-float)
12548         (least-positive-normalized-float, least-negative-normalized-float)
12549         (float-epsilon, float-negative-epsilon): Add doc-strings,
12550         based on those in cl.texi.
12552         * files.el (set-visited-file-name): If the major-mode changed,
12553         reload the local variables.  (Bug#9796)
12555 2011-10-27  Chong Yidong  <cyd@gnu.org>
12557         * subr.el (change-major-mode-after-body-hook): New hook.
12558         (run-mode-hooks): Run it.
12560         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12561         Use change-major-mode-before-body-hook.
12563         * simple.el (fundamental-mode):
12564         * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
12565         change introducing fundamental-mode-hook.
12567 2011-10-26  Juanma Barranquero  <lekktu@gmail.com>
12569         * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
12571 2011-10-26  Michael Albinus  <michael.albinus@gmx.de>
12573         * ido.el (ido-file-name-all-completions-1): Do not require
12574         tramp.el explicitly.  (Bug#7583)
12576 2011-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12578         * progmodes/octave-mod.el:
12579         * progmodes/octave-inf.el: Update maintainer.
12581 2011-10-26  Chong Yidong  <cyd@gnu.org>
12583         * subr.el (with-wrapper-hook): Rewrite doc.
12585 2011-10-25  Michael Albinus  <michael.albinus@gmx.de>
12587         * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
12588         filenames "/method:foo:".  (Bug#9793)
12590 2011-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12592         * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
12593         (bug#9865).
12595 2011-10-24  Glenn Morris  <rgm@gnu.org>
12597         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.  (Bug#9819)
12599 2011-10-24  Michael Albinus  <michael.albinus@gmx.de>
12601         * notifications.el: Add the requirement of a running D-Bus session
12602         bus to the Commentary.
12604 2011-10-24  Juri Linkov  <juri@jurta.org>
12606         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
12607         `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
12608         (Bug#9364)
12610 2011-10-24  Juri Linkov  <juri@jurta.org>
12612         * info.el (Info-following-node-name-re): Add newline to the list
12613         of allowed characters for leading space.  (Bug#9824)
12615 2011-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12617         * progmodes/octave-inf.el (inferior-octave-mode-map):
12618         Fix C-c C-h binding.
12619         * progmodes/octave-mod.el (octave-help): Remove.
12621 2011-10-23  Michael Albinus  <michael.albinus@gmx.de>
12623         Sync with Tramp 2.2.3.
12625         * net/tramp-cache.el (top): Pacify byte-compiler using
12626         `init-file-user' and `site-run-file'.
12628         * net/trampver.el: Update release number.
12630 2011-10-23  Chong Yidong  <cyd@gnu.org>
12632         * files.el (toggle-read-only): Remove obsolete comment about
12633         version control.
12635         * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
12636         for toggle-read-only.  Note that this hasn't called vc-next-action
12637         since 2008-05-02, though it wasn't documented at the time.
12639         * vc/ediff-init.el (ediff-toggle-read-only-function):
12640         Use toggle-read-only.
12642 2011-10-22  Alan Mackenzie  <bug-cc-mode@gnu.org>
12644         Fix bug #9560, sporadic wrong indentation; improve instrumentation
12645         of c-parse-state.
12647         * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
12648         correct faulty logical expression.
12649         (c-parse-state-state, c-record-parse-state-state):
12650         (c-replay-parse-state-state): New defvar/defuns.
12651         (c-debug-parse-state): Use new functions.
12653 2011-10-22  Martin Rudalics  <rudalics@gmx.at>
12655         * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
12656         last fix.  Use window-in-direction correctly.
12658 2011-10-21  Chong Yidong  <cyd@gnu.org>
12660         * progmodes/idlwave.el (idlwave-mode):
12661         * progmodes/vera-mode.el (vera-mode): No need to set
12662         require-final-newline; that's done in prog-mode.
12663         Suggested by Stefan Monnier.
12665 2011-10-21  Martin Rudalics  <rudalics@gmx.at>
12667         * mouse.el (mouse-drag-window-above)
12668         (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
12669         (mouse-drag-mode-line-1, mouse-drag-header-line)
12670         (mouse-drag-vertical-line-rightward-window): Remove.
12671         (mouse-drag-line): New function.
12672         (mouse-drag-mode-line, mouse-drag-header-line)
12673         (mouse-drag-vertical-line): Call mouse-drag-line.
12674         * window.el (window-at-side-p, windows-at-side): New functions.
12676 2011-10-21  Ulrich Mueller  <ulm@gentoo.org>
12678         * tar-mode.el (tar-grind-file-mode):
12679         Fix handling of setuid/setgid, handle sticky bit.  (Bug#9817)
12681 2011-10-21  Chong Yidong  <cyd@gnu.org>
12683         * progmodes/idlwave.el (idlwave-mode):
12684         * progmodes/vera-mode.el (vera-mode):
12685         Use mode-require-final-newline.
12687 2011-10-20  Glenn Morris  <rgm@gnu.org>
12689         * vc/vc.el (vc-next-action): Handle removed directories.  (Bug#9781)
12691 2011-10-20  Christoph Scholtes  <cschol2112@googlemail.com>
12693         * emulation/cua-base.el (cua-set-mark): Fix case of string.
12695 2011-10-20  Chong Yidong  <cyd@gnu.org>
12697         * emulation/cua-base.el (cua-mode):
12698         * mail/footnote.el (footnote-mode):
12699         * mail/mailabbrev.el (mail-abbrevs-mode):
12700         * net/xesam.el (xesam-minor-mode):
12701         * progmodes/bug-reference.el (bug-reference-mode):
12702         * progmodes/cap-words.el (capitalized-words-mode):
12703         * progmodes/compile.el (compilation-minor-mode)
12704         (compilation-shell-minor-mode):
12705         * progmodes/gud.el (gud-tooltip-mode):
12706         * progmodes/hideif.el (hide-ifdef-mode):
12707         * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
12708         * progmodes/subword.el (subword-mode):
12709         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
12710         * progmodes/which-func.el (which-function-mode):
12711         * term/tvi970.el (tvi970-set-keypad-mode):
12712         * term/vt100.el (vt100-wide-mode):
12713         * textmodes/flyspell.el (flyspell-mode):
12714         * textmodes/ispell.el (ispell-minor-mode):
12715         * textmodes/nroff-mode.el (nroff-electric-mode):
12716         * textmodes/paragraphs.el (use-hard-newlines):
12717         * textmodes/refill.el (refill-mode):
12718         * textmodes/reftex.el (reftex-mode):
12719         * textmodes/rst.el (rst-minor-mode):
12720         * textmodes/sgml-mode.el (html-autoview-mode)
12721         (sgml-electric-tag-pair-mode):
12722         * textmodes/tex-mode.el (latex-electric-env-pair-mode):
12723         * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
12724         * emulation/crisp.el (crisp-mode):
12725         * emacs-lisp/eldoc.el (eldoc-mode):
12726         * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
12727         minor mode behavior.
12729 2011-10-19  Juri Linkov  <juri@jurta.org>
12731         * descr-text.el (describe-char): Add #x2010 and #x2011 to
12732         the list of hard-coded chars with escape-glyph face.
12734 2011-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12736         * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
12738 2011-10-19  Michael Albinus  <michael.albinus@gmx.de>
12740         * net/tramp.el (tramp-connectable-p): Make a stronger check on a
12741         running process.
12743 2011-10-19  Glenn Morris  <rgm@gnu.org>
12745         * vc/vc-bzr.el (vc-bzr-after-dir-status):
12746         Ignore ignored files.  (Bug#9726)
12748 2011-10-19  Chong Yidong  <cyd@gnu.org>
12750         Doc fix for minor modes, stating that an omitted argument enables
12751         the mode unconditionally when called from Lisp.
12753         * abbrev.el (abbrev-mode):
12754         * allout.el (allout-mode):
12755         * autoinsert.el (auto-insert-mode):
12756         * autoarg.el (autoarg-mode, autoarg-kp-mode):
12757         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12758         (global-auto-revert-mode):
12759         * battery.el (display-battery-mode):
12760         * composite.el (global-auto-composition-mode)
12761         (auto-composition-mode):
12762         * delsel.el (delete-selection-mode):
12763         * desktop.el (desktop-save-mode):
12764         * dired-x.el (dired-omit-mode):
12765         * dirtrack.el (dirtrack-mode):
12766         * doc-view.el (doc-view-minor-mode):
12767         * double.el (double-mode):
12768         * electric.el (electric-indent-mode, electric-pair-mode):
12769         * emacs-lock.el (emacs-lock-mode):
12770         * epa-hook.el (auto-encryption-mode):
12771         * follow.el (follow-mode):
12772         * font-core.el (font-lock-mode):
12773         * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
12774         * help.el (temp-buffer-resize-mode):
12775         * hilit-chg.el (highlight-changes-mode)
12776         (highlight-changes-visible-mode):
12777         * hi-lock.el (hi-lock-mode):
12778         * hl-line.el (hl-line-mode, global-hl-line-mode):
12779         * icomplete.el (icomplete-mode):
12780         * ido.el (ido-everywhere):
12781         * image-file.el (auto-image-file-mode):
12782         * image-mode.el (image-minor-mode):
12783         * iswitchb.el (iswitchb-mode):
12784         * jka-cmpr-hook.el (auto-compression-mode):
12785         * linum.el (linum-mode):
12786         * longlines.el (longlines-mode):
12787         * master.el (master-mode):
12788         * mb-depth.el (minibuffer-depth-indicate-mode):
12789         * menu-bar.el (menu-bar-mode):
12790         * minibuf-eldef.el (minibuffer-electric-default-mode):
12791         * mouse-sel.el (mouse-sel-mode):
12792         * msb.el (msb-mode):
12793         * mwheel.el (mouse-wheel-mode):
12794         * outline.el (outline-minor-mode):
12795         * paren.el (show-paren-mode):
12796         * recentf.el (recentf-mode):
12797         * reveal.el (reveal-mode, global-reveal-mode):
12798         * rfn-eshadow.el (file-name-shadow-mode):
12799         * ruler-mode.el (ruler-mode):
12800         * savehist.el (savehist-mode):
12801         * scroll-all.el (scroll-all-mode):
12802         * scroll-bar.el (scroll-bar-mode):
12803         * server.el (server-mode):
12804         * shell.el (shell-dirtrack-mode):
12805         * simple.el (auto-fill-mode, transient-mark-mode)
12806         (visual-line-mode, overwrite-mode, binary-overwrite-mode)
12807         (line-number-mode, column-number-mode, size-indication-mode)
12808         (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
12809         * strokes.el (strokes-mode):
12810         * time.el (display-time-mode):
12811         * t-mouse.el (gpm-mouse-mode):
12812         * tool-bar.el (tool-bar-mode):
12813         * tooltip.el (tooltip-mode):
12814         * type-break.el (type-break-mode-line-message-mode)
12815         (type-break-query-mode):
12816         * view.el (view-mode):
12817         * whitespace.el (whitespace-mode, whitespace-newline-mode)
12818         (global-whitespace-mode, global-whitespace-newline-mode):
12819         * xt-mouse.el (xterm-mouse-mode): Doc fix.
12821         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12822         Fix autogenerated docstring.
12824 2011-10-19  Juri Linkov  <juri@jurta.org>
12826         * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
12827         by checking environment variables "DESKTOP_SESSION" and
12828         "XDG_CURRENT_DESKTOP".  (Bug#9779)
12830 2011-10-19  Juri Linkov  <juri@jurta.org>
12832         * net/browse-url.el (browse-url-browser-function): Add "Chromium".
12833         (browse-url-chromium-program, browse-url-chromium-arguments):
12834         New defcustoms.
12835         (browse-url-default-browser): Check for `browse-url-chromium' and
12836         call `browse-url-chromium-program'.
12837         (browse-url-chromium): New command.  (Bug#9779)
12839 2011-10-18  Juanma Barranquero  <lekktu@gmail.com>
12841         * facemenu.el (list-colors-duplicates): On Windows, detect more
12842         duplicates by assuming that only colors matching "^System" are
12843         special "system colors".  (Bug#9722)
12845 2011-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12847         * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
12848         to distinguish the author from the committer.
12850 2011-10-18  Michael Albinus  <michael.albinus@gmx.de>
12852         * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
12854 2011-10-18  Jirka Kosek  <jirka@kosek.cz>  (tiny change)
12856         * international/mule.el (sgml-html-meta-auto-coding-function):
12857         Add support for detecting encoding in HTML5 specified only as
12858         <meta charset="UTF-8">.  Implementation just makes http-equiv and
12859         content-type parts from HTML4 encoding string optional.  (Bug#9716)
12861 2011-10-18  Glenn Morris  <rgm@gnu.org>
12863         * vc/vc.el (vc-initial-comment): Mark as obsolete.  (Bug#9745)
12865 2011-10-18  Chong Yidong  <cyd@gnu.org>
12867         * faces.el (cursor): Doc fix.
12869 2011-10-17  Chong Yidong  <cyd@gnu.org>
12871         * font-lock.el (font-lock-maximum-size): Mark as obsolete.
12873 2011-10-17  Ryan Barrett  <emacs@ryanb.org>  (tiny change)
12875         * dirtrack.el (dirtrack): Support shell buffers with path
12876         prefixes, e.g. tramp-based remote shells.  (Bug#9647)
12878 2011-10-17  Teodor Zlatanov  <tzz@lifelogs.com>
12880         * json.el: Bump version to 1.3 and note change in History.
12881         (json-alist-p, json-plist-p): Rewrite to avoid recursion.
12883 2011-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
12885         * comint.el (comint-insert-input, comint-send-input)
12886         (comint-get-old-input-default, comint-backward-matching-input)
12887         (comint-next-prompt): Use nil instead of `input' for field property of
12888         past user input (bug#114).
12890         * minibuffer.el (completion--replace): Inherit surrounding properties
12891         (bug#114).
12892         (minibuffer-complete-and-exit): Use it.
12894         * comint.el (comint--table-subvert): Quote the all-completions output
12895         (bug#9160).
12897 2011-10-17  Martin Rudalics  <rudalics@gmx.at>
12899         * ido.el (ido-default-buffer-method): Remove redundant :type entry.
12901         * menu-bar.el (menu-bar-file-menu): Add entry for making new
12902         window on right of selected.  (Bug#9350) Reword other window
12903         entries and separate them from frame entries.
12905 2011-10-15  Glenn Morris  <rgm@gnu.org>
12907         * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
12908         Doc fixes.
12910 2011-10-15  Chong Yidong  <cyd@stupidchicken.com>
12912         * net/network-stream.el (network-stream-open-starttls):
12913         Improve detection of failure due to lack of TLS support.
12915         * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
12916         putting the input text in front and in bold.
12918 2011-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
12920         * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
12922         * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
12923         empty buffer.
12925         * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
12926         unread-command-events rather than pushing yet-another event.
12928 2011-10-14  Eli Zaretskii  <eliz@gnu.org>
12930         * mail/sendmail.el (sendmail-query-once): Improve the wording of
12931         the explanation of the possible choices.  Make the options passed
12932         to completing-read shorter.
12934 2011-10-13  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
12936         * textmodes/flyspell.el (flyspell-large-region): Make sure
12937         extended character mode is used if defined (Bug#1339).
12939 2011-10-13  Eli Zaretskii  <eliz@gnu.org>
12941         * simple.el (what-cursor-position): Fix the display of the
12942         character info for LRE, LRO, RLE, and RLO characters by appending
12943         an invisible PDF.
12945 2011-10-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12947         * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
12948         even in case of error; add debug spec; simplify data flow.
12949         (with-timeout-handler): Remove.
12951 2011-10-12  Michael Albinus  <michael.albinus@gmx.de>
12953         Fix Bug#6019, Bug#9315.
12955         * files.el (set-auto-mode): Call `file-name-sans-versions' for the
12956         complete `buffer-file-name', the local file name part could look
12957         remotely (for example on VMS).
12959         * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
12960         `tramp-run-real-handler'.
12961         (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
12962         already quoted by '"'.
12964         * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
12965         Let `file-name-handler-alist' be nil, the local file name part
12966         could look remotely (for example on VMS).
12968 2011-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12970         * textmodes/flyspell.el (flyspell-word): Move with-local-quit
12971         from here...
12972         (flyspell-post-command-hook): ...to here.
12974 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12976         * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
12977         if not needed.
12978         (sendmail-query-once): Remove OS dependencies.  Make it a 3-way choice
12979         using completion.  Protect against "slow" callers.
12980         Remove the "message hack".
12982 2011-10-11  Juri Linkov  <juri@jurta.org>
12984         * isearch.el (isearch-lazy-highlight-word): New variable.
12985         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
12986         Use it.  (Bug#9727)
12988 2011-10-11  Glenn Morris  <rgm@gnu.org>
12990         * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
12991         like f90-previous-statement does.
12993 2011-10-11  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12995         * eshell/eshell.el (eshell-command): History should be saved
12996         only in interactive use, to avoid error.
12998 2011-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
13000         * minibuffer.el (completion-file-name-table): Fix last change,
13001         i.e. ignore normal errors but not the other ones.
13003 2011-10-10  Martin Rudalics  <rudalics@gmx.at>
13005         * window.el (special-display-buffer-names)
13006         (special-display-regexps): Remove some remnants of earlier
13007         changes from doc-strings.
13008         (quit-windows-on): New function.
13010         * vc/vc.el (vc-revert, vc-rollback):
13011         * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
13012         instead of deleting windows.  (Bug#4557) (Bug#5310) (Bug#5556)
13013         (Bug#6183) (Bug#7074) (Bug#7447)
13015 2011-10-09  Martin Rudalics  <rudalics@gmx.at>
13017         * window.el (frame-auto-hide-function): Add version tag.
13018         (Bug#9699)
13020 2011-10-09  Michael Albinus  <michael.albinus@gmx.de>
13022         * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
13023         condition.
13025 2011-10-09  Leo Liu  <sdl.web@gmail.com>
13027         * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
13028         (Bug#9701)
13030 2011-10-08  Glenn Morris  <rgm@gnu.org>
13032         * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
13033         before the first code statement zero indent.  (Bug#9690)
13035 2011-10-08  Chong Yidong  <cyd@stupidchicken.com>
13037         * simple.el (count-words-region): Always count in the region.
13038         Report the number of lines and characters too.
13039         (count-words): New command, which counts in the buffer if the
13040         region is inactive, as count-words-region used to.
13041         (count-words--message): New function.  Handle plurals.
13042         (count-lines-region): Make it an alias for count-words-region.
13044         * bindings.el (esc-map): Replace count-lines-region with
13045         count-words-region.
13047 2011-10-08  Martin Rudalics  <rudalics@gmx.at>
13049         * window.el (window--delete): Delete dedicated frame
13050         unconditionally when argument KILL is non-nil.  (Bug#9699)
13051         (switch-to-buffer): Fix doc-string typo.
13053 2011-10-08  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13055         * eshell/eshell.el (eshell-command): Avoid using hooks.
13057 2011-10-07  Chong Yidong  <cyd@stupidchicken.com>
13059         * bindings.el ([M-left],[M-right]): Bind to left-word and
13060         right-word respectively.
13062 2011-10-07  Glenn Morris  <rgm@gnu.org>
13064         * cus-start.el (debug-on-quit): Fix custom type.
13066 2011-10-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13068         * subr.el (define-key-after): Clarify that the function is not
13069         useful for non-menu keymaps.
13071         * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
13073 2011-10-06  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
13075         * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
13076         in current minibuffer (Fix bug with recursive minibuffers).
13078 2011-10-06  Chong Yidong  <cyd@stupidchicken.com>
13080         * progmodes/gdb-mi.el (gdb): Doc fix.
13082 2011-10-05  Martin Rudalics  <rudalics@gmx.at>
13084         * window.el (frame-auto-hide-function): New option replacing
13085         frame-auto-delete.  Suggested by Stefan Monnier.
13086         (window--delete): Call frame-auto-hide-function instead of
13087         investigating frame-auto-delete.
13088         (window-point-1, set-window-point-1): New functions.
13089         (window-in-direction, record-window-buffer, window-state-get-1)
13090         (display-buffer-record-window): Use window-point-1 instead of
13091         window-point.
13092         (set-window-buffer-start-and-point): Use set-window-point-1.
13094 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13096         * emacs-lisp/edebug.el: Heed checkdoc recommendations.
13098 2011-10-05  Glenn Morris  <rgm@gnu.org>
13100         * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
13101         (perl-calculate-indent): Suppress scan errors.  (Bug#2205)
13103 2011-10-05  Leo Liu  <sdl.web@gmail.com>
13105         * subr.el (read-char-choice): Fix argument to buffer-live-p which
13106         works with buffer object.
13108 2011-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13110         * mpc.el (mpc-tool-bar-map): Add labels.
13112 2011-10-04  Glenn Morris  <rgm@gnu.org>
13114         * calendar/holidays.el (calendar-check-holidays): Doc fix.
13116 2011-10-04  Martin Rudalics  <rudalics@gmx.at>
13118         * window.el (window--delete): New function.
13119         (frame-auto-delete): Resuscitate option.
13120         (bury-buffer, replace-buffer-in-windows)
13121         (quit-window): Rewrite using window--delete.
13122         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
13123         Pass display-buffer-mark-dedicated to window--display-buffer-2
13124         (Bug#9639).
13126 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13128         * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
13129         returns a list (bug#9554).  Add remote file name completion.
13130         * comint.el (comint--table-subvert): Curry and get quote&unquote
13131         functions as arguments.
13132         (comint--complete-file-name-data): Adjust call accordingly.
13133         * pcomplete.el (pcomplete--table-subvert): Remove.
13134         (pcomplete-completions-at-point): Use comint--table-subvert instead.
13136         * minibuffer.el (completion-table-case-fold): Use currying.
13137         (completion--styles-type, completion--cycling-threshold-type):
13138         New constants.
13139         (completion-styles, completion-category-overrides)
13140         (completion-cycle-threshold): Use them.
13141         * pcomplete.el (pcomplete-completions-at-point): Adjust call to
13142         completion-table-case-fold.
13144 2011-10-03  Stephen Berman  <stephen.berman@gmx.net>
13146         * minibuffer.el (completion-category-overrides): Fix type of styles
13147         and add more user friendly tags (bug#9660).
13149 2011-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13151         * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
13152         (mule-input-method-string): New widget.
13153         (default-input-method, language-info-custom-alist): Use it.
13155 2011-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13157         * pcomplete.el: Require comint.
13158         (pcomplete--common-suffix): Remove.
13159         (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
13160         (pcomplete--table-subvert): Sync with comint--table-subvert.
13161         (pcomplete--entries): Use comint-completion-file-name-table.
13162         * comint.el (comint-unquote-filename): Simplify.
13163         (comint-completion-file-name-table): New function (bug#9616).
13164         (comint--complete-file-name-data): Use it.
13166         * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
13167         (pcmpl-gnu-tar-buffer): Remove.
13168         (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
13169         around.  Make sure pcomplete-suffix-list is only changed temporarily.
13170         Don't look inside the tar's file if it's too large.
13172 2011-10-01  Chong Yidong  <cyd@stupidchicken.com>
13174         * cus-edit.el (custom-mode-map):
13175         * epa.el (epa-key-list-mode-map):
13176         * man.el (Man-mode-map):
13177         * startup.el (splash-screen-keymap):
13178         * simple.el (special-mode-map): Use scroll-up-command and
13179         scroll-down-command.
13181         * progmodes/idlw-help.el (idlwave-help-mode-map):
13182         * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
13183         * net/newst-plainview.el (newsticker-mode-map):
13184         * emulation/ws-mode.el (wordstar-mode-map):
13185         * emulation/vi.el (vi-com-map):
13186         * calc/calc-graph.el (calc-graph-show-dumb):
13187         * term/sun.el (terminal-init-sun):
13188         * term/ns-win.el (global-map):
13189         * progmodes/grep.el (grep-mode-map):
13190         * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
13191         * mail/rmail.el (rmail-mode-map):
13192         * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
13194         * custom.el (custom-safe-themes, load-theme): Treat value of t for
13195         custom-safe-themes as special.
13197 2011-10-01  Julien Danjou  <julien@danjou.info>
13199         * notifications.el (notifications-notify): Fix docstring.
13201 2011-10-01  Per Starbäck  <per@starback.se>
13203         * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call.  (Bug#9643)
13205 2011-09-30  Martin Rudalics  <rudalics@gmx.at>
13207         * startup.el (command-line-1): Fix last fix by inserting
13208         initial-scratch-message into *scratch* before displaying it.
13209         (Bug#9605) and (Bug#9636)
13211 2011-09-29  Eli Zaretskii  <eliz@gnu.org>
13213         * simple.el (line-move): If auto-hscroll-mode is disabled and the
13214         window is hscrolled, move by logical lines.  (Bug#9607)
13215         (line-move-visual): Update the doc string to the above effect.
13217 2011-09-29  Martin Rudalics  <rudalics@gmx.at>
13219         * window.el (display-buffer-record-window): When WINDOW is the
13220         selected window use `point' instead of `window-point'.  (Bug#9626)
13222         * startup.el (command-line-1): Use insert-before-markers when
13223         inserting initial-scratch-message.  (Bug#9605)
13225         * help.el (help-window): Remove variable.
13227 2011-09-29  Glenn Morris  <rgm@gnu.org>
13229         * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
13231 2011-09-29  Juanma Barranquero  <lekktu@gmail.com>
13233         * descr-text.el (describe-char-categories): Accept category
13234         descriptions more than one line long.
13236 2011-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13238         * simple.el (delete-trailing-whitespace): Fix last change.
13240         * progmodes/perl-mode.el (perl-syntax-propertize-function):
13241         Don't confuse "y => 3" as the beginning of a `y' operation.
13243         * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
13244         object has more than 4 slots (bug#9613).
13246 2011-09-28  Juanma Barranquero  <lekktu@gmail.com>
13248         * subr.el (with-output-to-temp-buffer):
13249         * net/quickurl.el (quickurl, quickurl-browse-url):
13250         Fix typos in docstrings.
13252 2011-09-27  Eli Zaretskii  <eliz@gnu.org>
13254         * minibuffer.el (completion-styles)
13255         (completion-category-overrides): Cross reference each other in doc
13256         strings.
13258 2011-09-27  Glenn Morris  <rgm@gnu.org>
13260         * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
13261         to split-string.  (Bug#9606)
13263 2011-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13265         * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
13266         (bug#9615).
13268 2011-09-27  Chong Yidong  <cyd@stupidchicken.com>
13270         * emacs-lisp/package.el (list-packages): Fix echo area message.
13272 2011-09-27  Leo Liu  <sdl.web@gmail.com>
13274         * ido.el (ido-read-internal): Accept cons cell HIST arg.
13276 2011-09-25  Michael Albinus  <michael.albinus@gmx.de>
13278         * net/dbus.el (dbus-unregister-object): Don't release services for
13279         registered signals.  (Bug#9581)
13281 2011-09-25  Teodor Zlatanov  <tzz@lifelogs.com>
13283         * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
13284         function that picks between cfengine 2 and 3 support
13285         automatically.  Update docs accordingly.
13287 2011-09-22  Kenichi Handa  <handa@m17n.org>
13289         * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
13290         ZERO.
13291         (indian-itrans-v5-table-for-tamil): New variable.
13292         (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
13294 2011-09-22  Ken Manheimer  <ken.manheimer@gmail.com>
13296         * allout.el (allout-this-command-hid-stuff): Buffer-local variable
13297         that's true if the current command involved collapsing of text.
13298         It's reset to false at the beginning of the next command.
13299         (allout-post-command-business): Move the cursor to the beginning
13300         of entry if the cursor is hidden and collapsing activity just
13301         happened.
13303 2011-09-24  Chong Yidong  <cyd@stupidchicken.com>
13305         * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
13306         tracking (Bug#9541).
13308 2011-09-24  Ulf Jasper  <ulf.jasper@web.de>
13310         * net/newst-reader.el (newsticker-html-renderer)
13311         (newsticker-show-news): Automatically load html rendering package
13312         if newsticker-html-renderer is set.  Fixes "Warning: defvar ignored
13313         because w3m-fill-column is let-bound" and the error "Symbol's value
13314         as variable is void: w3m-fill-column".
13316 2011-09-24  Michael Albinus  <michael.albinus@gmx.de>
13318         * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
13319         Release services only if they are defined.  (Bug#9581)
13321 2011-09-23  Richard Stallman  <rms@gnu.org>
13323         * textmodes/paragraphs.el (forward-sentence): For backwards case,
13324         distinguish start of paragraph from start of its text.
13326         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
13328         * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
13329         (rmail-generate-viewer-buffer): Put that hook on view buffer.
13330         (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
13332 2011-09-23  Andreas Schwab  <schwab@linux-m68k.org>
13334         * international/mule-diag.el (mule-diag): Insert a newline after
13335         each fontset description.
13337 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13339         * simple.el (delete-trailing-whitespace):
13340         Document last change; simplify.
13342 2011-09-23  Peter J. Weisberg  <pj@irregularexpressions.net>
13344         * simple.el (delete-trailing-whitespace): Also delete
13345         extra newlines at the end of the buffer.
13347         * textmodes/picture.el: Make motion commands obey shift-select-mode.
13348         (picture-newline): Use forward-line so as to ignore fields.
13350 2011-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13352         * subr.el (with-wrapper-hook): Fix edebug spec.
13354 2011-09-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13356         * simple.el (kill-line): Note effect of `show-trailing-whitespace'
13357         (bug#4538).
13359 2011-09-23  Michael Albinus  <michael.albinus@gmx.de>
13361         * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
13362         Fix nasty bug using wrong cached values.
13364 2011-09-23  Alan Mackenzie  <acm@muc.de>
13366         * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
13368 2011-09-23  Chong Yidong  <cyd@stupidchicken.com>
13370         * window.el (pop-to-buffer): Ensure right window is selected if we
13371         chose another frame.
13373 2011-09-22  Eli Zaretskii  <eliz@gnu.org>
13375         * simple.el (what-cursor-position): Use get-char-property-change
13376         and next-single-char-property-change, to be able to show display
13377         properties that come from overlays as well as text properties.
13379 2011-09-22  Chong Yidong  <cyd@stupidchicken.com>
13381         * window.el (pop-to-buffer-same-window): New (reinstated) fun.
13383         * cmuscheme.el (run-scheme, switch-to-scheme):
13384         * cus-edit.el (customize-group, custom-buffer-create)
13385         (customize-browse):
13386         * info.el (info):
13387         * shell.el (shell):
13388         * mail/sendmail.el (mail):
13389         * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
13391 2011-09-22  Richard Stallman  <rms@gnu.org>
13393         * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
13394         move back only to line beg, don't move back over blank lines.
13396 2011-09-22  Michael Albinus  <michael.albinus@gmx.de>
13398         * files.el (copy-directory): Set directory attributes only in case
13399         they could be retrieved from the source directory.  (Bug#9565)
13401 2011-09-22  Dima Kogan  <dkogan@secretsauce.net>  (tiny change)
13403         * progmodes/hideshow.el (hs-looking-at-block-start-p)
13404         (hs-find-block-beginning, hs-hide-level-recursive):
13405         Ignore strings as well as comments.  (Bug#9502)
13407 2011-09-22  Andrew Schein  <andrew@andrewschein.com>  (tiny change)
13409         * progmodes/sql.el (sql-comint-postgres):
13410         Convert port number to a string.  (Bug#9566)
13412 2011-09-22  Martin Rudalics  <rudalics@gmx.at>
13414         * window.el (quit-window): Undedicate window when switching to
13415         previous buffer.  Reported by Thierry Volpiatto
13416         <thierry.volpiatto@gmail.com>.
13417         (special-display-popup-frame): When popping up a new frame reset
13418         its previous buffers to nil.  Simplify code.
13420 2011-09-21  Michael Albinus  <michael.albinus@gmx.de>
13422         * net/tramp.el (tramp-handle-shell-command): Set process sentinel
13423         and process filter, as done also in `shell-command'.
13425 2011-09-21  Martin Rudalics  <rudalics@gmx.at>
13427         * window.el (set-window-buffer-start-and-point):
13428         Call set-window-start with NOFORCE argument t.
13429         Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13430         (quit-window): Reword doc-string.  Handle new format of
13431         quit-restore parameter.  Don't delete window if it has a
13432         previous buffer we can show instead of the present one.
13433         (display-buffer-record-window): Rewrite using a new format for
13434         the quit-restore window parameter
13435         (special-display-popup-frame, display-buffer-same-window)
13436         (display-buffer-reuse-window, display-buffer-pop-up-frame)
13437         (display-buffer-pop-up-window, display-buffer-use-some-window):
13438         Adapt symbol passed to display-buffer-record-window.
13439         * help.el (help-window-setup): Handle new format of quit-restore
13440         parameter.
13442 2011-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13444         * faces.el (face-list): Fix docstring (bug#9564).
13446         * window.el (display-buffer--action-function-custom-type):
13447         Don't include internal functions in the Custom interface.
13449 2011-09-20  Juri Linkov  <juri@jurta.org>
13451         * info.el (Info-history-skip-intermediate-nodes): New defcustom.
13452         (Info-forward-node, Info-backward-node, Info-next-preorder)
13453         (Info-last-preorder): Use it.  (Bug#9528)
13455 2011-09-20  Juri Linkov  <juri@jurta.org>
13457         * info.el (Info-last-preorder): Visit last menu item only when
13458         `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
13460 2011-09-20  Julien Danjou  <julien@danjou.info>
13462         * password-cache.el (password-cache-remove): Remove entries even if the
13463         value is nil, so that password with a nil value (negative caching) is
13464         possible to invalidate.
13466 2011-09-20  Lawrence Mitchell  <wence@gmx.li>
13468         * progmodes/f90.el (f90-break-line): If breaking inside comment delete
13469         all whitespace around breakpoint.  (Bug#9553)
13470         (f90-find-breakpoint): Only break at whitespace inside a comment.
13472 2011-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13474         * minibuffer.el (completion-file-name-table): Keep track of errors.
13475         (completion-table-with-predicate): Handle the case where pred1 is nil.
13476         * pcomplete.el (pcomplete-completions-at-point): Simplify.
13478 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13480         * emacs-lisp/debug.el (debugger-args): Give it a docstring.
13481         (debugger-return-value): Signal an error if the debugging context does
13482         not await any return value.
13484         * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
13485         * image-mode.el (image-toggle-display-text)
13486         (image-toggle-display-image): Stay away from evil `intangible'.
13488 2011-09-19  Leo Liu  <sdl.web@gmail.com>
13490         * replace.el (occur-revert-arguments): Make it permanent-local.
13491         (occur-mode): Don't call font-lock-defontify.
13493 2011-09-19  Chong Yidong  <cyd@stupidchicken.com>
13495         * net/ldap.el (ldap-search-internal): Don't push empty search
13496         result (Bug#9508).
13498 2011-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13500         * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
13502 2011-09-19  Michael Albinus  <michael.albinus@gmx.de>
13504         * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
13505         Suggested by Liam Stitt <stittl@cuug.ab.ca>.
13507 2011-09-18  Juri Linkov  <juri@jurta.org>
13509         * buff-menu.el (Buffer-menu-mode-map):
13510         * dired.el (dired-mode-map):
13511         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
13512         (lisp-interaction-mode-map):
13513         * emacs-lisp/package.el (package-menu-mode-map):
13514         * epa.el (epa-key-list-mode-map):
13515         * menu-bar.el (menu-bar-showhide-tool-bar-menu)
13516         (menu-bar-options-menu):
13517         * outline.el (outline-mode-menu-bar-map):
13518         * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
13519         * vc/vc-dir.el (vc-dir-menu-map):
13520         * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
13521         Capitalize non-function content words in menu item strings.
13523         * dired.el (dired-mode-map): Add menu item for
13524         `image-dired-dired-toggle-marked-thumbs'.
13526 2011-09-18  Juri Linkov  <juri@jurta.org>
13528         * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
13529         to `isearch-case-fold-search' and restore its original value
13530         after the `isearch-mode' call.
13532 2011-09-18  Juri Linkov  <juri@jurta.org>
13534         * progmodes/grep.el (grep-process-setup): Don't check code for 1
13535         because `zgrep' returns 1 for successful matches (bug#9226).
13537 2011-09-18  Juri Linkov  <juri@jurta.org>
13539         * info.el (Info-extract-menu-node-name): Check the second match
13540         for empty string (second test-case of bug#9528).
13541         (Info-last-preorder): Let-bind `Info-history' to nil to not add
13542         intermediate nodes to the history (first test-case of bug#9528).
13544 2011-09-18  Juri Linkov  <juri@jurta.org>
13546         * info.el (Info-mode-syntax-table): New variable.
13547         (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
13549 2011-09-18  Juri Linkov  <juri@jurta.org>
13551         * info.el (Info-file-supports-index-cookies):
13552         Increment line-beginning-position's arg from 3 to 4 because makeinfo
13553         outputs one more line for long file names (bug#4142).
13555 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
13557         * newcomment.el (comment-normalize-vars): If prompting for
13558         comment-start, set comment-start-skip too (Bug#8424).
13560 2011-09-18  Johan BockgÃ¥rd  <bojohan@gnu.org>
13562         * icomplete.el: Fix previous fix of Bug#5849.
13563         (icomplete-mode): Don't set completion-show-inline-help.
13564         (icomplete-minibuffer-setup): Set completion-show-inline-help
13565         locally during icompletion.
13567 2011-09-18  Chong Yidong  <cyd@stupidchicken.com>
13569         * woman.el (woman2-process-escapes): Don't delete unrecognized
13570         escapes (Bug#7843).
13572         * files.el (inhibit-first-line-modes-regexps): Add image files.
13573         (hack-local-variables-prop-line): Return nil for malformed
13574         prop-lines (Bug#9044).
13576 2011-09-18  Michael Albinus  <michael.albinus@gmx.de>
13578         * net/tramp.el (top): Don't require 'shell.
13579         (tramp-methods): Fix docstring.
13580         (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
13581         Return complete remote file name.  Handle "smb" case.
13582         Use `tramp-tmpdir', if defined for the respective method.
13583         (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
13585         * net/tramp-compat.el (top): Require 'shell.
13587         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
13588         (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
13589         `tramp-current-host'.
13590         (tramp-get-remote-tmpdir): Remove.
13592         * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
13593         `tramp-tmpdir' entries.
13594         (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
13595         (tramp-smb-handle-file-attributes): Ignore errors.
13596         (tramp-smb-wait-for-output): Check also for process end.
13598 2011-09-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13600         * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
13601         when sending QUIT (bug#9312).
13603 2011-09-17  Chong Yidong  <cyd@stupidchicken.com>
13605         * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
13606         (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
13607         occur-mode-display-occurrence.
13608         (occur-edit-mode): Add usage message.
13609         (occur-cease-edit): New command.
13610         (occur-after-change-function): Use text properties to find the
13611         position of the prefix text.
13612         (occur-engine): Set stickiness of prefix text properties.
13614 2011-09-17  Glenn Morris  <rgm@gnu.org>
13616         * progmodes/etags.el (complete-tag):
13617         Fix call to completion-in-region.  (Bug#9526)
13619 2011-09-17  Juri Linkov  <juri@jurta.org>
13621         * textmodes/ispell.el (ispell-word): Add to the error message
13622         the word, ispell program name and current dictionary (bug#9121).
13623         (ispell-tex-arg-end): Capitalize "error" in the error message.
13625 2011-09-17  Andreas Schwab  <schwab@linux-m68k.org>
13627         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
13628         check.  (Bug#4251)
13630 2011-09-17  Juri Linkov  <juri@jurta.org>
13632         * window.el (window-safe-min-height, window-safe-min-width):
13633         Fix typos (followup to bug#9522).
13635 2011-09-17  Sven Joachim  <svenjoac@gmx.de>
13637         * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
13639 2011-09-16  Eli Zaretskii  <eliz@gnu.org>
13641         * simple.el (line-move): If goal-column is set, move by logical
13642         lines, not by display lines.  (Bug#971)
13643         (next-line, previous-line, goal-column, line-move-visual): Doc fix
13644         to reflect the above change.
13646 2011-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13648         * image.el (imagemagick-register-types): Use regexp-opt.
13650 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
13652         * window.el (display-buffer-base-action): Rename from
13653         display-buffer-default-action.  Make default value empty.
13654         (display-buffer-overriding-action): Convert to defvar.
13655         (display-buffer-fallback-action): New var.
13657 2011-09-15  Chong Yidong  <cyd@stupidchicken.com>
13659         * emacs-lisp/package.el (package-alist): Fix risky-local-variable
13660         declaration.
13661         (package--add-to-archive-contents): If there is a duplicate entry
13662         with an older version, remove it.
13663         (package-menu-mark-delete, package-menu-mark-install)
13664         (package-menu-mark-unmark): Make unused args optional.
13665         (package-menu-mark-obsolete-for-deletion):
13666         Use package-menu-get-status instead of a regexp search.
13667         (package-menu-get-status): Use tabulated-list-entry.
13668         (package-menu-mark-upgrades): New command.
13669         (package-menu-mode-map): Bind it to U.  Add it to menu bar.
13670         (package-menu-execute): Do installation before deletion.
13671         (package-menu-refresh, package-menu-execute): Use derived-mode-p
13672         instead of checking major-mode.
13673         (package-menu--find-upgrades): New function.
13675 2011-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13677         * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
13678         passwords in the log buffer.
13679         (smtpmail-process-filter): Update the process marker so that the
13680         "broken by peer" status message is inserted in the right place.
13682 2011-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13684         * textmodes/bibtex.el (bibtex-complete-string-cleanup)
13685         (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
13686         bibtex-completion-at-point-function.
13687         (bibtex-completion-at-point-function): Use them.
13689         * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
13691         * mpc.el (mpc-constraints-tag-lookup): New function.
13692         (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
13693         also to browser "album|playlist".
13695 2011-09-14  Juri Linkov  <juri@jurta.org>
13697         * isearch.el (isearch-fail-pos): Add new arg `msg'.  Doc fix.
13698         (isearch-edit-string): Use length of `isearch-string' when
13699         `isearch-fail-pos' returns nil.
13700         (isearch-message): Remove duplicate code and call
13701         `isearch-fail-pos' with arg `t'.
13703 2011-09-14  Chong Yidong  <cyd@stupidchicken.com>
13705         * replace.el (occur-mode-goto-occurrence): Don't force using other
13706         window (Bug#9499).
13708         * dired-aux.el (dired-do-chmod): Don't provide initial input.
13710 2011-09-14  Martin Rudalics  <rudalics@gmx.at>
13712         * window.el (display-buffer-window): Remove.
13713         (display-buffer-record-window): Use help-setup window parameter
13714         instead of variable display-buffer-window.
13715         (display-buffer-function, special-display-buffer-names)
13716         (special-display-function): Mention help-setup parameter instead
13717         of display-buffer-window in doc-string.
13718         * help.el (help-window-setup): New argument help-window.
13719         Use help-window-setup parameter instead of display-buffer-window.
13720         Reword some messages.
13721         (with-help-window): Pass window used for displaying the buffer
13722         to help-window-setup.  Don't set display-buffer-window.
13724 2011-09-13  Glenn Morris  <rgm@gnu.org>
13726         * emacs-lisp/debug.el (debugger-make-xrefs):
13727         Preserve point.  (Bug#9462)
13729 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
13731         * window.el (window-deletable-p): Use next-frame.
13733 2011-09-13  Martin Rudalics  <rudalics@gmx.at>
13735         * window.el (window-auto-delete): Remove.
13736         (window-deletable-p): Remove argument FORCE.  Don't deal with
13737         dedication and previous buffers.
13738         (switch-to-prev-buffer): Don't delete window.
13739         (delete-windows-on): Delete a window's frame if and only if the
13740         window is dedicated.
13741         (replace-buffer-in-windows): Delete buffer's window or frame if
13742         and only if window is dedicated.
13743         (quit-window): Handle quit-restore as before last change.
13744         (bury-buffer): Delete window only if window-deletable-p returns t.
13746 2011-09-13  Chong Yidong  <cyd@stupidchicken.com>
13748         * window.el (window-deletable-p): Never delete the last frame on a
13749         given terminal.
13751 2011-09-13  Glenn Morris  <rgm@gnu.org>
13753         * help.el (describe-key-briefly): Copy previous standard-output change.
13755 2011-09-13  PJ Weisberg  <pj@irregularexpressions.net>
13757         * help.el (where-is): Respect non-standard standard-output.  (Bug#9030)
13759 2011-09-13  Glenn Morris  <rgm@gnu.org>
13761         * emacs-lisp/lisp-mode.el (lisp-indent-function):
13762         * progmodes/scheme.el (scheme-indent-function): Doc fixes.
13764 2011-09-12  Chong Yidong  <cyd@stupidchicken.com>
13766         * dired-aux.el (dired-mark-read-string): Don't return default
13767         value on empty input (Bug#9361).
13768         (dired-do-chxxx): Treat empty input for "touch" as no -t option.
13769         Omit initial minibuffer contents.
13770         (dired-do-chmod): Signal an error on empty input.
13771         (dired-mark-read-string): Don't return default on empty input.
13773         * files.el (file-modes-symbolic-to-number): Doc fix.
13775 2011-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13777         * international/mule-cmds.el (ucs-completions): Remove.
13778         (read-char-by-name): Use complete-with-action instead; add metadata.
13780 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
13782         * window.el (display-buffer--action-function-custom-type)
13783         (display-buffer--action-custom-type): New vars.
13784         (display-buffer-alist, display-buffer-default-action)
13785         (display-buffer-overriding-action): Add defcustom types.
13787         * frame.el (delete-other-frames): Doc fix (Bug#276).
13789 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13791         * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
13793 2011-09-11  Chong Yidong  <cyd@stupidchicken.com>
13795         Change modes that used same-window-* vars to use switch-to-buffer.
13797         * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
13798         Use switch-to-buffer.
13800         * cus-edit.el (customize-group, custom-buffer-create)
13801         (customize-browse, custom-buffer-create-other-window):
13802         Use switch-to-buffer or switch-to-buffer-other-window.
13804         * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
13805         (Info-prev, Info-up, Info-speedbar-goto-node)
13806         (info-display-manual): Use switch-to-buffer.
13807         (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
13809         * mail/sendmail.el (mail): Use switch-to-buffer.
13810         (mail-recover): Use switch-to-buffer-other-window.
13812         * cmuscheme.el (run-scheme, switch-to-scheme):
13813         * ielm.el (ielm):
13814         * shell.el (shell):
13815         * net/rlogin.el (rlogin):
13816         * net/telnet.el (telnet, rsh):
13817         * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
13819 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
13821         * dired.el (dired-sort-toggle-or-edit): Revert last changes.
13823 2011-09-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
13825         * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
13826         so don't mention it (bug#9301).
13827         (dired-sort-toggle-or-edit): Clarify string further.
13829         * faces.el (face-spec-set-match-display): Make `(type graphic)'
13830         match `x', `w32' and `ns', like the manual says (bug#9029).
13832         * subr.el (eval-after-load): Doc string clarification (bug#9125).
13833         (process-kill-buffer-query-function): Mention the buffer name in
13834         the query.
13836         * image-mode.el (image-next-line): The line parameter is mandatory
13837         (bug#9258).
13839         * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
13840         which can be useful (bug#9301).
13842         * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
13844         * subr.el (match-string): Mention that the current buffer should
13845         be the same as the search was done in (bug#9282).
13847         * facemenu.el: Disable the remove-* commands if the mark isn't
13848         active (bug#9162).
13850 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
13852         * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
13853         of display-buffer.
13854         (Buffer-menu-2-window): Use switch-to-buffer-other-window.
13856         * replace.el (occur-mode-goto-occurrence)
13857         (occur-mode-display-occurrence) Use second arg of pop-to-buffer
13858         and display-buffer.
13860         * mail/reporter.el (reporter-submit-bug-report): Use second arg of
13861         display-buffer.
13863         * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
13864         special-display and same-window variables.
13865         (mail-other-window): Use switch-to-buffer-other-window.
13866         (mail-other-frame): USe switch-to-buffer-other-frame.
13868         * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
13869         Use display-buffer-other-frame.
13870         (gdb-display-gdb-buffer): Use pop-to-buffer.
13872         * progmodes/gud.el (gud-goto-info): Use info-other-window.
13874         * progmodes/python.el: Don't set same-window-buffer-names.
13876         * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
13878         * window.el (display-buffer-alist): Add *Python*.
13880 2011-09-10  Chong Yidong  <cyd@stupidchicken.com>
13882         * window.el (display-buffer-alist): Add entry for buffers
13883         previously handled same-window-*.
13884         (display-buffer-alist, display-buffer-default-action)
13885         (display-buffer-overriding-action): Mark as risky.
13886         (display-buffer-alist): Document action function changes.
13887         (display-buffer--same-window-action)
13888         (display-buffer--other-frame-action): New variables.
13889         (switch-to-buffer, display-buffer-other-frame): Use them.
13890         (display-buffer): Rename reuse-frame entry to reusable-frames.
13891         (display-buffer-reuse-selected-window): Function deleted.
13892         (display-buffer-reuse-window): Handle reusable-frames alist entry.
13893         If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
13894         (display-buffer-special): New function.
13895         (display-buffer--maybe-pop-up-frame-or-window): Rename from
13896         display-buffer-reuse-or-pop-window.  Split off special-display
13897         part into display-buffer-special.
13898         (display-buffer-use-some-window): Don't perform any special
13899         pop-up-frames handling.
13900         (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
13901         (display-buffer--maybe-same-window): Rename from
13902         display-buffer-maybe-same-window.
13904         * info.el: Don't set same-window-regexps.
13905         (info-setup): New function.
13906         (info-other-window, info): Call it.
13908         * cus-edit.el: Don't set same-window-regexps.
13909         (customize-group): New argument.
13910         (customize-group-other-window): Use it.
13911         (customize-face, customize-face-other-window): Likewise.
13912         (custom-buffer-create-other-window): Use pop-to-buffer directly.
13914         * net/rlogin.el:
13915         * net/telnet.el:
13916         * progmodes/gud.el: Don't set same-window-regexps.
13918         * cmuscheme.el:
13919         * ielm.el:
13920         * shell.el:
13921         * mail/sendmail.el:
13922         * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
13924 2011-09-10  Juri Linkov  <juri@jurta.org>
13926         * isearch.el (isearch-edit-string): Remove obsolete mention of
13927         `C-w' (`isearch-yank-word-or-char') from docstring.
13928         (isearch-query-replace): Fix typo in docstring (bug#9466).
13930 2011-09-10  Juri Linkov  <juri@jurta.org>
13932         * paren.el (show-paren-function): Don't show escaped parens.
13933         Let-bind `unescaped' to `t' when paren is not escaped.  (Bug#9461)
13935 2011-09-10  Eli Zaretskii  <eliz@gnu.org>
13937         * mail/sendmail.el (mml-to-mime, mml-attach-file)
13938         (mm-default-file-encoding): Remove autoload forms, they are
13939         replaced with autoload cookies in mml.el and mm-encode.el.
13940         (mail-add-attachment): New command.
13941         (mail-mode-map): Add a menu-bar item for mail-add-attachment.
13942         (mail-mode): Mention mail-insert-file and mail-add-attachment in
13943         the doc string.
13944         (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
13946 2011-09-10  Reuben Thomas  <rrt@sc3d.org>
13948         * simple.el (count-words-region): Use buffer if there's no region
13949         (bug#9429).
13951 2011-09-09  Juri Linkov  <juri@jurta.org>
13953         * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
13954         `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
13955         (wdired-isearch-filter-read-only): New function.  (Bug#6362)
13957 2011-09-09  Alan Mackenzie  <acm@muc.de>
13959         * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
13960         spuriously generating `awk-mode-syntax-table'.  (Bug #9448).
13962 2011-09-09  Eli Zaretskii  <eliz@gnu.org>
13964         Fix for Savannah bug#9392.
13965         * simple.el (mail-encode-mml): New defvar.
13967         * mail/rmail.el (mail-encode-mml): Add a defvar.
13968         (rmail-enable-mime-composing): Default to t.
13969         (rmail-forward): Use MIME method of forwarding only if both
13970         rmail-enable-mime-composing and rmail-enable-mime are non-nil.
13971         Set mail-encode-mml non-nil if the MIME method was used.
13973         * mail/sendmail.el (mml-to-mime): Add autoload form.
13974         (mail-encode-mml): Add a defvar.
13975         (mail-mode): Make mail-encode-mml buffer-local and initialize it
13976         to nil.
13977         (mail-send): If mail-encode-mml is non-nil, run the outgoing
13978         message through mml-to-mime, and reset mail-encode-mml to nil.
13980 2011-09-09  Glenn Morris  <rgm@gnu.org>
13982         * woman.el (woman-if-body): When processing an .el block,
13983         do not delete the next .el block as well.  (Bug#9447)
13984         (woman-special-characters): Add oq, cq, and hy characters.
13986 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
13988         * window.el (window-deletable-p): Make sure window is live before
13989         invoking window-prev-buffers.
13991 2011-09-08  Leo Liu  <sdl.web@gmail.com>
13993         * net/rcirc.el (rcirc-cmd-invite): New rcirc command.  (Bug#9453)
13995 2011-09-08  Juri Linkov  <juri@jurta.org>
13997         * progmodes/compile.el (compilation-environment): Make it
13998         a defcustom (bug#8340).
14000 2011-09-08  Martin Rudalics  <rudalics@gmx.at>
14002         * window.el (frame-auto-delete): Rename to window-auto-delete.
14003         Make it control auto-deletion of windows and/or frames.
14004         (window-deletable-p): New argument FORCE.  Rewrite conditions
14005         for deleting window/frame.  (Bug#9419)
14006         (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
14007         Rewrite handling of case when window/frame can be deleted.
14008         (delete-windows-on): Call window-deletable-p with new FORCE
14009         argument t.  (Bug#9456)
14011 2011-09-07  Chong Yidong  <cyd@stupidchicken.com>
14013         * help-mode.el (help-mode): Restore autoload.
14015 2011-09-07  Juri Linkov  <juri@jurta.org>
14017         * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
14018         `compilation-environment'.  Set buffer-local
14019         `compilation-environment' to `thisenv' later after (funcall mode).
14020         (Bug#8340)
14022         * vc/vc-git.el (vc-git-grep): Remove --no-color.  (Bug#9408)
14023         (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
14024         instead of replacing its value.  (Bug#8340)
14026 2011-09-07  Juri Linkov  <juri@jurta.org>
14028         * progmodes/grep.el (grep-regexp-alist): Calculate column positions
14029         based on text properties put by `grep-filter' instead of matching
14030         escape sequences.
14031         (grep-mode): Set buffer-local `compilation-error-screen-columns'
14032         to the value of `grep-error-screen-columns' (bug#9438).
14034 2011-09-07  Juri Linkov  <juri@jurta.org>
14036         * simple.el (next-error-highlight, next-error-highlight-no-select):
14037         Doc fix (bug#9432).
14039 2011-09-07  OKAZAKI Tetsurou  <okazaki.tetsurou@gmail.com>  (tiny change)
14041         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
14042         Check for null c-opt-block-decls-with-vars-key.  (Bug#9443)
14044 2011-09-07  Leo Liu  <sdl.web@gmail.com>
14046         * net/rcirc.el (rcirc-mode): Conditionally initialize
14047         rcirc-input-ring.
14049 2011-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14051         * emacs-lisp/find-func.el (find-function-C-source): Only set
14052         find-function-C-source-directory after checking that we found a source
14053         file there (bug#9440).
14055 2011-09-06  Alan Mackenzie  <acm@muc.de>
14057         * isearch.el (isearch-other-meta-char): Wherever a key list is
14058         unread, "unread" the prefix arg, too.  This fixes bug #8901.
14060 2011-09-05  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
14062         * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
14064 2011-09-05  Juri Linkov  <juri@jurta.org>
14066         * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
14068 2011-09-05  Juri Linkov  <juri@jurta.org>
14070         * progmodes/grep.el (grep-filter): Avoid incomplete processing by
14071         keeping point where processing of grep matches begins, and
14072         continue to delete remaining escape sequences from the same point.
14073         (grep-filter): Make leading zero optional in "0?1;31m" because
14074         git-grep emits "\033[1;31m" escape sequences unlike expected
14075         "\033[01;31m" as GNU Grep does (bug#9408).
14076         (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
14078 2011-09-05  Juri Linkov  <juri@jurta.org>
14080         * subr.el (y-or-n-p): Capitalize "yes".
14082 2011-09-04  Michael Albinus  <michael.albinus@gmx.de>
14084         * net/tramp.el (top): Require 'shell.  Use `tramp-unload-hook' but
14085         `tramp-cache-unload-hook' where appropriate.
14086         (tramp-methods): Rename `tramp-remote-sh' to
14087         `tramp-remote-shell'.  Add `tramp-remote-shell-args'.
14088         (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
14090         * net/tramp-sh.el (top): Don't require 'shell.
14091         (tramp-methods): Add `tramp-remote-shell' and
14092         `tramp-remote-shell-args' entries.
14093         (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
14094         (tramp-sh-handle-shell-command): Remove.
14095         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
14096         Use `tramp-remote-shell'.
14098 2011-09-03  Chong Yidong  <cyd@stupidchicken.com>
14100         * mail/sendmail.el (sendmail-query-once-function): Delete.
14101         (sendmail-query-once): Save directly to send-mail-function.
14102         Update message-send-mail-function too.
14104         * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
14106 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
14108         * progmodes/python.el (python-mode-map): Use correct function to
14109         start python interpreter from menu-bar (as reported by Geert
14110         Kloosterman).
14111         (inferior-python-mode-map): Fix typo.
14112         (python-shell-map): Remove.
14114 2011-09-03  Deniz Dogan  <deniz@dogan.se>
14116         * net/rcirc.el (rcirc-print): Simplify code for
14117         rcirc-scroll-show-maximum-output.  There is no need to walk
14118         through all windows to find the right one.
14120 2011-09-03  Christoph Scholtes  <cschol2112@googlemail.com>
14122         * help.el (help-return-method): Doc fix.
14124 2011-09-03  Martin Rudalics  <rudalics@gmx.at>
14126         * window.el (window-deletable-p): Don't return a non-nil value
14127         when there's a buffer that was shown in the window before.
14128         (Bug#9419)
14129         (display-buffer-pop-up-frame, display-buffer-pop-up-window):
14130         Set window's previous buffers to nil.
14132 2011-09-03  Eli Zaretskii  <eliz@gnu.org>
14134         * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
14135         newline before and after the tag line, so it doesn't interfere
14136         with determining the paragraph direction of bidirectional text.
14138 2011-09-03  Leo Liu  <sdl.web@gmail.com>
14140         * files.el (find-file-not-true-dirname-list): Remove.  (Bug#9422)
14142 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
14144         * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
14145         (pop-to-buffer): Change interactive spec.  Pass second argument
14146         directly to display-buffer.
14147         (display-buffer): Fix interactive spec.  Use functionp to
14148         distinguish between a function and a list of functions.
14150         * abbrev.el (edit-abbrevs):
14151         * arc-mode.el (archive-extract):
14152         * autoinsert.el (auto-insert):
14153         * bookmark.el (bookmark-bmenu-list):
14154         * files.el (find-file):
14155         * view.el (view-buffer):
14156         * progmodes/compile.el (compilation-goto-locus):
14157         * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
14159 2011-09-02  Chong Yidong  <cyd@stupidchicken.com>
14161         * window.el (display-buffer-alist): Doc fix.
14162         (display-buffer): Add docstring.  Don't treat
14163         display-buffer-default specially.
14164         (display-buffer-reuse-selected-window)
14165         (display-buffer-same-window, display-buffer-maybe-same-window)
14166         (display-buffer-reuse-window, display-buffer-pop-up-frame)
14167         (display-buffer-pop-up-window)
14168         (display-buffer-reuse-or-pop-window)
14169         (display-buffer-use-some-window): New functions.
14170         (display-buffer-default-action): Use them.
14171         (display-buffer-default): Delete.
14172         (pop-to-buffer-1): Fix choice of actions.
14174 2011-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14176         * minibuffer.el (completion--insert-strings): Don't get confused by
14177         completion entries that end with an LF char.
14179 2011-09-01  Eli Zaretskii  <eliz@gnu.org>
14181         * window.el (frame-auto-delete, window-deletable-p): Doc fix.
14183 2011-09-01  Chong Yidong  <cyd@stupidchicken.com>
14185         * window.el (display-buffer): Restore interactive spec.
14186         (display-buffer-same-window, display-buffer-other-window):
14187         New functions.
14188         (pop-to-buffer-1): New function.  Use the above.
14189         (pop-to-buffer, pop-to-buffer-same-window): Use it.
14190         (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
14192         * view.el (view-buffer-other-window, view-buffer-other-frame):
14193         Just use pop-to-buffer.
14195 2011-09-01  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14197         * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories.  (Bug#9391)
14199 2011-09-01  Wilfred Hughes  <wilfred@potatolondon.com>  (tiny change)
14201         * vc/vc-git.el (vc-git-grep): Use --no-color.  (Bug#9408)
14203 2011-08-31  Richard Stallman  <rms@gnu.org>
14205         * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
14206         of the separation of rmail-view-buffer from rmail-buffer.
14207         If you say no to "replace original", the decrypt is in the
14208         view buffer.  If you say yes, the decrypt goes into the
14209         rmail buffer also.
14211 2011-08-31  Martin Rudalics  <rudalics@gmx.at>
14213         * window.el (display-buffer-window): Rewrite doc-string.
14214         (display-buffer-record-window): New function.
14215         (display-buffer-macro-specifiers)
14216         (display-buffer-even-window-sizes, display-buffer-set-height)
14217         (display-buffer-set-width, display-buffer-in-window)
14218         (display-buffer-reuse-window, display-buffer-split-specifiers)
14219         (display-buffer-side-specifiers, display-buffer-split-window-1)
14220         (display-buffer-split-window, display-buffer-split-atom-window)
14221         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14222         (display-buffer-pop-up-side-window, display-buffer-in-side-window)
14223         (display-buffer-other-window-means-other-frame)
14224         (display-buffer-normalize-special)
14225         (display-buffer-normalize-default)
14226         (display-buffer-normalize-argument)
14227         (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
14228         (display-buffer-normalize-specifiers, display-buffer-frame)
14229         (display-buffer-same-window, display-buffer-same-frame)
14230         (display-buffer-other-window)
14231         (display-buffer-same-frame-other-window)
14232         (display-buffer-other-frame, pop-to-buffer-same-window)
14233         (pop-to-buffer-same-frame, pop-to-buffer-other-window)
14234         (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
14235         (switch-to-buffer-same-frame)
14236         (switch-to-buffer-other-window-same-frame)
14237         (display-buffer-alist-of-strings-p, display-buffer-alist-add)
14238         (display-buffer-alist-set-1, display-buffer-alist-set-2)
14239         (display-buffer-alist-set): Remove.
14240         (display-buffer-function, special-display-buffer-names)
14241         (special-display-regexps, special-display-function):
14242         In doc-string refer to display-buffer-window and quit-restore
14243         parameter.
14244         (pop-up-frame-alist, pop-up-frame-function, special-display-p)
14245         (special-display-frame-alist, special-display-popup-frame)
14246         (same-window-buffer-names, same-window-regexps, same-window-p)
14247         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
14248         (split-window-preferred-function, split-height-threshold)
14249         (split-width-threshold, window-splittable-p)
14250         (split-window-sensibly, window--try-to-split-window)
14251         (window--frame-usable-p, even-window-heights)
14252         (window--even-window-heights, window--display-buffer-1)
14253         (window--display-buffer-2, display-buffer-other-frame):
14254         Restore old Emacs 23 code, order and doc-strings where applicable.
14255         (display-buffer-default, display-buffer-assq-regexp): New functions.
14256         (display-buffer-alist): Rewrite doc-string.
14257         (display-buffer-default-action)
14258         (display-buffer-overriding-action): New variables.
14259         (display-buffer, switch-to-buffer): Rewrite.
14260         (pop-to-buffer): Restore Emacs 23 behavior but use
14261         window-normalize-buffer-to-display.
14262         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
14263         Restore Emacs 23 behavior but use
14264         window-normalize-buffer-to-switch-to.
14265         (pop-to-buffer-same-window): Rewrite.
14266         (pop-to-buffer-other-window, pop-to-buffer-other-frame):
14267         Rewrite using Emacs 23 options.
14269 2011-08-31  Michael Albinus  <michael.albinus@gmx.de>
14271         * net/tramp.el (tramp-root-regexp): Remove.
14272         (tramp-completion-file-name-regexp-unified)
14273         (tramp-completion-file-name-regexp-separate)
14274         (tramp-completion-file-name-regexp-url): Don't use leading volume
14275         letter on w32 systems.  (Bug#5303, Bug#9311)
14276         (tramp-drop-volume-letter): Simplify definition.
14277         Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
14279 2011-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
14281         * subr.el (event-modifiers): Fix "missing modifier" part of docstring
14282         (bug#9356).
14284 2011-08-30  Reuben Thomas  <rrt@sc3d.org>  (tiny change)
14286         * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
14288 2011-08-29  Juri Linkov  <juri@jurta.org>
14290         * isearch.el (isearch-done): Don't display message "Mark saved"
14291         when arg `edit' is non-nil to prevent its flicker in the echo area.
14293 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
14295         * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
14296         obsolete packages for deletion.
14298 2011-08-28  Christoph Scholtes  <cschol2112@googlemail.com>
14300         * help-mode.el (help-mode-map): Add special-mode-map to parent.
14301         (help-mode): Derive help-mode from special-mode.  Don't invoke
14302         view-mode from help-mode.
14303         (help-xref-override-view-map): Remove.
14304         (help-make-xrefs): Remove minor-mode-overriding-map-alist since
14305         view-mode is not used anymore.
14307 2011-08-28  Chong Yidong  <cyd@stupidchicken.com>
14309         * server.el (server-port): Doc fix.
14311         * cus-theme.el (custom-theme-choose-mode): Inherit from
14312         special-mode (Bug#9124).
14313         (custom-theme-choose-mode-map): Add special-mode to parent.
14315 2011-08-28  Alan Mackenzie  <acm@muc.de>
14317         * progmodes/cc-fonts.el
14318         (c-make-font-lock-BO-decl-search-function): New function.
14319         (c-basic-matchers-after - "Fontify the clauses after various
14320         keywords"): Extract the three keyword lists for the 3 erroneous
14321         constructs from the list of four, and use the new function above
14322         in place of an old one.
14324 2011-08-28  Deniz Dogan  <deniz@dogan.se>
14326         * net/rcirc.el (rcirc-insert-prev-input)
14327         (rcirc-insert-next-input): Remove unused argument.
14329 2011-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
14331         * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
14333 2011-08-27  Alan Mackenzie  <acm@muc.de>
14335         * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
14336         handle function pointer parameters properly.
14338 2011-08-27  Martin Rudalics  <rudalics@gmx.at>
14340         * window.el (display-buffer-reuse-window): Fix case where
14341         selected window was reused with non-nil OTHER-WINDOW argument.
14342         (Bug#9381)
14344 2011-08-27  Deniz Dogan  <deniz@dogan.se>
14346         * net/rcirc.el (rcirc-check-auth-status): Adding support for
14347         oftc's NickServ messages.
14349 2011-08-27  Glenn Morris  <rgm@gnu.org>
14351         * saveplace.el (save-place-limit): Make it finite.  (Bug#9352)
14353 2011-08-26  Chong Yidong  <cyd@stupidchicken.com>
14355         * emacs-lisp/package.el (package-install): Call package-initialize
14356         if called interactively.
14358 2011-08-26  Leo Liu  <sdl.web@gmail.com>
14360         * emacs-lisp/cl-macs.el (defstruct): Fix format.  (Bug#9357)
14362 2011-08-25  Juri Linkov  <juri@jurta.org>
14364         * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
14365         `search-whitespace-regexp' (bug#9364).
14367 2011-08-25  Juri Linkov  <juri@jurta.org>
14369         * isearch.el (isearch-edit-string): Let-bind `search-ring' and
14370         `regexp-search-ring' to their global values to protect from
14371         updating by `read-from-minibuffer' (bug#9185).
14373 2011-08-25  Juri Linkov  <juri@jurta.org>
14375         * textmodes/ispell.el (ispell-command-loop): Add newline
14376         at the end of the "Use option `i'..." line.
14378 2011-08-25  Juri Linkov  <juri@jurta.org>
14380         * battery.el (display-battery-mode): If `battery-status-function'
14381         or `battery-mode-line-format' is nil, display the message and set
14382         `display-battery-mode' to nil (bug#9363).
14384 2011-08-25  Eli Zaretskii  <eliz@gnu.org>
14386         * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
14387         bidi-string-mark-left-to-right; they are unnecessary now.
14389 2011-08-25  Deniz Dogan  <deniz@dogan.se>
14391         * net/quickurl.el: Documentation typo fixes.
14393 2011-08-25  Chong Yidong  <cyd@stupidchicken.com>
14395         * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
14397 2011-08-25  Glenn Morris  <rgm@gnu.org>
14399         * emacs-lisp/derived.el (define-derived-mode): Doc fix.
14401         * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
14402         (smtpmail-via-smtp): Handle nil response from smtp.
14404 2011-08-24  Juri Linkov  <juri@jurta.org>
14406         * proced.el (proced-marked): Inherit from `error' instead of
14407         `font-lock-warning-face'.
14409         * ibuffer.el (ibuffer-marked-face): Change default face from
14410         `font-lock-warning-face' to `warning'.
14411         (ibuffer-deletion-face): Change default face from
14412         `font-lock-type-face' to `error'.
14414         * battery.el (battery-update): Use the face `error' instead of
14415         `font-lock-warning-face' (bug#6117).
14417 2011-08-24  Juri Linkov  <juri@jurta.org>
14419         * faces.el (success): Change face color from "Green3" to
14420         "ForestGreen" on light background (bug#9353).
14422 2011-08-24  Chong Yidong  <cyd@stupidchicken.com>
14424         * window.el (quit-window): Rename from quit-restore-window.
14425         Use same arglist as old quit-window.
14426         (frame-auto-delete): Doc fix.
14428         * view.el (view-mode-exit): Use quit-window.
14430 2011-08-24  Juri Linkov  <juri@jurta.org>
14432         * isearch.el (isearch-ring-adjust1): Start visiting previous
14433         search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
14434         (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
14435         for empty search string (when the last search string is reused
14436         automatically) to adjust the isearch ring to the last element and
14437         prepare the correct index for further M-p commands (bug#9185).
14439 2011-08-24  Kenichi Handa  <handa@m17n.org>
14441         * international/ucs-normalize.el: If decomposition property of
14442         CHAR is the default one (i.e. a list of CHAR itself), treat it as
14443         nil.
14444         (nfd, nfkd): Likewise.
14446 2011-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14448         * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
14449         from process filters aren't reliably transmitted to the surrounding
14450         accept-process-output.
14451         (mpc-proc-check): New function.
14452         (mpc-proc-sync): Use it (bug#8293)
14454 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14456         * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
14457         Add compatibility functions (bug#9313).
14459 2011-08-23  Eli Zaretskii  <eliz@gnu.org>
14461         * cus-start.el (all): Add entry for bidi-paragraph-direction.
14463         * international/uni-bidi.el: Regenerate.
14465 2011-08-23  Kenichi Handa  <handa@m17n.org>
14467         * international/charprop.el:
14468         * international/uni-bidi.el:
14469         * international/uni-category.el:
14470         * international/uni-combining.el:
14471         * international/uni-comment.el:
14472         * international/uni-decimal.el:
14473         * international/uni-decomposition.el:
14474         * international/uni-digit.el:
14475         * international/uni-lowercase.el:
14476         * international/uni-mirrored.el:
14477         * international/uni-name.el:
14478         * international/uni-numeric.el:
14479         * international/uni-old-name.el:
14480         * international/uni-titlecase.el:
14481         * international/uni-uppercase.el: Regenerate.
14483 2011-08-23  Martin Rudalics  <rudalics@gmx.at>
14485         * help.el (help-window-setup): Fix message displayed when other
14486         window is reused.  (Bug#9341)
14488 2011-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14490         * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
14491         * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
14493         * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
14494         Mark obsolete.
14495         * shell.el (shell-parse-pcomplete-arguments): New function.
14496         (shell-completion-vars): Use it instead (bug#9160).
14498 2011-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14500         * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
14501         strings and comments (bug#9333).
14503         * emacs-lisp/debug.el (debug-arglist): New function.
14504         (debug-convert-byte-code): Use it.  Handle lexical byte-codes.
14505         (debug-on-entry-1): Handle interpreted closures (bug#9120).
14507 2011-08-22  Juri Linkov  <juri@jurta.org>
14509         * progmodes/compile.el (compilation-mode-font-lock-keywords):
14510         Revert regexp that highlights output switches to its old
14511         pre-2010-10-28 value and remove one `?' from it (bug#9319).
14513         * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
14514         to check for empty output (bug#9226).
14516 2011-08-22  Chong Yidong  <cyd@stupidchicken.com>
14518         * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
14519         symbol-constituent as the default, as that stops font-lock from
14520         working properly (Bug#8843).
14522 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14524         * mail/smtpmail.el (smtpmail-via-smtp): Only bind
14525         `coding-system-for-*' around the process open call to avoid
14526         auth-source side effects.
14527         (smtpmail-try-auth-methods): Expand the secret password.
14528         (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
14529         probe hangs.
14531 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
14533         * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
14535         * emacs-lisp/find-func.el (find-function-noselect): New arg
14536         lisp-only.
14538         * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
14539         signal an error for built-in functions (Bug#6664).
14541 2011-08-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14543         * mail/smtpmail.el (smtpmail-smtp-user): New variable.
14544         (smtpmail-try-auth-methods): Use it.
14546 2011-08-21  Chong Yidong  <cyd@stupidchicken.com>
14548         * font-lock.el (font-lock-fontify-region)
14549         (font-lock-unfontify-region, font-lock-default-fontify-buffer)
14550         (font-lock-default-unfontify-buffer)
14551         (font-lock-default-fontify-region)
14552         (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
14554         * progmodes/compile.el (compilation-error-properties):
14555         Fix confusion between file struct and message struct (Bug#9319).
14556         (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
14557         `ant' regexp.
14559         * net/browse-url.el (browse-url-firefox): Don't call
14560         browse-url-firefox-sentinel unless using -remote (Bug#9328).
14562 2011-08-20  Glenn Morris  <rgm@gnu.org>
14564         * tutorial.el (help-with-tutorial): Avoid an error on short screens.
14566         * tutorial.el (tutorial--default-keys): Update some default bindings.
14568         * files.el (hack-local-variables): Fully ignore case for "mode:".
14570 2011-08-20  Alan Mackenzie  <acm@muc.de>
14572         Resolve invalid use of a regexp in regexp-opt.
14574         * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
14575         detection for a java annotation.
14577         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
14578         detection for a java annotation.
14580         * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
14581         handling for java.
14582         (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
14584 2011-08-20  Chong Yidong  <cyd@stupidchicken.com>
14586         * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
14587         (Bug#9274).
14589 2011-08-20  Alan Mackenzie  <acm@muc.de>
14591         Fontify CPP expressions correctly when starting in the middle of
14592         such a construct.  Mainly for when jit-lock etc. starts a chunk
14593         here.
14595         * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
14596         variable.
14597         (c-make-font-lock-search-form): New function, extracted from
14598         c-make-font-lock-search-function.
14599         (c-make-font-lock-search-function): Use the above function.
14600         (c-make-font-lock-context-search-function): New function.
14601         (c-cpp-matchers): Enhance the preprocessor expression case with
14602         the above function
14603         (c-font-lock-complex-decl-prepare): Test for being in a CPP form
14604         which takes an expression.
14606         * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
14608 2011-08-20  Martin Rudalics  <rudalics@gmx.at>
14610         * window.el (display-buffer-reuse-window)
14611         (display-buffer-pop-up-window): Don't reuse or split a side
14612         window.
14614 2011-08-19  Glenn Morris  <rgm@gnu.org>
14616         * files.el (hack-local-variables-prop-line, hack-local-variables):
14617         Downcase "Mode:".  (Bug#9331)
14619 2011-08-18  Chong Yidong  <cyd@stupidchicken.com>
14621         * international/characters.el: Add L and R categories.
14623         * subr.el (bidi-string-mark-left-to-right): Rename from
14624         string-mark-left-to-right.  Use category search.
14626         * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
14628 2011-08-18  Juri Linkov  <juri@jurta.org>
14630         * faces.el (error, warning, success): New faces with definitions
14631         copied from old default values of `font-lock-warning-face',
14632         `compilation-warning', `compilation-info' (bug#6117).
14634         * font-lock.el (font-lock-warning-face): Inherit from `error'.
14636         * progmodes/compile.el (compilation-error): Inherit from `error'.
14637         (compilation-warning): Inherit from `warning'.
14638         (compilation-info): Inherit from `success'.
14640         * dired.el (dired-marked): Inherit from `warning'.
14641         (dired-flagged): Inherit from `error'.
14643 2011-08-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14645         * mail/smtpmail.el (auth-source): Require to avoid problems with
14646         binding variables (bug#9298).  Also clean up some unused
14647         autoloads.
14649         * net/network-stream.el (network-stream-open-starttls):
14650         Support using starttls.el without using gnutls-cli.
14652 2011-08-17  Juri Linkov  <juri@jurta.org>
14654         * progmodes/grep.el (rgrep): Handle the case when
14655         `grep-find-command' is a cons cell (bug#9278).
14657 2011-08-17  Martin Rudalics  <rudalics@gmx.at>
14659         * window.el (display-buffer-pop-up-frame): Run frame creation
14660         function with BUFFER current (as special-display-popup-frame
14661         does).  Reported by Drew Adams.
14663 2011-08-17  Daiki Ueno  <ueno@unixuser.org>
14665         * epa-mail.el: Simplify GnuPG group expansion using
14666         epg-expand-group.
14667         (epa-mail-group-alist, epa-mail-group-modtime)
14668         (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
14669         (epa-mail-sync-groups, epa-mail-expand-recipient-1)
14670         (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
14671         Remove.
14673 2011-08-16  Feng Li  <fengli@gmail.com>  (tiny change)
14675         * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
14677 2011-08-16  Alan Mackenzie  <acm@muc.de>
14679         * progmodes/cc-engine.el (c-state-cache-non-literal-place):
14680         Correct, to avoid the inside of macros.
14682 2011-08-16  Richard Stallman  <rms@gnu.org>
14684         * epa-mail.el: Handle GnuPG group definitions.
14685         (epa-mail-group-alist, epa-mail-group-modtime)
14686         (epa-mail-gnupg-conf-file): New variables.
14687         (epa-mail-parse-groups, epa-mail-sync-groups)
14688         (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
14689         (epa-mail-expand-recipients): New functions.
14690         (epa-mail-encrypt): Call epa-mail-expand-recipients.
14692         * mail/rmail.el (rmail-epa-decrypt): New command.
14694         * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
14695         Don't bind buffer-read-only, just inhibit-read-only.
14696         (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
14697         (epa-decrypt-armor-in-region): Make error message clearer.
14699 2011-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14701         * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
14702         and "a2b" to "ab" for `prefix'.
14704 2011-08-14  Chong Yidong  <cyd@stupidchicken.com>
14706         * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
14707         filter groups.
14708         (ibuffer-included-in-filter-p-1): Use it.  Suggested by Rafaël
14709         Fourquet (Bug#8804).
14711 2011-08-12  Juanma Barranquero  <lekktu@gmail.com>
14713         * startup.el (argi): Declare as global variable (bug#9275).
14715 2011-08-12  Chong Yidong  <cyd@stupidchicken.com>
14717         * subr.el (string-mark-left-to-right): Search the entire string
14718         for RTL script, not just the terminating character.  Doc fix.
14720 2011-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14722         * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
14723         New function.
14724         (js--regexp-literal, js-syntax-propertize-function): Remove.
14725         (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
14726         (js-mode-map): Don't rebind electric keys.
14727         (js-insert-and-indent): Remove.
14728         (js-mode): Setup electric-layout and electric-indent instead.
14730         * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
14732 2011-08-12  Daiki Ueno  <ueno@unixuser.org>
14734         * epa.el (epa-progress-callback-function): Fix the logic of
14735         displaying progress.
14736         * epa-file.el (epa-file-insert-file-contents): Make progress
14737         display more user-friendly.
14738         (epa-file-write-region): Ditto.
14740 2011-08-10  Chong Yidong  <cyd@stupidchicken.com>
14742         * subr.el (string-mark-left-to-right): New function.
14744         * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
14745         Use string-mark-left-to-right.
14746         (list-buffers-noselect): Caller changed.
14748         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14749         Use string-mark-left-to-right.
14750         (tabulated-list-print): Recenter after moving point.
14752 2011-08-10  Juri Linkov  <juri@jurta.org>
14754         * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
14755         This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
14756         intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
14758 2011-08-09  Chong Yidong  <cyd@stupidchicken.com>
14760         * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
14761         (Bug#7554).
14763 2011-08-09  Andreas Schwab  <schwab@linux-m68k.org>
14765         * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
14766         character.  (Bug#6594)
14768 2011-08-08  Chong Yidong  <cyd@stupidchicken.com>
14770         * image-dired.el: Don't use find-file for temporary work (Bug#7895).
14771         (image-dired--with-db-file): New macro.
14772         (image-dired-write-tags, image-dired-remove-tag)
14773         (image-dired-create-gallery-lists, image-dired-write-comments)
14774         (image-dired-get-comment, image-dired-mark-tagged-files)
14775         (image-dired-list-tags, image-dired-gallery-generate): Use it.
14776         (image-dired-gallery-generate): Use insert-file-contents.
14778         * time.el (display-time-world-list, display-time-world-display):
14779         * time-stamp.el (time-stamp-string):
14780         * vc/add-log.el (add-change-log-entry): Use setenv instead of
14781         set-time-zone-rule (Bug#7337).
14783 2011-08-08  Daiki Ueno  <ueno@unixuser.org>
14785         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
14786         (epg-error-to-string, epg-errors-to-string): New function.
14787         (epg-wait-for-completion): Reverse errors list.
14788         (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
14789         (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
14790         (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
14791         (epg-sign-keys, epg-generate-key-from-file)
14792         (epg-generate-key-from-string): Format errors by using
14793         epg-errors-to-string (bug#9255).
14794         (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
14796 2011-08-07  Juri Linkov  <juri@jurta.org>
14798         * faces.el (list-faces-display): Remove extra angle bracket
14799         from `help-mode-map'.
14801         * info.el (Info-history-toc-nodes): Doc fix.
14803         * longlines.el (longlines-mode): Doc fix.
14805 2011-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14807         * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
14808         of statements and in a few more cases (bug#9183).
14810         * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
14811         New functions.
14812         (cl-transform-lambda): Use them (bug#9239).
14814 2011-08-05  Martin Rudalics  <rudalics@gmx.at>
14816         * window.el (display-buffer-same-window)
14817         (display-buffer-same-frame, display-buffer-other-window)
14818         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
14819         (pop-to-buffer-other-window)
14820         (pop-to-buffer-same-frame-other-window)
14821         (pop-to-buffer-other-frame): Make them defuns.
14822         (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
14824 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14826         * subr.el (make-composed-keymap): Move from C.  Change calling
14827         convention, and improve docstring to bring attention to a subtle point.
14828         * minibuffer.el (completing-read-default): Adjust accordingly.
14830 2011-08-03  Michael Albinus  <michael.albinus@gmx.de>
14832         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
14833         (tramp-open-shell): Use `tramp-shell-quote-argument'.
14835         * net/trampver.el: Update release number.
14837 2011-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
14839         * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
14840         "in" (bug#9190).
14842 2011-08-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14844         * mail/sendmail.el (sendmail-query-once): Restore the current
14845         buffer after querying (bug#9074).
14847         * dired.el (dired-flagged): Use different faces for marked and
14848         flagged files (bug#6117).
14850         * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
14851         (bug#4433).
14853         * ido.el (ido-mode): Switch off the message if called
14854         non-interactively.
14856         * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
14857         before 587, since it appears that that's more likely to work for
14858         more people.
14860         * cus-edit.el (custom-file): When running under emacs -q, always
14861         refuse to save the customizations, even if the .emacs file doesn't
14862         exist.
14864         * info.el: Remove the `Info-beginning-of-buffer' function
14865         (bug#8325).
14867         * net/network-stream.el (network-stream-open-starttls):
14868         Use `starttls-available-p' to see whether starttls.el can be used.
14870 2011-08-01  Martin Rudalics  <rudalics@gmx.at>
14872         * window.el (display-buffer-in-window): Don't set dedicated status
14873         of window here (Bug#9215).
14874         (display-buffer-pop-up-window, display-buffer-pop-up-frame)
14875         (display-buffer-pop-up-side-window)
14876         (display-buffer-in-side-window): Set dedicated status of window here.
14878 2011-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14880         * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
14881         before binding generated-autoload-file.
14883 2011-08-01  Deniz Dogan  <deniz@dogan.se>
14885         * net/rcirc.el (rcirc-handler-333): Clarify docstring.
14887 2011-07-30  Michael Albinus  <michael.albinus@gmx.de>
14889         Sync with Tramp 2.2.2.
14891         * net/trampver.el: Update release number.
14893 2011-07-30  Juri Linkov  <juri@jurta.org>
14895         * dired-aux.el (dired-touch-initial): Remove function.
14896         (dired-do-chxxx): For op-symbol `touch', set `initial' to the
14897         current time, and `default' to the last modification time of the
14898         current marked file (bug#6887).
14900 2011-07-28  Jose E. Marchesi  <jemarch@gnu.org>
14902         * simple.el (goto-line): Use string-to-number to provide a
14903         numeric argument to read-number (bug#9163).
14905 2011-07-27  Michael Albinus  <michael.albinus@gmx.de>
14907         * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
14908         connection process, it could be nil.
14910 2011-07-27  Leo Liu  <sdl.web@gmail.com>
14912         Simplify url handling in rcirc-mode.
14914         * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
14915         (rcirc-browse-url-at-mouse): Remove.
14916         * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
14918 2011-07-26  Alan Mackenzie  <acm@muc.de>
14920         Fontify bitfield declarations properly.
14922         * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
14923         (c-symbol-chars): Now exported as a lang variable.
14924         (c-not-primitive-type-keywords): New lang variable.
14926         * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
14927         QT keyword "more" to prevent "more slots: ...." being spuriously
14928         parsed as a bitfield declaration.
14930         * progmodes/cc-engine.el (c-beginning-of-statement-1):
14931         Refactor and enhance to handle bitfield declarations.
14932         (c-punctuation-in): New function.
14933         (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
14934         declarations properly.
14936 2011-07-26  Ulf Jasper  <ulf.jasper@web.de>
14938         * calendar/icalendar.el (icalendar--all-events): Take care of
14939         multiple vcalendars in a single file.
14940         (icalendar--convert-float-to-ical): Checkdoc fixes.
14942 2011-07-25  Deniz Dogan  <deniz@dogan.se>
14944         * image.el (insert-image): Clarifying docstring.
14946 2011-07-24  Michael Albinus  <michael.albinus@gmx.de>
14948         * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
14949         `tramp-send-command-and-check' if there is no error.
14950         (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
14952 2011-07-22  Alan Mackenzie  <acm@muc.de>
14954         Prevent cc-langs.elc being loaded at run time.
14956         * progmodes/cc-mode.el: Remove two autoload forms which loaded
14957         cc-langs.
14959         * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
14960         "(require 'cc-langs)".  Quote a form so it will evaluate at
14961         (cc-mode's) compilation time.
14963 2011-07-22  Michael Albinus  <michael.albinus@gmx.de>
14965         * net/tramp.el (tramp-file-name-handler): Avoid recursive
14966         loading.  (Bug#9114)
14968 2011-07-21  Martin Rudalics  <rudalics@gmx.at>
14970         * window.el (display-buffer-pop-up-window)
14971         (display-buffer-pop-up-side-window)
14972         (display-buffer-in-side-window): Call display-buffer-set-height
14973         and display-buffer-set-width after setting the new window's
14974         buffer so `fit-window-to-buffer' and friends work on the right buffer.
14976 2011-07-20  Sam Steingold  <sds@gnu.org>
14978         * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
14979         (etags-tags-included-tables): Call `convert-standard-filename' on
14980         the file names contained in TAGS so that windows Emacs can handle
14981         TAGS files created by cygwin ctags.
14983 2011-07-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
14985         * proced.el (proced-update): Revert yesterday's bug#1779 patch,
14986         which apparently didn't work.
14988 2011-07-19  Roland Winkler  <winkler@gnu.org>
14990         * proced.el (proced-send-signal): For *Marked Processes* buffer
14991         put point at beginning of buffer.
14993 2011-07-19  Stephen Berman  <stephen.berman@gmx.net>
14995         * proced.el (proced-format): Make header lines align with the text
14996         (bug#1779).
14998 2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15000         * view.el (view-buffer): Allow running in `special' modes if we're
15001         visiting a file (bug#8615).
15003 2011-07-19  Martin Rudalics  <rudalics@gmx.at>
15005         * window.el (display-buffer-alist-of-strings-p)
15006         (display-buffer-alist-set-1, display-buffer-alist-set-2):
15007         New functions.
15008         (display-buffer-alist-set): Rewrite to handle Emacs 23 options
15009         more accurately.
15011 2011-07-18  Alan Mackenzie  <acm@muc.de>
15013         Fontify declarators properly when, e.g., a jit-lock chunk begins
15014         inside a declaration.
15016         * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
15018         * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
15019         New function.
15020         (c-complex-decl-matchers): Insert reference to
15021         c-font-lock-enclosing-decls.
15023         * progmodes/cc-engine.el (c-backward-single-comment):
15024         (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
15025         to nil around calls to (forward-comment -1).
15027 2011-07-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15029         * image.el (put-image): Doc typo fix.
15031         * progmodes/etags.el (tags-search): Doc typo fix.
15033         * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
15034         password if we get errors 550 to 554.
15036 2011-07-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15038         * net/gnutls.el (gnutls-log-level): Remove.
15040         * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
15041         indentation character (bug#6380).
15043         * files.el (buffer-offer-save): Made permanently local (bug#6241).
15045         * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
15046         to clarify what the problem is (bug#4291).
15048         * simple.el (current-kill): Clarify what
15049         `interprogram-paste-function' does (bug#7500).
15050         (auto-fill-mode): Document `auto-fill-function' in relation to
15051         `auto-fill-mode' (bug#2470).
15053 2011-07-16  Lawrence Mitchell  <wence@gmx.li>
15055         * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
15056         method if slot is read-only (bug#9035).
15058 2011-07-16  Martin Rudalics  <rudalics@gmx.at>
15060         * frame.el (select-frame-set-input-focus): New argument NORECORD.
15061         * window.el (pop-to-buffer): Select window used even if it was
15062         selected before, see discussion of (Bug#8615), (Bug#6954).
15063         Pass argument NORECORD on to select-frame-set-input-focus.
15065 2011-07-15  Glenn Morris  <rgm@gnu.org>
15067         * subr.el (read-char-choice): Allow quitting.  (Bug#9001)
15068         Respect help-form.
15070 2011-07-09  Lawrence Mitchell  <wence@gmx.li>
15072         * net/gnutls.el (gnutls-min-prime-bits): New variable.
15073         (gnutls-negotiate): Use it.
15075 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15077         * net/gnutls.el (gnutls-negotiate):
15078         Upcase `gnutls-algorithm-priority'.
15080 2011-07-15  Glenn Morris  <rgm@gnu.org>
15082         * jka-compr.el (jka-compr-verbose): Move from here...
15083         * jka-cmpr-hook.el (jka-compr-verbose): ... to here.  (Bug#9090)
15084         Add missing :version tag.
15085         * info.el: No need to require jka-compr when compiling.
15087 2011-07-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15089         * net/gnutls.el (gnutls-algorithm-priority): New variable.
15090         (gnutls-negotiate): Use it.
15092         * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
15094         * info.el (Info-beginning-of-buffer): New command.
15095         (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
15096         announcing `b' as the key (bug#8325).
15097         (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
15099         * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
15101         * international/mule-cmds.el
15102         (describe-specified-language-support): Make the error message
15103         clearer (bug#8905).
15105         * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
15107         * isearch.el (isearch-barrier): Add a doc string, since it's
15108         mentioned in a function doc string (bug#8678).
15110 2011-07-15  Martin Rudalics  <rudalics@gmx.at>
15112         * window.el (switch-to-buffer): Call pop-to-buffer with normalized
15113         buffer argument (Bug#9083) and self-identifying label argument.
15115 2011-07-15  Glenn Morris  <rgm@gnu.org>
15117         * emacs-lisp/debug.el (debug): Doc fix.  (Bug#8273)
15119 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15121         * man.el (Man-fontify-manpage): Fix message when formatting the
15122         man page (bug#7929).
15124 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
15126         * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
15127         argument LRM; if non-nil, append an invisible LRM character to the
15128         buffer name.
15129         (list-buffers-noselect): Call Buffer-menu-buffer+size with the
15130         last argument non-nil, when formatting buffer names.
15131         (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
15132         paragraph direction.
15134 2011-07-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15136         * man.el (Man-bgproc-sentinel): Skip any arguments and only output
15137         the man page name (bug#7929).
15139         * image.el (put-image): Mention the `put-image' overlay property
15140         (bug#7834).
15142         * scroll-bar.el (set-scroll-bar-mode): Mention that
15143         `scroll-bar-mode' lists the values (bug#7772).
15145         * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
15146         command (bug#7729).
15148         * rect.el (apply-on-rectangle): Return the point after the last
15149         operation.
15150         (string-rectangle): Go to the point after the last operation
15151         (bug#7522).
15153         * printing.el (pr-toggle-region): Clarify the documentation
15154         slightly (bug#7493).
15156         * time.el (display-time-update):
15157         Allow `display-time-mail-function' to return nil (bug#7158).
15158         Fix suggested by Detlev Zundel.
15160         * vc/diff.el (diff): Clarify the order the file names are read
15161         (bug#7111).
15163         * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
15164         the doc string (bug#7015).
15166         * font-lock.el (font-lock-maximum-decoration): Mention what
15167         numeric levels mean (bug#6935).
15169         * startup.el (initial-buffer-choice): Don't mention the `none'
15170         selection, which is against policy.
15172 2011-07-14  Martin Rudalics  <rudalics@gmx.at>
15174         * window.el (display-buffer-normalize-special):
15175         Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
15177 2011-07-14  Eli Zaretskii  <eliz@gnu.org>
15179         * subr.el (version<, version<=, version=): Mention "-CVS" and
15180         "-12345" alpha version numbers.
15182 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
15184         * bindings.el: Add advertised binding for set-mark-command
15185         (Bug#5772).
15187 2011-07-14  Chong Yidong  <cyd@stupidchicken.com>
15189         * bindings.el (mode-line-other-buffer):
15190         * bookmark.el (bookmark-bmenu-2-window):
15191         * bs.el (bs-cycle-next, bs-cycle-previous):
15192         * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
15193         switch-to-buffer.
15195         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15196         Delete.
15198 2011-07-14  Juanma Barranquero  <lekktu@gmail.com>
15200         * follow.el (follow-debug-message, follow-redisplay):
15201         * jka-cmpr-hook.el (with-auto-compression-mode):
15202         Fix typos in docstrings.
15204 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15206         * subr.el (with-silent-modifications): Clarify somewhat what the
15207         macro inhibits (bug#6525).
15209         * simple.el (eval-expression): Note what it does if called
15210         interactively (bug#6495).
15212 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
15214         * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
15215         Use pop-to-buffer buffer-or-name if it is nil.
15217         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15218         Remove switch-to-buffer.
15220 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15222         * files.el (make-directory): Clarify that an error will be raised
15223         if there's an error (bug#6397).
15225         * startup.el (initial-buffer-choice): Add `none' as a choice
15226         (bug#6234).
15228         * subr.el (add-hook): Clarify section about buffer-local hooks
15229         (bug#6218).
15231         * dired.el (dired-flagged): Clarify doc string (bug#6117).
15233 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
15235         * tabify.el (untabify): Preserve the current column so that point
15236         doesn't move (bug#6032).
15238 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15240         * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
15241         Rewrite to avoid awkward possessive "s" (bug#5986).
15243 2011-07-13  Glenn Morris  <rgm@gnu.org>
15245         * dired.el (dired-use-ls-dired): Doc fix.  (Bug#9039).
15246         (dired-insert-directory): Give a message the first time
15247         if ls is found not to support --dired.
15249 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15251         * simple.el (toggle-truncate-lines): Clarify what is toggled
15252         (bug#5580).  Text by Drew Adams.
15254 2011-07-13  Chong Yidong  <cyd@stupidchicken.com>
15256         * simple.el (blink-matching-open): Make the error message from the
15257         last change less verbose.
15259 2011-07-13  Dan Nicolaescu  <dann@ics.uci.edu>
15261         * font-lock.el (font-lock-comment-face): Use the high contrast
15262         "yellow" color for font-lock-comment-face on low color terminals
15263         using a dark background color (bug#4221).
15265 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15267         * dired.el (dired-insert-set-properties): Make the doc string
15268         reflect what it does now (bug#5325).
15270         * simple.el (blink-matching-open): Say that we were unable to find
15271         the match within the limit, if we're limited (bug#5122).
15273         * international/mule-cmds.el (prefer-coding-system): Add an
15274         example (bug#4869).
15276         * progmodes/etags.el (tags-search): Document `file-list-form'
15277         (bug#4731).
15279 2011-07-13  Lawrence Mitchell  <wence@gmx.li>
15281         * net/browse-url.el (browse-url-default-browser)
15282         (browse-url-browser-function): Make the default browser choice a
15283         bit more logical (bug#4300).  Also clean up the doc string.
15285 2011-07-13  Juanma Barranquero  <lekktu@gmail.com>
15287         * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
15288         binary endings (bug#4440).
15290 2011-07-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15292         * info.el (info-insert-file-contents): Inhibit jka-compr messages,
15293         which can be pretty annoying (bug#8971).
15295         * jka-compr.el (jka-compr-verbose): New variable, and use
15296         throughout (bug#8971).
15298         * info.el (Info-find-file): Fall back on the installation
15299         directory if we can't find the info node anywhere else.
15301 2011-07-13  Sergei Organov  <osv@javad.com>  (tiny change)
15303         * vc/vc.el (vc-revert-file):
15304         Don't set file time-stamp in the past.  (Bug#5181)
15306 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15308         * files.el (after-find-file): Give a better error message when
15309         trying to find a symlink that points to a file that doesn't exist
15310         (bug#4398).
15312         * progmodes/cc-vars.el: Remove (probably) misleading comment
15313         (bug#4396).
15315 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
15317         * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
15319 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
15321         * mouse-sel.el: Hack restoring functionality, while keeping
15322         compatibility with 2010-07-03 changes to mouse selection.
15323         (mouse-sel-primary-overlay): New var.
15324         (mouse-sel-selection-alist): Use it.
15325         (mouse-sel-mode): Doc fix; remove points that are default features
15326         of mouse.el.
15328 2011-07-12  Johan BockgÃ¥rd  <bojohan@gnu.org>
15330         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15331         Fix previous fix (bug#2490).
15333 2011-07-12  Roland Winkler  <winkler@gnu.org>
15335         * textmodes/bibtex.el (bibtex-initialize):
15336         Use pop-to-buffer-same-window.
15337         (bibtex-search-entries): Fix interactive call.
15339 2011-07-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15341         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15342         Fontise bytecomp Error lines more correctly (bug#2490).
15343         Fix suggested by Johan BockgÃ¥rd.
15345         * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
15347         * dired-x.el (dired-guess-default): Use `delete-dups'.
15349 2011-07-12  Chong Yidong  <cyd@stupidchicken.com>
15351         * dired.el (dired-mark-prompt):
15352         * dired-aux.el (dired-read-shell-command): Doc fix.
15354 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15356         * mail/sendmail.el (sendmail-query-once):
15357         Use `customize-save-variable' unconditionally, now that it works under
15358         emacs -Q.
15360         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15362         * cus-edit.el (custom-file): Take an optional no-error variable.
15363         (customize-save-variable): Set the variable, and give a warning if
15364         running under "emacs -q".
15366 2011-07-11  Juanma Barranquero  <lekktu@gmail.com>
15368         * loadhist.el (unload-feature-special-hooks):
15369         Add `auto-coding-functions', `fill-nobreak-predicate' and
15370         `find-directory-functions' (bug#5327).
15372 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15374         * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
15376         * cus-edit.el (custom-guess-name-alist): -alist variables should
15377         use the `alist' type (bug#3120).  Suggested by Drew Adams.
15379         * printing.el: Add documentation to all the `pr-toggle-' commands.
15381 2011-07-11  Leo Liu  <sdl.web@gmail.com>
15383         * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
15384         backends where it makes sense (bug#2623).
15386 2011-07-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15388         * dired-x.el (dired-guess-default): Remove duplicate shell command
15389         entries (bug#2028).
15390         (dired-guess-default): Fix grammar in doc string (bug#2028).
15391         (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
15393         * subr.el (remove-duplicates): New conveniency function.
15395 2011-07-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15397         * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
15398         (bug#1526).
15400 2011-07-10  Martin Rudalics  <rudalics@gmx.at>
15402         * window.el (display-buffer-normalize-default): Don't invert
15403         meaning of even-window-heights.  Reported by Eli Zaretskii
15404         <eliz@gnu.org>.
15406 2011-07-10  Bob Rogers  <rogers@rgrjr.dyndns.org>
15408         * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
15410 2011-07-10  Chong Yidong  <cyd@stupidchicken.com>
15412         * window.el (display-buffer): Fix arguments to
15413         display-buffer-reuse-window in last change.
15415         * faces.el (link): Use a less saturated blue on light backgrounds.
15417         * startup.el (fancy-startup-text, fancy-about-text)
15418         (fancy-startup-tail): Use font-lock faces, for background safety.
15420 2011-07-09  Bob Nnamtrop  <bobnnamtrop@gmail.com>  (tiny change)
15422         * emulation/viper-cmd.el (viper-change-state-to-vi):
15423         Limit triggering of abbrev expansion (Bug#9038).
15425 2011-07-09  Martin Rudalics  <rudalics@gmx.at>
15427         * window.el (display-buffer-default-specifiers): Remove.
15428         (display-buffer-macro-specifiers): Remove default specifiers.
15429         (display-buffer-alist): Default to nil.
15430         (display-buffer-reuse-window): New optional argument other-window.
15431         (display-buffer-pop-up-window): Allow splitting internal
15432         windows.  Check whether a live window was created.
15433         (display-buffer-other-window-means-other-frame)
15434         (display-buffer-normalize-arguments): Rename to
15435         display-buffer-normalize-argument and rewrite.  Set the
15436         other-window specifier.
15437         (display-buffer-normalize-special): New function.
15438         (display-buffer-normalize-options): Rename to
15439         display-buffer-normalize-default and rewrite.
15440         (display-buffer-normalize-options-inhibit): Remove.
15441         (display-buffer-normalize-specifiers): Rewrite.
15442         (display-buffer): Process other-window specifier and call
15443         display-buffer-reuse-window with it.  Emulate Emacs 23 behavior
15444         more faithfully.
15445         (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
15446         (display-buffer-alist-set): Don't handle 'unset default values.
15447         (display-buffer-in-window, display-buffer-alist-set):
15448         Replace symbol "dedicated" by "dedicate".  Reported by Tassilo Horn
15449         <tassilo@member.fsf.org>.
15451 2011-07-09  Leo Liu  <sdl.web@gmail.com>
15453         * register.el (insert-register): Restore accidental change on
15454         2011-06-26.  (Bug#9028)
15456 2011-07-09  Glenn Morris  <rgm@gnu.org>
15458         * subr.el (remq): Handle the empty list.  (Bug#9024)
15460 2011-07-08  Andreas Schwab  <schwab@linux-m68k.org>
15462         * mail/sendmail.el (send-mail-function): No longer delay custom
15463         initialization.
15464         * custom.el (custom-initialize-delay): Doc fix.
15466 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15468         * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
15470 2011-07-08  Michael Albinus  <michael.albinus@gmx.de>
15472         * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
15473         human-friendly prompt.
15475 2011-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15477         * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
15478         provided by a particular plugin.
15480 2011-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15482         * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
15483         save customizations (with "emacs -Q"), just set the variable
15484         instead of erroring out.
15486         * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
15488 2011-07-08  Juri Linkov  <juri@jurta.org>
15490         * arc-mode.el (archive-zip-expunge, archive-zip-update)
15491         (archive-zip-update-case): Use 7z if found by `executable-find'.
15492         The order of searching the available programs is the same as in
15493         `archive-zip-extract' (bug#8968).
15495 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
15497         * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
15498         (menu-bar-options-menu): Tweak descriptions.
15500 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15502         * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
15503         menu items into verb phrases (bug#1421).  Also refill to fit under
15504         80 columns.
15506 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
15508         * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
15509         (Info-read-node-name): Doc fix (Bug#1084).
15511         * thingatpt.el (forward-thing, bounds-of-thing-at-point)
15512         (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
15513         (end-of-sexp, beginning-of-sexp)
15514         (thing-at-point-bounds-of-list-at-point, forward-whitespace)
15515         (forward-symbol, forward-same-syntax, word-at-point)
15516         (sentence-at-point): Doc fix (Bug#1144).
15518 2011-07-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15520         * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
15521         should cover it (bug#1281).
15523         * cus-edit.el (custom-show): Mark as obsolete.
15525         * net/network-stream.el (network-stream-open-starttls): If GnuTLS
15526         negotiation fails, then possibly try again with a non-encrypted
15527         connection (bug#9017).
15529         * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
15530         be used.
15532 2011-07-07  Richard Stallman  <rms@gnu.org>
15534         * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
15535         property, and handle its changed format.
15536         Look for the correct line number.
15537         Use file's line contents (but not past first =) to find
15538         correct line in message.
15540 2011-07-07  Kenichi Handa  <handa@m17n.org>
15542         * international/characters.el (build-unicode-category-table):
15543         Delete it.
15544         (unicode-category-table): Set it by unicode-property-table-internal.
15546         * international/mule-cmds.el (char-code-property-alist): Move to
15547         to src/chartab.c.
15548         (get-char-code-property): Call unicode-property-table-internal to
15549         load a file.  Call get-unicode-property-internal where necessary.
15550         (put-char-code-property): Call unicode-property-table-internal to
15551         load a file.  Call put-unicode-property-internal where necessary.
15552         put-unicode-property-internal where necessary.
15553         (char-code-property-description):
15554         Call unicode-property-table-internal to load a file.
15556         * international/charprop.el:
15557         * international/uni-bidi.el:
15558         * international/uni-category.el:
15559         * international/uni-combining.el:
15560         * international/uni-comment.el:
15561         * international/uni-decimal.el:
15562         * international/uni-decomposition.el:
15563         * international/uni-digit.el:
15564         * international/uni-lowercase.el:
15565         * international/uni-mirrored.el:
15566         * international/uni-name.el:
15567         * international/uni-numeric.el:
15568         * international/uni-old-name.el:
15569         * international/uni-titlecase.el:
15570         * international/uni-uppercase.el: Regenerate.
15572         * loadup.el: Load international/charprop.el before
15573         international/characters.
15575 2011-07-07  Chong Yidong  <cyd@stupidchicken.com>
15577         * window.el (next-buffer, previous-buffer): Signal an error if
15578         called from a minibuffer window.
15580         * bindings.el: Revert 2011-07-04 change.
15582 2011-07-06  Richard Stallman  <rms@gnu.org>
15584         * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
15585         (rmail-mime-insert-bulk, rmail-mime-insert-text):
15586         Treat markers like ints.
15587         (rmail-mime-entity): Doc fix.
15589 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15591         * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
15592         defcustom again for backwards compatibility.
15594         * simple.el (shell-command-on-region): Fill.
15596         * dired-aux.el (dired-kill-line): Add a doc string.
15598         * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
15599         to "\\sw\\|\\s_" (bug#358).
15601         * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
15602         (dired-unmark-backward): Ditto.
15603         (dired-flag-backup-files): Ditto.
15605         * dired-x.el (dired-mark-sexp): Ditto.
15607 2011-07-06  Richard Stallman  <rms@gnu.org>
15609         * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
15610         (rmail-mime-entity): New arg TRUNCATED.
15611         (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
15612         New functions.
15613         (rmail-mime-save): Warn if entity is truncated.
15614         (rmail-mime-toggle-hidden): Likewise, for showing.
15615         (rmail-mime-process-multipart): Record when an entity is truncated.
15617         * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
15618         if ENTITY is a string.
15620 2011-07-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15622         * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
15623         of faces when `M-C-x'-ing their definitions (bug#8378).
15624         Also clean up the code slightly.
15626         * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
15627         because that makes the colors go away.
15629         * mail/sendmail.el (send-mail-function): Change the default to
15630         `sendmail-query-once'.
15631         (sendmail-query-once): Add an autoload cookie.
15633         * net/network-stream.el (network-stream-open-starttls): Try using
15634         a plain connection even if the server offered STARTTLS, and we
15635         kinda wanted to use it, if Emacs doesn't have any STARTTLS
15636         capability.  This should make smtpmail.el work in slightly more
15637         configurations.
15639 2011-07-06  Michael Albinus  <michael.albinus@gmx.de>
15641         * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
15642         New defun.
15643         * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
15645 2011-07-06  Michael R. Mauger  <mmaug@yahoo.com>
15647         * progmodes/sql.el: Version 3.0
15648         (sql-product-alist): Add product :completion-object,
15649         :completion-column, and :statement attributes.
15650         (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
15651         (sql-mode-syntax-table): Mark all punctuation.
15652         (sql-font-lock-keywords-builder): Temporarily remove fallback on
15653         ansi keywords.
15654         (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
15655         (sql-mode-oracle-font-lock-keywords): Improve.
15656         (sql-oracle-show-reserved-words): New function for development.
15657         (sql-product-font-lock): Simplify for source code buffers.
15658         (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
15659         New functions.
15660         (sql-highlight-product): Set product specific syntax table.
15661         (sql-mode-map): Add statement movement functions.
15662         (sql-ansi-statement-starters, sql-oracle-statement-starters):
15663         New variable.
15664         (sql-statement-regexp, sql-beginning-of-statement)
15665         (sql-end-of-statement, sql-signum): New functions.
15666         (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
15667         (sql-show-sqli-buffer): Bug fix.
15668         (sql-interactive-mode): Store connection data as buffer local.
15669         (sql-connect): Add NEW-NAME parameter.  Redesign interaction
15670         with sql-interactive-mode.
15671         (sql-save-connection): Save buffer local settings.
15672         (sql-connection-menu-filter): Change menu entry name.
15673         (sql-product-interactive): Bug fix.
15674         (sql-preoutput-hold): New variable.
15675         (sql-interactive-remove-continuation-prompt): Bug fixes.
15676         (sql-debug-redirect): New variable.
15677         (sql-str-literal): New function.
15678         (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
15679         Redesign.
15680         (sql-oracle-save-settings, sql-oracle-restore-settings)
15681         (sql-oracle-list-all, sql-oracle-list-table): New functions.
15682         (sql-completion-object, sql-completion-column)
15683         (sql-completion-sqlbuf): New variables.
15684         (sql-build-completions-1, sql-build-completions)
15685         (sql-try-completion): New functions.
15686         (sql-read-table-name): Use them.
15687         (sql-contains-names): New buffer local variable.
15688         (sql-list-all, sql-list-table): Use it.
15689         (sql-oracle-completion-types): New variable.
15690         (sql-oracle-completion-object, sql-sqlite-completion-object)
15691         (sql-postgres-completion-object): New functions.
15693 2011-07-06  Glenn Morris  <rgm@gnu.org>
15695         * window.el (pop-to-buffer): Doc fix.
15697 2011-07-06  Markus Heiser  <markus.heiser@darmarit.de>  (tiny change)
15699         * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
15701 2011-07-06  Chong Yidong  <cyd@stupidchicken.com>
15703         * window.el (special-display-popup-frame): Doc fix (Bug#8853).
15705         * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
15707 2011-07-05  Chong Yidong  <cyd@stupidchicken.com>
15709         * button.el (button): Inherit from link face.  Suggested by Dan
15710         Nicolaescu.
15712 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15714         * progmodes/gdb-mi.el: Fit in 80 columns.
15715         (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
15716         switch-to-buffer.
15718         * progmodes/which-func.el (which-func-ff-hook): Don't output a message
15719         if imenu is simply not configured (bug#8941).
15721 2011-07-05  Ken Manheimer  <ken.manheimer@gmail.com>
15723         * allout.el (allout-post-undo-hook): New allout outline-change
15724         event hook to signal undo activity.
15725         (allout-post-command-business): Run allout-post-undo-hook if an
15726         undo just occurred.
15727         (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
15728         * allout-widgets.el (allout-widgets-after-undo-function):
15729         Ensure the integrity of the current item's decoration after it has been
15730         in the vicinity of an undo.
15731         (allout-widgets-mode): Include allout-widgets-after-undo-function
15732         on the new allout-post-undo-hook.
15734 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15736         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
15737         Let define-derived-mode define it.
15738         * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
15739         cycles of abbrev-table inheritance (bug#8998).
15741 2011-07-05  Roland Winkler  <winkler@gnu.org>
15743         * textmodes/bibtex.el: Add support for biblatex.
15744         (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
15745         (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
15746         (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
15747         (bibtex-entry-alist, bibtex-field-alist): New variables.
15748         (bibtex-entry-field-alist): Obsolete alias for
15749         bibtex-BibTeX-entry-alist.
15750         (bibtex-entry-alist, bibtex-field-alist): New widgets.
15751         (bibtex-set-dialect): New command.
15752         (bibtex-entry-type, bibtex-entry-head)
15753         (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
15754         Bind via bibtex-set-dialect.
15755         (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
15756         (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
15757         (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
15758         (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
15759         Define via bibtex-set-dialect.
15760         (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
15761         Obey bibtex-no-opt-remove-re.
15762         (bibtex-vec-push, bibtex-vec-incr): New functions.
15763         (bibtex-format-entry, bibtex-field-list)
15764         (bibtex-print-help-message, bibtex-validate)
15765         (bibtex-search-entries): Use new format of bibtex-entry-alist.
15767 2011-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15769         * progmodes/compile.el (compilation-goto-locus):
15770         * net/tramp-cmds.el (tramp-append-tramp-buffers):
15771         * bs.el (bs-cycle-next, bs-cycle-previous):
15772         * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
15773         * bindings.el (mode-line-other-buffer):
15774         * autoinsert.el (auto-insert):
15775         * arc-mode.el (archive-extract):
15776         * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
15778 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
15780         * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
15781         Fix check of `emacs-lock-unlockable-modes'.
15782         Coerce true values of `emacs-lock--try-unlocking' to t.
15784 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
15786         * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
15787         * emacs-lock.el: New file.
15789 2011-07-05  Julien Danjou  <julien@danjou.info>
15791         * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
15792         than `boundp' to check if face is set.
15794 2011-07-05  Juanma Barranquero  <lekktu@gmail.com>
15796         * register.el (registerv-make):
15797         * window.el (window-min-height): Fix typos in docstrings.
15799 2011-07-05  Jan Djärv  <jan.h.d@swipnet.se>
15801         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
15802         Update doc string.
15804 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
15806         * server.el (server-execute): Catch quit and call
15807         `server-return-error' to pass the error back to emacsclient and
15808         close the connection (bug#8942).
15810 2011-07-04  Ken Manheimer  <ken.manheimer@gmail.com>
15812         * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
15813         insecure exception for current topic.  Also note that auto-saves
15814         are handled differently.
15816         (allout-auto-save-temporarily-disabled, allout-just-did-undo):
15817         State variables for tracking auto-save inhibition situation.
15819         (allout-write-contents-hook-handler): Rename from
15820         'allout-write-file-hook-handler', and describe how it depends on
15821         write-contents-functions sensitivity to non-nil value to prevent
15822         file write.
15824         (allout-auto-save-hook-handler): Remove.  auto-save does not check
15825         this in individual buffers, only in the starting buffer, so this
15826         is not the right way for us to inhibit auto-save in a buffer
15827         according to its condition.
15829         (allout-mode): Use new allout-write-contents-hook-handler, and
15830         only with write-contents-functions.  Remove auto-save provisions -
15831         they're implemented elsewhere.
15833         (allout-before-change-handler): If undo is in progress, note that
15834         for attention of allout-post-command-business.
15836         (allout-post-command-business): If the command we're following was
15837         an undo, check for change in the status of encrypted items and
15838         adjust auto-save inhibitions accordingly.
15840         (allout-toggle-subtree-encryption): Adjust auto-save inhibition
15841         according to whether there are or aren't any plain-text topics
15842         pending encryption.
15844         (allout-inhibit-auto-save-info-for-decryption):
15845         Adjust buffer-saved-size and some allout state to inhibit auto-saves
15846         if there are plain-text topics pending encryption.
15848         (allout-maybe-resume-auto-save-info-after-encryption): Adjust
15849         buffer-saved-size and some allout state to not inhibit auto-saves
15850         if there are no longer any plain-text topics pending encryption.
15852         (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
15853         No longer provide for exemption of the current topic.
15855 2011-07-04  Juri Linkov  <juri@jurta.org>
15857         Add 7z operations to delete and save changed members (bug#8968).
15858         * arc-mode.el (archive-7z-expunge, archive-7z-update):
15859         New defcustoms.
15860         (archive-7z-write-file-member): New function.
15861         (archive-7z-summarize): Fix the number of dashes in the
15862         listing output.
15864 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15866         * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
15867         (bug#8958).
15869 2011-07-04  Chong Yidong  <cyd@stupidchicken.com>
15871         * bindings.el: Ignore next-buffer and previous-buffer in
15872         minibuffer-local-map.
15874         * font-lock.el (font-lock-builtin-face): Change light background
15875         color to dark slate blue (Bug#6693).
15877 2011-07-04  Wang Diancheng  <dcwang@kingbase.com.cn>  (tiny change)
15879         * progmodes/gdb-mi.el (gdb): Use completion-at-point.
15881 2011-07-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15883         * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
15884         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
15885         Add switch-to-buffer.
15887 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15889         * isearch.el (isearch-search-fun-function): Clarify further the
15890         meaning of the function returned.
15892 2011-07-04  Michael Albinus  <michael.albinus@gmx.de>
15894         * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
15896         * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
15897         (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
15898         Use it.
15899         (tramp-remote-path): Add "/bin" and "/usr/bin".  On busyboxes,
15900         `tramp-default-remote-path' does not exist.
15901         (tramp-send-command-and-read): New optional argument NOERROR.
15902         (tramp-open-connection-setup-interactive-shell)
15903         (tramp-get-remote-path, tramp-get-remote-stat): Use it.
15904         (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
15905         (tramp-process-sentinel): Flush also process' connection property.
15906         (tramp-sh-handle-start-file-process): Do not set process
15907         sentinel.  It is done now ...
15908         (tramp-maybe-open-connection): ... here.  (Bug#8929)
15910 2011-07-04  MON KEY  <monkey@sandpframing.com>
15912         * play/animate.el (animate-string): Doc fixes and allow changing
15913         the buffer name (bug#5417).
15915 2011-07-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15917         * play/animate.el (animation-buffer-name): Rename from *animate*.
15919 2011-07-04  Paul Eggert  <eggert@cs.ucla.edu>
15921         * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
15922         This is simpler and helps future-proof the code.
15923         (timer-until): Use time-subtract and float-time.
15924         (timer--time-less-p): Use time-less-p.
15926 2011-07-04  Juanma Barranquero  <lekktu@gmail.com>
15928         * type-break.el (timep): Use the value of `float-time' to avoid a
15929         byte-compiler warning.
15931         * server.el (server-eval-and-print): Return any result, even nil.
15933 2011-07-03  Paul Eggert  <eggert@cs.ucla.edu>
15935         * type-break.el: Accept time formats that the builtins accept.
15936         (timep, type-break-time-difference): Accept any format that
15937         float-time accepts, rather than insisting on (HIGH LOW USECS) format.
15938         This is simpler and helps future-proof the code.
15939         (type-break-time-difference): Round rather than ignoring
15940         subseconds components.
15942 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15944         * info.el (Info-apropos-matches): Make non-interactive, since it
15945         doesn't seem to do anything useful as a command (bug#8829).
15947 2011-07-03  Chong Yidong  <cyd@stupidchicken.com>
15949         * frame.el (frame-background-mode, frame-set-background-mode):
15950         Move from faces.el.
15951         (frame-default-terminal-background): New function.
15953         * custom.el (custom-push-theme): Don't record faces in `changed'
15954         theme; this doesn't work correctly for per-frame face settings.
15955         (disable-theme): Use face-set-after-frame-default to reset faces.
15956         (custom--frame-color-default): New function.
15958 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15960         * dired.el (dired-flagging-regexp): Remove unused variable
15961         (bug#8769).
15963 2011-03-29  Kevin Ryde  <user42@zip.com.au>
15965         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15966         `perl-Test2' extend to match possible "fail #N" rep count
15967         (bug#8377).
15969 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15971         * mail/feedmail.el (feedmail-buffer-to-smtpmail):
15972         `smtpmail-via-smtp' now returns the error instead of nil.
15974         * isearch.el (isearch-search-fun-function): Clarify the doc string
15975         (bug#8101).
15977 2011-07-03  Richard Kim  <emacs18@gmail.com>  (tiny change)
15979         * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
15980         unnecessary spaces (bug#8987).
15982 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15984         * net/network-stream.el (open-network-stream): Use the
15985         :end-of-capability command thoughout.
15987 2011-07-03  Wolfgang Jenkner  <wjenkner@inode.at>  (tiny change)
15989         * net/network-stream.el (open-network-stream): Add the
15990         :end-of-capability command parameter, used by pop3.el.
15992 2011-07-03  Lars Magne Ingebrigtsen  <larsi@gnus.org>
15994         * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
15996         * fringe.el (fringe-query-style): Remove redundant text " (type ?
15997         for list)" (bug#6475).
15999         * files.el (file-expand-wildcards): Ignore non-readable
16000         sub-directories while trying to find matches instead of signaling
16001         an error (bug#6297).
16003         * man.el (Man-reference-regexp): Allow matching possible
16004         word-wrapped references (bug#6289).
16006         * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
16007         for consistency with the other vc buffers (bug#6197).
16008         (vc-checkin): Ditto.
16010         * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
16012         * longlines.el (longlines-mode): Document what ARG does (bug#6150).
16014 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16016         * custom.el (defcustom): Clarify that :set is only used in the
16017         Customize user interface (bug#6089).
16019         * progmodes/flymake.el (flymake-mode): If the buffer isn't
16020         associated with a file, refuse to run instead of erroring out
16021         (bug#6084).
16023         * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
16024         the doc string, since it appears that using `fill-column' always
16025         controls the width (bug#7845).
16027         * simple.el (shell-command-on-region): Say where the error output
16028         went if `shell-command-default-error-buffer' is set (bug#6857).
16030 2011-07-02  Ken Manheimer  <ken.manheimer@gmail.com>
16032         * allout.el (allout-yank-processing): Adjust cursor position for
16033         backwards-deleted space.
16035         (allout-rebullet-heading): Register changes with
16036         allout-exposure-changed-hook, so the modified topic is properly
16037         decorated.
16039 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16041         * minibuffer.el (completion-in-region): Document PREDICATE
16042         (bug#7136).
16044         * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
16045         of keyword/argument pairs (bug#6904).
16047         * replace.el (multi-occur):
16048         Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
16050 2011-07-02  Drew Adams  <drew.adams@oracle.com>
16052         * dired.el (dired-mark-if): Make the message about whether it's
16053         marking or unmarking clearer (bug#8523).
16055 2011-07-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16057         * disp-table.el (display-table-print-array): New function.
16058         (describe-display-table): Use it to print the vectors more pretty
16059         (Bug#8859).
16061 2011-07-02  Martin Rudalics  <rudalics@gmx.at>
16063         * window.el (window-state-get-1): Don't assign clone numbers.
16064         Add clone-of item to list of window parameters.
16065         (window-state-put-2): Don't process clone numbers.
16066         (display-buffer-alist): Fix doc-string.
16068 2011-07-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16070         * subr.el (remq): Don't allocate if it's not needed.
16071         (keymap--menu-item-binding, keymap--menu-item-with-binding)
16072         (keymap--merge-bindings): New functions.
16073         (keymap-canonicalize): Use them to refine the canonicalization.
16074         * minibuffer.el (minibuffer-local-completion-map)
16075         (minibuffer-local-must-match-map): Move initialization from C.
16076         (minibuffer-local-filename-completion-map): Move initialization from C;
16077         don't inherit from anything here.
16078         (minibuffer-local-filename-must-match-map): Make obsolete.
16079         (completing-read-default): Use make-composed-keymap to combine
16080         minibuffer-local-filename-completion-map with either
16081         minibuffer-local-must-match-map or
16082         minibuffer-local-filename-completion-map.
16084 2011-07-01  Glenn Morris  <rgm@gnu.org>
16086         * type-break.el (type-break-time-sum): Use dolist.
16088         * textmodes/flyspell.el (flyspell-word-search-backward):
16089         Replace CL function.
16091 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16093         * mouse.el (mouse--strip-first-event): New function.
16094         (function-key-map): Use it to map fringe clicks to normal clicks
16095         by default.
16097         * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
16098         (vc-bzr-revision-completion-table): Add support for annotate and date.
16100         * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
16101         inherit from parent.
16103 2011-07-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16105         * dired-aux.el (dired-diff): Doc fixup (bug#8816).
16106         (dired-show-file-type): Doc fixup (bug#8818).
16108         * dired.el (dired-mode): Fix up the doc string as suggested by
16109         Drew Adams (bug#8817).
16111         * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
16112         cookie, since the manual says that it should be possible to add
16113         this function to `find-file-hook' (bug#8709).
16115 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
16117         * progmodes/cfengine.el: Moved all cfengine3.el functionality
16118         here.  Noted Ted Zlatanov as the maintainer.
16119         (cfengine-common-settings, cfengine-common-syntax): New functions
16120         to set up common things between `cfengine-mode' and
16121         `cfengine3-mode'.
16122         (cfengine3-mode): New mode.
16123         (cfengine3-defuns cfengine3-defuns-regex
16124         (cfengine3-class-selector-regex cfengine3-category-regex)
16125         (cfengine3-vartypes cfengine3-font-lock-keywords)
16126         (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
16127         (cfengine3-indent-line): Add from cfengine3.el.
16129 2011-07-01  Michael Albinus  <michael.albinus@gmx.de>
16131         * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
16133         * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
16135 2011-07-01  Martin Rudalics  <rudalics@gmx.at>
16137         * window.el (same-window-buffer-names, same-window-regexps)
16138         (same-window-p, special-display-frame-alist)
16139         (special-display-popup-frame, special-display-function)
16140         (special-display-buffer-names, special-display-regexps)
16141         (special-display-p, pop-up-frame-alist, pop-up-frame-function)
16142         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
16143         (split-window-preferred-function, split-height-threshold)
16144         (split-width-threshold, even-window-heights)
16145         (display-buffer-mark-dedicated, window-splittable-p)
16146         (split-window-sensibly, window-safely-shrinkable-p):
16147         Un-obsolete.
16148         (display-buffer): Don't spread args with function specifier
16149         because special-display-popup-frame won't like it.
16151 2011-07-01  Paul Eggert  <eggert@cs.ucla.edu>
16153         Time-stamp simplifications and fixes.
16154         These improve accuracy slightly, and future-proof the code
16155         against some potential changes to current-time format.
16157         * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
16158         by using time-since and float-time.
16160         * vc/ediff-util.el (ediff-calc-command-time): Use time-since
16161         and float-time.  Say "NNN.NNN seconds" rather than "NNN seconds
16162         + NNN microseconds".
16164         * type-break.el (type-break-time-sum): Rewrite using time-add.
16166         * play/hanoi.el (hanoi-current-time-float): Remove.
16167         All uses replaced by float-time.
16169         * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
16170         This yields a more-accurate answer.
16171         (rng-time-to-float): Remove; no longer needed.
16173         * emacs-lisp/timer.el (timer-relative-time): Use time-add.
16175         * calendar/timeclock.el (timeclock-seconds-to-time):
16176         Defalias to seconds-to-time, since they're the same thing.
16178         * emacs-lisp/elp.el (elp-elapsed-time):
16179         * emacs-lisp/benchmark.el (benchmark-elapse):
16180         * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
16182 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16184         * window.el (bury-buffer): Don't iconify the only frame.
16185         (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
16186         to pop-to-buffer.  Use pop-to-buffer-same-frame if you don't like that.
16188 2011-07-01  Chong Yidong  <cyd@stupidchicken.com>
16190         * eshell/em-smart.el (eshell-smart-display-navigate-list):
16191         Add mouse-yank-primary.
16193 2011-07-01  Teodor Zlatanov  <tzz@lifelogs.com>
16195         * progmodes/cfengine3.el: New file to support CFEngine 3.x.
16197 2011-07-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16199         * emacs-lisp/find-func.el (find-library--load-name): New fun.
16200         (find-library-name): Use it to find relative load names when provided
16201         absolute file name (bug#8803).
16203 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16205         * textmodes/flyspell.el (flyspell-word): Consider words that
16206         differ only in case as potential doublons (bug#5687).
16208         * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
16209         Remove two rather uninteresting debugging-like messages to make
16210         debbugs.el more silent.
16212         * comint.el (comint-password-prompt-regexp): Accept "Response" as
16213         a password-like phrase.
16215 2011-06-30  Masatake YAMATO  <yamato@redhat.com>
16217         * progmodes/cc-guess.el: New file.
16219         * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
16221         * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
16222         derived from `c-basic-common-init'.
16224         * progmodes/cc-mode.el (top-level): Require cc-guess.
16225         (c-basic-common-init): Use `cc-choose-style-for-mode'.
16227 2011-06-30  Lawrence Mitchell  <wence@gmx.li>
16229         * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
16231 2011-06-30  Alan Mackenzie  <acm@muc.de>
16233         * progmodes/cc-engine.el (c-guess-continued-construct):
16234         Correct the handling of template-args-cont, particularly for when font
16235         lock is disabled.  Name this case as "CASE G".
16237 2011-06-30  Ken Manheimer  <ken.manheimer@gmail.com>
16239         * allout.el (allout-yank-processing): Fix injection of extra space
16240         between bullet and non-whitespace character in first topic when
16241         pasting, ensuring that the actual spacing in the pasted topic
16242         following the bullet char is preserved.  This extra space was
16243         causing pasted encrypted topics to get a decrypted status even
16244         when the content was actually still encrypted.  Now the decryption
16245         status from before the paste is preserved.
16247         (allout-flag-region): Set all allout overlays so they evaporate
16248         when reduced to zero length (evanescent), to prevent overlay
16249         leakage.
16251 2011-06-30  Glenn Morris  <rgm@gnu.org>
16253         * w32-fns.el (w32-charset-info-alist): Declare.
16255         * find-dired.el (find-grep-options): Simplify.
16257         * term/ns-win.el (ns-set-resource): Declare.
16259         * ses.el (row, col): Declare dynamic variables honestly.
16261         * textmodes/reftex-parse.el (index-tags): Declare.
16263 2011-06-30  Chong Yidong  <cyd@stupidchicken.com>
16265         * cus-edit.el (customize-push-and-save): New function.
16267         * files.el (hack-local-variables-confirm): Use it.
16269         * custom.el (load-theme): New arg NO-CONFIRM.
16270         Use customize-push-and-save (Bug#8720).
16271         (custom-enabled-themes): Doc fix.
16273         * cus-theme.el (customize-create-theme)
16274         (custom-theme-merge-theme): Callers to load-theme changed.
16276 2011-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16278         * thingatpt.el (thing-at-point-short-url-regexp): Require that
16279         short URLs have at least one dot in them (bug #7614).
16281         * progmodes/grep.el (rgrep): Bind `process-connection-type' to
16282         nil, because using a pty is apparently too slow (bug #895).
16284 2011-06-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16286         * mail/sendmail.el (sendmail-query-once): New function.
16287         (sendmail-query-once-function): New variable.
16289 2011-06-29  Glenn Morris  <rgm@gnu.org>
16291         * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
16293         * ses.el (top-level): Require cl when compiling.
16294         (ses-set-localvars): Fix error statement.
16295         Call it at compile time to silence a storm of warnings.
16297 2011-06-29  Martin Rudalics  <rudalics@gmx.at>
16299         * window.el (normalize-live-buffer): Rename to
16300         window-normalize-buffer.
16301         (normalize-live-frame): Rename to window-normalize-frame.
16302         (normalize-any-window): Rename to window-normalize-any-window.
16303         (normalize-live-window): Rename to window-normalize-live-window.
16304         (make-window-atom): Rename to window-make-atom.
16305         (window-resize-reset): Rename to window--resize-reset.
16306         (window-resize-reset-1): Rename to window--resize-reset-1.
16307         (resize-mini-window): Rename to window--resize-mini-window.
16308         (resize-subwindows-skip-p): Rename to
16309         window--resize-subwindows-skip-p.
16310         (resize-subwindows-normal): Rename to
16311         window--resize-subwindows-normal.
16312         (resize-subwindows): Rename to window--resize-subwindows.
16313         (resize-other-windows): Rename to window--resize-siblings.
16314         (resize-this-window): Rename to window--resize-this-window.
16315         (resize-root-window): Rename to window--resize-root-window.
16316         (resize-root-window-vertically): Rename to
16317         window--resize-root-window-vertically.
16318         (normalize-buffer-to-display): Rename to
16319         window-normalize-buffer-to-display.
16320         (normalize-buffer-to-switch-to): Rename to
16321         window-normalize-buffer-to-switch-to.
16322         Correspondingly update all callers of the functions listed
16323         above.
16324         (display-buffer-alist, display-buffer-normalize-arguments)
16325         (display-buffer-normalize-options, display-buffer)
16326         (display-buffer-alist-set): Use "function" instead of
16327         "fun-with-args".
16329 2011-06-28  Chong Yidong  <cyd@stupidchicken.com>
16331         * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
16332         addresses more clearly.  Add hyperlinks for bug-gnu-emacs and
16333         debbugs.gnu.org.  Mention acknowledgment email.
16335 2011-06-28  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16337         * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
16338         buffer multibyteness, since it shouldn't matter.
16340 2011-06-28  Martin Rudalics  <rudalics@gmx.at>
16342         * window.el (display-buffer-in-side-window): Handle dedicated
16343         windows as in display-buffer-reuse-window.
16344         (display-buffer-normalize-alist): Use value of override
16345         specifier.
16346         (display-buffer-normalize-specifiers): Use value of
16347         other-window-means-other-frame specifier.
16348         (display-buffer-alist): Rewrite some texts in widgets.
16349         (display-buffer): Spread arguments when calling function
16350         specified by fun-with-args.
16352 2011-06-28  Deniz Dogan  <deniz@dogan.se>
16354         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16355         Unnest `let'.
16357         * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
16358         selectors (Bug#5732).
16359         (css-proprietary-nmstart-re): Use `regexp-opt'.
16361 2011-06-27  Jari Aalto  <jari.aalto@cante.net>
16363         * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
16364         (eshell-ls-date-format): New defcustom.
16365         (eshell-ls-file): Use it.
16367 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16369         * help-fns.el (describe-variable): Fix message for terminal-local vars.
16371 2011-06-27  Katsumi Yamaoka  <yamaoka@jpl.org>
16373         * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
16374         (ange-ftp-make-tmp-name): New arg.
16375         (ange-ftp-file-local-copy): Use it.
16377 2011-06-27  Jambunathan K  <kjambunathan@gmail.com>
16379         * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
16380         no-conversion (Bug#8870).
16382 2011-06-27  Martin Rudalics  <rudalics@gmx.at>
16384         * window.el (window-right, window-left, window-child)
16385         (window-child-count, window-last-child)
16386         (window-iso-combination-p, walk-window-tree-1)
16387         (window-atom-check-1, window-tree-1, delete-window)
16388         (window-state-get-1, display-buffer-even-window-sizes): Adapt to
16389         new naming conventions - window-vchild, window-hchild,
16390         window-next and window-prev are now called window-top-child,
16391         window-left-child, window-next-sibling and window-prev-sibling
16392         respectively.
16393         (resize-window-reset): Rename to window-resize-reset.
16394         (resize-window-reset-1): Rename to window-resize-reset-1.
16395         (resize-window): Rename to window-resize.
16396         (window-min-height, window-min-width)
16397         (resize-mini-window, resize-this-window, resize-root-window)
16398         (resize-root-window-vertically, adjust-window-trailing-edge)
16399         (enlarge-window, shrink-window, maximize-window)
16400         (minimize-window, delete-window, quit-restore-window)
16401         (split-window, balance-windows, balance-windows-area-adjust)
16402         (balance-windows-area, window-state-put-2)
16403         (display-buffer-even-window-sizes, display-buffer-set-height)
16404         (display-buffer-set-width, set-window-text-height)
16405         (fit-window-to-buffer): Rename all "resize-window" prefixed
16406         calls to use the "window-resize" prefix convention.
16407         (display-buffer-alist): Fix symbol for label specifier.
16408         (display-buffer-reuse-window): Set reuse-dedicated to cdr of
16409         corresponding specifier.
16410         Reported by Juanma Barranquero <lekktu@gmail.com>.
16412 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16414         * ses.el (ses-destroy-cell-variable-range): Fix heading comment
16415         convention.
16416         (ses-call-printer): Does not pass an empty string to formatter when the
16417         cell is empty to keep from barking printer Calc math-format-value.
16419 2011-06-27  Richard Stallman  <rms@gnu.org>
16421         * battery.el (battery-mode-line-limit): New variable.
16422         (battery-update): Handle it.
16424         * mail/rmailmm.el (rmail-mime-process-multipart):
16425         Handle truncated messages.
16427 2011-06-27  Glenn Morris  <rgm@gnu.org>
16429         * progmodes/flymake.el (flymake-err-line-patterns):
16430         Allow for column numbers in the ant/javac pattern.  (Bug#8866)
16432 2011-06-27  Vincent Belaïche  <vincentb1@users.sourceforge.net>
16434         * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
16435         (ses--clean-!, ses--clean-_): New functions.
16436         (ses-range): Add configurability of readout order, and conversion
16437         to Calc vector.
16439         * ses.el (ses-repair-cell-reference-all): New function.
16440         (ses-cell-symbol): Set macro as safe, so that it can be used in
16441         formulas.
16443         * ses.el: Update cycle detection algorithm.
16444         (ses-localvars): Add ses--Dijkstra-attempt-nb and
16445         ses--Dijkstra-weight-bound, and initial values thereof when applicable.
16446         (ses-set-localvars): New function.
16447         (ses-make-cell): Add property-list as a cell element.
16448         (ses-cell-property-get-fun, ses-cell-property-get)
16449         (ses-cell-property-delq-fun, ses-cell-property-set-fun)
16450         (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
16451         New functions.
16452         (ses-cell-property-set, ses-cell-property-pop)
16453         (ses-cell-property-get-handle): New macro.
16454         (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
16455         New aliases, used for code readability.
16456         (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
16457         cycle detection.
16458         (ses-self-reference-early-detection): New defcustom.
16459         (ses-formula-references): Robustify against self-referring cells.
16460         (ses-mode): Use ses-set-localvars.
16461         (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
16462         before lauching the update processing.
16463         (ses-initialize-Dijkstra-attempt): New function.
16464         (ses-recalculate-cell): Update for cycle detection based on
16465         Dijkstra algorithm.
16467         * ses.el: Fix commenting and indenting convention.
16469 2011-06-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16471         * bs.el (bs-cycle-next): Complete last change.
16473 2011-06-27  Drew Adams  <drew.adams@oracle.com>
16475         * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
16477 2011-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16479         * net/network-stream.el (network-stream-open-starttls):
16480         Don't re-get capabilities unless we've reestablished connection.
16481         (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
16483         * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
16484         to binary to possibly avoid line encoding issues on Windows (among
16485         other things).
16487 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16489         * net/network-stream.el (open-network-stream): Return an :error
16490         saying what the problem was, if possible.
16492         * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
16493         server.
16495         * net/network-stream.el (network-stream-open-starttls): If we
16496         wanted to use STARTTLS, and the server offered it, but we weren't
16497         able to because we had no STARTTLS support, then close the connection.
16498         (open-network-stream): Return an :error element, if present.
16500 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
16502         * hl-line.el (hl-line-sticky-flag): Doc fix.
16503         (global-hl-line-sticky-flag): New option (Bug#8323).
16504         (global-hl-line-highlight): Obey it.
16506         * vc/vc.el (vc-revert-show-diff): Default to t.
16508 2011-06-26  Ken Manheimer  <ken.manheimer@gmail.com>
16510         * allout-widgets.el (allout-widgets-post-command-business):
16511         Stop decorating intermediate isearch matches.  They're not being
16512         undecorated when an isearch is continued past, and isearch
16513         automatically collapses them.  This leads to "widget leaks", where
16514         decorated items accumulate in collapsed areas.  Lines with lots of
16515         hidden widgets can slow down cursor travel, substantially.
16516         Too much complicated machinery would be needed to ensure undecoration,
16517         so we're doing without this nicety.
16519         (allout-widgets-tally-string): Don't try to do a hash-table-count
16520         of allout-widgets-tally when it's nil.  This eliminates spurious "Error
16521         during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
16522         *Messages* when allout-widgets-maintain-tally is t.
16524 2011-06-26  Martin Rudalics  <rudalics@gmx.at>
16526         * window.el (display-buffer-normalize-argument): Rename to
16527         display-buffer-normalize-arguments.  Handle special meaning of
16528         LABEL argument.  Respect special-display-function when popping up
16529         a new frame.  Fix code searching for a window showing the buffer
16530         on another frame.
16531         (display-buffer-normalize-specifiers):
16532         Call display-buffer-normalize-arguments.
16533         (display-buffer-in-window): Don't undedicate the window if its
16534         buffer remains the same.
16535         Reported by Drew Adams <drew.adams@oracle.com>.
16536         (display-buffer-alist): Add choice for same-window macro
16537         specfier.
16538         (display-buffer): Mention special meaning of LABEL argument in
16539         doc-string.  Fix quoting.  Don't pop up a new frame even as
16540         fallback.
16542 2011-06-26  Juanma Barranquero  <lekktu@gmail.com>
16544         * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
16545         avoid deleting the current window in some cases (bug#8911).
16547 2011-06-26  Andreas Schwab  <schwab@linux-m68k.org>
16549         * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
16550         (Bug#8934)
16552 2011-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16554         * net/network-stream.el (network-stream-open-starttls):
16555         Use built-in TLS support if `gnutls-available-p' is true.
16556         (network-stream-open-tls): Ditto.
16558 2011-06-26  Leo Liu  <sdl.web@gmail.com>
16560         * register.el (registerv): New struct.
16561         (registerv-make): New function.
16562         (jump-to-register, describe-register-1, insert-register):
16563         Support the jump-func, print-func and insert-func slot of a registerv
16564         struct.  (Bug#8415)
16566 2011-06-26  Chong Yidong  <cyd@stupidchicken.com>
16568         * vc/vc.el (vc-revert-show-diff): New defcustom.
16569         (vc-diff-internal): New arg specifying diff buffer.
16570         (vc-revert): Obey vc-revert-show-diff.  If we show a diff, don't
16571         reuse an existing *vc-diff* buffer (Bug#8927).
16573         * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
16575 2011-06-26  Glenn Morris  <rgm@gnu.org>
16577         * progmodes/f90.el (f90-critical-indent): New option.
16578         (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
16579         (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
16580         (f90-mode): Doc fix.
16581         (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
16582         (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
16583         (f90-beginning-of-block, f90-next-block, f90-indent-region)
16584         (f90-match-end): Handle block, critical.
16586 2011-06-25  Glenn Morris  <rgm@gnu.org>
16588         * calendar/diary-lib.el (diary-included-files): Doc fix.
16589         (diary-include-files): New function, extracted from
16590         diary-include-other-diary-files and diary-mark-included-diary-files.
16591         (diary-include-other-diary-files, diary-mark-included-diary-files):
16592         Just call diary-include-files.
16593         (diary-mark-entries): Reset diary-included-files on first call.
16595         * calendar/diary-lib.el (diary-mark-entries)
16596         (diary-mark-included-diary-files):
16597         Visit included diary-files in temp buffers.
16599         * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
16600         (f90-blocks-re, f90-program-block-re, f90-end-block-re)
16601         (f90-start-block-re, f90-imenu-generic-expression)
16602         (f90-looking-at-program-block-start, f90-no-block-limit):
16603         Add support for submodules.
16605         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
16606         (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
16608 2011-06-25  Eli Zaretskii  <eliz@gnu.org>
16610         * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
16611         buffer-file-type before setting its value, to avoid disastrous
16612         global effects on decoding files for DOS/Windows systems.  (Bug#8780)
16614 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
16616         * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
16618         * ses.el (ses-unload-function):
16619         * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
16621         * proced.el (proced-unload-function):
16622         * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
16624 2011-06-25  Andreas Rottmann  <a.rottmann@gmx.at>
16626         * server.el (server-create-window-system-frame): Add parameters arg.
16627         (server-process-filter): Doc fix.  Handle frame-parameters.
16629 2011-06-25  Juanma Barranquero  <lekktu@gmail.com>
16631         Fix bug#8730, bug#8781.
16633         * loadhist.el (unload--set-major-mode): New function.
16634         (unload-feature): Use it.
16636         * progmodes/python.el (python-after-info-look): Add autoload cookie.
16637         (python-unload-function): New function.
16639 2011-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
16641         * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
16643 2011-06-25  Giuseppe Scrivano  <gscrivano@gnu.org>
16645         * net/browse-url.el (browse-url-firefox-program): Add icecat to
16646         the candidates list.
16648 2011-06-24  Juanma Barranquero  <lekktu@gmail.com>
16650         * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
16652 2011-06-23  Richard Stallman  <rms@gnu.org>
16654         * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
16655         (rmail-variables): Set next-error-move-function.
16656         (rmail-what-message): Take argument POS.
16657         (rmail-next-error-move): New function.
16659 2011-06-23  Stefan Monnier  <monnier@iro.umontreal.ca>
16661         * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
16662         messages for adjacent non-terminals.
16664 2011-06-23  Richard Stallman  <rms@gnu.org>
16666         * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
16667         (rmail-show-message-1): Preserve buffer modified flag.
16668         (rmail-start-mail): Don't specify use of rmail-mail-return;
16669         that's done by mail-bury now.
16670         (rmail-mail-return): Handle arg NEWBUF.
16672 2011-06-23  Michael Albinus  <michael.albinus@gmx.de>
16674         * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
16675         SIZE is a number.
16677 2011-06-23  Martin Rudalics  <rudalics@gmx.at>
16679         * window.el (get-lru-window, get-mru-window)
16680         (get-largest-window): Never return a minibuffer window.
16681         (display-buffer-pop-up-window): Fix a bug that could lead to
16682         reusing the minibuffer window.
16683         (display-buffer): Pass original specifier argument to
16684         display-buffer-function instead of the normalized one.
16685         Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
16687 2011-06-22  Leo Liu  <sdl.web@gmail.com>
16689         * minibuffer.el (completing-read-function)
16690         (completing-read-default): Move from minibuf.c.
16692 2011-06-22  Richard Stallman  <rms@gnu.org>
16694         * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
16695         to Rmail even if not started by a special Rmail command.
16697         * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
16698         Copy the buffer currently showing just one message.
16700 2011-06-22  Roland Winkler  <winkler@gnu.org>
16702         * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
16703         (bibtex-clean-entry): First delete the old key so that a
16704         customized algorithm for generating the new key does not get
16705         confused by the old key.
16706         (bibtex-url): Obey regexp of first step.
16707         (bibtex-search-entries): Do not use add-to-list with local
16708         list-var.
16710 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16712         * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
16713         stored a user name, then query for the password first, instead of
16714         waiting for SMTP to give an error message and the trying again.
16716 2011-06-22  Lawrence Mitchell  <wence@gmx.li>
16718         * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
16719         BUFFER in call-process.
16721 2011-06-22  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16723         * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
16724         QUIT twice.
16725         (smtpmail-try-auth-methods): Require user name and password from
16726         auth-source.
16728 2011-06-22  Martin Rudalics  <rudalics@gmx.at>
16730         * window.el (display-buffer-default-specifiers)
16731         (display-buffer-alist): Remove entries for pop-up-frame-alist.
16732         Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
16733         (split-window): Normalize SIDE argument (Bug#8916).
16735         * frame.el (pop-up-frame-alist, pop-up-frame-function)
16736         (special-display-frame-alist, special-display-popup-frame):
16737         Remove duplicate declarations.  These are now in window.el.
16739 2011-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
16741         * mail/smtpmail.el (smtpmail-via-smtp):
16742         Set :use-starttls-if-possible so that we always use STARTTLS if the
16743         server supports it.  SMTP servers that support STARTTLS commonly
16744         require it.
16746         * net/network-stream.el (network-stream-open-starttls): Support
16747         upgrading to STARTTLS always, even if we don't have built-in support.
16748         (open-network-stream): Add the :always-query-capabilities keyword.
16750         * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
16751         upgrades with `open-network-stream', and rely solely on
16752         auth-source for all credentials.  Big changes throughout the file,
16753         but in particular:
16754         (smtpmail-auth-credentials): Remove.
16755         (smtpmail-starttls-credentials): Remove.
16756         (smtpmail-via-smtp): Check for servers saying they want AUTH after
16757         MAIL FROM, too.
16759         * net/network-stream.el (network-stream-open-starttls):
16760         Provide support for client certificates both for external and built-in
16761         STARTTLS.
16762         (auth-source): Require.
16763         (open-network-stream): Document the :client-certificate keyword.
16764         (network-stream-certificate): Change cert-cert to cert and
16765         cert-key to key.
16767 2011-06-21  Michael Albinus  <michael.albinus@gmx.de>
16769         * net/tramp-cache.el (top): Don't load the persistency file when
16770         "emacs -Q" has been called.
16772 2011-06-21  Tim Harper  <timcharper@gmail.com>
16774         * term/ns-win.el (ns-initialize-window-system):
16775         Set application-specific `ApplePressAndHoldEnabled' system
16776         resource to NO as it is not yet supported by the NS port.
16778 2011-06-21  Juanma Barranquero  <lekktu@gmail.com>
16780         * misc.el (list-dynamic-libraries--refresh): Compute header here...
16781         (list-dynamic-libraries): ...not here.
16783 2011-06-21  Leo Liu  <sdl.web@gmail.com>
16785         * subr.el (sha1): Implement sha1 using secure-hash.
16787 2011-06-21  Martin Rudalics  <rudalics@gmx.at>
16789         * window.el (display-buffer-alist): In default value do not
16790         enforce searching a window on any but the selected frame.
16791         Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
16792         (display-buffer-select-window): Remove function.
16793         (display-buffer-in-window): When a window on another frame gets
16794         reused, do not select it any more but just raise its frame if
16795         necessary (Bug#8851) and (Bug#8856).
16796         (display-buffer-normalize-options): Handle pop-up-frames related
16797         options more faithfully.
16798         (pop-to-buffer): Don't rely on `display-buffer' selecting the
16799         window if it is on another frame.
16800         (display-buffer-alist, display-buffer-default-specifiers):
16801         Don't make new frame unsplittable by default.
16802         (display-buffer-normalize-argument): Fix doc-string typo and use
16803         'same-frame-other-window instead of 'other-window when associating
16804         with display-buffer-macro-specifiers.
16806 2011-06-21  Vincent Belaïche  <vincent.b.1@hotmail.fr>
16808         * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
16809         New functions.
16810         (5x5-mode-map, 5x5-mode-menu): Bind them.
16811         (5x5-draw-grid): Tweak the solver's rendering.
16813 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16815         * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
16816         `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
16818 2011-06-21  Drew Adams  <drew.adams@oracle.com>
16820         * menu-bar.el: Use function variable instead of switch-to-buffer.
16821         (menu-bar-select-buffer-function): New variable.
16822         (menu-bar-update-buffers): Use it (bug#8876).
16824 2011-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16826         * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
16827         variable's status.
16829 2011-06-20  Jan Djärv  <jan.h.d@swipnet.se>
16831         * x-dnd.el (x-dnd-version-from-flags)
16832         (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
16833         and long as number (Bug#8899).
16834         (x-dnd-handle-xdnd): Call functions above (Bug#8899).
16836 2011-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16838         * minibuffer.el (completion-metadata): Add `metadata' to the alist.
16839         (completion-try-completion, completion-all-completions): Compute the
16840         metadata argument if it's missing; make it optional (bug#8795).
16842         * wid-edit.el: Use lex-bind and move towards completion-at-point.
16843         (widget-complete): Use new :completion-function property.
16844         (widget-completions-at-point): New function.
16845         (default): Use :completion-function instead of :complete.
16846         (widget-default-completions): Rename from widget-default-complete;
16847         Rewrite.
16848         (widget-string-complete, widget-file-complete, widget-color-complete):
16849         Remove functions.
16850         (file, symbol, function, variable, coding-system, color):
16851         * international/mule-cmds.el (default-input-method, charset)
16852         (language-info-custom-alist):
16853         * cus-edit.el (face): Use new property :completions.
16855         * progmodes/pascal.el (pascal-completions-at-point): New function.
16856         (pascal-mode): Use it.
16857         (pascal-mode-map): Use completion-at-point.
16858         (pascal-toggle-completions): Make obsolete.
16859         (pascal-complete-word, pascal-show-completions):
16860         * progmodes/octave-mod.el (octave-complete-symbol):
16861         Redefine as obsolete alias.
16862         * progmodes/octave-inf.el (inferior-octave-completion-at-point):
16863         Signal absence of completion info for old Octave,
16864         (inferior-octave-complete): Redefine as obsolete alias.
16865         * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
16866         (meta-completions-at-point): Rename from meta-complete-symbol and
16867         adapt it for use on completion-at-point-functions.
16868         (meta-common-mode): Use it.
16869         (meta-looking-at-backward, meta-match-buffer): Remove.
16870         (meta-complete-symbol): Redefine as obsolete alias.
16871         (meta-common-mode-map): Use completion-at-point.
16872         * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
16873         (makefile-mode-map): Use completion-at-point.
16874         (makefile-completions-at-point): Rename from makefile-complete and
16875         adapt it for use on completion-at-point-functions.
16876         (makefile-mode): Use it.
16877         (makefile-complete): Redefine as obsolete alias.
16879 2011-06-20  Deniz Dogan  <deniz@dogan.se>
16881         * net/rcirc.el: Delete trailing whitespaces once and for all.
16883 2011-06-20  Daniel Colascione  <dan.colascione@gmail.com>
16885         * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
16887 2011-06-19  Chong Yidong  <cyd@stupidchicken.com>
16889         * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
16891         * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
16893 2011-06-19  Martin Rudalics  <rudalics@gmx.at>
16895         * window.el (display-buffer-other-window-means-other-frame):
16896         Call display-buffer-normalize-alist.
16897         (display-buffer-normalize-specifiers-1): Rename to
16898         display-buffer-normalize-argument.  New argument other-frame.
16899         Rewrite.
16900         (display-buffer-normalize-specifiers-2): Rename to
16901         display-buffer-normalize-options.
16902         (display-buffer-normalize-alist-1): New function.
16903         (display-buffer-normalize-specifiers-3): Rename to
16904         display-buffer-normalize-alist.
16905         Call display-buffer-normalize-alist-1.
16906         (display-buffer-normalize-options-inhibit): New variable.
16907         (display-buffer-normalize-specifiers): Rewrite calling
16908         display-buffer-normalize-alist,
16909         display-buffer-normalize-argument, and
16910         display-buffer-normalize-options.  Don't call the latter if
16911         display-buffer-normalize-options-inhibit is non-nil.
16912         (frame-auto-delete): New option.
16913         (window-deletable-p): Use frame-auto-delete.
16914         (window-list-no-nils, window-state-ignored-parameters)
16915         (window-state-get-1, window-state-get, window-state-put-list)
16916         (window-state-put-1, window-state-put-2, window-state-put):
16917         New functions.
16918         (display-buffer-normalize-options): Move special-display-p group
16919         after pop-up-frame group (Bug#8851) and (Bug#8856).
16921 2011-06-18  Chong Yidong  <cyd@stupidchicken.com>
16923         * emacs-lisp/rx.el (rx-constituents): Add support for numbered
16924         groups (Bug#8776).
16925         (rx-submatch-n): New function.
16926         (rx): Document it.
16928         * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
16929         (Bug#8768).
16931         * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
16933         * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
16935         * cus-face.el (custom-declare-face): Call custom-theme-recalc face
16936         anytime existing face settings are present (Bug#8889).
16938         * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
16939         (delphi-mode): Use define-derived-mode to inherit from prog-mode.
16940         Remove unused argument.
16942 2011-06-18  Martin Rudalics  <rudalics@gmx.at>
16944         * window.el (display-buffer-default-specifiers):
16945         Remove pop-up-frame.  Add pop-up-window-min-height,
16946         pop-up-window-min-width, and another reuse-window specifier
16947         (Bug#8882).  Reported by Dan Nicolaescu <dann@gnu.org>.
16948         (display-buffer-normalize-specifiers-2):
16949         Handle split-height-threshold and split-width-threshold also when
16950         pop-up-windows is unset.  Add a reuse-window specifier for the
16951         case popping up a new window fails.
16952         (special-display-popup-frame): Remove double quoting.
16953         (display-buffer-normalize-specifiers-1): Fix thinko.
16955 2011-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16957         * shell.el (shell-completion-vars): Set pcomplete-termination-string
16958         according to comint-completion-addsuffix.
16960         * pcomplete.el: Convert to lexical binding and fix bug#8819.
16961         (pcomplete-suffix-list): Mark as obsolete.
16962         (pcomplete-completions-at-point): Capture pcomplete-norm-func and
16963         pcomplete-seen in the closure.
16964         (pcomplete-comint-setup): Setup completion-at-point as well.
16965         (pcomplete--entries): New function.
16966         (pcomplete--env-regexp): New var.
16967         (pcomplete-entries): Rewrite to work with partial-completion and
16968         without relying on pcomplete-suffix-list.
16969         (pcomplete-pare-list): Remove, unused.
16971 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
16973         * window.el (display-buffer-alist): Set pop-up-window-min-height
16974         and pop-up-window-min-width in default value.  Reported by
16975         Thierry Volpiatto <thierry.volpiatto@gmail.com>.  New specifier
16976         other-window-means-other-frame.
16977         (display-buffer-macro-specifiers): Comment out entry for
16978         other-window specifier.
16979         (display-buffer-other-window-means-other-frame): New function.
16980         (display-buffer-normalize-specifiers-1): New arguments
16981         buffer-name and label.  Treat other-window case specially.
16982         (display-buffer-normalize-specifiers-2): Treat other-window case
16983         specially.
16984         (display-buffer-normalize-specifiers-3): New function.
16985         (display-buffer-normalize-specifiers):
16986         Call display-buffer-normalize-specifiers-3.
16988 2011-06-17  Martin Rudalics  <rudalics@gmx.at>
16990         * window.el (same-window-p): Fix two typos introduced when
16991         adding with-no-warnings.
16992         (display-buffer-normalize-specifiers-1): Don't check
16993         pop-up-frames for 'unset initialization.
16994         (display-buffer-normalize-specifiers-2): Major rewrite using
16995         special-display-p and same-window-p (Bug#8851) and (Bug#8856).
16996         (pop-up-frames, display-buffer-reuse-frames)
16997         (display-buffer-mark-dedicated): Don't initialize to 'unset.
16998         Suggested by David Engster <deng@randomsample.de>.
16999         (even-window-heights): Initialize to 'unset.
17000         (display-buffer-alist-set): Handle new 'unset initializations.
17001         (display-buffer-macro-specifiers): Don't pop up a new frame in the
17002         other window case.
17004 2011-06-16  Martin Rudalics  <rudalics@gmx.at>
17006         * window.el (display-buffer-normalize-specifiers-1):
17007         Respect current value of pop-up-frames for most reasonable values of
17008         second argument of display-buffer (Bug#8865).
17009         (switch-to-buffer-same-frame, switch-to-buffer-other-window)
17010         (switch-to-buffer-other-window-same-frame)
17011         (switch-to-buffer-other-frame): Fix doc-strings.  Reported by Drew
17012         Adams (Bug#8875).
17013         (display-buffer): Don't check noninteractive when calling
17014         display-buffer-pop-up-frame.
17015         (display-buffer-pop-up-frame): Never pop up a frame in
17016         noninteractive mode (Bug#8857).
17017         (enlarge-window, shrink-window): Don't report an error when the
17018         window can't be resized as requested (Bug#8862).
17020 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17022         * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
17024         * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
17026         * abbrev.el (define-abbrev-table): Don't add a table multiple times.
17028 2011-06-15  Alan Mackenzie  <acm@muc.de>
17030         * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
17031         for declarators, disable knr checking to speed up for normal files.
17032         2: Refactor, replacing a sequence of nested if forms by a cond form.
17034 2011-06-15  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17036         * net/network-stream.el (open-network-stream): Add the keyword
17037         :always-query-capabilities for the case where you want to force a
17038         `plain' network connection, but the protocol still requires the
17039         capabilitiy command (i.e., SMTP and EHLO).
17041         * subr.el (process-live-p): Rename from `process-alive-p' for
17042         consistency with other `-live-p' functions.
17044 2011-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17046         * window.el (same-window-buffer-names, same-window-regexps)
17047         (special-display-frame-alist, special-display-popup-frame)
17048         (special-display-function, special-display-buffer-names)
17049         (special-display-regexps, pop-up-frame-alist)
17050         (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
17051         (pop-up-windows, split-window-preferred-function)
17052         (split-height-threshold, split-width-threshold, even-window-heights)
17053         (display-buffer-mark-dedicated): Don't encourage the use of
17054         display-buffer-alist from Elisp code.
17056 2011-06-15  Dan Nicolaescu  <dann@ics.uci.edu>
17058         * progmodes/python.el (python-mode): Derive from prog-mode.
17059         * progmodes/ps-mode.el (ps-mode):
17060         * progmodes/mixal-mode.el (mixal-mode):
17061         * progmodes/cfengine.el (cfengine-mode):
17062         * progmodes/ld-script.el (ld-script-mode): Likewise.
17064 2011-06-15  Martin Rudalics  <rudalics@gmx.at>
17066         * window.el (display-buffer-alist): Trim default value to avoid
17067         popping up a new frame (Bug#8857) or reusing an arbitrary window
17068         on another frame.
17069         (display-buffer): Do not fall back on popping up a new frame in
17070         batch mode (Bug#8857).
17072 2011-06-14  Chong Yidong  <cyd@stupidchicken.com>
17074         * cus-theme.el (describe-theme-1): Use custom-theme-p.
17075         (custom-theme-summary): New function.
17076         (customize-themes): Use it.
17078 2011-06-13  Glenn Morris  <rgm@gnu.org>
17080         * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
17082 2011-06-13  Martin Rudalics  <rudalics@gmx.at>
17084         * help.el (help-window): Remove variable.
17085         (help-window-point-marker, temp-buffer-max-height)
17086         (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
17087         (help-print-return-message): Don't set help-window.
17088         (resize-temp-buffer-window): Rewrite cod eand doc-string.
17089         (help-window-setup-finish): Remove.
17090         (help-window-display-message, help-window-setup)
17091         (with-help-window): Major rewrite based on new
17092         display-buffer-window variable.
17094         * help-mode.el (help-mode-finish): Remove help-window related
17095         code.
17097         * view.el (view-exits-all-viewing-windows): Remove reference to
17098         view-return-to-alist in doc-string.
17099         (view-return-to-alist): Make obsolete.
17100         (view-buffer): Call pop-to-buffer-same-window and remove
17101         undo-window code.
17102         (view-buffer-other-window): Call pop-to-buffer-other-window and
17103         simplify code.  Ignore second argument.
17104         (view-buffer-other-frame): Call pop-to-buffer-other-frame and
17105         simplify code.  Ignore second argument.
17106         (view-return-to-alist-update): Make obsolete.
17107         (view-mode-enter): Rename second argument to QUIT-RESTORE.
17108         Rewrite using quit-restore window parameters.
17109         (view-mode-exit): Rename second argument to EXIT-ONLY.
17110         Rewrite using quit-restore-window.
17111         (View-exit, View-exit-and-edit, View-leave, View-quit)
17112         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
17113         appropriate arguments.
17114         (view-end-message): Use quit-restore window parameter.
17116         * window.el (display-buffer-function): Rewrite doc-string.
17117         (display-buffer-window, display-buffer-alist): New variables.
17118         (display-buffer-split-specifiers)
17119         (display-buffer-side-specifiers)
17120         (display-buffer-macro-specifiers): New constants.
17121         (display-buffer-even-window-sizes, display-buffer-set-height)
17122         (display-buffer-set-width, display-buffer-select-window)
17123         (display-buffer-in-window, display-buffer-reuse-window)
17124         (display-buffer-split-window-1, display-buffer-split-window)
17125         (display-buffer-split-atom-window, display-buffer-pop-up-window)
17126         (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
17127         (display-buffer-in-side-window, normalize-buffer-to-display)
17128         (display-buffer-normalize-specifiers-1)
17129         (display-buffer-normalize-specifiers-2)
17130         (display-buffer-normalize-specifiers, display-buffer-frame):
17131         New functions.
17132         (display-buffer): Major rewrite.
17133         (display-buffer-other-window, display-buffer-other-frame)
17134         (pop-to-buffer, switch-to-buffer-other-window)
17135         (switch-to-buffer-other-frame): Rewrite.
17136         (display-buffer-same-window, display-buffer-same-frame)
17137         (display-buffer-same-frame-other-window)
17138         (pop-to-buffer-same-window, pop-to-buffer-same-frame)
17139         (pop-to-buffer-other-window)
17140         (pop-to-buffer-same-frame-other-window)
17141         (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
17142         (switch-to-buffer-other-window-same-frame): New functions.
17143         (same-window-p, special-display-p): Rewrite disabling warnings.
17144         Make obsolete.
17145         (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
17146         (display-buffer-mark-dedicated): Initialize to symbol 'unset.
17147         Make obsolete
17148         (same-window-buffer-names, same-window-regexps)
17149         (special-display-frame-alist, special-display-popup-frame)
17150         (special-display-function, special-display-buffer-names)
17151         (special-display-regexps, pop-up-frame-alist)
17152         (pop-up-frame-function, split-window-preferred-function)
17153         (split-height-threshold, split-width-threshold)
17154         (even-window-heights): Make obsolete.
17156 2011-06-12  Glenn Morris  <rgm@gnu.org>
17158         * term/xterm.el (terminal-init-xterm): `version' may be nil.  (Bug#8838)
17159         Misc simplifications.
17161 2011-06-12  Martin Rudalics  <rudalics@gmx.at>
17163         * window.el (window-safely-shrinkable-p): Restore function which
17164         was inadvertently removed in change from 2011-06-11.  Declare as
17165         obsolete.
17167         * calendar/calendar.el (calendar-generate-window):
17168         Use window-iso-combined-p instead of combination of one-window-p and
17169         window-safely-shrinkable-p.
17171 2011-06-12  Glenn Morris  <rgm@gnu.org>
17173         * progmodes/fortran.el (fortran-mode-syntax-table):
17174         * progmodes/f90.el (f90-mode-syntax-table):
17175         Set % to punctuation.  (Bug#8820)
17176         (f90-find-tag-default): Remove, no longer needed.
17178 2011-06-12  Daniel Colascione  <dan.colascione@gmail.com>
17180         * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
17182 2011-06-11  Chong Yidong  <cyd@stupidchicken.com>
17184         * image.el (image-animated-p): Return animation delay in seconds.
17185         Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
17186         (image-animate-timeout): Remove DELAY argument.  Don't assume
17187         every subimage has the same delay; get it from image-animated-p.
17188         (image-animate): Caller changed.
17190 2011-06-11  Michael Albinus  <michael.albinus@gmx.de>
17192         * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
17193         to ignored backtrace functions.
17195 2011-06-11  Glenn Morris  <rgm@gnu.org>
17197         * calendar/appt.el (appt-disp-window-function): Doc fix.
17198         (appt-check): Handle overlapping appointments.  (Bug#8337)
17200 2011-06-11  Martin Rudalics  <rudalics@gmx.at>
17202         * window.el (window-tree-1, window-tree): New functions, moving
17203         the latter to window.el.
17204         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
17205         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
17206         (bw-refresh-edges): Remove.
17207         (balance-windows-1, balance-windows-2): New functions.
17208         (balance-windows): Rewrite in terms of window tree functions,
17209         balance-windows-1 and balance-windows-2.
17210         (bw-adjust-window): Remove.
17211         (balance-windows-area-adjust): New function with functionality of
17212         bw-adjust-window but using resize-window.
17213         (set-window-text-height): Rewrite doc-string.
17214         Use normalize-live-window and resize-window.
17215         (enlarge-window-horizontally, shrink-window-horizontally):
17216         Rename argument to DELTA.
17217         (window-buffer-height): New function.
17218         (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
17219         Rewrite using new window resize routines.
17220         (kill-buffer-and-window, mouse-autoselect-window-select):
17221         Use ignore-errors instead of condition-case.
17222         (quit-window): Call delete-frame instead of delete-windows-on
17223         for the only buffer on frame.
17225 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
17227         * loadup.el (top-level): Load window before files for the sake
17228         of replace-buffer-in-windows.
17230         * files.el (read-buffer-to-switch)
17231         (switch-to-buffer-other-window)
17232         (switch-to-buffer-other-frame, display-buffer-other-frame):
17233         Move to window.el.
17235         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
17236         (previous-buffer): Move to window.el.
17238         * bindings.el (unbury-buffer): Move to window.el.
17240         * window.el (delete-other-windows-vertically): Move after
17241         definition of delete-other-windows.
17242         (other-window, delete-windows-on, replace-buffer-in-windows):
17243         Move here from window.c.
17244         (record-window-buffer, unrecord-window-buffer)
17245         (set-window-buffer-start-and-point, switch-to-prev-buffer)
17246         (switch-to-next-buffer): New functions.
17247         (get-next-valid-buffer, last-buffer, next-buffer): Move here
17248         from simple.el.  Call switch-to-next-buffer.
17249         (previous-buffer): Move here from simple.el.
17250         Call switch-to-prev-buffer.
17251         (bury-buffer): Move here from buffer.c.  Switch to previous
17252         buffer when window cannot be deleted.
17253         (unbury-buffer): Move here from bindings.el.
17254         (ctl-x-map): Move binding for other-window from window.c to
17255         here.
17256         (read-buffer-to-switch, switch-to-buffer-other-window)
17257         (switch-to-buffer-other-frame): Move here from files.el.
17258         (normalize-buffer-to-switch-to): New functions.
17259         (switch-to-buffer): Move here from buffer.c.
17260         Use read-buffer-to-switch and normalize-buffer-to-switch-to.
17262 2011-06-10  Martin Rudalics  <rudalics@gmx.at>
17264         * window.el (window-min-height, window-min-width): Move here
17265         from window.c.  Add defcustoms and rewrite doc-strings.
17266         (resize-mini-window, resize-window): New functions.
17267         (adjust-window-trailing-edge, enlarge-window, shrink-window):
17268         Move here from window.c.
17269         (maximize-window, minimize-window): New functions.
17270         (delete-window, delete-other-windows, split-window): Move here
17271         from window.c.
17272         (window-split-min-size): New function.
17273         (split-window-keep-point): Mention split-window-above-each-other
17274         instead of split-window-vertically.
17275         (split-window-above-each-other, split-window-vertically):
17276         Rename split-window-vertically to split-window-above-each-other
17277         and provide defalias for old definition.
17278         (split-window-side-by-side, split-window-horizontally):
17279         Rename split-window-horizontally to split-window-side-by-side
17280         and provide defalias for the old definition.
17281         (ctl-x-map): Move bindings for delete-window,
17282         delete-other-windows and enlarge-window here from window.c.
17283         Replace bindings for split-window-vertically and
17284         split-window-horizontally by bindings for
17285         split-window-above-each-other and split-window-side-by-side.
17287         * cus-start.el (all): Remove entries for window-min-height and
17288         window-min-width.  Add entries for window-splits and
17289         window-nest.
17291 2011-06-09  Glenn Morris  <rgm@gnu.org>
17293         * calendar/appt.el (appt-mode-line): New function.
17294         (appt-check, appt-disp-window): Use it.
17296         * files.el (hack-one-local-variable-eval-safep):
17297         Allow minor-modes with explicit +/-1 arguments.
17299 2011-06-09  Teodor Zlatanov  <tzz@lifelogs.com>
17301         * term/xterm.el (xterm): Add defgroup.
17302         (xterm-extra-capabilities): Add defcustom to supply known xterm
17303         capabilities, skip querying them, or query them (default).
17304         (terminal-init-xterm): Use it.
17305         (terminal-init-xterm-modify-other-keys): New function to set up
17306         modifyOtherKeys support to simplify `terminal-init-xterm'.
17308 2011-06-09  Martin Rudalics  <rudalics@gmx.at>
17310         * window.el (resize-window-reset, resize-window-reset-1)
17311         (resize-subwindows-skip-p, resize-subwindows-normal)
17312         (resize-subwindows, resize-other-windows, resize-this-window)
17313         (resize-root-window, resize-root-window-vertically)
17314         (window-deletable-p, window-or-subwindow-p)
17315         (frame-root-window-p): New functions.
17317 2011-06-09  Glenn Morris  <rgm@gnu.org>
17319         * net/ange-ftp.el (ange-ftp-switches-ok): New function.
17320         (ange-ftp-get-files): Use it.
17322 2011-06-09  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
17324         * mail/sendmail.el (mail-recover-1, mail-recover):
17325         * files.el (recover-file, recover-session):
17326         Handle dired-listing-switches not being just a single short option.
17328 2011-06-09  Glenn Morris  <rgm@gnu.org>
17330         * calendar/appt.el (appt-display-message, appt-disp-window):
17331         Handle lists of appointments.
17333 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
17335         * window.el (one-window-p): Move down in code.
17336         Rewrite doc-string.
17337         (window-current-scroll-bars): Rewrite doc-string.
17338         Normalize live window argument.
17339         (walk-windows, get-window-with-predicate, count-windows):
17340         Rewrite doc-string.  Use window-list-1.
17341         (window-in-direction-2, window-in-direction, get-mru-window):
17342         New functions.
17344 2011-06-08  Reuben Thomas  <rrt@sc3d.org>
17346         * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
17347         Doc fix (Bug#8713).
17349 2011-06-08  Chong Yidong  <cyd@stupidchicken.com>
17351         * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
17353 2011-06-08  Juanma Barranquero  <lekktu@gmail.com>
17355         * loadhist.el (unload-feature-special-hooks):
17356         Add `comint-output-filter-functions'.
17358 2011-06-08  Ivan Kanis  <gnu@kanis.fr>
17360         * calendar/appt.el (appt-check): Move some initializations into the let.
17362 2011-06-08  Martin Rudalics  <rudalics@gmx.at>
17364         * window.el (window-height): Defalias to window-total-height.
17365         (window-width): Defalias to window-body-width.
17367 2011-06-07  Chong Yidong  <cyd@stupidchicken.com>
17369         * image-mode.el (image-toggle-animation): New command.
17370         (image-mode-map): Bind it to RET.
17371         (image-mode): Update message.
17372         (image-toggle-display-image): Avoid a spurious cache flush.
17373         (image-transform-rotation): Doc fix.
17374         (image-transform-properties): Return quickly in the normal case.
17375         (image-animate-loop): Rename from image-animate-max-time.
17377         * image.el (image-animate-max-time): Move to image-mode.el.
17378         (create-animated-image): Remove unnecessary function.
17379         (image-animate): Rename from image-animate-start.  New arg.
17380         (image-animate-stop): Remove; just use image-animate-timer.
17381         (image-animate-timer): Use car-safe.
17382         (image-animate-timeout): Rename argument.
17384 2011-06-07  Martin Rudalics  <rudalics@gmx.at>
17386         * window.el (get-lru-window, get-largest-window): Move here from
17387         window.c.  Rename first argument to ALL-FRAMES.
17388         Rephrase doc-strings.
17389         (get-buffer-window-list): Rewrite using window-list-1.
17390         Rephrase doc-string.
17391         (window-safe-min-height, window-safe-min-width): New constants.
17392         (window-size-ignore, window-min-size, window-min-size-1)
17393         (window-sizable, window-sizable-p, window-size-fixed-1)
17394         (window-size-fixed-p, window-min-delta-1, window-min-delta)
17395         (window-max-delta-1, window-max-delta, window-resizable)
17396         (window-resizable-p, window-total-height, window-total-width)
17397         (window-body-width): New functions.
17398         (window-full-height-p, window-full-width-p): Rewrite using
17399         window-total-size.
17400         (window-body-height): Rewrite using window-body-size.
17402 2011-06-06  Martin Rudalics  <rudalics@gmx.at>
17404         * window.el (window-right, window-left, window-child)
17405         (window-child-count, window-last-child, window-any-p)
17406         (normalize-live-buffer, normalize-live-frame)
17407         (normalize-any-window, normalize-live-window)
17408         (window-iso-combination-p, window-iso-combined-p)
17409         (window-iso-combinations)
17410         (walk-window-tree-1, walk-window-tree, walk-window-subtree)
17411         (windows-with-parameter, window-with-parameter)
17412         (window-atom-root, make-window-atom, window-atom-check-1)
17413         (window-atom-check, window-side-check, window-check):
17414         New functions.
17415         (ignore-window-parameters, window-sides, window-sides-vertical)
17416         (window-sides-slots): New variables.
17417         (window-size-fixed): Move down in code.  Minor doc-string fix.
17419 2011-06-05  Andreas Schwab  <schwab@linux-m68k.org>
17421         * comint.el (comint-dynamic-complete-as-filename)
17422         (comint-dynamic-complete-filename): Correctly call
17423         completion-in-region.
17425 2011-06-05  Deniz Dogan  <deniz@dogan.se>
17427         * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
17428         in last change.
17430 2011-06-05  Deniz Dogan  <deniz@dogan.se>
17432         * net/rcirc.el (rcirc-prompt-for-encryption): New function.
17433         (rcirc): Use it to prompt for encryption.
17435 2011-06-05  Roland Winkler  <winkler@gnu.org>
17437         * textmodes/bibtex.el (bibtex-search-buffer): New variable.
17438         (bibtex-search-entries): New command bound to C-c C-a.
17439         (bibtex-display-entries): New function.
17441 2011-06-05  Roland Winkler  <winkler@gnu.org>
17443         * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
17444         (bibtex-insert-kill): After yanking insert newline if necessary.
17445         (bibtex-initialize): Call bibtex-string-files-init only once.
17446         (bibtex-mode): Do not call easy-menu-add.
17447         (bibtex-validate-globally): Use save-excursion in bibtex buffers.
17448         (bibtex-yank): Set arg properly if nil.
17450 2011-06-05  Roland Winkler  <winkler@gnu.org>
17452         * textmodes/bibtex.el (bibtex-search-entry-globally):
17453         New variable.
17454         (bibtex-search-entry): Use it.
17456 2011-06-05  Roland Winkler  <winkler@gnu.org>
17458         * textmodes/bibtex.el (bibtex-entry-format): New option
17459         sort-fields.
17460         (bibtex-format-entry, bibtex-reformat): Honor this option.
17461         (bibtex-parse-entry): Return fields in proper order.
17463 2011-06-05  Juanma Barranquero  <lekktu@gmail.com>
17465         * doc-view.el (doc-view-remove-if): Move computation of result out
17466         of `dolist' to silence misleading lexical-binding warning.
17468 2011-06-04  Chong Yidong  <cyd@stupidchicken.com>
17470         * emacs-lisp/timer.el (timer-activate): Remove unused arg.
17471         (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
17473 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
17475         * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
17476         "SunOS 5.10".
17478 2011-06-04  Michael Albinus  <michael.albinus@gmx.de>
17480         * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
17481         (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
17482         (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
17483         (tramp-parse-putty):
17484         * net/tramp-sh.el (tramp-completion-function-alist-rsh)
17485         (tramp-completion-function-alist-ssh)
17486         (tramp-completion-function-alist-telnet)
17487         (tramp-completion-function-alist-su)
17488         (tramp-completion-function-alist-putty): Set `tramp-autoload'
17489         cookie.
17491         * net/tramp-ftp.el:
17492         * net/tramp-sh.el:
17493         * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
17494         load "tramp.el" `tramp-set-completion-function'.
17496 2011-06-04  Stefan Monnier  <monnier@iro.umontreal.ca>
17498         * shell.el: Require and use pcomplete.
17499         (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
17500         (shell-completion-vars): Set pcomplete-default-completion-function.
17502 2011-06-04  Deniz Dogan  <deniz@dogan.se>
17504         * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
17505         `memq' (Bug#8799).
17507 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17509         * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
17511 2011-06-02  Juanma Barranquero  <lekktu@gmail.com>
17513         * bs.el (bs--mark-unmark, bs--nth-wrapper):
17514         * mpc.el (mpc-select-extend, mpc-songpointer-context):
17515         * vc/log-view.el (log-view-beginning-of-defun):
17516         * vc/smerge-mode.el (smerge-apply-resolution-patch)
17517         (smerge-refine-forward, smerge-refine-chopup-region):
17518         Silence warning for unused `dotimes' counter variables.
17520 2011-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
17522         * net/tramp.el (tramp-with-progress-reporter): Rename from
17523         with-progress-reporter.  Use `declare'.
17524         * net/tramp-smb.el:
17525         * net/tramp-sh.el:
17526         * net/tramp-gvfs.el: Update all uses.
17528 2011-06-02  Jay Belanger  <jay.p.belanger@gmail.com>
17530         * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
17531         buffer isn't killed before making it current.
17533 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17535         Silence various byte-compiler warnings.
17536         * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
17537         `access-type' and new obsolescence format.
17538         * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
17539         new format.
17540         (byte-compile-check-variable): New `access-type' argument.
17541         Only warn if the access-type is obsolete.
17542         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
17543         (byte-compile-variable-set): Adjust callers.
17544         * help-fns.el (describe-variable): Adjust to new obsolescence format.
17545         * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
17546         setting it as obsolete.
17547         * simple.el (minibuffer-completing-symbol):
17548         * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
17549         access as obsolete.
17550         * minibuffer.el (minibuffer-completing-file-name): Don't make it
17551         obsolete yet.
17552         * international/quail.el (quail-mouse-choose-completion): Remove unused
17553         code referring to obsolete var.
17554         (quail-choose-completion-string): Remove.
17555         * server.el (server-clients-with, server-kill-buffer-query-function)
17556         (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
17557         * proced.el (proced-send-signal):
17558         * emacs-lisp/lisp.el (lisp-complete-symbol):
17559         Replace completion-annotate-function with completion-extra-properties.
17561 2011-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17563         * simple.el (goto-line): Use read-number.
17564         (overriding-map-is-bound): Remove.
17565         (saved-overriding-map): Change default.
17566         (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
17567         Take the map as argument.
17568         (universal-argument, negative-argument, digit-argument): Use it.
17569         (restore-overriding-map): Adjust.
17570         (do-auto-fill): Use fill-forward-paragraph.
17571         (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
17573         * minibuffer.el (minibuffer-inactive-mode-map): New var.
17574         (minibuffer-inactive-mode): New major mode.
17575         * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
17576         the *Messages* buffer" hack.
17577         (mouse-popup-menubar): Don't burp if the event is a normal key.
17579         Miscellaneous tweaks.
17580         * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
17581         lexical scoping as in subr.el's dolist and dotimes.
17582         * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
17583         Silence compiler warning.
17584         * thingatpt.el (forward-whitespace): Trivial coding style fix.
17585         * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
17586         * international/ccl.el (ccl-compile): Trivial simplification.
17587         * help-fns.el (help-do-arg-highlight): Silence compiler warning.
17588         * emacs-lisp/testcover.el (testcover-end): Remove spurious
17589         `printflag' argument.
17590         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
17591         Purecopy the whole obsolescence data.
17593 2011-06-01  Leo Liu  <sdl.web@gmail.com>
17595         * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
17596         improve doc-string as suggested by Marco Pessotto
17597         <melmothx@gmail.com>.
17598         (rcirc-print): Fix last change.
17600 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17602         * minibuffer.el (complete-with-action): Return nil for the metadata and
17603         boundaries of non-functional tables.
17604         (completion-table-dynamic): Return nil for the metadata.
17605         (completion-table-with-terminator): Add default case, using
17606         complete-with-action.
17607         (completion--metadata): New function.
17608         (completion-all-sorted-completions, minibuffer-completion-help): Use it
17609         to try and avoid pathological performance problems.
17610         (completion--embedded-envvar-table): Return `category' metadata.
17612 2011-05-31  Lars Magne Ingebrigtsen  <larsi@gnus.org>
17614         * subr.el (process-alive-p): New tiny convenience function.
17616 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17618         * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
17619         content but also its previous major mode.
17621 2011-05-31  Helmut Eller  <eller.helmut@gmail.com>
17623         * emacs-lisp/debug.el (debug): Restore the previous content of the
17624         *Backtrace* buffer when we exit with C-M-c.
17626 2011-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
17628         * minibuffer.el: Add metadata method to completion tables.
17629         (completion-category-overrides): New defcustom.
17630         (completion-metadata, completion--field-metadata)
17631         (completion-metadata-get, completion--styles)
17632         (completion--cycle-threshold): New functions.
17633         (completion-try-completion, completion-all-completions):
17634         Add `metadata' argument to choose completion-styles.
17635         (completion--do-completion): Use metadata to choose cycling.
17636         (completion-all-sorted-completions): Use metadata for sorting.
17637         Remove :completion-cycle-penalty which is not needed any more.
17638         (completion--try-word-completion): Add `metadata' argument.
17639         (minibuffer-completion-help): Check metadata for annotation function
17640         and sorting.
17641         (completion-file-name-table): Return `category' metadata.
17642         (minibuffer-completing-file-name): Make obsolete.
17643         * simple.el (minibuffer-completing-symbol): Make obsolete.
17644         * icomplete.el (icomplete-completions): Pass new `metadata' param to
17645         completion-try-completion.
17647 2011-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17649         * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
17651 2011-05-30  Leo Liu  <sdl.web@gmail.com>
17653         * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
17654         (rcirc-print): Decode all incoming messages (bug#8744).
17655         (rcirc-decode-coding-system): Allow value nil for automatic coding
17656         system detection.
17658 2011-06-01  Glenn Morris  <rgm@gnu.org>
17660         * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
17662 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
17664         * image.el (image-animate-max-time): Allow nil and t values.
17665         Default to nil.
17666         (create-animated-image): Doc fix.
17667         (image-animate-start): Remove second arg; just use
17668         image-animate-max-time.
17669         (image-animate-timeout): Doc fix.  Args changed.
17671         * image-mode.el (image-toggle-display-image): Ensure that the
17672         image spec passed to the animate timer is the same object as in
17673         the buffer's display property (Bug#6981).
17674         (image-transform-properties): Doc fix.
17676         * image.el (image-animate-max-time): Default to nil.
17678 2011-05-29  Martin Rudalics  <rudalics@gmx.at>
17680         * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
17681         entire buffer list (Bug#8184).
17683 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
17685         * image.el (imagemagick-types-inhibit)
17686         (imagemagick-register-types): Doc fix.
17688 2011-05-29  Deniz Dogan  <deniz@dogan.se>
17690         * net/rcirc.el (rcirc): Use the user's stored encryption method by
17691         default.
17693 2011-05-29  Chong Yidong  <cyd@stupidchicken.com>
17695         * select.el: Don't perform clipboard-manager saving in hooks;
17696         leave the hooks empty.
17698 2011-05-28  Leo Liu  <sdl.web@gmail.com>
17700         * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
17701         (occur-mode-map): Bind occur-edit-mode.  Use occur-menu-map.
17702         (occur-edit-mode): New major mode (Bug#8463).
17703         (occur-after-change-function): New function.
17704         (occur-engine): Give Occur tags a read-only property.
17706 2011-05-28  Kevin Ryde  <user42@zip.com.au>
17708         * subr.el (def-edebug-spec): Doc fix (Bug#8430).
17710 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
17712         * bindings.el (help-echo): Make the initial non-indicator dash
17713         empty on graphical terminals (Bug#7295).
17715         * files.el (auto-mode-alist): Move config rule after the
17716         in-stripping one (Bug#8547).
17718         * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
17720         * startup.el (normal-splash-screen): Remove gratuitous mode-line
17721         setting (Bug#8740).
17723 2011-05-28  Alp Aker  <aker@pitt.edu>  (tiny change)
17725         * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
17726         (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
17727         (Bug#8539).
17729 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
17731         * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
17733 2011-05-28  Dima Kogan  <dkogan@cds.caltech.edu>  (tiny change)
17735         * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
17736         (hs-hide-block-at-point, hs-find-block-beginning)
17737         (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
17738         (Bug#8279).
17740 2011-05-28  Glenn Morris  <rgm@gnu.org>
17742         * startup.el (fancy-about-screen): Use standard mode line.  (Bug#8740)
17744 2011-05-28  Chong Yidong  <cyd@stupidchicken.com>
17746         * help-fns.el (describe-function-1): If the function is a derived
17747         major mode, print the parent mode.
17749         * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
17750         (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
17752 2011-05-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17754         * minibuffer.el (completion--capf-wrapper): Check applicability before
17755         returning non-nil for non-exclusive completion data.
17756         * progmodes/etags.el (tags-completion-at-point-function):
17757         * info-look.el (info-lookup-completions-at-point): Mark as
17758         non-exclusive.
17759         (info-complete): Adjust accordingly.
17761         * info-look.el: Convert to lexical-binding and completion-at-point.
17762         (info-lookup-completions-at-point): New function.
17763         (info-complete): Use it and completion-in-region.
17765 2011-05-28  Drew Adams  <drew.adams@oracle.com>
17767         * isearch.el: Let M-e start with point at the first mismatched char.
17768         (isearch-fail-pos): New function.
17769         (isearch-edit-string): Use it.
17771 2011-05-28  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
17773         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17775 2011-05-27  Toby Cubitt  <toby-predictive@dr-qubit.org>
17777         * emacs-lisp/avl-tree.el: New avl-tree-stack datatype.  Add new
17778         traversal functions for avl-trees.
17779         (avl-tree--stack): New struct.
17780         (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
17781         (avl-tree-enter): Add optional `updatefun' arg.
17782         (avl-tree--do-enter): Add optional `updatefun' arg.
17783         Change return value.
17784         (avl-tree-delete): Add optional `test' and `nilflag' args.
17785         (avl-tree--do-delete): Add `test' and `nilflag' args.
17786         Change return value.
17787         (avl-tree-member): Add optional `nilflag'
17788         (avl-tree-member-p): New function.
17789         (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
17790         (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
17791         (avl-tree-stack-empty-p): New functions.
17793         * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
17794         avl-tree--del-balance1 and make it work both ways.
17795         (avl-tree--del-balance2): Remove.
17796         (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
17797         make it work both ways.
17798         (avl-tree--enter-balance2): Remove.
17799         (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
17800         New macros.
17801         (avl-tree--mapc, avl-tree-map): Add direction argument.
17803 2011-05-27  David Michael  <fedora.dm0@gmail.com>  (tiny change)
17805         * files.el (interpreter-mode-alist): Add rbash (bug#8745).
17807 2011-05-27  Chong Yidong  <cyd@stupidchicken.com>
17809         * select.el: Support clipboard managers with built-in function
17810         x-clipboard-manager-save, via delete-frame-functions and
17811         kill-emacs-hook.
17812         (xselect-convert-to-targets): Add MULTIPLE target to list.
17813         (xselect-convert-to-save-targets): New function.
17815 2011-05-27  Kenichi Handa  <handa@m17n.org>
17817         * mail/sendmail.el (mail-encode-header): Avoid double encoding by
17818         let-binding rfc2047-encode-encoded-words to nil.
17820 2011-05-27  Glenn Morris  <rgm@gnu.org>
17822         * mail/emacsbug.el: Don't require url-util.
17824         * shell.el (shell-directory-tracker): Case matters.  (Bug#8735)
17826         * files.el (set-auto-mode):
17827         Also respect mode: entries at the end of the file.  (Bug#8586)
17829 2011-05-26  Glenn Morris  <rgm@gnu.org>
17831         * files.el (hack-local-variables-prop-line, hack-local-variables):
17832         Downcase mode names, as seems to be traditional.
17833         (hack-local-variables, hack-local-variables-apply): Doc fixes.
17835         * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
17836         (report-emacs-bug-hook): Try to validate the From address.  (Bug#8038)
17838 2011-05-25  Julien Danjou  <julien@danjou.info>
17840         * textmodes/rst.el (rst-define-level-faces): Do not define face
17841         symbol if it is already defined.
17843 2011-05-24  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17845         * play/5x5.el (5x5-new-game, 5x5-randomize):
17846         Reset 5x5-solver-output to nil when a new grid is cast.
17847         (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
17848         these debugging traces, as defmacro breaks the compiled code.
17850 2011-05-24  Dmitry Kurochkin  <dmitry.kurochkin@gmail.com>  (tiny change)
17852         * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
17854 2011-05-24  Leo Liu  <sdl.web@gmail.com>
17856         * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
17857         (vc-bzr-sha1): Adapt.
17859         * sha1.el: Remove.  Function `sha1' is now builtin.
17861         * bindings.el: Provide sha1 feature.
17863 2011-05-24  Kenichi Handa  <handa@m17n.org>
17865         * mail/sendmail.el: Require `rfc2047'.
17866         (mail-insert-from-field): Do not perform RFC2047 encoding.
17867         (mail-encode-header): New function.
17868         (sendmail-send-it): Set buffer-file-coding-system of the work
17869         buffer to the return value of select-message-coding-system.
17870         Call mail-encode-header.
17872         * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
17874 2011-05-24  Sean Neakums  <sneakums@zork.net>  (tiny change)
17876         * mail/supercite.el (sc-default-cite-frame):
17877         Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
17879 2011-05-24  Glenn Morris  <rgm@gnu.org>
17881         * progmodes/python.el (brm-menu): Declare.
17883         * emulation/viper.el (viper-set-hooks): Declare.
17885         * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
17886         (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
17887         (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
17888         (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
17889         (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
17890         (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
17892 2011-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17894         Add an :exit-function for completion-at-point.
17896         * minibuffer.el (completion--done): New fun.
17897         (completion--do-completion): Use it.  New arg `expect-exact'.
17898         (minibuffer-complete, minibuffer-complete-word): Don't output message,
17899         since completion--do-completion does it for us now.
17900         (minibuffer-force-complete): Use completion--done and
17901         completion--replace.  Handle sole-completion case with more care.
17902         (minibuffer-complete-and-exit): Use new `expect-exact' arg.
17903         (completion-extra-properties): New var.
17904         (completion-annotate-function): Make obsolete.
17905         (minibuffer-completion-help): Adjust accordingly.
17906         Use completion-list-insert-choice-function.
17907         (completion-at-point, completion-help-at-point):
17908         Bind completion-extra-properties.
17909         (completion-pcm-word-delimiters): Add | (for uniquify, for example).
17910         * simple.el (completion-list-insert-choice-function): New var.
17911         (completion-setup-function): Preserve it.
17912         (choose-completion): Pay attention to it, shuffle the code a bit.
17913         (choose-completion-string): New arg `insert-function'.
17915         * textmodes/bibtex.el: Convert to lexical binding.
17916         (bibtex-mode-map): Use completion-at-point.
17917         (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
17918         (bibtex-completion-at-point-function): New fun, from bibtex-complete.
17919         (bibtex-complete): Define as obsolete alias.
17920         (bibtex-complete-internal): Remove.
17921         (bibtex-format-entry): Remove unused sub-group in regexp.
17922         * shell.el (shell--command-completion-data)
17923         (shell-environment-variable-completion):
17924         * pcomplete.el (pcomplete-completions-at-point):
17925         * comint.el (comint--complete-file-name-data): Use :exit-function
17926         instead of completion-table-with-terminator so it also works for
17927         choose-completion.
17929 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17931         * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
17933         * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
17934         (bug#8710).
17936         * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
17938 2011-05-23  Ken Manheimer  <ken.manheimer@gmail.com>
17940         * allout.el (allout-inhibit-auto-fill-on-headline): Create new
17941         customization variable and implement: If non-nil, auto-fill will
17942         be inhibited while on topic's header line.
17944 2011-05-23  Vincent Belaïche  <vincentb1@users.sourceforge.net>
17946         * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
17947         click on.  II/ Make 5x5 multisession.  III/ Ensure that random grids
17948         always have a solution in grid size = 5 cases.
17949         (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
17950         (5x5-solver-output, 5x5-log-buffer): New vars.
17951         (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
17952         Make these variables buffer local to achieve 5x5 multi-session-ness.
17953         (5x5): Set 5x5-grid-size only if SIZE is non-negative.
17954         (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
17955         (5x5-solve-suggest): New funs.
17956         (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
17957         randomize a grid so that we ensure that there is always a solution.
17958         (5x5-make-random-grid): Allow other movement than flipping.
17960 2011-05-23  Kevin Ryde  <user42@zip.com.au>
17962         * emacs-lisp/advice.el (ad-read-advised-function):
17963         Use `function-called-at-point' as the default, if it has
17964         advice and passes PREDICATE.
17966 2011-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17968         * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
17969         byte-compile-lambda if it's actually a lambda.
17971         * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
17972         Fix function quoting.  Use backquote better.
17974 2011-05-22  Yuanle Song  <sylecn@gmail.com>
17976         * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
17977         matching (Bug#8516).
17979 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
17981         * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
17982         different face (Bug#8178).
17984 2011-05-22  Chong Yidong  <cyd@stupidchicken.com>
17986         * vc/diff-mode.el (diff-changed): Don't use terminal specs for
17987         defface (Bug#8144).
17989 2011-05-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17991         * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
17992         funcall as well (bug#8712).  Warn when performing those conversions.
17993         * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
17995         * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
17997 2011-05-22  Glenn Morris  <rgm@gnu.org>
17999         * files.el (hack-local-variables-prop-line): Small simplifications.
18000         (hack-local-variables, hack-local-variables-prop-line):
18001         If MODE-ONLY, return the mode, rather than just `t'.
18003 2011-05-21  Stefan Monnier  <monnier@iro.umontreal.ca>
18005         * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
18007 2011-05-21  Glenn Morris  <rgm@gnu.org>
18009         * files.el (hack-local-variables-prop-line, hack-local-variables):
18010         If only interested in the mode, don't bother doing the other stuff.
18012         * image-mode.el (image-after-revert-hook):
18013         Redraw all frames on which the image is visible.  (Bug#8567)
18015         * dired-aux.el (dired-touch-initial): Just use current-time.  (Bug#6887)
18017         * wid-edit.el (widget-checklist-match-inline):
18018         Fix 2011-04-19 change.  (Bug#8649)
18020 2011-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
18022         * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
18023         Also allow singlespace after single-letter capitals followed by a dot.
18025         * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
18026         enabled.  Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
18028 2011-05-20  Nix  <nix@esperi.org.uk>
18030         * files.el (basic-save-buffer-2):
18031         Fix handling of break-hardlink-on-save with non-existent files.
18033 2011-05-19  Deniz Dogan  <deniz@dogan.se>
18035         * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
18036         (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
18038 2011-05-19  Glenn Morris  <rgm@gnu.org>
18040         * progmodes/f90.el (f90-type-def-re):
18041         Handle "type, bind(c)".  (Bug#8691)
18043         * emacs-lisp/autoload.el (batch-update-autoloads):
18044         Set autoload-excludes by parsing loadup.el rather than Makefiles.
18046 2011-05-18  Michael Albinus  <michael.albinus@gmx.de>
18048         * net/tramp.el (tramp-process-actions): Set "first-password-request"
18049         property for the correct connection in case of multihops.
18051 2011-05-18  Glenn Morris  <rgm@gnu.org>
18053         * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
18054         * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
18056         Rationalize calendar handling of day and month abbrev-arrays.
18057         * calendar/calendar.el (calendar-customized-p): New function.
18058         (calendar-abbrev-construct, calendar-make-alist): Change what it does.
18059         (calendar-day-name-array, calendar-month-name-array): Doc fix.
18060         Add :set function.
18061         (calendar-abbrev-length, calendar-day-abbrev-array)
18062         (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
18063         (calendar-day-abbrev-array, calendar-month-abbrev-array):
18064         Elements may no longer be nil.
18065         (calendar-day-name, calendar-month-name):
18066         Update for changed nature of abbrev arrays.
18067         * calendar/diary-lib.el (diary-name-pattern):
18068         Update for changed nature of abbrev arrays.
18069         (diary-mark-entries-1): Update calendar-make-alist calls.
18070         (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
18071         * calendar/cal-html.el (cal-html-day-abbrev-array):
18072         Simply inherit from calendar-day-abbrev-array.
18074 2011-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
18076         * progmodes/grep.el (grep-mode): Disable default
18077         compilation-directory-matcher setting (bug#8684).
18079 2011-05-17  Michael Albinus  <michael.albinus@gmx.de>
18081         * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
18082         instead of "head" and "tail".  There were problems with SunOS 5.9,
18083         and it performs better.
18085 2011-05-17  Glenn Morris  <rgm@gnu.org>
18087         * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
18089         * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
18090         Replace obsolete function.
18092         * shell.el (pcomplete-parse-arguments-function): Declare.
18094         * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
18095         (appt-display-diary, appt-display-interval, appt-prev-comp-time)
18096         (appt-check): Doc fixes.
18097         (appt-disp-window-function, appt-delete-window-function):
18098         Remove needless special case in custom :type.
18099         (appt-display-count): Default to 0, not nil.
18100         (appt-check): Reset appt-display-count to 0, not nil.
18102 2011-05-17  Juanma Barranquero  <lekktu@gmail.com>
18104         * progmodes/python.el (python-font-lock-keywords):
18105         Add the Python 3.X keyword "nonlocal" (bug#8639).
18107 2011-05-16  Stefan Monnier  <monnier@iro.umontreal.ca>
18109         * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
18111 2011-05-16  Kevin Ryde  <user42@zip.com.au>
18113         * info-look.el (makefile-automake-mode): New setups, looking in
18114         automake manual, then makefile-mode.
18115         (makefile-mode): Remove automake manual, have it just in
18116         makefile-automake-mode since there's various things different or
18117         not relevant to plain make.
18118         (makefile-mode): Remove "other-modes" non-existent automake-mode,
18119         believe a hypothetical automake-mode would go to makefile-mode,
18120         not the other way around.
18122 2011-05-15  Chong Yidong  <cyd@stupidchicken.com>
18124         * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
18125         hunk-end tags (Bug#8672).
18127         * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
18128         vc-annotate-show-diff-revision-at-line (Bug#8671).
18130 2011-05-14  Glenn Morris  <rgm@gnu.org>
18132         * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
18133         in the middle of an existing one with multiple authors.  (Bug#8645)
18134         (change-log-font-lock-keywords): Also handle multiple author lines
18135         with leading tabs.  (Bug#8644)
18137         * calendar/appt.el (appt-check): Rename some local variables.
18138         Some simplification/reordering.
18140         * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
18141         (feedmail-sendmail-f-doesnt-sell-me-out)
18142         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18143         (feedmail-debug-sit-for, feedmail-queue-express-hook)
18144         (feedmail-queue-runner-message-sender): Set :version.
18145         (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
18146         (bbdb-dwim-net-address, vm-mail): Declare.
18147         (feedmail-binmail-gnulinuxish-template):
18148         Rename from feedmail-binmail-linuxish-template.
18149         (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
18150         Use insert-buffer-substring.
18152 2011-05-14  Bill Carpenter  <bill@carpenter.org>
18154         * mail/feedmail.el (feedmail-patch-level): Increase.
18155         (feedmail-debug): New custom group.
18156         (feedmail-confirm-outgoing-timeout)
18157         (feedmail-sendmail-f-doesnt-sell-me-out)
18158         (feedmail-queue-slug-suspect-regexp, feedmail-debug)
18159         (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
18160         (feedmail-sender-line, feedmail-from-line)
18161         (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
18162         (feedmail-spray-this-address)
18163         (feedmail-spray-address-fiddle-plex-list)
18164         (feedmail-queue-use-send-time-for-date)
18165         (feedmail-queue-use-send-time-for-message-id)
18166         (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
18167         (feedmail-buffer-eating-function):
18168         Doc fixes.
18169         (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
18170         (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
18171         (feedmail-message-action-scroll-down): New functions.
18172         (feedmail-queue-directory, feedmail-queue-draft-directory):
18173         Use expand-file-name.
18174         (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
18175         Remove C-v help entry.
18176         (feedmail-queue-buffer-file-name): New variable.
18177         (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
18178         (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
18179         (feedmail-message-action-send-strong, feedmail-message-action-edit)
18180         (feedmail-message-action-draft, feedmail-message-action-draft-strong)
18181         (feedmail-message-action-queue, feedmail-message-action-queue-strong)
18182         (feedmail-message-action-toggle-spray)
18183         (feedmail-run-the-queue-no-prompts)
18184         (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
18185         (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
18186         (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
18187         (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
18188         (feedmail-envelope-deducer, feedmail-fiddle-from)
18189         (feedmail-fiddle-sender, feedmail-default-date-generator)
18190         (feedmail-fiddle-date, feedmail-fiddle-message-id)
18191         (feedmail-fiddle-spray-address)
18192         (feedmail-fiddle-list-of-spray-fiddle-plexes)
18193         (feedmail-fiddle-list-of-fiddle-plexes)
18194         (feedmail-fill-to-cc-function, feedmail-fill-this-one)
18195         (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
18196         (feedmail-queue-runner-message-sender, feedmail-binmail-template):
18197         Change default.  Doc fix.
18198         (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
18199         (feedmail-binmail-linuxish-template): New constant.
18200         (feedmail-buffer-to-sendmail): Doc fix.  Add debug call.
18201         Respect feedmail-sendmail-f-doesnt-sell-me-out.
18202         (feedmail-send-it): Add debug call.
18203         Use feedmail-queue-buffer-file-name, and
18204         feedmail-send-it-immediately-wrapper.
18205         (feedmail-message-action-send): Add debug call.
18206         Use feedmail-send-it-immediately-wrapper.
18207         (feedmail-queue-express-to-queue): Add debug call.
18208         Run feedmail-queue-express-hook.
18209         (feedmail-message-action-help): Add debug call.  Use feedmail-p-h-b-n.
18210         (feedmail-message-action-help-blat):
18211         Rename from feedmail-queue-send-edit-prompt-help-first.
18212         (feedmail-run-the-queue): Add debug call.  Set buffer-file-type.
18213         Check line-endings.  Handle errors better.
18214         (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
18215         Doc fix.  Add debug call.
18216         (feedmail-queue-send-edit-prompt): Doc fix.  Add debug call.
18217         Use feedmail-queue-send-edit-prompt-inner.
18218         (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
18219         (feedmail-queue-send-edit-prompt-inner): New function, extracted
18220         from feedmail-queue-send-edit-prompt.
18221         (feedmail-queue-send-edit-prompt-help)
18222         (feedmail-queue-send-edit-prompt-help-later): Remove functions.
18223         (feedmail-tidy-up-slug): Add debug call.
18224         Respect feedmail-queue-slug-suspect-regexp.
18225         (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
18226         (feedmail-dump-message-to-queue): Add debug call.
18227         Expand queue-directory.
18228         (feedmail-dump-message-to-queue): Change message slightly.
18229         Use feedmail-say-chatter.
18230         (feedmail-rfc822-date): Add debug call.  Bind system-time-locale.
18231         (feedmail-send-it-immediately-wrapper): New function.
18232         (feedmail-send-it-immediately): Add debug calls.  Use let not let*.
18233         Insert empty string rather than newline.  Handle full-frame case.
18234         Use catch/throw.  Use feedmail-say-chatter.
18235         (feedmail-fiddle-from): Try mail-host-address.
18236         (feedmail-default-message-id-generator): Doc fix.
18237         Bind system-time-locale.  Handle missing end.
18238         (feedmail-fiddle-x-mailer): Add debug call.
18239         Handle feedmail-x-mailer-line being nil.
18240         (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
18241         Add debug call.  Use buffer-substring-no-properties.
18242         (feedmail-say-debug, feedmail-say-chatter): New functions.
18243         (feedmail-find-eoh): Give an explicit error.
18245 2011-05-13  Ulf Jasper  <ulf.jasper@web.de>
18247         * net/newst-treeview.el (newsticker-treeview-face): Change default
18248         family from helvetica to sans.
18249         (newsticker-treeview-tool-bar-map): Move tool-bar icons to
18250         etc/images/newsticker.
18252         * net/newst-reader.el (newsticker-feed-face): Change default
18253         family from helvetica to sans.
18255         * net/newst-plainview.el (newsticker-new-item-face)
18256         (newsticker-old-item-face, newsticker-immortal-item-face)
18257         (newsticker-obsolete-item-face, newsticker-date-face)
18258         (newsticker-statistics-face): Change default family from
18259         helvetica to sans.
18260         (newsticker--plainview-tool-bar-map): Move tool-bar icons to
18261         etc/images/newsticker.
18263         * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
18264         (newsticker--process-auto-mark-filter-match): Tell user about
18265         auto-marking.
18267 2011-05-13  Didier Verna  <didier@xemacs.org>
18269         Common Lisp indentation improvements on defmethod and lambda-lists.
18270         * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
18271         TODO entries.
18272         (lisp-lambda-list-keyword-parameter-indentation)
18273         (lisp-lambda-list-keyword-parameter-alignment)
18274         (lisp-lambda-list-keyword-alignment): New customizable user options.
18275         (lisp-indent-defun-method): Improve docstring.
18276         (extended-loop-p): Fix comment.
18277         (lisp-indent-lambda-list-keywords-regexp): New variable.
18278         (lisp-indent-lambda-list): New function.
18279         (lisp-indent-259): Use it.
18280         (lisp-indent-defmethod): Support for more than one
18281         method qualifier and properly indent methods lambda-lists.
18282         (defgeneric): Provide a missing common-lisp-indent-function property.
18284 2011-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18286         * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
18287         bounds for the empty string (bug#8667).
18289 2011-05-13  Glenn Morris  <rgm@gnu.org>
18291         * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
18293         * mail/sendmail.el (sendmail-program): Try executable-find first.
18294         (sendmail-send-it): `sendmail-program' cannot be unbound.
18296         * calendar/appt.el (appt-make-list): Simplify.
18297         (appt-time-msg-list): Doc fix.
18298         (appt-check): Change mode-line message at the time of the appointment.
18300 2011-05-12  Andreas Schwab  <schwab@linux-m68k.org>
18302         * progmodes/ld-script.el (ld-script-keywords)
18303         (ld-script-builtins): Update keywords list.
18305 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18307         * progmodes/grep.el (grep-filter): Don't trip on partial lines.
18309         * shell.el (shell-completion-vars): New function.
18310         (shell-mode):
18311         * simple.el (read-shell-command): Use it.
18312         (blink-matching-open): No need for " [...]" in minibuffer-message.
18314 2011-05-12  Glenn Morris  <rgm@gnu.org>
18316         * calendar/appt.el (appt-now-displayed): Remove pointless variable.
18317         (appt-check): Simplify.
18319 2011-05-12  Eli Zaretskii  <eliz@gnu.org>
18321         * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
18322         literal "/dev/null".
18324 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18326         * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
18327         Fix typo.
18329 2011-05-12  Ralph Schleicher  <rs@ralph-schleicher.de>
18331         * progmodes/which-func.el (which-function):
18332         Use add-log-current-defun instead of add-log-current-defun-function,
18333         which might not be defined (Bug#8260).
18335 2011-05-12  Glenn Morris  <rgm@gnu.org>
18337         * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
18338         Let byte-compile-initial-macro-environment always take precedence.
18340 2011-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18342         * net/rcirc.el: Add support for SSL/TLS connections.
18343         (rcirc-server-alist): New field `encryption'.
18344         (rcirc): Check `encryption' settings.
18345         (rcirc-connect): New arg `encryption'.  Use open-network-stream.
18346         Merge make-local-variable into `set'.
18347         (rcirc--connection-open-p): New function.
18348         (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
18349         the process is not a network process (e.g. running gnutls-cli).
18350         (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
18351         Make rcirc-(en|de)code-coding-system local here.
18352         (rcirc-mode): Merge make-local-variable into `set'.
18353         (rcirc-parent-buffer): Make permanent buffer-local.
18354         (rcirc-multiline-minor-mode): Don't do it here.
18355         (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
18356         there's no server buffer.
18358 2011-05-11  Glenn Morris  <rgm@gnu.org>
18360         * newcomment.el (comment-kill): Prefix "unused" local.
18362         * term/w32console.el (get-screen-color): Declare.
18364         * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
18365         Handle symbol elements of byte-compile-initial-macro-environment.
18367 2011-05-10  Leo Liu  <sdl.web@gmail.com>
18369         * bookmark.el (bookmark-bmenu-mode-map):
18370         Bind bookmark-bmenu-search to `/'.
18372         * mail/footnote.el: Convert to utf-8 encoding.
18373         (footnote-unicode-string, footnote-unicode-regexp): New variable.
18374         (Footnote-unicode): New function.
18375         (footnote-style-alist): Add unicode style to the list.
18376         (footnote-style): Doc fix.
18378 2011-05-10  Jim Meyering  <meyering@redhat.com>
18380         Fix doubled-word typos.
18381         * international/quail.el (quail-insert-kbd-layout): and and -> and
18382         * kermit.el: and and -> and
18383         * net/ldap.el (ldap-search-internal): to to -> to
18384         * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
18385         * progmodes/js.el (js-mode): and and -> and
18386         * textmodes/artist.el (artist-move-to-xy): at at -> at
18387         (artist-draw-region-trim-line-endings): if if -> if
18388         And Safetyc -> Safety.
18389         * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
18391 2011-05-10  Glenn Morris  <rgm@gnu.org>
18392             Stefan Monnier  <monnier@iro.umontreal.ca>
18394         * files.el (hack-one-local-variable-eval-safep):
18395         Consider "eval: (foo-mode)" to be safe.  (Bug#8613)
18397 2011-05-10  Glenn Morris  <rgm@gnu.org>
18399         * calendar/diary-lib.el (diary-list-entries-hook)
18400         (diary-mark-entries-hook, diary-nongregorian-listing-hook)
18401         (diary-nongregorian-marking-hook, diary-list-entries)
18402         (diary-include-other-diary-files, diary-mark-entries)
18403         (diary-mark-included-diary-files): Doc fixes.
18405 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
18407         * misc.el: Require tabulated-list.el during compilation.
18409 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
18411         * progmodes/compile.el (compilation-start):
18412         Run compilation-filter-hook for the async case too.
18413         (compilation-filter-hook): Doc fix.
18415 2011-05-09  Deniz Dogan  <deniz@dogan.se>
18417         * wdired.el: Remove outdated installation comment.  Fix usage
18418         comment.
18420 2011-05-09  Juanma Barranquero  <lekktu@gmail.com>
18422         * misc.el: Implement new command `list-dynamic-libraries'.
18423         (list-dynamic-libraries--loaded-only-p): New variable.
18424         (list-dynamic-libraries--refresh): New function.
18425         (list-dynamic-libraries): New command.
18427 2011-05-09  Chong Yidong  <cyd@stupidchicken.com>
18429         * progmodes/compile.el (compilation-error-regexp-alist-alist):
18430         Fix the ant regexp to handle end-line and end-column info from jikes.
18431         Re-introduce maven regexp.  Give the ruby-Test::Unit regexp a
18432         higher priority to avoid clobbering by gnu.
18434 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
18436         * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
18437         if the face has existing theme settings (Bug#8454).
18439 2011-05-08  Ralph Schleicher  <rs@ralph-schleicher.de>
18441         * progmodes/perl-mode.el (perl-imenu-generic-expression):
18442         Only match variables declared via `my' or `our' (Bug#8261).
18444         * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
18445         special file names `.' and `..' (Bug#8259).
18447 2011-05-08  Chong Yidong  <cyd@stupidchicken.com>
18449         * progmodes/grep.el (grep-mode-font-lock-keywords):
18450         Remove buffer-changing entries.
18451         (grep-filter): New function.
18452         (grep-mode): Add it to compilation-filter-hook.
18454         * progmodes/compile.el (compilation-filter-hook)
18455         (compilation-filter-start): New defvars.
18456         (compilation-filter): Call compilation-filter-hook prior to
18457         updating the process mark.
18459 2011-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18461         * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
18463 2011-05-07  Eli Zaretskii  <eliz@gnu.org>
18465         * mail/sendmail.el (send-mail-function): On MS-Windows, default to
18466         mailclient-send-it even if window-system is nil.  (Bug#8595)
18468         * term/w32console.el (terminal-init-w32console):
18469         Call get-screen-color and use its output to set the frame
18470         background-mode.  (Bug#8597)
18472 2011-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
18474         Make bytecomp.el understand that defmethod defines funs (bug#8631).
18475         * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
18476         New functions.
18477         (defgeneric, eieio--defmethod): Use them.
18478         (eieio-defgeneric): Remove.
18479         (defmethod): Call defgeneric in a way visible to the byte-compiler.
18481 2011-05-07  Glenn Morris  <rgm@gnu.org>
18483         * calendar/timeclock.el (timeclock-log-data): Remove unused local.
18484         Use let rather than let*.
18485         (timeclock-find-discrep): Remove unused local.
18487         * calendar/diary-lib.el (diary-comment-start): Doc fix.
18489         * calendar/appt.el (appt-time-msg-list): Doc fix.
18491 2011-05-06  Noah Friedman  <friedman@splode.com>
18493         * apropos.el (apropos-print-doc): Only use
18494         emacs-lisp-docstring-fill-column when it is bound to an integer,
18495         per that variable's documentation.
18497 2011-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
18499         * lpr.el (print-region-1): Echo lpr-program's output, so error messages
18500         and warnings are not silently discarded (e.g. use -d instead of -P).
18502 2011-05-06  Glenn Morris  <rgm@gnu.org>
18504         * calendar/appt.el (appt-message-warning-time): Doc fix.
18505         (appt-warning-time-regexp): New option.
18506         (appt-make-list): Respect appt-message-warning-time.
18508         * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
18509         New options.
18510         (diary-add-to-list): Strip comments from the displayed string.
18511         (diary-mode): Set comment-start and comment-end.
18513         * vc/diff-mode.el (smerge-refine-subst): Declare.
18514         (diff-refine-hunk): Don't require smerge-mode when compiling.
18516 2011-05-06  Juanma Barranquero  <lekktu@gmail.com>
18518         * simple.el (list-processes): Return nil as the docstring says.
18520 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
18522         * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
18523         to "".
18524         (ange-ftp-write-region, ange-ftp-insert-file-contents)
18525         (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
18526         determining of binary transfer.  (Bug#7383)
18528 2011-05-05  Michael Albinus  <michael.albinus@gmx.de>
18530         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18531         Fix port computation bug.  (Bug#8618)
18533 2011-05-05  Glenn Morris  <rgm@gnu.org>
18535         * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
18537         * simple.el (shell-dynamic-complete-functions)
18538         (comint-dynamic-complete-functions): Declare.
18540         * net/network-stream.el (gnutls-negotiate):
18541         * simple.el (tabulated-list-print): Fix declarations.
18543         * progmodes/gud.el (syntax-symbol, syntax-point):
18544         Remove unnecessary and incorrect declarations.
18546         * emacs-lisp/check-declare.el (check-declare-scan):
18547         Handle byte-compile-initial-macro-environment in bytecomp.el.
18549 2011-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18551         Fix earlier half-done eieio-defmethod change (bug#8338).
18552         * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
18553         Streamline and change calling convention.
18554         (defmethod): Adjust accordingly and simplify.
18555         (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
18556         new eieio--defmethod.
18557         (slot-boundp): Minor CSE simplification.
18559 2011-05-05  Milan Zamazal  <pdm@zamazal.org>
18561         * progmodes/glasses.el (glasses-separate-capital-groups): New option.
18562         (glasses-make-readable): Use glasses-separate-capital-groups.
18564 2011-05-05  Juanma Barranquero  <lekktu@gmail.com>
18566         * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
18567         (warning-series): Doc fix.
18568         (display-warning): Don't try to create the buffer if we just found it.
18570 2011-05-04  Chong Yidong  <cyd@stupidchicken.com>
18572         * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
18573         (autoload-find-generated-file): New function.
18574         (generate-file-autoloads): Bind generated-autoload-file to
18575         buffer-file-name.
18576         (update-file-autoloads, update-directory-autoloads):
18577         Use autoload-find-generated-file.  If called interactively, prompt for
18578         output file (Bug#7989).
18579         (batch-update-autoloads): Doc fix.
18581 2011-05-04  Juanma Barranquero  <lekktu@gmail.com>
18583         * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
18585 2011-05-04  Glenn Morris  <rgm@gnu.org>
18587         * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
18588         function, so it follows changes in calendar-date-style.
18589         (diary-fancy-date-matcher): New function.
18590         (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
18591         (diary-fancy-font-lock-fontify-region-function):
18592         Use diary-fancy-date-pattern as a function.
18594         * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
18595         non-numbers for `year' etc pseudo-variables.  (Bug#8583)
18597 2011-05-04  Teodor Zlatanov  <tzz@lifelogs.com>
18599         * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
18600         instead of positional arguments.  Allow :keylist and :crlfiles
18601         arguments.
18602         (open-gnutls-stream): Call it.
18604         * net/network-stream.el (network-stream-open-starttls): Adjust to
18605         call `gnutls-negotiate' with :process and :hostname arguments.
18607 2011-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18609         * minibuffer.el (completion--message): New function.
18610         (completion--do-completion, minibuffer-complete)
18611         (minibuffer-force-complete, minibuffer-complete-word): Use it.
18612         (completion--do-completion): Don't ignore completion-auto-help when in
18613         icomplete-mode.
18615         * whitespace.el (whitespace-trailing-regexp): Don't rely on the
18616         internal encoding (e.g. tibetan zero is not whitespace).
18617         (global-whitespace-mode): Prefer save-current-buffer.
18618         (whitespace-trailing-regexp): Remove useless save-match-data.
18619         (whitespace-empty-at-bob-regexp): Minor simplification.
18621 2011-05-03  Chong Yidong  <cyd@stupidchicken.com>
18623         * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
18625 2011-05-03  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
18627         * textmodes/ispell.el (ispell-add-per-file-word-list):
18628         Use `concat' to create string for insertion.
18630 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18632         * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
18633         Avoid open-line which runs post-self-insert-hook.
18634         (bibtex-fill-entry): Remove unused `end' var.
18636 2011-05-03  Dirk Ullrich  <dirk.ullrich@googlemail.com>  (tiny change)
18638         * textmodes/ispell.el (ispell-add-per-file-word-list):
18639         Protect against `nil' value of `comment-start' (Bug#8579).
18641 2011-05-03  Leo Liu  <sdl.web@gmail.com>
18643         * isearch.el (isearch-yank-pop): New command.
18644         (isearch-mode-map): Bind it to `M-y'.
18645         (isearch-forward): Mention it.
18647 2011-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
18649         * simple.el (minibuffer-complete-shell-command): Remove.
18650         (minibuffer-local-shell-command-map): Use completion-at-point.
18651         (read-shell-command): Setup completion vars here instead.
18652         (read-expression-map): Bind TAB to symbol completion.
18654         * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
18655         error directly rather via storing it into `results'.
18657 2011-05-02  Leo Liu  <sdl.web@gmail.com>
18659         * vc/diff.el: Fix description.
18661 2011-05-02  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18663         * server.el (server-eval-at): New function.
18665 2011-05-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
18667         * net/network-stream.el (open-network-stream): Take a :nowait
18668         parameter and pass it on to `make-network-process'.
18669         (network-stream-open-plain): Ditto.
18671 2011-04-30  Andreas Schwab  <schwab@linux-m68k.org>
18673         * faces.el (face-spec-set-match-display): Don't match toolkit
18674         options on terminal frames.
18676 2011-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18678         * progmodes/pascal.el: Use lexical binding.
18679         (pascal-mode-map): Remove author preferences.
18681         * pcomplete.el (pcomplete-std-complete): Don't abuse
18682         completion-at-point.
18684 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
18686         * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
18687         removing code that has been dead since 1991 or so.
18689         * startup.el (command-line): When warning about "_emacs", use a
18690         delayed warning to allow the user to filter it out.
18692 2011-04-28  Deniz Dogan  <deniz@dogan.se>
18694         * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
18695         user has not joined.
18697 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18699         * pcomplete.el (pcomplete-completions-at-point): Return nil if there
18700         aren't any completions at point.
18702 2011-04-28  Juanma Barranquero  <lekktu@gmail.com>
18704         * subr.el (display-delayed-warnings): New function.
18705         (delayed-warnings-hook): New variable.
18707 2011-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18709         * minibuffer.el (completion-at-point, completion-help-at-point):
18710         Don't presume that a given completion-at-point-function will always
18711         use the same calling convention.
18713         * pcomplete.el (pcomplete-completions-at-point):
18714         Obey pcomplete-ignore-case.  Don't call pcomplete-norm-func unless
18715         pcomplete-seen is non-nil.
18716         (pcomplete-comint-setup): Also recognize the new comint/shell
18717         completion functions.
18718         (pcomplete-do-complete): Don't call pcomplete-norm-func unless
18719         pcomplete-seen is non-nil.
18721 2011-04-27  Niels Giesen  <niels.giesen@gmail.com>
18723         * calendar/icalendar.el (diary-lib): Add require statement.
18724         (icalendar--create-uid): Read out a uid from a text-property on
18725         the first character in the entry.  This allows for code to add its
18726         own uid to the entry.
18727         (icalendar--convert-float-to-ical): Add export of
18728         `diary-float'-entries save for those with the optional DAY
18729         argument.
18731 2011-04-27  Daniel Colascione  <dan.colascione@gmail.com>
18733         * subr.el (shell-quote-argument): Use alternate escaping strategy
18734         when we spot a variable reference in a string.
18736 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
18738         * cus-start.el (all): Define customization for debug-on-event.
18740 2011-04-26  Daniel Colascione  <dan.colascione@gmail.com>
18742         * subr.el (shell-quote-argument): Escape correctly under Windows.
18744 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18746         * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
18748 2011-04-25  Michael Albinus  <michael.albinus@gmx.de>
18750         * net/tramp.el (tramp-process-actions): Add POS argument.
18751         Delete region between POS and (pos).
18753         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
18754         Use `nil' position in `tramp-process-actions' call.
18755         (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
18757         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
18758         position in `tramp-process-actions' call.
18760         * net/trampver.el: Update release number.
18762 2011-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
18764         * custom.el (defcustom): Obey lexical-binding.
18766         Fix octave-inf completion problems reported by Alexander Klimov.
18767         * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
18768         Inherit from octave-mode-syntax-table.
18769         (inferior-octave-mode): Set info-lookup-mode.
18770         (inferior-octave-completion-at-point): New function.
18771         (inferior-octave-complete): Use it and completion-in-region.
18772         (inferior-octave-dynamic-complete-functions): Use it as well, and use
18773         comint-filename-completion.
18774         * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
18775         symbol elements which shouldn't be word elements.
18776         (octave-font-lock-keywords, octave-beginning-of-defun)
18777         (octave-function-header-regexp): Adjust regexps accordingly.
18778         (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
18780 2011-04-25  Juanma Barranquero  <lekktu@gmail.com>
18782         * net/gnutls.el (gnutls-errorp): Declare before first use.
18784 2011-04-24  Teodor Zlatanov  <tzz@lifelogs.com>
18786         * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
18787         verify-error, and verify-hostname-error parameters.  Check whether
18788         default trustfile exists before going to use it.  Add missing
18789         argument to gnutls-message-maybe call.  Return value.
18790         Reported by Claudio Bley <claudio.bley@gmail.com>.
18791         (open-gnutls-stream): Add usage example.
18793         * net/network-stream.el (network-stream-open-starttls): Give host
18794         parameter to `gnutls-negotiate'.
18795         (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
18796         * subr.el (shell-quote-argument): Escape correctly under Windows.
18798 2011-04-24  Daniel Colascione  <dan.colascione@gmail.com>
18800         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
18801         Use correct match group (bug#8438).
18803 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
18805         * emacs-lisp/package.el (package-built-in-p): Fix typo.
18806         (package-menu--generate): New arg specifying packages to show.
18807         (package-menu-refresh, package-menu-execute, list-packages):
18808         Callers changed.
18809         (package-show-package-list): New function, replacing deleted
18810         package--list-packages (renamed because it is non-internal).
18812         * finder.el (finder-list-matches): Use package-show-package-list
18813         instead of deleted package--list-packages.
18815         * vc/vc-annotate.el (vc-annotate-goto-line): New command.
18816         Based on a previous implementation by Juanma Barranquero (Bug#8366).
18817         (vc-annotate-mode-map): Bind it to RET.
18819 2011-04-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
18821         * progmodes/etags.el (next-file): Don't use set-buffer to change
18822         buffers (Bug#8478).
18824 2011-04-24  Chong Yidong  <cyd@stupidchicken.com>
18826         * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
18828         * apropos.el (apropos-label-face): Avoid variable-pitch face.
18829         (apropos-accumulator): Doc fix.
18830         (apropos-function, apropos-macro, apropos-command)
18831         (apropos-variable, apropos-face, apropos-group, apropos-widget)
18832         (apropos-plist): Add face property.
18833         (apropos-symbols-internal): Fix indentation.
18834         (apropos-print): Simplify help, and recognize apropos-multi-type.
18835         (apropos-print-doc): Use button-type-get to extract the button's
18836         face property.  Fill docstring (Bug#8352).
18838 2011-04-23  Juanma Barranquero  <lekktu@gmail.com>
18840         * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
18842         * play/mpuz.el (mpuz-silent): Doc fix.
18843         (mpuz-mode-map): Use mapc.
18844         (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
18845         (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
18846         Fix typos in docstrings.
18848         * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
18849         (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
18851         * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
18853 2011-04-23  Chong Yidong  <cyd@stupidchicken.com>
18855         * minibuffer.el (completion--do-completion): Avoid the "Next char
18856         not unique" prompt if icomplete-mode is enabled (Bug#5849).
18858         * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
18859         mouse-2 into unread-command-events, it is interpreted correctly.
18861         * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
18862         (image-toggle-display): Doc fix.
18864 2011-04-23  Stephen Berman  <stephen.berman@gmx.net>
18866         * textmodes/page.el (what-page): Use line-number-at-pos to
18867         calculate line number (Bug#6825).
18869 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
18871         * eshell/esh-mode.el (find-tag-interactive): Declare function.
18872         (eshell-find-tag): Remove `with-no-warnings', unneeded now.
18873         Pass argument NO-DEFAULT to `find-tag-interactive'.
18875 2011-04-22  Juanma Barranquero  <lekktu@gmail.com>
18877         Lexical-binding cleanup.
18879         * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
18880         (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
18881         * progmodes/ada-prj.el (ada-prj-initialize-values)
18882         (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
18883         (ada-prj-show-value):
18884         * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
18885         * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
18886         (antlr-invalidate-context-cache, antlr-options-menu-filter)
18887         (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
18888         * progmodes/bug-reference.el (bug-reference-push-button):
18889         * progmodes/fortran.el (fortran-line-length):
18890         * progmodes/glasses.el (glasses-change):
18891         * progmodes/octave-mod.el (octave-fill-paragraph):
18892         * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
18893         (python-pdbtrack-grub-for-buffer, python-sentinel):
18894         * progmodes/sql.el (sql-save-connection):
18895         * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
18896         * progmodes/xscheme.el (xscheme-enter-debugger-mode):
18897         Mark unused parameters.
18899         * progmodes/compile.el (compilation--flush-directory-cache)
18900         (compilation--flush-parse, compile-internal): Mark unused parameters.
18901         (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
18902         (compilation-next-error-function): Remove unused variable `timestamp'.
18904         * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
18905         (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
18907         * progmodes/dcl-mode.el (dcl-end-of-command):
18908         Remove unused variable `start'.
18909         (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
18910         (dcl-option-value-basic, dcl-option-value-offset)
18911         (dcl-option-value-margin-offset, dcl-option-value-comment-line):
18912         Mark unused parameters.
18913         (dcl-save-local-variable): Remove unused variable `val'.
18914         (mode): Declare.
18916         * progmodes/delphi.el (delphi-save-state, delphi-after-change):
18917         Mark unused parameters.
18918         (delphi-ignore-changes): Move before first use.
18919         (delphi-charset-token-at): Remove unused variable `start'.
18920         (delphi-else-start): Remove unused variable `if-count'.
18921         (delphi-comment-block-start, delphi-comment-block-end):
18922         Remove unused variable `kind'.
18923         (delphi-indent-line): Remove unused variable `new-point'.
18925         * progmodes/ebrowse.el (ebrowse-files-list)
18926         (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
18927         Mark unused parameters.  Don't quote `lambda'.
18928         (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
18929         Don't quote `lambda'.
18930         (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
18931         (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
18932         (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
18933         (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
18934         Use `ignore-errors'.
18935         (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
18936         (ebrowse-view/find-file-and-search-pattern)
18937         (ebrowse-view/find-member-declaration/definition):
18938         Rename parameter TAGS-FILE-NAME to TAGS-FILE.
18939         (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
18940         Rename parameter PREFIX-ARG to PREFIX.
18941         (ebrowse-tags-read-name): Remove unused variables `start' and
18942         `member-info'.
18943         (ebrowse-display-member-buffer): Rename variable `tags-file-name'
18944         to `tags-file'.
18946         * progmodes/etags.el (local-find-tag-hook): Declare.
18947         (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
18948         Mark unused parameters.
18950         * progmodes/executable.el (compilation-error-regexp-alist): Declare.
18951         (executable-interpret): Mark unused parameter.
18953         * progmodes/flymake.el (flymake-process-sentinel)
18954         (flymake-after-change-function)
18955         (flymake-create-temp-with-folder-structure)
18956         (flymake-get-include-dirs-dot): Mark unused parameters.
18957         (flymake-safe-delete-directory): Remove unused variable `err'.
18959         * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
18960         (speedbar-timer-fn, speedbar-line-text)
18961         (speedbar-change-expand-button-char, speedbar-delete-subblock)
18962         (speedbar-center-buffer-smartly): Declare functions.
18963         (gdb-find-watch-expression): Remove unused variable `array'.
18964         (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
18965         (gdb-starting): Mark unused parameters.
18966         (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
18967         (gdb-table-string): Remove unused variable `res'.
18968         (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
18969         (gdb-disassembly-handler-custom): Remove unused variable `pos'.
18970         (gdb-display-buffer): Remove unused variable `cur-size'.
18972         * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
18973         allow lexical-binding compilation.
18974         (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
18975         (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
18976         (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
18977         Mark unused parameters.
18978         (gud-gdb-marker-filter): Remove unused variable `match'.
18979         (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
18980         lambda expressions and funcall them, instead of using `fset'.
18982         * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
18983         HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
18985         * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
18986         variable `header-beg'; use `let'.
18988         * progmodes/icon.el (indent-icon-exp): Remove unused variables
18989         `restart', `last-sexp' and `at-do'.
18991         * progmodes/js.el (js--debug): Mark unused parameter.
18992         (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
18993         (js--splice-into-items): Remove unused variable `item'.
18994         (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
18996         * progmodes/make-mode.el (makefile-make-font-lock-keywords):
18997         Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
18998         (makefile-complete): Remove unused variable `try'.
18999         (makefile-fill-paragraph, makefile-match-function-end):
19000         Mark unused parameters.
19002         * progmodes/octave-inf.el (inferior-octave-complete):
19003         Remove unused variable `proc'.
19004         (inferior-octave-output-digest): Mark unused parameter.
19006         * progmodes/perl-mode.el (perl-calculate-indent):
19007         Remove unused variable `err'.
19009         * progmodes/prolog.el (prolog-mode-keybindings-inferior)
19010         (prolog-indent-line): Mark unused parameters.
19011         (prolog-indent-line): Remove unused variable `beg'.
19013         * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
19014         (reporter-dont-compact-list): Declare.
19016         * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
19017         Remove unused variable `char'.
19018         (sh-debug): Mark unused parameter.
19019         (sh-get-indent-info): Remove unused variable `start'.
19020         (sh-calculate-indent): Remove unused variable `var'.
19022         * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
19023         (simula-electric-keyword): Remove unused variable `null'.
19024         (simula-search-backward, simula-search-forward): Remove unused
19025         variables `begin' and `end'.
19027         * progmodes/vera-mode.el (vera-guess-basic-syntax):
19028         Remove unused variable `pos'.
19029         (vera-electric-tab, vera-comment-uncomment-region):
19030         Mark unused parameters.
19031         (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
19033 2011-04-22  Chong Yidong  <cyd@stupidchicken.com>
19035         * emacs-lisp/package.el (package--builtins, package-alist)
19036         (package-load-descriptor, package-built-in-p, package-activate)
19037         (define-package, package-installed-p)
19038         (package-compute-transaction, package-buffer-info)
19039         (package--push): Doc fix.  Distinguish more clearly between
19040         version strings and version lists.
19042 2011-04-21  Juanma Barranquero  <lekktu@gmail.com>
19044         Lexical-binding cleanup.
19046         * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
19047         (5x5-make-mutate-best):
19048         * play/fortune.el (fortune-in-buffer):
19049         * play/gomoku.el (gomoku-init-display):
19050         * play/solitaire.el (solitaire, solitaire-do-check):
19051         * play/tetris.el (tetris-default-update-speed-function):
19052         Mark unused parameters.
19054         * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
19055         (bubbles--shift): Remove unused variable `char-org'.
19056         (bubbles--set-faces): Remove unused variable `fg-col'.  Simplify.
19057         (bubbles--show-images): Remove unused variable `char'.
19059         * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
19060         (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
19061         (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
19062         (decipher-analyze-buffer): Use ?\s.
19063         (decipher-make-checkpoint): Remove unused variable `mapping'.
19065         * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
19067         * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
19068         Remove unused variable `result'; use `let'.
19070         * play/gametree.el (gametree-current-layout, gametree-apply-layout):
19071         Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
19072         (gametree-children-shown-p, gametree-compute-reduced-score):
19073         Use `ignore-errors'.
19075         * play/handwrite.el (ps-lpr-switches): Declare.
19076         (handwrite): Remove unused variables `pmin' and `lastp'.
19078         * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
19080         * play/landmark.el (landmark-init-display)
19081         (landmark-update-naught-weights): Mark unused parameters.
19082         (landmark-y): Remove unused variable `noise'.  Simplify.
19083         (landmark-human-plays): Remove unused variable `score'.
19085         * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
19086         (mpuz-try-proposal): Remove unused variable `game'.
19088         * play/zone.el (life-patterns): Declare.
19090 2011-04-20  Juanma Barranquero  <lekktu@gmail.com>
19092         * vc/vc.el (ediff-vc-internal): Declare function.
19094 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19096         * shell.el: Use lexical-binding and std completion UI.
19097         (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
19098         (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
19099         comint-preoutput-filter-functions rather than on
19100         comint-output-filter-functions.
19101         (shell-command-completion, shell--command-completion-data)
19102         (shell-filename-completion, shell-environment-variable-completion)
19103         (shell-c-a-p-replace-by-expanded-directory): New functions.
19104         (shell-dynamic-complete-functions, shell-dynamic-complete-command)
19105         (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
19106         (shell-dynamic-complete-environment-variable): Use them.
19107         (shell-dynamic-complete-as-environment-variable)
19108         (shell-dynamic-complete-as-command): Remove.
19109         (shell-match-partial-variable): Match past point.
19110         * comint.el: Clean up use of completion-at-point-functions.
19111         (comint-completion-at-point): New function.
19112         (comint-mode): Use it completion-at-point-functions.
19113         (comint-dynamic-complete): Make it obsolete.
19114         (comint-replace-by-expanded-history-before-point): Add dry-run arg.
19115         (comint-c-a-p-replace-by-expanded-history): New function.
19116         (comint-dynamic-complete-functions)
19117         (comint-replace-by-expanded-history): Use it.
19118         * minibuffer.el (completion-table-with-terminator): Allow dynamic
19119         termination strings.  Try harder to avoid second try-completion.
19120         (completion-in-region-mode-map): Disable bindings that don't work yet.
19122         * comint.el: Use lexical-binding.  Require CL.
19123         (comint-dynamic-complete-functions): Use comint-filename-completion.
19124         (comint-completion-addsuffix): Tweak custom type.
19125         (comint-filename-completion, comint--common-suffix)
19126         (comint--common-quoted-suffix, comint--table-subvert)
19127         (comint--complete-file-name-data): New functions.
19128         (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
19129         (comint-dynamic-list-filename-completions): Use them.
19130         (comint-dynamic-simple-complete): Make obsolete.
19132         * minibuffer.el (completion-in-region-mode):
19133         Keep completion-in-region-mode--predicate global.
19134         (completion-in-region--postch):
19135         Assume completion-in-region-mode--predicate is not null.
19137         * progmodes/flymake.el (flymake-start-syntax-check-process):
19138         Obey `dir'.  Simplify.
19140         * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
19141         we're in VC after all.
19143 2011-04-20  Christoph Scholtes  <cschol2112@googlemail.com>
19145         * vc/vc.el (vc-diff-build-argument-list-internal)
19146         (vc-version-ediff, vc-ediff): New commands.
19147         (vc-version-diff): Use vc-diff-build-argument-list-internal.
19149 2011-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
19151         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
19152         add sanity check.
19154         * obsolete/erc-hecomplete.el: Make obsolete.
19155         * obsolete/: Standardize obsolescence info in the header.
19157 2011-04-20  Glenn Morris  <rgm@gnu.org>
19159         * calendar/solar.el (solar-horizontal-coordinates):
19160         Use the longitude argument rather than `calendar-longitude'.
19161         (solar-date-next-longitude): Remove unused locals.
19163 2011-04-20  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
19165         * whitespace.el: New version 13.2.1.
19167 2011-04-20  felix  <EmacsWiki>  (tiny change)
19169         * whitespace.el (global-whitespace-mode): Keep highlight when
19170         switching between major modes on a file.
19172 2011-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19174         * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
19175         (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
19176         multi-line comments as well.
19178 2011-04-19  Juanma Barranquero  <lekktu@gmail.com>
19180         Lexical-binding cleanup.
19182         * arc-mode.el (archive-mode-revert):
19183         * cmuscheme.el (scheme-interactively-start-process):
19184         * custom.el (custom-initialize-delay):
19185         * dnd.el (dnd-open-local-file, dnd-open-remote-url):
19186         * dos-w32.el (direct-print-region-helper, direct-print-region-function):
19187         * emacs-lock.el (emacs-lock-clear-sentinel):
19188         * ezimage.el (defezimage):
19189         * follow.el (follow-avoid-tail-recenter):
19190         * fringe.el (set-fringe-mode-1):
19191         * generic-x.el (bat-generic-mode-compile):
19192         * help-mode.el (help-info-variable, help-do-xref)
19193         (help-mode-revert-buffer):
19194         * help.el (view-emacs-todo):
19195         * iswitchb.el (iswitchb-completion-help):
19196         * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
19197         * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
19198         (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
19199         * locate.el (locate-update):
19200         * longlines.el (longlines-encode-region)
19201         (longlines-after-change-function):
19202         * outline.el (outline-isearch-open-invisible):
19203         * ps-def.el (declare-function, charset-dimension, char-width)
19204         (encode-char):
19205         * ps-mule.el (ps-mule-plot-string):
19206         * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
19207         (recentf-edit-list-select, recentf-edit-list-validate)
19208         (recentf-open-files-action):
19209         * rect.el (delete-whitespace-rectangle-line)
19210         (rectangle-number-line-callback):
19211         * register.el (window-configuration-to-register)
19212         (frame-configuration-to-register):
19213         * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
19214         * select.el (xselect-convert-to-string, xselect-convert-to-length)
19215         (xselect-convert-to-targets, xselect-convert-to-delete)
19216         (xselect-convert-to-filename, xselect-convert-to-charpos)
19217         (xselect-convert-to-lineno, xselect-convert-to-colno)
19218         (xselect-convert-to-os, xselect-convert-to-host)
19219         (xselect-convert-to-user, xselect-convert-to-class)
19220         (xselect-convert-to-name, xselect-convert-to-integer)
19221         (xselect-convert-to-atom, xselect-convert-to-identity):
19222         * subr.el (declare, ignore, process-kill-without-query)
19223         (text-clone-maintain):
19224         * terminal.el (te-get-char, te-tic-sentinel):
19225         * tool-bar.el (tool-bar-make-keymap):
19226         * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
19227         * type-break.el (type-break-mode, type-break-noninteractive-query):
19228         * view.el (View-back-to-mark):
19229         * wid-browse.el (widget-browse-action, widget-browse-widget)
19230         (widget-browse-widgets, widget-browse-sexp):
19231         * widget.el (define-widget-keywords):
19232         * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
19233         Mark unused parameters.
19235         * align.el (align-adjust-col-for-rule): Mark unused parameter.
19236         (align-areas): Remove unused variable `look'.
19237         (align-region): Remove unused variables `real-end' and `pos-list'.
19239         * apropos.el (apropos-score-doc): Remove unused variable `i'.
19241         * bindings.el (mode-line-modified, mode-line-remote):
19242         Mark unused parameters.
19243         (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
19245         * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
19246         (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
19248         * comint.el (comint-history-isearch-pop-state)
19249         (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
19250         (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
19251         (comint-substitute-in-file-name): Doc fix.
19253         * completion.el (cmpl-statistics-block): Mark unused parameter.
19254         (add-completions-from-tags-table, add-completions-from-lisp-buffer)
19255         (save-completions-to-file, load-completions-from-file):
19256         Remove unused local variable `e'.
19258         * composite.el (compose-chars): Remove unused variable `len'.
19259         (lgstring-insert-glyph): Remove unused variable `g'.
19260         (compose-glyph-string): Remove unused variables `ascent',
19261         `descent', `lbearing' and `rbearing'.
19262         (compose-glyph-string-relative): Remove unused variables
19263         `lbearing', `rbearing' and `wadjust'.
19264         (compose-gstring-for-graphic): Remove unused variables `header',
19265         `wadjust', `xoff' and `yoff'.  Use `let', not `let*'.
19266         (compose-gstring-for-terminal): Remove unused variables `header'
19267         and `nchars'.  Use `let', not `let*'.
19269         * cus-edit.el (Custom-set, Custom-save, custom-reset)
19270         (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
19271         (Custom-buffer-done, custom-buffer-create-internal)
19272         (custom-browse-visibility-action, custom-browse-group-tag-action)
19273         (custom-browse-variable-tag-action, custom-browse-face-tag-action)
19274         (widget-magic-mouse-down-action, custom-toggle-parent)
19275         (custom-add-parent-links, custom-toggle-hide-variable)
19276         (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
19277         (custom-toggle-hide-face, face, hook, custom-group-link-action)
19278         (custom-face-menu-create, custom-variable-menu-create, get)
19279         (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
19280         (custom-reset-standard-save-and-update): Remove unused variable `value'.
19281         (customize-apropos): Remove unused variable `tests'.
19282         (custom-group-value-create): Remove unused variable `hidden-p'.
19283         (sort-fold-case): Declare.
19285         * cus-theme.el (custom-reset-standard-faces-list)
19286         (custom-reset-standard-variables-list): Declare.
19287         (customize-create-theme, custom-theme-revert, custom-theme-write)
19288         (custom-theme-choose-mode, customize-themes, custom-theme-save):
19289         Mark unused parameters.
19291         * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
19293         * delim-col.el (delimit-columns-max): Move defvar before first use.
19295         * descr-text.el (describe-char-categories): Don't quote `lambda'.
19296         (describe-char): Don't quote `lambda'.  Mark unused parameter.
19298         * desktop.el (desktop-save-buffer-p): Mark unused parameter.
19299         (auto-insert): Declare.
19300         (desktop-restore-file-buffer): Rename desktop-* parameters;
19301         mark unused ones.
19302         (desktop-create-buffer): Rename desktop-* parameters and bind them.
19303         (desktop-buffer): Rename desktop-* parameters.
19305         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
19306         (dframe-reposition-frame-xemacs, dframe-help-echo)
19307         (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
19308         Mark unused parameters.
19310         * dired-aux.el (backup-extract-version-start, overwrite-query)
19311         (overwrite-backup-query, rename-regexp-query)
19312         (rename-non-directory-query): Declare.
19313         (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
19314         (dired-add-entry): Remove unused variable `orig-file-name'.
19315         (dired-copy-file-recursive): Remove unused variable `dirfailed'.
19316         Use parameter PRESERVE-TIME instead of accessing dynamic variable
19317         `dired-copy-preserve-time' directly.
19318         (dired-do-create-files-regexp): Remove unused variable `fn-count'.
19319         (dired-insert-subdir-newpos): Rename unused variable `pos'.
19321         * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
19322         (dired-virtual-revert, dired-make-relative-symlink):
19323         Mark unused parameters.
19324         (manual-program): Declare.
19325         (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
19326         (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
19327         wrapped in `with-no-warnings' to avoid replacing one warning by another.
19329         * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
19331         * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
19333         * echistory.el (electric-history-in-progress, Helper-return-blurb):
19334         Declare.
19336         * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
19338         * electric.el (Electric-command-loop): Rename parameter
19339         INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
19341         * expand.el (expand-in-literal): Remove unused variable `here'.
19343         * facemenu.el (facemenu-add-new-color):
19344         Remove unused variable `docstring'.
19346         * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
19347         (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
19348         (face-attr-construct): Mark unused parameter.  Doc fix.
19349         (read-color): Remove unused variable `hex-string'.
19351         * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
19352         (locate-dominating-file): Remove unused vars `prev-file' and `user'.
19353         (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
19354         (display-buffer-other-frame): Remove unused variable `old-window'.
19355         (kill-buffer-hook): Declare.
19356         (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
19357         Mark unused parameters.
19358         (after-find-file): Pass 1 to `auto-save-mode', not t.
19360         * files-x.el (auto-insert): Declare.
19361         (modify-file-local-variable-prop-line): Remove unused variable `val'.
19363         * find-lisp.el (find-lisp-find-dired-internal): Remove unused
19364         variable `buf'.  Mark unused parameter.
19365         (find-lisp-insert-directory): Mark unused parameter.
19367         * format.el (format-decode-run-method): Mark unused parameter; doc fix.
19368         (format-encode-region): Remove unused variables `cur-buf' and `result'.
19369         (format-common-tail): Remove, unused.
19370         (format-deannotate-region): Remove unused variable `loc'.
19371         (format-annotate-region): Remove unused variable `p'.
19372         (format-annotate-single-property-change): Remove unused variables
19373         `default' and `tail'.
19375         * forms.el (read-file-filter): Declare.
19376         (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
19378         * frame.el (frame-creation-function-alist): Mark unused parameter.
19379         (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
19381         * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
19382         Remove unused parameters.
19383         (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
19384         (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
19386         * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
19387         (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
19388         (hfy-prepare-tag-map): Mark unused parameters.
19389         (htmlfontify-buffer): Use `called-interactively-p'.
19391         * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
19392         (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
19393         (ibuffer-do-occur): Mark unused parameters.
19394         (ibuffer-forward-next-marked): Remove unused variable `curmark'.
19395         (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
19397         * ibuffer.el: Don't quote `lambda'.
19398         (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
19399         (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
19400         Mark unused parameters.
19402         * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
19403         (ido-completing-read): Mark unused parameters.
19404         (ido-copy-current-word): Mark unused parameters;
19405         remove unused variable `name'.
19406         (ido-sort-merged-list): Remove unused parameter `dirs'.
19408         * ielm.el (ielm-input-sender): Mark unused parameter.
19409         (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
19410         (ielm-output, ielm-wbuf, ielm-pmark): Declare.
19411         (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
19412         `ielm-string' as a dynamic variable accessible from the IELM prompt.
19413         Bind `ielm-string' to INPUT-STRING.  Remove unused variable `err'.
19415         * image-dired.el (image-dired-display-thumbs): Remove unused
19416         variables `curr-file' and `count'.
19417         (image-dired-remove-tag): Remove unused variable `start'.
19418         (image-dired-tag-files, image-dired-create-thumbs): Remove unused
19419         variable `curr-file'
19420         (image-dired-rotate-original): Remove unused variable `temp-file'.
19421         (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
19422         Remove unused variable `file'.
19423         (image-dired-gallery-generate): Remove unused variable `curr'.
19424         (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
19426         * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
19428         * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
19430         * informat.el (texinfo-command-start, texinfo-command-end): Declare.
19432         * isearch.el (minibuffer-history-symbol): Declare.
19433         (isearch-edit-string): Remove unused variable `err'.
19434         (isearch-message-prefix, isearch-message-suffix):
19435         Mark unused parameters.
19437         * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
19439         * macros.el (insert-kbd-macro): Remove unused variable `mods'.
19441         * makesum.el (double-column): Remove unused variable `cnt'.
19443         * misearch.el (multi-isearch-pop-state): Mark unused parameter.
19444         (ido-ignore-item-temp-list): Declare.
19446         * mouse-drag.el (mouse-drag-throw): Remove unused variables
19447         `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
19448         `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
19449         (mouse-drag-drag): Remove unused variables `mouse-delta' and
19450         `mouse-col-delta'.
19452         * mouse-sel.el (mouse-extend-internal):
19453         Remove unused variable `orig-window-frame'.
19455         * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
19456         (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
19457         Move declarations before first use.
19458         (pcomplete-opt): Mark unused parameters; doc fix.
19460         * proced.el (proced-revert): Mark unused parameter.
19461         (proced-send-signal): Remove unused variable `err'.
19463         * ps-print.el (ps-print-preprint-region, ps-print-preprint):
19464         Rename parameter PREFIX-ARG to ARG.
19465         (ps-basic-plot-string, ps-basic-plot-whitespace):
19466         Mark unused parameters.
19468         * replace.el (replace-count): Define.
19469         (occur-revert-function): Mark unused parameters.
19470         (ido-ignore-item-temp-list, isearch-error, isearch-forward)
19471         (isearch-case-fold-search, isearch-string): Declare.
19472         (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
19473         bind `case-fold-search'.  Remove unused variables `beg' and `end',
19474         and simplify.
19475         (replace-eval-replacement): Rename parameter REPLACE-COUNT to
19476         COUNT and bind `replace-count'.
19477         (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
19478         to COUNT.
19480         * savehist.el (print-readably, print-string-length): Declare.
19482         * shadowfile.el (shadow-expand-cluster-in-file-name):
19483         Remove unused variable `cluster'.
19484         (shadow-copy-file): Remove unused variable `i'.
19485         (shadow-noquery, shadow-clusters, shadow-site-cluster)
19486         (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
19487         (shadow-define-literal-group, shadow-define-regexp-group)
19488         (shadow-make-group, shadow-shadows-of): Clean up docstrings.
19490         * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
19491         (shell): Use `called-interactively-p'.
19492         (shell-directory-tracker): Remove unused variable `chdir-failure'.
19494         * simple.el (compilation-context-lines, comint-file-name-quote-list)
19495         (comint-file-name-chars, comint-delimiter-argument-list): Declare.
19496         (delete-backward-char): Remove unused variable `ocol'.
19497         (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
19498         (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
19499         (event-apply-hyper-modifier, event-apply-shift-modifier)
19500         (event-apply-control-modifier, event-apply-meta-modifier):
19501         Mark unused parameters.
19502         (undo-make-selective-list): Remove duplicate variable `undo-elt'.
19503         (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
19505         * speedbar.el (speedbar-ignored-directory-expressions)
19506         (speedbar-supported-extension-expressions, speedbar-directory-buttons)
19507         (speedbar-find-file, speedbar-dir-follow)
19508         (speedbar-directory-buttons-follow, speedbar-tag-find)
19509         (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
19510         (speedbar-buffers-line-directory, speedbar-buffer-click):
19511         Mark unused parameters.
19512         (speedbar-tag-file): Remove unused variable `mode'.
19513         (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
19515         * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
19517         * talk.el (talk): Remove unused variable `display'.
19519         * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
19520         (tar-write-region-annotate): Mark unused parameter.
19522         * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
19523         (minutes, seconds, time-zone, day, year, monthname, month, dayname):
19524         Declare them, wrapped in `with-no-warnings' to avoid replacing one
19525         warning by another.
19527         * time-stamp.el (time-stamp-string-preprocess):
19528         Remove unused variable `require-padding'.
19530         * tree-widget.el (widget-glyph-enable): Declare.
19531         (tree-widget-action): Mark unused parameter.
19533         * w32-fns.el (x-get-selection): Mark unused parameter.
19534         (autoload-make-program, generated-autoload-file): Declare.
19536         * wdired.el (wdired-revert): Mark unused parameters.
19537         (wdired-xcase-word): Remove unused variable `err'.
19539         * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
19540         (whitespace-help-scroll): Remove unused variable `data-help'.
19542         * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
19543         (widget-image-insert, widget-after-change, default)
19544         (widget-default-format-handler, widget-default-notify)
19545         (widget-default-prompt-value, widget-info-link-action)
19546         (widget-url-link-action, widget-function-link-action)
19547         (widget-variable-link-action, widget-file-link-action)
19548         (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
19549         (widget-field-prompt-internal, widget-field-action, widget-field-match)
19550         (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
19551         (widget-insert-button-action, widget-delete-button-action, visibility)
19552         (widget-documentation-link-action, widget-documentation-string-action)
19553         (widget-const-prompt-value, widget-regexp-match, symbol)
19554         (widget-coding-system-prompt-value)
19555         (widget-key-sequence-value-to-external, sexp)
19556         (widget-sexp-value-to-internal, character, vector, cons)
19557         (widget-choice-prompt-value, widget-boolean-prompt-value)
19558         (widget-color--choose-action): Mark unused parameters.
19559         (widget-item-match-inline, widget-choice-match-inline)
19560         (widget-checklist-match, widget-checklist-match-inline)
19561         (widget-group-match): Rename parameter VALUES to VALS.
19562         (widget-field-value-set): Remove unused variable `size'.
19563         (widget-color-action): Remove unused variables `value' and `start'.
19565         * windmove.el (windmove-wrap-loc-for-movement): Remove unused
19566         variable `dir'.  Doc fix.
19567         (windmove-find-other-window): Don't pass it.
19569         * window.el (count-windows): Mark unused parameter.
19570         (bw-adjust-window): Remove unused variable `err'.
19572         * woman.el (woman-file-name): Remove unused variable `default'.
19573         (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
19574         WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
19575         (global-font-lock-mode): Declare.
19576         (woman-decode-region): Mark unused parameter.
19577         (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
19579         * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
19580         (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
19581         (x-dnd-handle-moz-url): Remove unused variable `title'.
19582         (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
19584         * xml.el (xml-parse-tag, xml-parse-attlist):
19585         Remove unused variable `pos'.
19587 2011-04-19  Glenn Morris  <rgm@gnu.org>
19589         * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
19590         (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
19591         (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
19592         (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
19593         * calendar/cal-html.el (cal-html-insert-minical):
19594         * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
19595         (calendar-mark-date-pattern):
19596         Prefix "unused" locals.
19598         * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
19599         optional argument `style'.
19601         * calendar/appt.el (appt-make-list):
19602         * calendar/cal-china.el (calendar-chinese-date-string):
19603         * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
19604         (diary-hebrew-yahrzeit):
19605         * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
19606         * calendar/calendar.el (calendar-generate-window):
19607         * calendar/time-date.el (time-to-days):
19608         Remove unused local variables.
19610 2011-04-18  Chong Yidong  <cyd@stupidchicken.com>
19612         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
19613         glyphless-char-display table.
19614         (tabulated-list-glyphless-char-display): New var.
19616 2011-04-18  Sam Steingold  <sds@gnu.org>
19618         * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
19619         to acknowledgments.
19621 2011-04-17  Glenn Morris  <rgm@gnu.org>
19623         * calendar/diary-lib.el (diary-sexp-entry):
19624         * calendar/holidays.el (holiday-sexp):
19625         Set debug-on-error rather than the removed stack-trace-on-error.
19627 2011-04-16  Glenn Morris  <rgm@gnu.org>
19629         * progmodes/f90.el: Use lexical-binding.
19630         (f90-get-correct-indent): Remove unnecessary local variable `cont'.
19632 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19634         * mail/sendmail.el (mail-mode-map): Use completion-at-point.
19635         (mail-mode): Setup mailalias completion here instead.
19636         * mail/mailalias.el: Use lexical-binding.
19637         (pattern, mailalias-done): Declare dynamic.
19638         (mail-completion-at-point-function): New function, from mail-complete.
19639         (mail-complete): Use it.
19640         (mail-completion-expand): New function.
19641         (mail-get-names): Use it.
19642         (mail-directory, mail-directory-process, mail-directory-stream):
19643         Don't use `pattern' for lexically bound arg.
19645         * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
19647         * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
19648         (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
19649         (hfy-etags-cmd-alist): Don't eval-and-compile any more.
19651         * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
19652         (byte-save-window-excursion, byte-temp-output-buffer-setup)
19653         (byte-interactive-p): Define them again, for use when inlining
19654         old code.
19656 2011-04-15  Juanma Barranquero  <lekktu@gmail.com>
19658         * loadup.el: Use `string-to-number', not `string-to-int'.
19660 2011-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
19662         * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
19663         gud-gdb-complete-command.
19664         (gud-gdb-completions): New function, from gud-gdb-complete-command.
19665         (gud-gdb-completion-at-point): New function.
19666         (gud-gdb-completions): Remove.
19668 2011-04-14  Michael Albinus  <michael.albinus@gmx.de>
19670         * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
19671         when the scripts fail.  Use `tramp-do-file-attributes-with-ls' then.
19672         (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
19673         whether `executable-find' is bound.
19675         * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
19677 2011-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
19679         * minibuffer.el (completion-in-region-mode-predicate)
19680         (completion-in-region-mode--predicate): New vars.
19681         (completion-in-region, completion-in-region--postch)
19682         (completion-in-region-mode): Use them.
19683         (completion--capf-wrapper): Also return the hook function.
19684         (completion-at-point, completion-help-at-point):
19685         Adjust and provide a predicate.
19687         Preserve arg names for advice of subr and lexical functions (bug#8457).
19688         * help-fns.el (help-function-arglist): Consolidate the subr and
19689         new-byte-code cases.  Add argument `preserve-names' to extract names
19690         from the docstring when needed.
19691         * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
19692         (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
19693         (ad-arglist): Use help-function-arglist's new arg.
19694         (ad-definition-type): Use cond.
19696 2011-04-13  Juanma Barranquero  <lekktu@gmail.com>
19698         * autorevert.el (auto-revert-handler):
19699         Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
19700         which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
19701         Don't quote lambda.
19703         * image-mode.el (image-transform-set-scale):
19704         Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
19706 2011-04-12  Lars Magne Ingebrigtsen  <larsi@gnus.org>
19708         * net/network-stream.el (network-stream-open-starttls): Only do
19709         opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
19710         Upgrades via gnutls-cli are too slow to be done opportunistically.
19712 2011-04-12  Juanma Barranquero  <lekktu@gmail.com>
19714         * dframe.el (dframe-current-frame): Remove spurious quote.
19716 2011-04-12  Glenn Morris  <rgm@gnu.org>
19718         * calendar/cal-tex.el (cal-tex-end-document):
19719         Try to automatically use latin1 input if needed.
19721         * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
19722         Don't try to cons a mark onto an empty element.
19724 2011-04-11  Leo Liu  <sdl.web@gmail.com>
19726         * ido.el (ido-buffer-internal): Allow method 'kill for virtual
19727         buffers.
19728         (ido-kill-buffer-at-head): Support killing virtual buffers.
19730 2011-04-10  Chong Yidong  <cyd@stupidchicken.com>
19732         * minibuffer.el (completion-show-inline-help): New var.
19733         (completion--do-completion, minibuffer-complete)
19734         (minibuffer-force-complete, minibuffer-complete-word):
19735         Inhibit minibuffer messages if completion-show-inline-help is nil.
19737         * icomplete.el (icomplete-mode): Bind completion-show-inline-help
19738         to avoid interference from inline help (Bug#5849).
19740 2011-04-10  Leo Liu  <sdl.web@gmail.com>
19742         * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19743         Fix typo.
19745 2011-04-09  Chong Yidong  <cyd@stupidchicken.com>
19747         * image-mode.el (image-toggle-display-image): Signal an error if
19748         not in Image mode.
19749         (image-transform-mode, image-transform-resize)
19750         (image-transform-set-rotation): Doc fix.
19751         (image-transform-set-resize): Delete.
19752         (image-transform-set-scale, image-transform-fit-to-height)
19753         (image-transform-fit-to-width): Handle image-toggle-display-image
19754         and image-transform-resize directly.
19756 2011-04-08  Sho Nakatani  <lay.sakura@gmail.com>
19758         * doc-view.el (doc-view-fit-width-to-window)
19759         (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
19760         New functions for fitting the shown image to the Emacs window size.
19761         (doc-view-mode-map): Add bindings for the new functions.
19763 2011-04-08  Juanma Barranquero  <lekktu@gmail.com>
19765         * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
19766         Fix typo in docstring.
19768 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
19770         * files.el (file-size-human-readable): Produce one digit after
19771         decimal, like "ls -lh" does.
19773         * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
19774         the file size representation.
19776         * simple.el (list-processes): If async subprocesses are not
19777         available, error out with a clear error message.
19779 2011-04-08  Chong Yidong  <cyd@stupidchicken.com>
19781         * help.el (help-form-show): New function, to be called from C.
19782         Put help-form output in a buffer named differently than *Help*.
19784 2011-04-08  Eli Zaretskii  <eliz@gnu.org>
19786         * files.el (file-size-human-readable): New function.
19788         * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
19789         computing the representation inline.  Don't require `cl'.
19791 2011-04-08  Glenn Morris  <rgm@gnu.org>
19793         * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
19795         * net/browse-url.el (browse-url-firefox):
19796         Test system-type, not system-configuration.
19798         * vc/log-edit.el (log-edit-empty-buffer-p): New function.
19799         (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
19800         Use log-edit-empty-buffer-p.  (Bug#7598)
19802         * net/rlogin.el (rlogin-process-connection-type): Simplify.
19803         (rlogin-mode-map): Initialize in the defvar.
19804         (rlogin): Use ignore-errors.
19806         * replace.el (occur-mode-map): Some fixes for menu items.
19808 2011-04-07  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
19810         * play/morse.el (denato-region): Handle varying case.  (Bug#8386)
19812 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
19814         * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
19815         issuing unused warnings.
19817         * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
19818         macro directly.
19820         * simple.el: Lisp reimplement of list-processes.  Based on an
19821         earlier reimplementation by Leo Liu, but using tabulated-list.el.
19822         (process-menu-mode): New major mode.
19823         (list-processes--refresh, list-processes):
19824         (process-menu-visit-buffer): New functions.
19826         * files.el (save-buffers-kill-emacs): Don't assume any return
19827         value of list-processes, which is undocumented anyway.
19829 2011-04-06  Chong Yidong  <cyd@stupidchicken.com>
19831         * emacs-lisp/tabulated-list.el: New file.
19833         * emacs-lisp/package.el: Use Tabulated List mode.
19834         (package-menu-mode-map): Inherit from tabulated-list-mode-map.
19835         (package-menu-mode): Derive from tabulated-list-mode.  Set up the
19836         table format using Tabulated List mode variables.
19837         (package--push): New macro, replacing package-list-maybe-add.
19838         (package-menu--generate): Use package--push.  Renamed from
19839         package--generate-package-list.
19840         (package-menu-refresh, list-packages): Use it.
19841         (package-menu--print-info): Rename from package-print-package.
19842         Return insertion data instead of inserting it directly.
19843         (package-menu-describe-package, package-menu-execute):
19844         Use tabulated-list-get-id.
19845         (package-menu-mark-delete, package-menu-mark-install)
19846         (package-menu-mark-unmark, package-menu-backup-unmark)
19847         (package-menu-mark-obsolete-for-deletion):
19848         Use tabulated-list-put-tag.
19849         (package--list-packages, package-menu-revert)
19850         (package-menu-get-package, package-menu-get-version)
19851         (package-menu-sort-by-column): Functions deleted.
19852         (package-menu-package-list, package-menu-sort-key): Vars deleted.
19853         (package-menu--status-predicate, package-menu--version-predicate)
19854         (package-menu--name-predicate)
19855         (package-menu--description-predicate): Handle arguments in the
19856         Tabulated List format.
19857         (package-list-packages-no-fetch): Call list-packages.
19859 2011-04-06  Juanma Barranquero  <lekktu@gmail.com>
19861         * files.el (after-find-file-from-revert-buffer): Remove variable.
19862         (after-find-file): Don't bind it.
19863         (revert-buffer-in-progress-p): New variable.
19864         (revert-buffer): Bind it.
19865         Pass nil for `after-find-file-from-revert-buffer'.
19867         * saveplace.el (save-place-find-file-hook): Use new variable
19868         `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
19870 2011-04-06  Glenn Morris  <rgm@gnu.org>
19872         * Makefile.in (AUTOGEN_VCS): New variable.
19873         (autoloads): Use $AUTOGEN_VCS.
19875         * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
19876         * calendar/calendar.el (calendar-mode-map):
19877         Check for toolkit scroll bars.  (Bug#8305)
19879 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
19881         * minibuffer.el (completion-in-region--postch)
19882         (completion-in-region-mode): Remove unnecessary messages.
19884 2011-04-05  Juanma Barranquero  <lekktu@gmail.com>
19886         * font-lock.el (font-lock-refresh-defaults):
19887         Don't bind `hi-lock--inhibit-font-lock-hook', removed in
19888         2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
19890         * info.el (Info-directory-list, Info-read-node-name-2)
19891         (Info-split-parameter-string): Doc fixes.
19892         (Info-virtual-nodes): Reflow docstring.
19893         (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
19894         (Info-apropos-toc-nodes, info-finder, Info-get-token)
19895         (Info-find-emacs-command-nodes, Info-speedbar-key-map):
19896         Fix typos in docstrings.
19897         (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
19898         (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
19899         (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
19900         (Info-restore-desktop-buffer): Mark unused parameters.
19901         (Info-directory-find-file, Info-directory-find-node)
19902         (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
19903         (Info-virtual-index-find-node, Info-apropos-find-file)
19904         (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
19905         Mark unused parameters; fix typos in docstrings.
19906         (Info-virtual-index): Remove unused local variable `nodename'.
19908 2011-04-05  Deniz Dogan  <deniz@dogan.se>
19910         * net/rcirc.el: Update my e-mail address.
19911         (rcirc-mode-map): Remove M-o binding.
19913 2011-04-05  Chong Yidong  <cyd@stupidchicken.com>
19915         * startup.el (command-line): Save the cursor's theme-face
19916         directly, instead of using face-override-spec.
19918         * custom.el (load-theme): Minor optimization in assigning faces.
19920 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
19922         * help-fns.el (describe-variable): Complete all variables having
19923         documentation, including keywords.
19924         http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
19926 2011-04-04  Juanma Barranquero  <lekktu@gmail.com>
19928         Convert to lexical-binding.
19930         * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
19931         (bs--get-marked-string, bs--get-modified-string)
19932         (bs--get-readonly-string, bs--get-size-string, bs--get-name)
19933         (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
19934         (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
19936         * ehelp.el (electric-help-execute-extended)
19937         (electric-help-ctrl-x-prefix):
19938         * hexl.el (hexl-revert-buffer-function):
19939         * linum.el (linum-after-change, linum-after-scroll):
19940         * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
19942         * help-fns.el (help-describe-category-set): Remove unused ERR variable.
19944 2011-04-04  Daiki Ueno  <ueno@unixuser.org>
19946         * epa-dired.el:
19947         * epa-mail.el:
19948         * epa-hook.el:
19949         * epa-file.el:
19950         * epa.el:
19951         * epg.el: Use lexical binding.
19953 2011-04-03  Chong Yidong  <cyd@stupidchicken.com>
19955         * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
19957         * textmodes/flyspell.el (flyspell-word): Recognize default
19958         dictionary case for flyspell-mark-duplications-exceptions.
19959         Use regexp matching for languages.
19960         (flyspell-mark-duplications-exceptions): Add "that" and "had" for
19961         default dictionary (Bug#7926).
19963 2011-04-02  Chong Yidong  <cyd@stupidchicken.com>
19965         * emacs-lisp/package.el (package--with-work-buffer):
19966         Recognize https URLs.
19968         * net/network-stream.el: Move from gnus/proto-stream.el.
19969         Change prefix to network-stream throughout.
19970         (open-protocol-stream): Merge into open-network-stream, leaving
19971         open-protocol-stream as an alias.  Handle nil BUFFER args.
19973         * subr.el (open-network-stream): Move to net/network-stream.el.
19975 2011-04-02  Glenn Morris  <rgm@gnu.org>
19977         * find-dired.el (find-exec-terminator): New option.
19978         (find-ls-option): Test for -ls support.
19979         (find-ls-subdir-switches): Test for -b in find-ls-option.
19980         (find-dired, find-grep-dired): Doc fixes.
19981         (find-dired): Use find-exec-terminator.
19983         * find-dired.el (find-ls-option, find-ls-subdir-switches)
19984         (find-grep-options): Do not autoload these defcustoms, remove purecopy.
19985         (find-name-arg): Remove purecopy.
19987         * progmodes/grep.el (grep-find-use-xargs): Doc fix.
19988         (grep-compute-defaults): Check for `-exec COMMAND +' support.
19989         Set grep-find-use-xargs, grep-find-command, and grep-find-template
19990         accordingly.  Don't add the null-device if not needed.
19992         * files.el (save-some-buffers): Doc fix.
19994 2011-04-02  Eli Zaretskii  <eliz@gnu.org>
19996         * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
19998 2011-04-01  Juanma Barranquero  <lekktu@gmail.com>
20000         * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
20001         Use `dolist' rather than `mapcar'.
20003 2011-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
20005         Add lexical binding.
20007         * subr.el (apply-partially): Use new closures rather than CL.
20008         (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
20009         (dolist, dotimes): Use slightly different expansion for lexical code.
20010         (functionp): Move to C.
20011         (letrec): New macro.
20012         (with-wrapper-hook): Use it and apply-partially instead of CL.
20013         (eval-after-load): Preserve lexical-binding.
20014         (save-window-excursion, with-output-to-temp-buffer): Turn them
20015         into macros.
20017         * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
20019         * help-fns.el (help-split-fundoc): Return nil if there's nothing else
20020         than the arglist.
20021         (help-add-fundoc-usage): Don't add `Not documented'.
20022         (help-function-arglist): Handle closures, subroutines, and new
20023         byte-code-functions.
20024         (help-make-usage): Remove leading underscores.
20025         (describe-function-1): Handle closures.
20026         (describe-variable): Use special-variable-p for completion.
20028         * files.el (lexical-binding): Declare safe.
20030         * emacs-lisp/pcase.el: Don't use destructuring-bind.
20031         (pcase--memoize): Rename from pcase-memoize.  Change weakness.
20032         (pcase): Add `let' pattern.
20033         Change memoization so it actually works.
20034         (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
20035         (pcase--u1) <guard, pred>: Fix possible shadowing problem.
20036         <let>: New case.
20038         * emacs-lisp/macroexp.el: Use lexical binding.
20039         (macroexpand-all-1): Check obsolete macros.  Expand compiler-macros.
20040         Don't convert ' to #' without checking that it's indeed quoting
20041         a lambda.
20043         * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
20044         Use eval-sexp-add-defvars.
20045         (eval-sexp-add-defvars): New fun.
20047         * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
20049         * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
20050         Don't autoload.
20051         (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
20052         than the internal `byte-compile-lambda'.
20053         (defmethod): Don't hide code under quotes.
20054         (eieio-defmethod): New `code' argument.
20056         * emacs-lisp/eieio-comp.el: Remove.
20058         * emacs-lisp/edebug.el (edebug-eval-defun)
20059         (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
20060         (edebug-toggle): Avoid `eval'.
20062         * emacs-lisp/disass.el (disassemble-internal): Handle new
20063         `closure' objects.
20064         (disassemble-1): Handle new byte codes.
20066         * emacs-lisp/cl.el (pushnew): Silence warning.
20068         * emacs-lisp/cl-macs.el (cl-byte-compile-block)
20069         (cl-byte-compile-throw): Remove.
20070         (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
20072         * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
20073         closures.
20075         * emacs-lisp/cconv.el: New file.
20077         * emacs-lisp/bytecomp.el: Use lexical binding instead of
20078         a "bytecomp-" prefix.  Macroexpand everything as a separate phase.
20079         (byte-compile-initial-macro-environment):
20080         Handle declare-function here.
20081         (byte-compile--lexical-environment): New var.
20082         (byte-stack-ref, byte-stack-set, byte-discardN)
20083         (byte-discardN-preserve-tos): New lap codes.
20084         (byte-interactive-p): Don't use any more.
20085         (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
20086         New macros.
20087         (byte-compile-lapcode): Use them and handle new lap codes.
20088         (byte-compile-obsolete): Remove.
20089         (byte-compile-arglist-signature): Handle new byte-code arg"lists".
20090         (byte-compile-arglist-warn): Check late def of inlinable funs.
20091         (byte-compile-cl-warn): Don't silence warnings for compiler-macros
20092         since they should have been expanded by now.
20093         (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
20094         (byte-compile-from-buffer): Remove unused second arg.
20095         (byte-compile-preprocess): New function.
20096         (byte-compile-toplevel-file-form): New function to distinguish
20097         file-form calls from outside from file-form calls from hunk-handlers.
20098         (byte-compile-file-form): Simplify.
20099         (byte-compile-file-form-defsubst): Remove.
20100         (byte-compile-file-form-defmumble): Simplify now that
20101         byte-compile-lambda always returns a byte-code-function.
20102         (byte-compile): Preprocess.
20103         (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
20104         Remove, not used any more.
20105         (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
20106         (byte-compile-make-args-desc): New funs.
20107         (byte-compile-lambda): Handle lexical functions.  Always return
20108         a byte-code-function.
20109         (byte-compile-reserved-constants): New var, to make up room for
20110         closed-over variables.
20111         (byte-compile-constants-vector): Obey it.
20112         (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
20113         (byte-compile-macroexpand-declare-function): New function.
20114         (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
20115         byte-code-functions.
20116         (byte-compile-form): Check obsolescence here.
20117         (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
20118         (byte-compile-variable-ref): Remove.
20119         (byte-compile-dynamic-variable-op): New fun.
20120         (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
20121         (byte-compile-variable-set): New funs.
20122         (byte-compile-discard): Add 2 args.
20123         (byte-compile-stack-ref, byte-compile-stack-set)
20124         (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
20125         (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
20126         macroexpand-all instead.
20127         (byte-compile-quote-form): Remove.
20128         (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
20129         (byte-compile-bind, byte-compile-unbind): New funs.
20130         (byte-compile-let): Handle let* and lexical binding.
20131         (byte-compile-let*): Remove.
20132         (byte-compile-catch, byte-compile-unwind-protect)
20133         (byte-compile-track-mouse, byte-compile-condition-case):
20134         Handle a new :fun-body form, used for lexical scoping.
20135         (byte-compile-save-window-excursion)
20136         (byte-compile-with-output-to-temp-buffer): Remove.
20137         (byte-compile-defun): Simplify.
20138         (byte-compile-stack-adjustment): New fun.
20139         (byte-compile-out): Use it.
20140         (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
20142         * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
20143         handler any more.
20145         * emacs-lisp/byte-opt.el: Use lexical binding.
20146         (byte-inline-lapcode): Remove (to bytecomp).
20147         (byte-compile-inline-expand): Pay attention to inlining to/from
20148         lexically bound code.
20149         (byte-compile-unfold-lambda): Don't handle byte-code-functions
20150         any more.
20151         (byte-optimize-form-code-walker): Don't handle save-window-excursion
20152         any more and don't call compiler-macros.
20153         (byte-compile-splice-in-already-compiled-code): Remove.
20154         (byte-code): Don't inline any more.
20155         (disassemble-offset): Receive `bytes' as argument rather than via
20156         dynamic scoping.
20157         (byte-compile-tag-number): Declare before first use.
20158         (byte-decompile-bytecode-1): Handle new byte-codes, don't change
20159         `return' even if make-spliceable.
20160         (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
20161         obsolete interactive-p.
20162         (byte-optimize-lapcode): Optimize new lap-codes.
20163         Don't trip up on new form of `byte-constant' lap code.
20165         * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
20167         * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
20169         * custom.el (custom-initialize-default, custom-declare-variable):
20170         Use `defvar'.
20172         * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
20173         New variables.
20174         (compile-onefile, .el.elc, compile-calc, recompile): Use them.
20175         (COMPILE_FIRST): Add macroexp and cconv.
20176         * makefile.w32-in: Mirror changes in Makefile.in.
20178         * vc/cvs-status.el:
20179         * vc/diff-mode.el:
20180         * vc/log-edit.el:
20181         * vc/log-view.el:
20182         * vc/smerge-mode.el:
20183         * textmodes/bibtex-style.el:
20184         * textmodes/css-mode.el:
20185         * startup.el:
20186         * uniquify.el:
20187         * minibuffer.el:
20188         * newcomment.el:
20189         * reveal.el:
20190         * server.el:
20191         * mpc.el:
20192         * emacs-lisp/smie.el:
20193         * doc-view.el:
20194         * dired.el:
20195         * abbrev.el: Use lexical binding.
20197 2011-04-01  Eli Zaretskii  <eliz@gnu.org>
20199         * info.el (info-display-manual): New function.
20201 2011-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
20203         * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
20205 2011-03-31  Tassilo Horn  <tassilo@member.fsf.org>
20207         * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
20208         an entry for that server in rcirc-authinfo.  (Bug#8385)
20210 2011-03-31  Glenn Morris  <rgm@gnu.org>
20212         * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
20214         * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
20216 2011-03-30  Christoph Scholtes  <cschol2112@googlemail.com>
20218         * progmodes/python.el (python-default-interpreter)
20219         (python-python-command-args, python-jython-command-args)
20220         (python-which-shell, python-which-args, python-which-bufname)
20221         (python-file-queue, python-comint-output-filter-function)
20222         (python-toggle-shells, python-shell): Remove obsolete defcustoms,
20223         variables and functions.
20225 2011-03-30  Stefan Monnier  <monnier@iro.umontreal.ca>
20227         * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
20228         (completion-in-region-mode): New minor mode.
20229         (completion-in-region): Use it.
20230         (completion-in-region--data, completion-in-region-mode-map): New vars.
20231         (completion-in-region--postch): New function.
20232         (completion--capf-misbehave-funs, completion--capf-safe-funs):
20233         New vars.
20234         (completion--capf-wrapper): New function.
20235         (completion-at-point): Use it to track well-behavedness of
20236         hook functions.
20237         (completion-help-at-point): New command.
20239 2011-03-30  Jason Merrill  <jason@redhat.com>  (tiny change)
20241         * vc/add-log.el (add-change-log-entry): Don't use whitespace
20242         syntax class to search for whitespace on a single line
20243         (Message-ID: <4D938140.4030905@redhat.com>).
20245 2011-03-30  Leo Liu  <sdl.web@gmail.com>
20247         * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
20248         New commands.
20249         (edit-abbrevs-map): Bind them here.
20250         (write-abbrev-file): New optinal arg VERBOSE.  (Bug#5937)
20252 2011-03-29  Ken Manheimer  <ken.manheimer@gmail.com>
20254         * allout.el (allout-hide-by-annotation, allout-flag-region):
20255         Reduce possibility of overlay leakage by making them volatile.
20257         * allout-widgets.el (allout-widgets-tally): Define as nil so the
20258         hash is not shared between buffers.  Mode initialization is
20259         responsible for giving it a useful starting value.
20260         (allout-item-span): Reduce possibility of overlay leakage by
20261         making them volatile.
20262         (allout-widgets-count-buttons-in-region): Add diagnostic function
20263         for tracking down button overlay leaks.
20265 2011-03-29  Leo Liu  <sdl.web@gmail.com>
20267         * ido.el (ido-read-internal): Use the default history var
20268         minibuffer-history if no HISTORY is specified.
20270 2011-03-28  Brian T. Sniffen  <bsniffen@akamai.com>  (tiny change)
20272         * net/imap.el (imap-shell-open, imap-process-connection-type):
20273         Use imap-process-connection-type for 'shell' streams as well as
20274         Kerberos, SSL, other subprocesses.
20276 2011-03-28  Leo Liu  <sdl.web@gmail.com>
20278         * abbrev.el (abbrev-table-empty-p): New function.
20279         (prepare-abbrev-list-buffer): Place empty abbrev tables after
20280         nonempty ones.  (Bug#5937)
20282 2011-03-27  Jan Djärv  <jan.h.d@swipnet.se>
20284         * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
20286 2011-03-27  Leo Liu  <sdl.web@gmail.com>
20288         * ansi-color.el (ansi-color-names-vector): Allow cons cell value
20289         for foreground and background colors.
20290         (ansi-color-make-color-map): Adapt.
20292 2011-03-25  Leo Liu  <sdl.web@gmail.com>
20294         * midnight.el (midnight-time-float): Remove.  Note it calculates
20295         the microsecond component incorrectly and seconds-to-time does the
20296         same job.
20297         Remove redundant (require 'timer).
20299         * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
20300         (ido-completions): Remove unused arguments.  (Bug#8329)
20302 2011-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
20304         * minibuffer.el (completion--flush-all-sorted-completions):
20305         Remove itself from hook.
20306         (completion-at-point): Let the functions perform the completion
20307         immediately and return nil or t.
20308         * comint.el (comint-dynamic-complete-functions): Now identical to
20309         completion-at-point-functions.
20310         (comint-dynamic-list-input-ring): Remove unused var `index'.
20311         (comint--match-partial-filename, comint--unquote&expand-filename):
20312         New funs, split from comint-match-partial-filename.
20313         (comint-dynamic-complete): Use completion-at-point.
20314         (comint-dynamic-complete-filename): Use comint--match-partial-filename.
20316 2011-03-24  Drew Adams  <drew.adams@oracle.com>
20318         * thingatpt.el: Support `defun'.
20320 2011-03-23  Leo Liu  <sdl.web@gmail.com>
20322         * abbrevlist.el: Move to obsolete/abbrevlist.el.
20324         * help-mode.el (help-mode-finish): Tweak regexp.
20326 2011-03-23  Glenn Morris  <rgm@gnu.org>
20328         * eshell/esh-opt.el (eshell-eval-using-options):
20329         Do not bind unused local variable `eshell-option-stub'.
20331         * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
20333 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
20335         * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
20336         keymap variable in `with-no-warnings' to avoid a warning when the
20337         keymap has been already `defconst'ed.
20339 2011-03-22  Leo Liu  <sdl.web@gmail.com>
20341         * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
20342         encode all chars in abbrevs; otherwise use emacs-mule or
20343         utf-8-emacs.  (Bug#8308)
20345 2011-03-22  Juanma Barranquero  <lekktu@gmail.com>
20347         * simple.el (backward-delete-char-untabify):
20348         Avoid warning about using `delete-backward-char'.
20350         * image.el (image-type-file-name-regexps): Make it variable.
20351         `imagemagick-register-types' modifies it, and the user may want
20352         to add new extensions for known image types.
20353         (imagemagick-register-types): Throw error if not using ImageMagick.
20355 2011-03-22  Leo Liu  <sdl.web@gmail.com>
20357         * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
20358         located before rcirc-prompt-end-marker.
20359         (rcirc-complete): Error if point is not after rcirc prompt.
20360         Handle the case when table is nil.
20361         (rcirc-user-authenticated): Define to fix compiler warning.
20363 2011-03-22  Chong Yidong  <cyd@stupidchicken.com>
20365         * custom.el (custom--inhibit-theme-enable): Make it affect only
20366         custom-theme-set-variables and custom-theme-set-faces.
20367         (provide-theme): Ignore custom--inhibit-theme-enable.
20368         (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
20369         (custom-enabling-themes): Delete variable.
20370         (enable-theme): Accept only loaded themes as arguments.
20371         Ignore the special custom-enabled-themes variable.
20372         (custom-enabled-themes): Forbid themes from setting this.
20373         Eliminate use of custom-enabling-themes.
20374         (custom-push-theme): Quote "changed" custom var entry.
20376 2011-03-21  Leo Liu  <sdl.web@gmail.com>
20378         * ido.el (ido-read-internal): Add ido-selected to history instead
20379         of user input.
20381 2011-03-21  Stefan Monnier  <monnier@iro.umontreal.ca>
20383         * subr.el (deferred-action-list, deferred-action-function):
20384         Mark obsolete.
20386 2011-03-21  Leo Liu  <sdl.web@gmail.com>
20388         * vc/log-view.el: Remove (require 'wid-edit), not needed after the
20389         change on 2011-02-13 (bug#8309).
20391         * minibuffer.el (read-file-name-function): Change default value.
20392         (read-file-name--defaults): Rename from read-file-name-defaults.
20393         (read-file-name-default): Rename from read-file-name.
20394         (read-file-name): Call read-file-name-function.
20396 2011-03-21  Glenn Morris  <rgm@gnu.org>
20398         * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
20399         Doc fixes.
20401 2011-03-21  Chong Yidong  <cyd@stupidchicken.com>
20403         * cus-theme.el: Add missing provide statement.
20404         (customize-create-theme): Extract theme value correctly.
20405         (custom-theme-visit-theme): Autoload.
20406         (customize-create-theme): Prompt before inserting default faces.
20408 2011-03-20  Jay Belanger  <jay.p.belanger@gmail.com>
20410         * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
20411         units and musical notes.
20413 2011-03-20  Leo Liu  <sdl.web@gmail.com>
20415         * ido.el (ido-read-internal): Use completing-read-default.
20416         (ido-completing-read): Fix compatibility with completing-read.
20418 2011-03-20  Christian Ohler  <ohler@gnu.org>
20420         * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
20421         (ert-delete-all-tests): Use `called-interactively-p' rather than
20422         `interactive-p'.
20423         (ert--make-xrefs-region): Respect END.
20425 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
20427         * dired-aux.el (dired-create-directory): Signal an error if the
20428         directory already exists (Bug#8246).
20430         * facemenu.el (list-colors-display): Call list-faces-display
20431         inside with-help-window.
20432         (list-colors-print): Use display property to align the final
20433         column, instead of checking window-width.
20435 2011-03-19  Eli Zaretskii  <eliz@gnu.org>
20437         * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
20438         windows-nt systems.
20439         (emerge-protect-metachars): Quote correctly for ms-dos and
20440         windows-nt systems.
20442 2011-03-19  Ralph Schleicher  <rs@ralph-schleicher.de>
20444         * info.el (info-initialize): Replace all uses of `:' with
20445         path-separator for compatibility with non-Unix systems.
20446         Cache quoting of path-separator.  (Bug#8258)
20448 2011-03-19  Juanma Barranquero  <lekktu@gmail.com>
20450         * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
20451         (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
20452         (mouse-avoidance-mode): Fix typos in docstrings.
20454 2011-03-19  Chong Yidong  <cyd@stupidchicken.com>
20456         * startup.el (package-subdirectory-regexp): Move from package.el.
20457         Omit \\` and \\', and let callers add them.
20459         * emacs-lisp/package.el (package-strip-version)
20460         (package-load-all-descriptors): Add \\` and \\' to
20461         package-subdirectory-regexp before using it.
20462         (package-untar-buffer): New arg DIR; ensure that file untars only
20463         into this expected directory.  Remove superfluous delete-region.
20464         (package-unpack): Caller changed.
20465         (package-tar-file-info): Use package-subdirectory-regexp.
20467 2011-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
20469         * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
20470         diff-mode-shared-map (bug#8284).
20471         (diff-mode-shared-map): Re-introduce some bindings that were problematic.
20473 2011-03-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
20475         * calendar/time-date.el (format-seconds): Use assoc instead of
20476         assoc-string, since assoc-string doesn't exist in XEmacs.
20478 2011-03-17  Juanma Barranquero  <lekktu@gmail.com>
20480         * custom.el (custom-known-themes): Reflow docstring.
20481         (custom-theme-load-path): Fix typo in docstring.
20482         (load-theme): Fix typo in error message.
20483         (custom-available-themes, custom-variable-theme-value):
20484         Use `let', not `let*'.
20486 2011-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
20488         * calc/README: Mention inclusion of musical notes.
20490         * calc/calc-units.el (calc-lu-quant): Rename from
20491         `calc-logunits-quantity'.
20492         (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
20493         (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
20494         (calc-db): Rename from `calc-dblevel'.
20495         (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
20496         (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
20497         (calc-np): Rename from `calc-nplevel'.
20498         (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
20499         (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
20500         (calc-lu-plus): Rename from `calc-logunits-add'.
20501         (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
20502         (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
20503         (calc-lu-minus): Rename from `calc-logunits-sub'.
20504         (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
20505         (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
20506         (calc-lu-times): Rename from `calc-logunits-mul'.
20507         (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
20508         (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
20509         (calc-lu-divide): Rename from `calc-logunits-div'.
20510         (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
20511         (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
20513         * calc/calc-ext.el (calc-init-extensions): Update the names of the
20514         functions being autoloaded.
20516         * calc/calc.el (calc-lu-power-reference): Rename from
20517         `calc-logunits-power-reference'.
20518         (calc-lu-field-reference): Rename from
20519         `calc-logunits-field-reference'.
20521         * calc/calc-help.el (calc-l-prefix-help):
20522         Mention musical note functions.
20524 2011-03-17  Stefan Monnier  <monnier@iro.umontreal.ca>
20526         * minibuffer.el (completion-all-sorted-completions):
20527         Use :completion-cycle-penalty text property if present.
20529 2011-03-16  Ken Manheimer  <ken.manheimer@gmail.com>
20531         * allout.el (allout-yank-processing): Adjust for new rebulleting
20532         regime so bullet being yanked is used without prompting the user
20533         for a choice.
20535 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
20537         * startup.el (command-line): Warn the user that _emacs is deprecated.
20539 2011-03-16  Juanma Barranquero  <lekktu@gmail.com>
20541         * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
20542         (delphi-verbose, delphi-comment-face, delphi-string-face)
20543         (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
20544         (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
20545         (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
20546         (delphi-new-comment-line, delphi-font-lock-defaults)
20547         (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
20548         Fix typos in docstrings.
20550 2011-03-15  Ken Manheimer  <ken.manheimer@gmail.com>
20552         * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
20553         Invert the roles of character and string values for INSTEAD, so a
20554         string is used for the more common case of a defaulting prompt.
20556 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20558         * progmodes/ruby-mode.el (ruby-backward-sexp):
20559         * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
20560         * play/gamegrid.el (gamegrid-make-face):
20561         * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
20562         (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
20563         * notifications.el (notifications-notify):
20564         * net/xesam.el (xesam-search-engines):
20565         * net/quickurl.el (quickurl-list-insert):
20566         * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
20568 2011-03-15  Chong Yidong  <cyd@stupidchicken.com>
20570         * startup.el (command-line): Update package subdirectory regexp.
20572 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20574         * allout.el (allout-abbreviate-flattened-numbering)
20575         (allout-mode-deactivate-hook): Fix up obsolescence "date".
20577         * subr.el (read-char-choice): Only show the cursor after the prompt,
20578         not after the answer.
20580 2011-03-15  Kevin Ryde  <user42@zip.com.au>
20582         * help-fns.el (variable-at-point): Skip leading quotes, if any
20583         (bug#8253).
20585 2011-03-15  Stefan Monnier  <monnier@iro.umontreal.ca>
20587         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
20588         warning message.
20590 2011-03-14  Michael Albinus  <michael.albinus@gmx.de>
20592         * shell.el (shell): When called interactively, offer to change the
20593         shell file name on remote hosts.
20595 2011-03-13  Teodor Zlatanov  <tzz@lifelogs.com>
20597         * net/ldap.el (ldap-search-internal): Add `auth-source-search'
20598         integration for LDAP parameters.  The host, base, user or binddn,
20599         and secret tokens can be specified in a netrc file, for instance.
20600         This is optional because an `auth-source' parameter must be
20601         specified in the search attributes.
20603 2011-03-13  Juanma Barranquero  <lekktu@gmail.com>
20605         * help.el (describe-mode): Link to the mode's definition (bug#8185).
20607 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20609         * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
20610         into declaration.  Remove redundant and harmful binding.
20612 2011-03-12  Eli Zaretskii  <eliz@gnu.org>
20614         * files.el (file-ownership-preserved-p): Pass `integer' as an
20615         explicit 2nd argument to `file-attributes'.  If the file's owner
20616         is the Administrators group on Windows, and the current user is
20617         Administrator, consider that a match.
20619         * server.el (server-ensure-safe-dir): Consider server directory
20620         safe on MS-Windows if its owner is the Administrators group while
20621         the current Emacs user is Administrator.  Use `=' to compare
20622         numerical UIDs, since they could be integers or floats.
20624 2011-03-12  Juanma Barranquero  <lekktu@gmail.com>
20626         * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
20628 2011-03-12  Michael Albinus  <michael.albinus@gmx.de>
20630         Sync with Tramp 2.2.1.
20632         * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
20634         * net/trampver.el: Update release number.
20636 2011-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
20638         * progmodes/compile.el (compilation--previous-directory): Fix up
20639         various nil/dead-marker mismatches (bug#8014).
20640         (compilation-directory-properties, compilation-error-properties):
20641         Don't call it at a position past the one we're about to change.
20643         * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
20644         Disable obsolescence warnings in the file that declares it.
20646 2011-03-11  Ken Manheimer  <ken.manheimer@gmail.com>
20648         * allout-widgets.el (allout-widgets-tally):
20649         Initialize allout-widgets-tally as a hash table rather than nil to
20650         prevent mode-line redisplay warnings.  Also, clarify the module
20651         description and fix a comment typo.
20653 2011-03-11  Juanma Barranquero  <lekktu@gmail.com>
20655         * help-fns.el (describe-variable): Don't complete keywords.
20656         Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
20658 2011-03-10  Chong Yidong  <cyd@stupidchicken.com>
20660         * emacs-lisp/package.el (package-version-join): Impose a standard
20661         string representation for pre/alpha/beta version lists.
20662         (package-unpack-single): Standardize the directory name by passing
20663         it through package-version-join.
20664         (package-strip-rcs-id): Accept any version string that does not
20665         signal an error in version-to-list.
20667 2011-03-10  Michael Albinus  <michael.albinus@gmx.de>
20669         * simple.el (delete-trailing-whitespace): Return nil for the
20670         benefit of `write-file-functions'.
20672 2011-03-10  Glenn Morris  <rgm@gnu.org>
20674         * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
20676         * vc/vc-git.el (vc-git-program): New option.
20677         (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
20678         (vc-git--call): Use it.
20680         * eshell/esh-util.el (eshell-condition-case): Doc fix.
20682         * cus-edit.el (Custom-newline): If no button at point, look
20683         for a subgroup button at start-of-line.  (Bug#2298)
20685         * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
20687 2011-03-10  Julien Danjou  <julien@danjou.info>
20689         * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
20690         `cursor-type' is nil.
20692 2011-03-09  Jay Belanger  <jay.p.belanger@gmail.com>
20694         * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
20696 2011-03-09  Ken Manheimer  <ken.manheimer@gmail.com>
20698         * allout.el: Change so yank of distinctive-bullet items
20699         preserves the existing header prefix, rebulleting it if necessary,
20700         rather than replacing it.  This is necessary for proper operation
20701         of cooperative addons like allout-widgets.
20702         (allout-make-topic-prefix, allout-rebullet-heading):
20703         Change SOLICIT arg to INSTEAD, and interpret additionally a string
20704         value as alternate bullet to be used, instead of prompting the user
20705         for a bullet character.
20707 2011-03-09  Michael Albinus  <michael.albinus@gmx.de>
20709         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
20710         Do not use `tramp-file-name-port', because this returns also
20711         `tramp-default-port'.
20713 2011-03-09  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
20715         * net/rcirc.el (rcirc-handler-001): Remove useless
20716         with-rcirc-process-buffer.
20717         (rcirc-check-auth-status): Swap arguments to string-match.
20719 2011-03-09  Glenn Morris  <rgm@gnu.org>
20721         * shell.el (shell-mode):
20722         Set comint-input-ring-size from HISTSIZE.  (Bug#7889)
20724         * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
20725         Check for GDBHISTFILE, HISTSIZE, etc.  (Bug#7889)
20727 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
20729         * emacs-lisp/package.el (package-refresh-contents)
20730         (package-menu-execute): Use condition-case-no-debug.
20732 2011-03-08  Michael Albinus  <michael.albinus@gmx.de>
20734         * simple.el (shell-command-to-string): Use `process-file'.
20736         * emacs-lisp/package.el (package-tar-file-info): Handle also
20737         remote files.
20739         * emacs-lisp/package-x.el (package-upload-buffer-internal):
20740         Use `equal' for upload base check.
20742 2011-03-08  Arni Magnusson  <arnima@hafro.is>  (tiny change)
20744         * textmodes/texinfo.el (texinfo-environments):
20745         Add deftypecv, deftypeivar, deftypemethod, deftypeop, html.  (Bug#2783)
20747 2011-03-08  Glenn Morris  <rgm@gnu.org>
20749         * cus-start.el (cursor-in-non-selected-windows):
20750         Fix :set quoting oddness.  (Bug#8192)
20752         * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
20753         in some setf expressions.  (Bug#2159)
20755 2011-03-08  Chong Yidong  <cyd@stupidchicken.com>
20757         * custom.el (custom-available-themes): Return themes in
20758         alphabetical order.
20760 See ChangeLog.15 for earlier changes.
20762 ;; Local Variables:
20763 ;; coding: utf-8
20764 ;; End:
20766   Copyright (C) 2011-2012  Free Software Foundation, Inc.
20768   This file is part of GNU Emacs.
20770   GNU Emacs is free software: you can redistribute it and/or modify
20771   it under the terms of the GNU General Public License as published by
20772   the Free Software Foundation, either version 3 of the License, or
20773   (at your option) any later version.
20775   GNU Emacs is distributed in the hope that it will be useful,
20776   but WITHOUT ANY WARRANTY; without even the implied warranty of
20777   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
20778   GNU General Public License for more details.
20780   You should have received a copy of the GNU General Public License
20781   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.